Searched refs:UINT16_t (Results 1 - 5 of 5) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/
H A Dcommon.c48 UINT16_t len = ntohs(packet->length);
50 UINT16_t tagType, tagLen;
71 tagType = (((UINT16_t) curTag[0]) << 8) +
72 (UINT16_t) curTag[1];
73 tagLen = (((UINT16_t) curTag[2]) << 8) +
74 (UINT16_t) curTag[3];
101 findTag(PPPoEPacket *packet, UINT16_t type, PPPoETag *tag)
103 UINT16_t len = ntohs(packet->length);
105 UINT16_t tagType, tagLen;
126 tagType = (((UINT16_t) curTa
[all...]
H A Dpppoe.h113 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 ty
[all...]
H A Ddiscovery.c56 parseForHostUniq(UINT16_t type, UINT16_t len, unsigned char *data,
110 parsePADOTags(UINT16_t type, UINT16_t len, unsigned char *data,
206 parsePADSTags(UINT16_t type, UINT16_t len, unsigned char *data,
249 UINT16_t namelen = 0;
250 UINT16_t plen;
253 namelen = (UINT16_t) strlen(conn->serviceName);
420 UINT16_t namele
[all...]
H A Ddebug.c97 UINT16_t type = etherType(packet);
H A Dif.c107 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);
204 initFilter(int fd, UINT16_t type, unsigned char *hwaddr)
275 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)
419 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)
708 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)

Completed in 160 milliseconds