Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/
Dbareudp.c57 struct bareudp_dev *bareudp; in bareudp_udp_encap_recv() local
64 bareudp = rcu_dereference_sk_user_data(sk); in bareudp_udp_encap_recv()
65 if (!bareudp) in bareudp_udp_encap_recv()
73 if (bareudp->ethertype == htons(ETH_P_IP)) { in bareudp_udp_encap_recv()
78 proto = bareudp->ethertype; in bareudp_udp_encap_recv()
79 } else if (bareudp->multi_proto_mode && (iphdr->version == 6)) { in bareudp_udp_encap_recv()
82 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
85 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
91 proto = bareudp->ethertype; in bareudp_udp_encap_recv()
92 } else if (bareudp->multi_proto_mode && in bareudp_udp_encap_recv()
[all …]
DMakefile34 obj-$(CONFIG_BAREUDP) += bareudp.o
DKconfig273 will be called bareudp.
/Linux-v5.10/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.rst11 bareudp