Searched refs:dport (Results 1 – 16 of 16) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | test_xdp.c | 91 int dport; in handle_ipv4() local 98 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4() 99 if (dport == -1) in handle_ipv4() 105 vip.dport = dport; in handle_ipv4() 163 int dport; in handle_ipv6() local 168 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6() 169 if (dport == -1) in handle_ipv6() 175 vip.dport = dport; in handle_ipv6()
|
D | test_xdp_loop.c | 87 int dport; in handle_ipv4() local 94 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4() 95 if (dport == -1) in handle_ipv4() 101 vip.dport = dport; in handle_ipv4() 159 int dport; in handle_ipv6() local 164 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6() 165 if (dport == -1) in handle_ipv6() 171 vip.dport = dport; in handle_ipv6()
|
D | test_tcp_check_syncookie_kern.c | 80 tup.ipv4.dport = tcph->dest; in check_syncookie() 112 tup.ipv6.dport = tcph->dest; in check_syncookie()
|
D | connect4_prog.c | 33 tuple.ipv4.dport = bpf_htons(DST_REWRITE_PORT4); in connect_v4_prog()
|
D | connect6_prog.c | 45 tuple.ipv6.dport = bpf_htons(DST_REWRITE_PORT6); in connect_v6_prog()
|
D | bpf_flow.c | 77 __u32 key = (__u32)(keys->sport) << 16 | keys->dport; in export_flow_keys() 224 keys->dport = tcp->dest; in parse_ip_proto() 233 keys->dport = udp->dest; in parse_ip_proto()
|
D | test_l4lb.c | 411 vip.dport = pckt.port16[1]; in process_packet() 415 vip.dport = 0; in process_packet()
|
D | test_l4lb_noinline.c | 411 vip.dport = pckt.port16[1]; in process_packet() 415 vip.dport = 0; in process_packet()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 36 got.dport, expected.dport) 122 .dport = 8080, 142 .dport = 8080, 164 .dport = 8080, 187 .dport = 8080, 212 .dport = 8080, 260 .dport = 8080, 304 .dport = 8080, 355 .dport = 8080, 504 tests[i].keys.dport; in test_flow_dissector()
|
/tools/testing/selftests/bpf/ |
D | test_iptunnel_common.h | 16 __u16 dport; member
|
D | test_tc_tunnel.sh | 206 dport=${mplsudpport} 210 dport=${udpport} 213 ip netns exec "${ns2}" ip fou add port $dport ipproto ${dproto} 214 targs="encap fou encap-sport auto encap-dport $dport"
|
D | test_flow_dissector.c | 237 uint16_t dport, int family) in build_udp_header() argument 243 udph->dest = htons(dport); in build_udp_header()
|
/tools/testing/selftests/netfilter/ |
D | nft_flowtable.sh | 136 meta oif "veth1" tcp dport 12345 flow offload @f1 counter 141 tcp dport 12345 meta length gt 200 ct mark set 1 counter 160 meta length lt 200 oif "veth1" tcp dport 12345 counter accept
|
/tools/include/uapi/linux/ |
D | bpf.h | 3156 __be16 dport; member 3162 __be16 dport; member 3527 __be16 dport; member 3590 __be16 dport; member
|
/tools/testing/selftests/net/ |
D | fcnal-test.sh | 3216 run_cmd iptables -A INPUT -p tcp --dport 12345 -j REJECT --reject-with tcp-reset 3225 run_cmd iptables -A INPUT -p tcp --dport 12345 -j REJECT --reject-with icmp-port-unreachable 3226 run_cmd iptables -A INPUT -p udp --dport 12345 -j REJECT --reject-with icmp-port-unreachable 3273 run_cmd ip6tables -A INPUT -p tcp --dport 12345 -j REJECT --reject-with tcp-reset 3281 run_cmd ip6tables -A INPUT -p tcp --dport 12345 -j REJECT --reject-with icmp6-port-unreachable 3282 run_cmd ip6tables -A INPUT -p udp --dport 12345 -j REJECT --reject-with icmp6-port-unreachable
|
D | pmtu.sh | 327 …mode} local ${a_addr} remote ${b_addr} encap ${encap} encap-sport auto encap-dport 5556 || return 2 330 …e ${type} ${mode} local ${b_addr} remote ${a_addr} encap ${encap} encap-sport auto encap-dport 5555
|