/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_pkt_access.c | 29 struct tcphdr *tcp = NULL; in process() 43 tcp = (struct tcphdr *)((void *)(iph) + ihl_len); in process() 51 tcp = (struct tcphdr *)((void *)(ip6h) + ihl_len); in process()
|
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_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_select_reuseport_kern.c | 108 struct tcphdr *th = data; in _select_by_skb_data()
|
D | bpf_flow.c | 136 struct tcphdr *tcp, _tcp; in parse_ip_proto()
|
/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 | 166 void dump_tcp_generic(const struct tcphdr *tcp, const uint8_t *options, size_t options_size, in dump_tcp_generic() 170 temp_checksum = ip_checksum_add(temp_checksum, tcp, sizeof(struct tcphdr)); in dump_tcp_generic() 208 void dump_tcp(const struct tcphdr *tcp, const struct iphdr *ip, const uint8_t *payload, in dump_tcp() 217 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 | 366 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, in tcp_packet() 371 if (len < sizeof(struct tcphdr)) { in tcp_packet() 443 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, in tcp_translate() 446 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/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/syzkaller/executor/ |
D | common_linux.h | 436 struct tcphdr* tcphdr; in syz_extract_tcp_res() local 448 if (length < sizeof(struct ethhdr) + iphdr->ihl * 4 + sizeof(struct tcphdr)) in syz_extract_tcp_res() 450 tcphdr = (struct tcphdr*)&data[sizeof(struct ethhdr) + iphdr->ihl * 4]; in syz_extract_tcp_res() 458 if (length < sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct tcphdr)) in syz_extract_tcp_res() 460 tcphdr = (struct tcphdr*)&data[sizeof(struct ethhdr) + sizeof(struct ipv6hdr)]; in syz_extract_tcp_res() 464 NONFAILING(res->seq = htonl((ntohl(tcphdr->seq) + (uint32)a1))); in syz_extract_tcp_res() 465 NONFAILING(res->ack = htonl((ntohl(tcphdr->ack_seq) + (uint32)a2))); in syz_extract_tcp_res()
|
/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 | 30 const struct tcphdr *th = (void *)iph + iph->ihl * 4; in parse_packet()
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 1034 struct tcphdr* tcphdr; 1046 if (length < sizeof(struct ethhdr) + iphdr->ihl * 4 + sizeof(struct tcphdr)) 1048 tcphdr = (struct tcphdr*)&data[sizeof(struct ethhdr) + iphdr->ihl * 4]; 1055 if (length < sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct tcphdr)) 1057 tcphdr = (struct tcphdr*)&data[sizeof(struct ethhdr) + sizeof(struct ipv6hdr)]; 1061 NONFAILING(res->seq = htonl((ntohl(tcphdr->seq) + (uint32)a1))); 1062 NONFAILING(res->ack = htonl((ntohl(tcphdr->ack_seq) + (uint32)a2)));
|
/external/honggfuzz/examples/linux_kernel_ip/ |
D | linux-kernel-4.10.0.patch | 127 th = (const struct tcphdr *)skb->data;
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | 2009-04-29-LinearScanBug.ll | 27 %23 = type { %struct.tcphdr* } 101 %struct.tcphdr = type { i16, i16, i32, i32, i8, i8, i16, i16, i16 }
|