the cfg of tft in 3gpp [message #1853788] |
Mon, 18 July 2022 10:57 |
lou ban Messages: 17 Registered: June 2020 |
Junior Member |
|
|
here is the struct
type record TrafficFlowTemplate { /* 24.301 cl. 9.9.4.13 -> 24.008 cl. 10.5.6.12 */
IEI8_Type iei optional, /* present in case of TLV; omit in case of LV */
Type4Length_Type iel,
B3_Type tftOperationCode,
B1_Type eBit,
B4_Type noOfPktFilter,
record of PacketFilter packetFilterList optional,
record of TftParameter parameterList optional
};
type record TftParameter {
IEI8_Type iei,
Type4Length_Type iel,
octetstring contents
};
type record PacketFilter {
IEI8_Type iei,
B8_Type precedence optional,
Type4Length_Type iel optional,
PacketFilterContents contents optional
};
type record of PacketFilterComponent PacketFilterContents;
type record PacketFilterComponent {
O1_Type id,
PacketFilterComponentValue packetFilterComponentValue
};
type union PacketFilterComponentValue {
O8_Type ipv4RemoteAddress,
O32_Type ipv6RemoteAddress,
O1_Type protocolIdNextHeader,
O2_Type singleLocalPort,
O4_Type localPortRange,
O2_Type singleRemotePort,
O4_Type remotePortRange,
O4_Type securityParameterIndex,
O2_Type typeOfServiceTrafficClass,
O3_Type flowLabel
};
if tftOperationCode == '000'B or '001'B or '100'B or '101'B, PacketFilter is presence, but there is a little difference, show in the 1.jpg
and the noOfPktFilter indicated the count of PacketFilter(attention: not the length of it)
you can neglect the decode of TftParameter.
then what should I do can decode the packetFilterList
Thanks a lot!!
-
Attachment: 1.jpg
(Size: 101.78KB, Downloaded 98 times)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03579 seconds