Searched refs:tcpHdr (Results 1 - 8 of 8) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/
H A Dcommon.c127 * tcpHdr -- pointer to TCP header
132 computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr) argument
136 unsigned char *addr = tcpHdr;
186 unsigned char *tcpHdr; local
227 tcpHdr = ipHdr + (ipHdr[0] & 0x0F) * 4;
230 if (!(tcpHdr[13] & 0x02)) {
236 csum = computeTCPChecksum(ipHdr, tcpHdr);
245 endHdr = tcpHdr + ((tcpHdr[12] & 0xF0) >> 2);
246 opt = tcpHdr
[all...]
H A Dpppoe.h269 UINT16_t computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/rp-pppoe/
H A Dcommon.c186 * tcpHdr -- pointer to TCP header
191 computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr) argument
195 unsigned char *addr = tcpHdr;
245 unsigned char *tcpHdr; local
303 tcpHdr = ipHdr + (ipHdr[0] & 0x0F) * 4;
306 if (!(tcpHdr[13] & 0x02)) {
312 csum = computeTCPChecksum(ipHdr, tcpHdr);
321 endHdr = tcpHdr + ((tcpHdr[12] & 0xF0) >> 2);
322 opt = tcpHdr
[all...]
H A Dpppoe.h305 UINT16_t computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr);
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/rp-pppoe/
H A Dcommon.c186 * tcpHdr -- pointer to TCP header
191 computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr) argument
195 unsigned char *addr = tcpHdr;
245 unsigned char *tcpHdr; local
303 tcpHdr = ipHdr + (ipHdr[0] & 0x0F) * 4;
306 if (!(tcpHdr[13] & 0x02)) {
312 csum = computeTCPChecksum(ipHdr, tcpHdr);
321 endHdr = tcpHdr + ((tcpHdr[12] & 0xF0) >> 2);
322 opt = tcpHdr
[all...]
H A Dpppoe.h305 UINT16_t computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr);
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/
H A Dcommon.c191 * tcpHdr -- pointer to TCP header
196 computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr) argument
200 unsigned char *addr = tcpHdr;
250 unsigned char *tcpHdr; local
308 tcpHdr = ipHdr + (ipHdr[0] & 0x0F) * 4;
311 if (!(tcpHdr[13] & 0x02)) {
317 csum = computeTCPChecksum(ipHdr, tcpHdr);
326 endHdr = tcpHdr + ((tcpHdr[12] & 0xF0) >> 2);
327 opt = tcpHdr
[all...]
H A Dpppoe.h317 UINT16_t computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr);

Completed in 106 milliseconds