Searched refs:UINT16_t (Results 1 – 5 of 5) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | common.c | 48 UINT16_t len = ntohs(packet->length); in parsePacket() 50 UINT16_t tagType, tagLen; in parsePacket() 71 tagType = (((UINT16_t) curTag[0]) << 8) + in parsePacket() 72 (UINT16_t) curTag[1]; in parsePacket() 73 tagLen = (((UINT16_t) curTag[2]) << 8) + in parsePacket() 74 (UINT16_t) curTag[3]; in parsePacket() 101 findTag(PPPoEPacket *packet, UINT16_t type, PPPoETag *tag) in findTag() 103 UINT16_t len = ntohs(packet->length); in findTag() 105 UINT16_t tagType, tagLen; in findTag() 126 tagType = (((UINT16_t) curTag[0]) << 8) + in findTag() [all …]
|
D | pppoe.h | 113 typedef unsigned short UINT16_t; typedef 115 typedef unsigned int UINT16_t; typedef 154 extern UINT16_t Eth_PPPOE_Discovery; 155 extern UINT16_t Eth_PPPOE_Session; 241 typedef void ParseFunc(UINT16_t type, 242 UINT16_t len, 257 UINT16_t session; /* Session ID */ 282 UINT16_t etherType(PPPoEPacket *packet); 283 int openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr); 293 void parseLogErrs(UINT16_t typ, UINT16_t len, unsigned char *data, void *xtra); [all …]
|
D | discovery.c | 56 parseForHostUniq(UINT16_t type, UINT16_t len, unsigned char *data, in parseForHostUniq() 110 parsePADOTags(UINT16_t type, UINT16_t len, unsigned char *data, in parsePADOTags() 206 parsePADSTags(UINT16_t type, UINT16_t len, unsigned char *data, in parsePADSTags() 249 UINT16_t namelen = 0; in sendPADI() 250 UINT16_t plen; in sendPADI() 253 namelen = (UINT16_t) strlen(conn->serviceName); in sendPADI() 420 UINT16_t namelen = 0; in sendPADR() 421 UINT16_t plen; in sendPADR() 424 namelen = (UINT16_t) strlen(conn->serviceName); in sendPADR()
|
D | if.c | 107 UINT16_t Eth_PPPOE_Discovery = ETH_PPPOE_DISCOVERY; 108 UINT16_t Eth_PPPOE_Session = ETH_PPPOE_SESSION; 125 UINT16_t 128 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType() 204 initFilter(int fd, UINT16_t type, unsigned char *hwaddr) in initFilter() 275 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) in openInterface() 419 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) in openInterface() 708 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) in openInterface()
|
D | debug.c | 97 UINT16_t type = etherType(packet); in dumpPacket()
|