/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/ |
H A D | common.c | 48 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]; 131 UINT16_t 135 UINT16_t count = ipHdr[2] * 256 + ipHdr[3]; 149 sum += * (UINT16_t *) pseudoHeader; 150 sum += * ((UINT16_t *) (pseudoHeade [all...] |
H A D | pppoe.h | 106 typedef unsigned short UINT16_t; typedef 108 typedef unsigned int UINT16_t; typedef 147 extern UINT16_t Eth_PPPOE_Discovery; 148 extern UINT16_t Eth_PPPOE_Session; 228 typedef void ParseFunc(UINT16_t type, 229 UINT16_t len, 243 UINT16_t sess; /* Session number */ 250 UINT16_t etherType(struct PPPoEPacket *packet); 251 int openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr); 269 UINT16_t computeTCPChecksu [all...] |
H A D | pppoe-sniff.c | 39 UINT16_t SessType, DiscType; 64 parsePADRTags(UINT16_t type, UINT16_t len, unsigned char *data,
|
H A D | pppoe.c | 61 UINT16_t Session = 0; 66 extern UINT16_t Session; /* Identifier for our session */ 102 parseForHostUniq(UINT16_t type, UINT16_t len, unsigned char *data, 152 parsePADOTags(UINT16_t type, UINT16_t len, unsigned char *data, 239 parseLogErrs(UINT16_t type, UINT16_t len, unsigned char *data, 268 parsePADSTags(UINT16_t type, UINT16_t le [all...] |
H A D | debug.c | 63 UINT16_t type = etherType(packet);
|
H A D | pppoe-server.c | 124 parsePADITags(UINT16_t type, UINT16_t len, unsigned char *data, 157 parsePADRTags(UINT16_t type, UINT16_t len, unsigned char *data, 329 UINT16_t plen; 410 UINT16_t plen; 633 Eth_PPPOE_Discovery = (UINT16_t) discoveryType; 634 Eth_PPPOE_Session = (UINT16_t) sessionType; 868 UINT16_t plen;
|
H A D | ppp.c | 37 UINT16_t fcstab[256] = { 252 UINT16_t 253 pppFCS16(UINT16_t fcs,
|
H A D | if.c | 105 UINT16_t Eth_PPPOE_Discovery = ETH_PPPOE_DISCOVERY; 106 UINT16_t Eth_PPPOE_Session = ETH_PPPOE_SESSION; 123 UINT16_t 126 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 202 initFilter(int fd, UINT16_t type, unsigned char *hwaddr) 264 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) 408 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) 671 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/rp-pppoe/ |
H A D | common.c | 48 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 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 */ 283 UINT16_t etherType(PPPoEPacket *packet); 284 int openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr); 294 void parseLogErrs(UINT16_t ty [all...] |
H A D | discovery.c | 58 parseForHostUniq(UINT16_t type, UINT16_t len, unsigned char *data, 112 parsePADOTags(UINT16_t type, UINT16_t len, unsigned char *data, 208 parsePADSTags(UINT16_t type, UINT16_t len, unsigned char *data, 251 UINT16_t namelen = 0; 252 UINT16_t plen; 255 namelen = (UINT16_t) strlen(conn->serviceName); 422 UINT16_t namele [all...] |
H A D | debug.c | 97 UINT16_t type = etherType(packet);
|
H A 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); 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)
|
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/rp-pppoe/ |
H A D | common.c | 48 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 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 */ 283 UINT16_t etherType(PPPoEPacket *packet); 284 int openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr); 294 void parseLogErrs(UINT16_t ty [all...] |
H A D | discovery.c | 56 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 D | debug.c | 97 UINT16_t type = etherType(packet);
|
H A 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); 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)
|
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/ |
H A D | common.c | 54 UINT16_t len = ntohs(packet->length); 56 UINT16_t tagType, tagLen; 77 tagType = (((UINT16_t) curTag[0]) << 8) + 78 (UINT16_t) curTag[1]; 79 tagLen = (((UINT16_t) curTag[2]) << 8) + 80 (UINT16_t) curTag[3]; 107 findTag(PPPoEPacket *packet, UINT16_t type, PPPoETag *tag) 109 UINT16_t len = ntohs(packet->length); 111 UINT16_t tagType, tagLen; 132 tagType = (((UINT16_t) curTa [all...] |
H A D | relay.h | 38 UINT16_t sesNum; /* Session number assigned by relay */ 48 UINT16_t sesNum; /* Session number */ 57 unsigned int hash(unsigned char const *mac, UINT16_t sesNum); 58 SessionHash *findSession(unsigned char const *mac, UINT16_t sesNum); 64 UINT16_t acSes); 85 UINT16_t session,
|
H A D | pppoe.h | 111 typedef unsigned short UINT16_t; typedef 113 typedef unsigned int UINT16_t; typedef 152 extern UINT16_t Eth_PPPOE_Discovery; 153 extern UINT16_t Eth_PPPOE_Session; 251 typedef void ParseFunc(UINT16_t type, 252 UINT16_t len, 267 UINT16_t session; /* Session ID */ 293 UINT16_t etherType(PPPoEPacket *packet); 294 int openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr); 304 void parseLogErrs(UINT16_t ty [all...] |
H A D | debug.c | 99 UINT16_t type = etherType(packet);
|
H A D | if.c | 109 UINT16_t Eth_PPPOE_Discovery = ETH_PPPOE_DISCOVERY; 110 UINT16_t Eth_PPPOE_Session = ETH_PPPOE_SESSION; 127 UINT16_t 130 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 206 initFilter(int fd, UINT16_t type, unsigned char *hwaddr) 277 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) 421 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) 710 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)
|
/asus-wl-520gu-7.0.1.45/src/router/httpd/ |
H A D | dp.h | 303 typedef unsigned short UINT16_t; typedef 313 static UINT16_t Eth_PPPOE_Discovery = ETH_PPPOE_DISCOVERY; 314 static UINT16_t Eth_PPPOE_Session = ETH_PPPOE_SESSION; 411 typedef void ParseFunc(UINT16_t type, 412 UINT16_t len, 427 UINT16_t session; /* Session ID */ 473 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr); 478 UINT16_t 488 parseForHostUniq(UINT16_t type, UINT16_t le [all...] |
H A D | discover.c | 65 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) 157 UINT16_t 160 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 171 UINT16_t len = ntohs(packet->length); 173 UINT16_t tagType, tagLen; 195 tagType = (((UINT16_t) curTag[0]) << 8) + 196 (UINT16_t) curTag[1]; 197 tagLen = (((UINT16_t) curTag[2]) << 8) + 198 (UINT16_t) curTa [all...] |