Home
last modified time | relevance | path

Searched refs:bareudp (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/
Dbareudp.c64 struct bareudp_dev *bareudp; in bareudp_udp_encap_recv() local
71 bareudp = rcu_dereference_sk_user_data(sk); in bareudp_udp_encap_recv()
72 if (!bareudp) in bareudp_udp_encap_recv()
80 if (bareudp->ethertype == htons(ETH_P_IP)) { in bareudp_udp_encap_recv()
85 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
92 } else if (ipversion == 6 && bareudp->multi_proto_mode) { in bareudp_udp_encap_recv()
95 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
98 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
104 proto = bareudp->ethertype; in bareudp_udp_encap_recv()
105 } else if (bareudp->multi_proto_mode && in bareudp_udp_encap_recv()
[all …]
DMakefile37 obj-$(CONFIG_BAREUDP) += bareudp.o
DKconfig274 will be called bareudp.
/Linux-v6.6/Documentation/networking/
Dbareudp.rst16 The bareudp device supports special handling for MPLS & IP as they can have
28 a) ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc
30 This creates a bareudp tunnel device which tunnels L3 traffic with ethertype
38 The multiproto mode allows bareudp tunnels to handle several protocols of the
42 a) ip link add dev bareudp0 type bareudp dstport 6635 ethertype ipv4 multiproto
47 b) ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc multiproto
54 The bareudp device could be used along with OVS or flower filter in TC.
56 sending packet buffer to the bareudp device for transmission. On reception the
57 bareudp device extracts and stores the tunnel information in SKB dst field before
Dindex.rst12 bareudp
/Linux-v6.6/tools/testing/selftests/net/
Dbareudp.sh395 …ip -netns "${NS1}" link add name bareudp_ns1 up type bareudp dstport 6635 ethertype "${ETHERTYPE}"…
396 …ip -netns "${NS2}" link add name bareudp_ns2 up type bareudp dstport 6635 ethertype "${ETHERTYPE}"…
498 ip link help 2>&1 | grep -q bareudp
DMakefile26 TEST_PROGS += bareudp.sh