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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/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.h304 UINT16_t computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dppp_generic.c283 * tcpHdr -- pointer to TCP header
289 static UINT16 computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr) argument
293 unsigned char *addr = tcpHdr;
344 unsigned char *tcpHdr; local
375 tcpHdr = ipHdr + (ipHdr[0] & 0x0F) * 4;
378 if (!(tcpHdr[13] & 0x02)) {
384 csum = computeTCPChecksum(ipHdr, tcpHdr);
393 endHdr = tcpHdr + ((tcpHdr[12] & 0xF0) >> 2);
394 opt = tcpHdr
[all...]

Completed in 63 milliseconds