/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 41 struct udphdr udp; member 158 olen += sizeof(h_outer.l4hdr.udp); in encap_ipv4() 159 h_outer.l4hdr.udp.source = __bpf_constant_htons(cfg_udp_src); in encap_ipv4() 160 h_outer.l4hdr.udp.dest = bpf_htons(udp_dst); in encap_ipv4() 161 h_outer.l4hdr.udp.check = 0; in encap_ipv4() 162 h_outer.l4hdr.udp.len = bpf_htons(bpf_ntohs(iph_inner.tot_len) + in encap_ipv4() 163 sizeof(h_outer.l4hdr.udp) + in encap_ipv4() 266 olen += sizeof(h_outer.l4hdr.udp); in encap_ipv6() 267 h_outer.l4hdr.udp.source = __bpf_constant_htons(cfg_udp_src); in encap_ipv6() 268 h_outer.l4hdr.udp.dest = bpf_htons(udp_dst); in encap_ipv6() [all …]
|
D | bpf_flow.c | 159 struct udphdr *udp, _udp; in parse_ip_proto() local 228 udp = bpf_flow_dissect_get_header(skb, sizeof(*udp), &_udp); in parse_ip_proto() 229 if (!udp) in parse_ip_proto() 232 keys->sport = udp->source; in parse_ip_proto() 233 keys->dport = udp->dest; in parse_ip_proto()
|
D | test_l4lb.c | 286 struct udphdr *udp; in parse_udp() local 287 udp = data + off; in parse_udp() 289 if (udp + 1 > data_end) in parse_udp() 293 pckt->port16[0] = udp->source; in parse_udp() 294 pckt->port16[1] = udp->dest; in parse_udp() 296 pckt->port16[0] = udp->dest; in parse_udp() 297 pckt->port16[1] = udp->source; in parse_udp()
|
D | test_l4lb_noinline.c | 286 struct udphdr *udp; in parse_udp() local 287 udp = data + off; in parse_udp() 289 if (udp + 1 > data_end) in parse_udp() 293 pckt->port16[0] = udp->source; in parse_udp() 294 pckt->port16[1] = udp->dest; in parse_udp() 296 pckt->port16[0] = udp->dest; in parse_udp() 297 pckt->port16[1] = udp->source; in parse_udp()
|
D | test_xdp_noinline.c | 238 struct udphdr *udp; in parse_udp() local 239 udp = data + off; in parse_udp() 241 if (udp + 1 > data_end) in parse_udp() 244 pckt->flow.port16[0] = udp->source; in parse_udp() 245 pckt->flow.port16[1] = udp->dest; in parse_udp() 247 pckt->flow.port16[0] = udp->dest; in parse_udp() 248 pckt->flow.port16[1] = udp->source; in parse_udp()
|
/tools/testing/selftests/net/forwarding/ |
D | router_multicast.sh | 248 $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ 258 $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ 288 $MZ $h1 -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \ 298 $MZ $h1 -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \ 324 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 326 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 328 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 330 skip_hw dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action pass 334 $MZ $h1 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ 343 $MZ $h3 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \ [all …]
|
D | bridge_igmp.sh | 97 $MZ $host1_if -c 1 -p 64 -b $mac -B $ip -t udp "dp=4096,sp=2048" -q
|
D | router_multipath.sh | 182 -d 1msec -t udp "sp=1024,dp=0-32768" 219 -d 1msec -t udp "sp=1024,dp=0-32768"
|
D | router_mpath_nh.sh | 201 -d 1msec -t udp "sp=1024,dp=0-32768" 234 -d 1msec -t udp "sp=1024,dp=0-32768"
|
D | gre_inner_v4_multipath.sh | 270 -d 1msec -c 50 -t udp "sp=1024,dp=1024"
|
D | gre_multipath.sh | 223 -d 1msec -t udp "sp=1024,dp=0-32768"
|
D | gre_inner_v6_multipath.sh | 271 -d 1msec -c 50 -t udp "sp=1024,dp=1024"
|
D | ip6gre_inner_v4_multipath.sh | 269 -d 1msec -c 50 -t udp "sp=1024,dp=1024"
|
D | ip6gre_inner_v6_multipath.sh | 270 -d 1msec -c 50 -t udp "sp=1024,dp=1024"
|
D | vxlan_bridge_1d.sh | 564 -t udp tos=$outer_tos,sp=23456,dp=$VXPORT,p=$(:
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | one_armed_router.sh | 135 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \ 139 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \ 143 skip_sw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \ 147 -B 198.51.100.1 -t udp dp=52768,sp=42768 -q 178 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \ 182 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \ 186 skip_sw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \ 190 -B 2001:db8:2::1 -t udp dp=52768,sp=42768 -q
|
D | qos_lib.sh | 35 -a own -b $dmac -t udp -q &
|
D | vxlan_flooding.sh | 192 flower ip_proto udp dst_ip 198.51.100.$lsb \
|
/tools/testing/selftests/net/ |
D | msg_zerocopy.sh | 28 $0 4 udp -t 1 29 $0 6 udp -t 1
|
D | fcnal-test.sh | 3226 run_cmd iptables -A INPUT -p udp --dport 12345 -j REJECT --reject-with icmp-port-unreachable 3282 run_cmd ip6tables -A INPUT -p udp --dport 12345 -j REJECT --reject-with icmp6-port-unreachable 3523 ipv4_udp|udp) ipv4_udp;;
|
/tools/testing/selftests/bpf/ |
D | test_flow_dissector.sh | 73 udp src_port 9 action drop 109 udp src_port 9 action drop
|
D | test_tc_tunnel.sh | 122 $0 ipv4 udp $mac 100 128 $0 ipv4 udp $mac 2000
|
D | test_maps.c | 654 int err, i, fd, udp, sfd[6] = {0xdeadbeef}; in test_sockmap() local 747 udp = socket(AF_INET, SOCK_DGRAM, 0); in test_sockmap() 749 err = bpf_map_update_elem(fd, &i, &udp, BPF_ANY); in test_sockmap() 752 i, udp); in test_sockmap()
|
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | tc_flower.sh | 604 -A 2001:db8:2::1 -B 2001:db8:2::2 -t udp -q 631 -A 2001:db8:2::1 -B 2001:db8:2::2 -t udp -q 773 -A 2001:db8:2::1 -B 2001:db8:2::2 -t udp -q 791 -A 2001:db8:2::1 -B 2001:db8:2::2 -t udp -q
|