Searched refs:udp (Results 1 - 25 of 379) sorted by relevance

1234567891011>>

/linux-master/samples/bpf/
H A Dparse_simple.c12 #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 Dparse_varlen.c14 #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 Dparse_ldabs.c12 #include <linux/udp.h>
/linux-master/include/trace/events/
H A Dudp.h3 #define TRACE_SYSTEM udp
8 #include <linux/udp.h>
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_hw_metadata.c32 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 Dxdp_metadata.c36 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 Dcg_storage_multi_egress_only.c10 #include <linux/udp.h>
H A Dtest_assign_reuse.c10 #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 Dtest_cls_redirect.h13 #include <linux/udp.h>
60 struct udphdr udp; member in struct:__anon4705
H A Dxdpwall.c12 #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 Dcg_storage_multi_isolated.c10 #include <linux/udp.h>
H A Dcg_storage_multi_shared.c10 #include <linux/udp.h>
/linux-master/net/tipc/
H A Dudp_media.h42 #include <linux/udp.h>
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dpedit.h15 struct udphdr udp; member in struct:pedit_headers
/linux-master/net/netfilter/
H A Dnf_nat_tftp.c6 #include <linux/udp.h>
29 exp->saved_proto.udp.port
30 = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port;
H A Dnf_nat_sip.c13 #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 Dnf_conntrack_broadcast.c65 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 Drouter_multicast.sh248 $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 Dtc_police.sh133 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 Dpedit_l4port.sh171 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 Dusnic_abi.h60 } udp; member in union:usnic_transport_spec::__anon24
/linux-master/include/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h29 } udp; member in union:nf_conntrack_man_proto
/linux-master/include/net/
H A Dfou.h10 #include <net/udp.h>
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_do_redirect.c10 #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 Dixgbe_fcoe.h40 dma_addr_t udp; member in struct:ixgbe_fcoe_ddp

Completed in 233 milliseconds

1234567891011>>