Loading ttcn/AtsDSlite/AtsDSLite_Pixits.ttcn3 +25 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,30 @@ module AtsDSLite_Pixits { // LibCommon modulepar integer PX_HOST_NUM := 4 // DSLite import from AtsDSLite_TypesAndValues all; modulepar HostV4Descriptions PX_HOST_V4_LIST := { { srcAddress := oct2int('91fea0ed'O), srcPort := 3372, dstAddress := oct2int('41d0e4df'O), dstPort := 80, payload := { rawPayload := 'CAFEDECA'O // TODO To be enhanced } }, // Host #0 { srcAddress := oct2int('91fea0ed'O), srcPort := 3372, dstAddress := oct2int('41d0e4df'O), dstPort := 80, payload := { rawPayload := 'CAFEDECA'O // TODO To be enhanced } } // Host #1 // TODO Could be extended } } // End of module AtsDSLite_Pixits No newline at end of file ttcn/AtsDSlite/AtsDSLite_TypeAndValues.ttcn3 +32 −0 Original line number Diff line number Diff line /* * @author STF 440 * @version $Id$ * @desc This module defines the ATS interface */ module AtsDSLite_TypesAndValues { // LibCommon import from LibCommon_BasicTypesAndValues { type UInt16, UInt32 }; // AtsCommon import from AtsCommon_Tcp_Rfc793_TypesAndValues { type TcpPayload }; group ipv4Hosts { type record HostV4Description { UInt32 srcAddress, UInt16 srcPort, UInt32 dstAddress, UInt16 dstPort, TcpPayload payload } // End of type HostV4Description type set of HostV4Description HostV4Descriptions; } // End of group ipv4Hosts } // End of module AtsDSLite_TypesAndValues No newline at end of file Loading
ttcn/AtsDSlite/AtsDSLite_Pixits.ttcn3 +25 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,30 @@ module AtsDSLite_Pixits { // LibCommon modulepar integer PX_HOST_NUM := 4 // DSLite import from AtsDSLite_TypesAndValues all; modulepar HostV4Descriptions PX_HOST_V4_LIST := { { srcAddress := oct2int('91fea0ed'O), srcPort := 3372, dstAddress := oct2int('41d0e4df'O), dstPort := 80, payload := { rawPayload := 'CAFEDECA'O // TODO To be enhanced } }, // Host #0 { srcAddress := oct2int('91fea0ed'O), srcPort := 3372, dstAddress := oct2int('41d0e4df'O), dstPort := 80, payload := { rawPayload := 'CAFEDECA'O // TODO To be enhanced } } // Host #1 // TODO Could be extended } } // End of module AtsDSLite_Pixits No newline at end of file
ttcn/AtsDSlite/AtsDSLite_TypeAndValues.ttcn3 +32 −0 Original line number Diff line number Diff line /* * @author STF 440 * @version $Id$ * @desc This module defines the ATS interface */ module AtsDSLite_TypesAndValues { // LibCommon import from LibCommon_BasicTypesAndValues { type UInt16, UInt32 }; // AtsCommon import from AtsCommon_Tcp_Rfc793_TypesAndValues { type TcpPayload }; group ipv4Hosts { type record HostV4Description { UInt32 srcAddress, UInt16 srcPort, UInt32 dstAddress, UInt16 dstPort, TcpPayload payload } // End of type HostV4Description type set of HostV4Description HostV4Descriptions; } // End of group ipv4Hosts } // End of module AtsDSLite_TypesAndValues No newline at end of file