/linux-master/samples/bpf/ |
H A D | parse_simple.c | 12 #include <linux/udp.h> 32 struct udphdr *udp = data + sizeof(*eth) + sizeof(*iph); local 36 if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*udp) > data_end) 45 if (udp->dest == htons(DEFAULT_PKTGEN_UDP_PORT))
|
H A D | parse_varlen.c | 14 #include <linux/udp.h> 33 static int udp(void *data, uint64_t tp_off, void *data_end) function 35 struct udphdr *udp = data + tp_off; local 37 if (udp + 1 > data_end) 39 if (udp->dest == htons(DEFAULT_PKTGEN_UDP_PORT) || 40 udp->source == htons(DEFAULT_PKTGEN_UDP_PORT)) { 42 char fmt[] = "udp port 9 indeed\n"; 74 return udp(data, nh_off + ihl_len, data_end); 108 return udp(data, nh_off + ihl_len, data_end);
|
H A D | parse_ldabs.c | 12 #include <linux/udp.h>
|
/linux-master/include/trace/events/ |
H A D | udp.h | 3 #define TRACE_SYSTEM udp 8 #include <linux/udp.h>
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_hw_metadata.c | 32 struct udphdr *udp = NULL; local 53 udp = (void *)(iph + 1); 58 udp = (void *)(ip6h + 1); 60 if (udp && udp + 1 > data_end) 61 udp = NULL; 64 if (!udp) { 70 if (udp->dest != bpf_htons(9091)) {
|
H A D | xdp_metadata.c | 36 struct udphdr *udp = NULL; local 49 udp = (void *)(iph + 1); 54 udp = (void *)(ip6h + 1); 56 if (udp && udp + 1 > data_end) 57 udp = NULL; 60 if (!udp) 64 if (udp->dest != bpf_htons(8080))
|
H A D | cg_storage_multi_egress_only.c | 10 #include <linux/udp.h>
|
H A D | test_assign_reuse.c | 10 #include <linux/udp.h> 21 struct udphdr udp; member in union:__anon4702 45 if (ctx->data + sizeof(headers.udp) > ctx->data_end) 48 if (__builtin_memcmp(&headers.udp, ctx->data, sizeof(headers.udp)) != 0) 102 __builtin_memcpy(&headers.udp, uh, sizeof(headers.udp));
|
H A D | test_cls_redirect.h | 13 #include <linux/udp.h> 60 struct udphdr udp; member in struct:__anon4705
|
H A D | xdpwall.c | 12 #include <linux/udp.h> 208 struct udphdr *udp = transport_hdr; local 210 if (udp + 1 > data_end) 213 info->sport = bpf_ntohs(udp->source); 214 info->dport = bpf_ntohs(udp->dest); 259 struct udphdr *udp = (struct udphdr *)(ip6h + 1); local 260 void *encap_data = udp + 1; 262 if (udp + 1 > data_end) 265 if (udp->dest != bpf_htons(6666))
|
H A D | cg_storage_multi_isolated.c | 10 #include <linux/udp.h>
|
H A D | cg_storage_multi_shared.c | 10 #include <linux/udp.h>
|
/linux-master/net/tipc/ |
H A D | udp_media.h | 42 #include <linux/udp.h>
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | pedit.h | 15 struct udphdr udp; member in struct:pedit_headers
|
/linux-master/net/netfilter/ |
H A D | nf_nat_tftp.c | 6 #include <linux/udp.h> 29 exp->saved_proto.udp.port 30 = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port;
|
H A D | nf_nat_sip.c | 13 #include <linux/udp.h> 108 ct->tuplehash[dir].tuple.src.u.udp.port == port) { 110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; 112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { 115 ct->tuplehash[!dir].tuple.src.u.udp.port; 190 port != ct->tuplehash[dir].tuple.src.u.udp.port) 195 port != ct->tuplehash[dir].tuple.dst.u.udp.port) 247 htons(n) == ct->tuplehash[dir].tuple.dst.u.udp.port && 248 htons(n) != ct->tuplehash[!dir].tuple.src.u.udp.port) { 249 __be16 p = ct->tuplehash[!dir].tuple.src.u.udp [all...] |
H A D | nf_conntrack_broadcast.c | 65 exp->tuple.src.u.udp.port = helper->tuple.src.u.udp.port; 68 exp->mask.src.u.udp.port = htons(0xFFFF);
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A 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 "tt [all...] |
H A D | tc_police.sh | 133 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 137 -t udp sp=12345,dp=54321 -p 1000 -c 0 -q & 159 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 171 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 187 -t udp sp=12345,dp=$dport -p 1000 -c 0 -q & 208 dst_ip 198.51.100.1 ip_proto udp src_port 12345 \ 213 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 220 dst_ip 198.51.100.1 ip_proto udp dst_port 22222 \ 242 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 247 dst_ip 198.51.100.1 ip_proto udp dst_por [all...] |
H A D | pedit_l4port.sh | 171 do_test_pedit_l4port "dev $swp1 ingress" udp sport src_port 172 do_test_pedit_l4port "dev $swp2 egress" udp sport src_port 177 do_test_pedit_l4port "dev $swp1 ingress" udp dport dst_port 178 do_test_pedit_l4port "dev $swp2 egress" udp dport dst_port
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_abi.h | 60 } udp; member in union:usnic_transport_spec::__anon24
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 29 } udp; member in union:nf_conntrack_man_proto
|
/linux-master/include/net/ |
H A D | fou.h | 10 #include <net/udp.h>
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_do_redirect.c | 10 #include <linux/udp.h> 18 struct udphdr udp; member in struct:udp_packet 30 - offsetof(struct udp_packet, udp)), 34 .udp.source = bpf_htons(1), 35 .udp.dest = bpf_htons(1), 36 .udp.len = bpf_htons(sizeof(struct udp_packet) 37 - offsetof(struct udp_packet, udp)),
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.h | 40 dma_addr_t udp; member in struct:ixgbe_fcoe_ddp
|