Searched refs:doff (Results 1 – 15 of 15) sorted by relevance
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | flow_dissector.c | 106 .tcp.doff = 5, 127 .tcp.doff = 5, 150 .tcp.doff = 5, 173 .tcp.doff = 5, 197 .tcp.doff = 5, 224 .tcp.doff = 5, 246 .tcp.doff = 5, 273 .tcp.doff = 5, 296 .tcp.doff = 5, 319 .tcp.doff = 5, [all …]
|
| A D | kfree_skb.c | 46 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample() 47 "tcp.doff %x\n", pkt_v6->tcp.doff)) in on_sample()
|
| A D | parse_tcp_hdr_opt.c | 20 .pk6_v6.tcp.doff = 9, /* 16 bytes of options */
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_tcp_custom_syncookie.c | 133 if (ctx->tcp->doff < sizeof(*ctx->tcp) / 4) in tcp_reload_headers() 137 if (bpf_skb_change_tail(ctx->skb, data_len + 60 - ctx->tcp->doff * 4, 0)) in tcp_reload_headers() 164 ctx->tcp->doff * 4, IPPROTO_TCP, csum); in tcp_v4_csum() 170 ctx->tcp->doff * 4, IPPROTO_TCP, csum); in tcp_v6_csum() 180 csum = bpf_csum_diff(0, 0, (void *)ctx->tcp, ctx->tcp->doff * 4, 0); in tcp_validate_header() 420 ctx->tcp->doff = ((long)ctx->ptr32 - (long)ctx->tcp) >> 2; in tcp_handle_syn() 426 csum = bpf_csum_diff(0, 0, (void *)ctx->tcp, ctx->tcp->doff * 4, 0); in tcp_handle_syn()
|
| A D | test_select_reuseport_kern.c | 119 if ((th->doff << 2) + sizeof(*cmd) > data_check.len) in _select_by_skb_data() 121 if (bpf_skb_load_bytes(reuse_md, th->doff << 2, &cmd_copy, in _select_by_skb_data()
|
| A D | xdp_synproxy_kern.c | 423 hdr->tcp_len = hdr->tcp->doff * 4; in tcp_dissect() 523 tcp_header->doff = 5; /* doff is part of tcp_flag_word. */ in tcp_gen_synack() 532 tcp_header->doff += tcp_mkoptions(tcp_options, tsopt, mss, wscale); in tcp_gen_synack() 554 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv4_gen_synack() 575 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv6_gen_synack() 717 new_pkt_size = sizeof(*hdr->eth) + ip_len + hdr->tcp->doff * 4; in syncookie_handle_syn() 813 hdr->tcp_len = hdr->tcp->doff * 4; in syncookie_part2()
|
| A D | test_parse_tcp_hdr_opt_dynptr.c | 94 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr); in xdp_ingress_v6()
|
| A D | test_parse_tcp_hdr_opt.c | 97 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr); in xdp_ingress_v6()
|
| A D | test_btf_skc_cls_ingress.c | 33 if (th->doff * 4 != 40) { in test_syncookie_helper()
|
| A D | bpf_flow.c | 231 if (tcp->doff < 5) in parse_ip_proto() 234 if ((__u8 *)tcp + (tcp->doff << 2) > data_end) in parse_ip_proto()
|
| /tools/include/uapi/linux/ |
| A D | tcp.h | 32 doff:4, member 42 __u16 doff:4, member
|
| /tools/testing/selftests/bpf/ |
| A D | test_tcp_hdr_options.h | 98 return th->doff << 2; in tcp_hdrlen()
|
| A D | network_helpers.c | 58 .tcp.doff = 5, 66 .tcp.doff = 5,
|
| /tools/testing/selftests/net/ |
| A D | gro.c | 294 tcph->doff = 5; in fill_transportlayer() 412 tcphdr->doff = tcphdr->doff + (extlen / 4); in recompute_packet() 944 tcp_ext_len = (tcph->doff - 5) * 4; in check_recv_pkts()
|
| /tools/testing/selftests/net/lib/ |
| A D | csum.c | 262 th->doff = 5; in build_packet_tcp()
|
Completed in 33 milliseconds