11 #ifndef TAF_NET_MESSAGES_H_INCLUDE_GUARD 12 #define TAF_NET_MESSAGES_H_INCLUDE_GUARD 17 #define _MAX_MSG_SIZE IFGEN_TAF_NET_MSG_SIZE 27 #define _MSGID_taf_net_AddRouteChangeHandler 0 28 #define _MSGID_taf_net_RemoveRouteChangeHandler 1 29 #define _MSGID_taf_net_AddGatewayChangeHandler 2 30 #define _MSGID_taf_net_RemoveGatewayChangeHandler 3 31 #define _MSGID_taf_net_AddDNSChangeHandler 4 32 #define _MSGID_taf_net_RemoveDNSChangeHandler 5 33 #define _MSGID_taf_net_AddDestNatChangeHandler 6 34 #define _MSGID_taf_net_RemoveDestNatChangeHandler 7 35 #define _MSGID_taf_net_GetInterfaceList 8 36 #define _MSGID_taf_net_ChangeRoute 9 37 #define _MSGID_taf_net_BackupDefaultGW 10 38 #define _MSGID_taf_net_RestoreDefaultGW 11 39 #define _MSGID_taf_net_SetDefaultGW 12 40 #define _MSGID_taf_net_GetInterfaceGW 13 41 #define _MSGID_taf_net_SetDNS 14 42 #define _MSGID_taf_net_GetInterfaceDNS 15 43 #define _MSGID_taf_net_AddDestNatEntryOnDefaultPdn 16 44 #define _MSGID_taf_net_RemoveDestNatEntryOnDefaultPdn 17 45 #define _MSGID_taf_net_AddDestNatEntryOnDemandPdn 18 46 #define _MSGID_taf_net_RemoveDestNatEntryOnDemandPdn 19 47 #define _MSGID_taf_net_GetDestNatEntryListOnDefaultPdn 20 48 #define _MSGID_taf_net_GetDestNatEntryListOnDemandPdn 21 49 #define _MSGID_taf_net_GetFirstDestNatEntry 22 50 #define _MSGID_taf_net_GetNextDestNatEntry 23 51 #define _MSGID_taf_net_GetDestNatEntryDetails 24 52 #define _MSGID_taf_net_DeleteDestNatEntryList 25 53 #define _MSGID_taf_net_CreateVlan 26 54 #define _MSGID_taf_net_SetVlanPriority 27 55 #define _MSGID_taf_net_RemoveVlan 28 56 #define _MSGID_taf_net_GetVlanById 29 57 #define _MSGID_taf_net_AddVlanInterface 30 58 #define _MSGID_taf_net_RemoveVlanInterface 31 59 #define _MSGID_taf_net_GetVlanInterfaceList 32 60 #define _MSGID_taf_net_GetFirstVlanInterface 33 61 #define _MSGID_taf_net_GetNextVlanInterface 34 62 #define _MSGID_taf_net_DeleteVlanInterfaceList 35 63 #define _MSGID_taf_net_GetVlanInterfaceType 36 64 #define _MSGID_taf_net_GetVlanPriority 37 65 #define _MSGID_taf_net_GetVlanEntryList 38 66 #define _MSGID_taf_net_GetFirstVlanEntry 39 67 #define _MSGID_taf_net_GetNextVlanEntry 40 68 #define _MSGID_taf_net_DeleteVlanEntryList 41 69 #define _MSGID_taf_net_GetVlanId 42 70 #define _MSGID_taf_net_IsVlanAccelerated 43 71 #define _MSGID_taf_net_GetVlanBoundProfileId 44 72 #define _MSGID_taf_net_GetVlanBoundPhoneId 45 73 #define _MSGID_taf_net_BindVlanWithProfile 46 74 #define _MSGID_taf_net_BindVlanWithProfileEx 47 75 #define _MSGID_taf_net_UnbindVlanFromProfile 48 76 #define _MSGID_taf_net_EnableL2tp 49 77 #define _MSGID_taf_net_EnableL2tpAsync 50 78 #define _MSGID_taf_net_DisableL2tp 51 79 #define _MSGID_taf_net_DisableL2tpAsync 52 80 #define _MSGID_taf_net_IsL2tpEnabled 53 81 #define _MSGID_taf_net_IsL2tpMssEnabled 54 82 #define _MSGID_taf_net_IsL2tpMtuEnabled 55 83 #define _MSGID_taf_net_GetL2tpMtuSize 56 84 #define _MSGID_taf_net_CreateTunnel 57 85 #define _MSGID_taf_net_RemoveTunnel 58 86 #define _MSGID_taf_net_SetTunnelUdpPort 59 87 #define _MSGID_taf_net_AddSession 60 88 #define _MSGID_taf_net_RemoveSession 61 89 #define _MSGID_taf_net_StartTunnel 62 90 #define _MSGID_taf_net_StartTunnelAsync 63 91 #define _MSGID_taf_net_StopTunnel 64 92 #define _MSGID_taf_net_StopTunnelAsync 65 93 #define _MSGID_taf_net_GetTunnelRefById 66 94 #define _MSGID_taf_net_GetTunnelEntryList 67 95 #define _MSGID_taf_net_GetFirstTunnelEntry 68 96 #define _MSGID_taf_net_GetNextTunnelEntry 69 97 #define _MSGID_taf_net_DeleteTunnelEntryList 70 98 #define _MSGID_taf_net_GetTunnelEncapProto 71 99 #define _MSGID_taf_net_GetTunnelLocalId 72 100 #define _MSGID_taf_net_GetTunnelPeerId 73 101 #define _MSGID_taf_net_GetTunnelLocalUdpPort 74 102 #define _MSGID_taf_net_GetTunnelPeerUdpPort 75 103 #define _MSGID_taf_net_GetTunnelPeerIpv6Addr 76 104 #define _MSGID_taf_net_GetTunnelPeerIpv4Addr 77 105 #define _MSGID_taf_net_GetTunnelInterfaceName 78 106 #define _MSGID_taf_net_GetTunnelIpType 79 107 #define _MSGID_taf_net_GetSessionConfig 80 108 #define _MSGID_taf_net_EnableSocks 81 109 #define _MSGID_taf_net_EnableSocksAsync 82 110 #define _MSGID_taf_net_DisableSocks 83 111 #define _MSGID_taf_net_DisableSocksAsync 84 112 #define _MSGID_taf_net_SetSocksAuthMethod 85 113 #define _MSGID_taf_net_GetSocksAuthMethod 86 114 #define _MSGID_taf_net_SetSocksLanInterface 87 115 #define _MSGID_taf_net_GetSocksLanInterface 88 116 #define _MSGID_taf_net_AddSocksAssociation 89 117 #define _MSGID_taf_net_RemoveSocksAssociation 90 118 #define _MSGID_taf_net_AddGsb 91 119 #define _MSGID_taf_net_RemoveGsb 92 120 #define _MSGID_taf_net_EnableGsb 93 121 #define _MSGID_taf_net_DisableGsb 94 122 #define _MSGID_taf_net_GetGsbList 95 123 #define _MSGID_taf_net_GetFirstGsb 96 124 #define _MSGID_taf_net_GetNextGsb 97 125 #define _MSGID_taf_net_DeleteGsbList 98 126 #define _MSGID_taf_net_GetGsbInterfaceName 99 127 #define _MSGID_taf_net_GetGsbInterfaceType 100 128 #define _MSGID_taf_net_GetGsbBandWidth 101 443 bool subResult, result =
true;
448 result = result && subResult;
451 result = result && subResult;
483 bool subResult, result =
true;
488 result = result && subResult;
491 result = result && subResult;
494 result = result && subResult;
533 bool subResult, result =
true;
538 result = result && subResult;
541 result = result && subResult;
544 result = result && subResult;
547 result = result && subResult;
597 bool subResult, result =
true;
602 result = result && subResult;
605 result = result && subResult;
608 result = result && subResult;
611 result = result && subResult;
614 result = result && subResult;
667 bool subResult, result =
true;
672 result = result && subResult;
675 result = result && subResult;
678 result = result && subResult;
719 bool subResult, result =
true;
724 result = result && subResult;
727 result = result && subResult;
730 result = result && subResult;
771 bool subResult, result =
true;
776 result = result && subResult;
779 result = result && subResult;
804 #endif // TAF_NET_MESSAGES_H_INCLUDE_GUARD uint16_t metric
Definition: taf_net_common.h:394
static bool taf_net_PackGatewayChangeInd(uint8_t **bufferPtr, const taf_net_GatewayChangeInd_t *valuePtr)
Definition: taf_net_messages.h:661
char interfaceName[30+1]
Definition: taf_net_common.h:407
char prefixLength[46+1]
Definition: taf_net_common.h:393
char ipAddr1[46+1]
Definition: taf_net_common.h:421
static bool taf_net_PackDNSChangeInd(uint8_t **bufferPtr, const taf_net_DNSChangeInd_t *valuePtr)
Definition: taf_net_messages.h:713
taf_net_TechType_t
Definition: taf_net_common.h:186
char gatewayAddr[46+1]
Definition: taf_net_common.h:408
LE_DECLARE_INLINE bool le_pack_UnpackUint16(uint8_t **bufferPtr, uint16_t *valuePtr)
Definition: le_pack.h:1183
taf_net_NetAction_t action
Definition: taf_net_common.h:350
static bool taf_net_UnpackDeviceMode(uint8_t **bufferPtr, taf_net_DeviceMode_t *valuePtr)
Definition: taf_net_messages.h:368
taf_net_IpProto_t
Definition: taf_net_common.h:141
static bool taf_net_UnpackL2tpSessionConfig(uint8_t **bufferPtr, taf_net_L2tpSessionConfig_t *valuePtr)
Definition: taf_net_messages.h:785
taf_net_NetIpType_t ipType
Definition: taf_net_common.h:409
LE_DECLARE_INLINE bool le_pack_UnpackString(uint8_t **bufferPtr, char *stringPtr, uint32_t bufferSize, uint32_t maxStringCount)
Definition: le_pack.h:1565
static bool taf_net_UnpackDNSChangeInd(uint8_t **bufferPtr, taf_net_DNSChangeInd_t *valuePtr)
Definition: taf_net_messages.h:736
static bool taf_net_UnpackInterfaceInfo(uint8_t **bufferPtr, taf_net_InterfaceInfo_t *valuePtr)
Definition: taf_net_messages.h:500
taf_net_NetIpType_t
Definition: taf_net_common.h:171
taf_net_TechType_t tech
Definition: taf_net_common.h:363
Definition: taf_net_common.h:389
static bool taf_net_UnpackState(uint8_t **bufferPtr, taf_net_State_t *valuePtr)
Definition: taf_net_messages.h:243
Definition: taf_net_common.h:433
taf_net_BindingAction_t
Definition: taf_net_common.h:277
static bool taf_net_PackIpProto(uint8_t **bufferPtr, taf_net_IpProto_t value)
Definition: taf_net_messages.h:134
uint32_t peerId
Definition: taf_net_common.h:436
uint32_t profileId
Definition: taf_net_common.h:349
taf_net_L2tpEncapProtocol_t
Definition: taf_net_common.h:218
char ipAddr2[46+1]
Definition: taf_net_common.h:422
static bool taf_net_UnpackNetAction(uint8_t **bufferPtr, taf_net_NetAction_t *valuePtr)
Definition: taf_net_messages.h:168
Definition: taf_net_common.h:347
taf_net_DeviceMode_t
Definition: taf_net_common.h:292
LE_DECLARE_INLINE bool le_pack_PackUint16(uint8_t **bufferPtr, uint16_t value)
Definition: le_pack.h:159
static bool taf_net_PackNetAction(uint8_t **bufferPtr, taf_net_NetAction_t value)
Definition: taf_net_messages.h:159
taf_net_NetAction_t
Definition: taf_net_common.h:156
static bool taf_net_UnpackGsbIfType(uint8_t **bufferPtr, taf_net_GsbIfType_t *valuePtr)
Definition: taf_net_messages.h:418
static bool taf_net_UnpackNetIpType(uint8_t **bufferPtr, taf_net_NetIpType_t *valuePtr)
Definition: taf_net_messages.h:193
Definition: taf_net_common.h:419
static bool taf_net_PackState(uint8_t **bufferPtr, taf_net_State_t value)
Definition: taf_net_messages.h:234
static bool taf_net_UnpackRouteChangeInd(uint8_t **bufferPtr, taf_net_RouteChangeInd_t *valuePtr)
Definition: taf_net_messages.h:620
taf_net_VlanIfType_t
Definition: taf_net_common.h:254
#define _MAX_MSG_SIZE
Definition: taf_net_messages.h:17
Definition: taf_net_common.h:374
static bool taf_net_PackL2tpSessionConfig(uint8_t **bufferPtr, const taf_net_L2tpSessionConfig_t *valuePtr)
Definition: taf_net_messages.h:765
struct __attribute__((packed))
Definition: taf_net_messages.h:20
LE_DECLARE_INLINE bool le_pack_UnpackUint32(uint8_t **bufferPtr, uint32_t *valuePtr)
Definition: le_pack.h:1205
static bool taf_net_UnpackVlanIfType(uint8_t **bufferPtr, taf_net_VlanIfType_t *valuePtr)
Definition: taf_net_messages.h:318
static bool taf_net_UnpackDestNatChangeInd(uint8_t **bufferPtr, taf_net_DestNatChangeInd_t *valuePtr)
Definition: taf_net_messages.h:457
static bool taf_net_UnpackBindingAction(uint8_t **bufferPtr, taf_net_BindingAction_t *valuePtr)
Definition: taf_net_messages.h:343
taf_net_NetIpType_t ipType
Definition: taf_net_common.h:423
static bool taf_net_PackGsbIfType(uint8_t **bufferPtr, taf_net_GsbIfType_t value)
Definition: taf_net_messages.h:409
static bool taf_net_PackIpFamilyType(uint8_t **bufferPtr, taf_net_IpFamilyType_t value)
Definition: taf_net_messages.h:284
static bool taf_net_UnpackGatewayChangeInd(uint8_t **bufferPtr, taf_net_GatewayChangeInd_t *valuePtr)
Definition: taf_net_messages.h:684
taf_net_NetAction_t action
Definition: taf_net_common.h:395
uint32_t locId
Definition: taf_net_common.h:435
static bool taf_net_PackInterfaceInfo(uint8_t **bufferPtr, const taf_net_InterfaceInfo_t *valuePtr)
Definition: taf_net_messages.h:477
Definition: taf_net_common.h:405
#define LE_ASSERT(condition)
Definition: le_log.h:935
Definition: taf_net_common.h:360
static bool taf_net_PackDeviceMode(uint8_t **bufferPtr, taf_net_DeviceMode_t value)
Definition: taf_net_messages.h:359
static bool taf_net_UnpackTechType(uint8_t **bufferPtr, taf_net_TechType_t *valuePtr)
Definition: taf_net_messages.h:218
static bool taf_net_PackL2tpEncapProtocol(uint8_t **bufferPtr, taf_net_L2tpEncapProtocol_t value)
Definition: taf_net_messages.h:259
char ipv6Addr2[46+1]
Definition: taf_net_common.h:379
char interfaceName[30+1]
Definition: taf_net_common.h:391
static bool taf_net_UnpackDnsServerAddresses(uint8_t **bufferPtr, taf_net_DnsServerAddresses_t *valuePtr)
Definition: taf_net_messages.h:553
char ipv4Addr1[16+1]
Definition: taf_net_common.h:376
taf_net_State_t
Definition: taf_net_common.h:203
static bool taf_net_PackAuthMethod(uint8_t **bufferPtr, taf_net_AuthMethod_t value)
Definition: taf_net_messages.h:384
taf_net_AuthMethod_t
Definition: taf_net_common.h:311
taf_net_IpFamilyType_t
Definition: taf_net_common.h:235
static bool taf_net_UnpackAuthMethod(uint8_t **bufferPtr, taf_net_AuthMethod_t *valuePtr)
Definition: taf_net_messages.h:393
char ipv4Addr2[16+1]
Definition: taf_net_common.h:377
char destAddr[46+1]
Definition: taf_net_common.h:392
taf_net_GsbIfType_t
Definition: taf_net_common.h:328
static bool taf_net_UnpackIpProto(uint8_t **bufferPtr, taf_net_IpProto_t *valuePtr)
Definition: taf_net_messages.h:143
static bool taf_net_PackDnsServerAddresses(uint8_t **bufferPtr, const taf_net_DnsServerAddresses_t *valuePtr)
Definition: taf_net_messages.h:527
static bool taf_net_PackDestNatChangeInd(uint8_t **bufferPtr, const taf_net_DestNatChangeInd_t *valuePtr)
Definition: taf_net_messages.h:437
LE_DECLARE_INLINE bool le_pack_PackString(uint8_t **bufferPtr, const char *stringPtr, uint32_t maxStringCount)
Definition: le_pack.h:884
static bool taf_net_PackBindingAction(uint8_t **bufferPtr, taf_net_BindingAction_t value)
Definition: taf_net_messages.h:334
taf_net_State_t state
Definition: taf_net_common.h:364
char ipv6Addr1[46+1]
Definition: taf_net_common.h:378
_Message_t
Definition: taf_net_messages.h:25
static bool taf_net_PackTechType(uint8_t **bufferPtr, taf_net_TechType_t value)
Definition: taf_net_messages.h:209
LE_DECLARE_INLINE bool le_pack_PackUint32(uint8_t **bufferPtr, uint32_t value)
Definition: le_pack.h:205
char interfaceName[30+1]
Definition: taf_net_common.h:362
static bool taf_net_UnpackIpFamilyType(uint8_t **bufferPtr, taf_net_IpFamilyType_t *valuePtr)
Definition: taf_net_messages.h:293
static bool taf_net_PackRouteChangeInd(uint8_t **bufferPtr, const taf_net_RouteChangeInd_t *valuePtr)
Definition: taf_net_messages.h:591
static bool taf_net_UnpackL2tpEncapProtocol(uint8_t **bufferPtr, taf_net_L2tpEncapProtocol_t *valuePtr)
Definition: taf_net_messages.h:268
static bool taf_net_PackVlanIfType(uint8_t **bufferPtr, taf_net_VlanIfType_t value)
Definition: taf_net_messages.h:309
static bool taf_net_PackNetIpType(uint8_t **bufferPtr, taf_net_NetIpType_t value)
Definition: taf_net_messages.h:184