/external/android-clat/ |
dump.h | 24 void dump_tcp(const struct tcphdr *tcp, const struct iphdr *ip, const char *payload, size_t payload_size, const char *options, size_t options_size); 29 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const char *payload, size_t payload_size, const char *options, size_t options_size);
|
/external/libppp/src/ |
tcpmss.c | 73 #define MAXMSS(mtu) ((mtu) - sizeof(struct ip) - sizeof(struct tcphdr) - 12) 99 MSSFixup(struct tcphdr *tc, size_t pktlen, u_int16_t maxmss) 109 if (hlen <= sizeof(struct tcphdr) || hlen > pktlen) 116 for (olen = hlen - sizeof(struct tcphdr), opt = (u_char *)(tc + 1); 163 plen >= sizeof(struct tcphdr) + hlen) 164 MSSFixup((struct tcphdr *)(MBUF_CTOP(bp) + hlen), plen - hlen,
|
/external/ppp/pppd/plugins/rp-pppoe/ |
common.c | 186 * tcpHdr -- pointer to TCP header 191 computeTCPChecksum(unsigned char *ipHdr, unsigned char *tcpHdr) 195 unsigned char *addr = tcpHdr; 245 unsigned char *tcpHdr; 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 + 20 [all...] |
/development/ndk/platforms/android-3/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-8/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/linux/ |
tcp.h | 18 struct tcphdr { struct 54 struct tcphdr hdr;
|