/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_pkt_access.c | 56 struct tcphdr *tcp = NULL; in test_pkt_access() 70 tcp = (struct tcphdr *)((void *)(iph) + ihl_len); in test_pkt_access() 78 tcp = (struct tcphdr *)((void *)(ip6h) + ihl_len); in test_pkt_access()
|
D | test_tcpbpf_kern.c | 56 char header[sizeof(struct ipv6hdr) + sizeof(struct tcphdr)]; in bpf_testcb() 57 struct tcphdr *thdr; in bpf_testcb() 99 sizeof(struct tcphdr))); in bpf_testcb() 103 thdr = (struct tcphdr *)(header + offset); in bpf_testcb()
|
D | test_tc_edt.c | 65 static inline int handle_tcp(struct __sk_buff *skb, struct tcphdr *tcp) in handle_tcp() 97 return handle_tcp(skb, (struct tcphdr *)(((void *)iph) + ihl)); in handle_ipv4()
|
D | test_tcp_check_syncookie_kern.c | 28 struct tcphdr *tcph) in gen_syncookie() 53 struct tcphdr *tcph; in check_syncookie()
|
D | test_xdp_loop.c | 47 struct tcphdr *th; in get_dport() 52 th = (struct tcphdr *)trans_data; in get_dport()
|
D | test_xdp.c | 51 struct tcphdr *th; in get_dport() 56 th = (struct tcphdr *)trans_data; in get_dport()
|
D | test_tunnel_kern.c | 531 struct tcphdr *tcp = data + sizeof(*iph); in _ipip_set_tunnel() 588 struct tcphdr *tcp = data + sizeof(*iph); in _ipip6_set_tunnel() 637 struct tcphdr *tcp = data + sizeof(*iph); in _ip6ip6_set_tunnel()
|
D | test_tc_tunnel.c | 78 struct tcphdr tcph; in encap_ipv4() 223 struct tcphdr tcph; in encap_ipv6()
|
/external/android-clat/ |
D | dump.h | 33 void dump_tcp(const struct tcphdr *tcp, const struct iphdr *ip, const uint8_t *payload, 40 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const uint8_t *payload,
|
D | dump.c | 168 void dump_tcp_generic(const struct tcphdr *tcp, const uint8_t *options, size_t options_size, in dump_tcp_generic() 172 temp_checksum = ip_checksum_add(temp_checksum, tcp, sizeof(struct tcphdr)); in dump_tcp_generic() 210 void dump_tcp(const struct tcphdr *tcp, const struct iphdr *ip, const uint8_t *payload, in dump_tcp() 219 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const uint8_t *payload, in dump_tcp6()
|
D | translate.h | 79 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, 84 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp,
|
D | translate.c | 365 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, in tcp_packet() 370 if (len < sizeof(struct tcphdr)) { in tcp_packet() 442 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, in tcp_translate() 445 struct tcphdr *tcp_targ = out[pos].iov_base; in tcp_translate()
|
D | ipv4.c | 130 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv4_packet()
|
D | ipv6.c | 162 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_progs.h | 89 struct tcphdr tcp; 97 struct tcphdr tcp;
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 41 struct tcphdr tcp; 48 struct tcphdr tcp; 56 struct tcphdr tcp; 62 struct tcphdr tcp; 74 struct tcphdr tcp; 84 struct tcphdr tcp;
|
/external/tcpdump/ |
D | print-tcp.c | 59 const struct ip *ip, const struct tcphdr *tp, 142 register const struct tcphdr *tp, in tcp_cksum() 152 register const struct tcphdr *tp, in tcp6_cksum() 164 register const struct tcphdr *tp; in tcp_print() 176 tp = (const struct tcphdr *)bp; in tcp_print() 835 const struct ip *ip, const struct tcphdr *tp, in tcp_verify_signature() 838 struct tcphdr tp1; in tcp_verify_signature() 894 MD5_Update(&ctx, (const char *)&tp1, sizeof(struct tcphdr)); in tcp_verify_signature()
|
D | print-sl.c | 177 hlen += TH_OFF((const struct tcphdr *)&((const int *)ip)[hlen]); in sliplink_print() 273 hlen += TH_OFF((const struct tcphdr *)&((const int32_t *)ip)[hlen]); in compressed_sl_print()
|
D | tcp.h | 41 struct tcphdr { struct
|
/external/iproute2/include/netinet/ |
D | tcp.h | 63 struct tcphdr struct 90 struct tcphdr argument
|
/external/iproute2/include/uapi/linux/ |
D | tcp.h | 25 struct tcphdr { struct 66 struct tcphdr hdr; argument
|
/external/kernel-headers/original/uapi/linux/ |
D | tcp.h | 25 struct tcphdr { struct 66 struct tcphdr hdr; argument
|
/external/iptables/include/linux/netfilter/ |
D | xt_osf.h | 85 struct tcphdr tcp;
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | nfnetlink_osf.h | 72 struct tcphdr tcp;
|
/external/iptables/utils/ |
D | nfsynproxy.c | 31 const struct tcphdr *th = (void *)iph + iph->ihl * 4; in parse_packet()
|