Home
last modified time | relevance | path

Searched refs:UINT16_t (Results 1 – 6 of 6) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Dpppoe.h66 typedef unsigned short UINT16_t; typedef
68 typedef unsigned int UINT16_t; typedef
107 extern UINT16_t Eth_PPPOE_Discovery;
108 extern UINT16_t Eth_PPPOE_Session;
215 typedef void ParseFunc(UINT16_t type,
216 UINT16_t len,
233 UINT16_t session; /* Session ID */
262 UINT16_t etherType(PPPoEPacket *packet);
263 int openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr);
273 void parseLogErrs(UINT16_t typ, UINT16_t len, unsigned char *data, void *xtra);
[all …]
Dpppoe-discovery.c61 UINT16_t Eth_PPPOE_Discovery = ETH_PPPOE_DISCOVERY;
62 UINT16_t Eth_PPPOE_Session = ETH_PPPOE_SESSION;
79 UINT16_t
82 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()
101 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) in openInterface()
264 UINT16_t len = ntohs(packet->length); in parsePacket()
266 UINT16_t tagType, tagLen; in parsePacket()
317 parseForHostUniq(UINT16_t type, UINT16_t len, unsigned char *data, in parseForHostUniq()
371 parsePADOTags(UINT16_t type, UINT16_t len, unsigned char *data, in parsePADOTags()
448 UINT16_t namelen = 0; in sendPADI()
[all …]
Ddiscovery.c80 parseForHostUniq(UINT16_t type, UINT16_t len, unsigned char *data, in parseForHostUniq()
134 parsePADOTags(UINT16_t type, UINT16_t len, unsigned char *data, in parsePADOTags()
139 UINT16_t mru; in parsePADOTags()
211 parsePADSTags(UINT16_t type, UINT16_t len, unsigned char *data, in parsePADSTags()
215 UINT16_t mru; in parsePADSTags()
268 UINT16_t namelen = 0; in sendPADI()
269 UINT16_t plen; in sendPADI()
273 namelen = (UINT16_t) strlen(conn->serviceName); in sendPADI()
319 UINT16_t mru = htons(MIN(lcp_allowoptions[0].mru, lcp_wantoptions[0].mru)); in sendPADI()
456 UINT16_t namelen = 0; in sendPADR()
[all …]
Dif.c56 UINT16_t Eth_PPPOE_Discovery = ETH_PPPOE_DISCOVERY;
57 UINT16_t Eth_PPPOE_Session = ETH_PPPOE_SESSION;
74 UINT16_t
77 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()
96 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) in openInterface()
Dcommon.c47 UINT16_t len = ntohs(packet->length); in parsePacket()
49 UINT16_t tagType, tagLen; in parsePacket()
101 UINT16_t plen = 0; in sendPADT()
Ddebug.c97 UINT16_t type = etherType(packet); in dumpPacket()