Home
last modified time | relevance | path

Searched refs:inner_proto (Results 1 – 8 of 8) sorted by relevance

/linux/net/nsh/
H A Dnsh.c52 __be16 inner_proto; in nsh_pop() local
60 inner_proto = tun_p_to_eth_p(nh->np); in nsh_pop()
64 if (!inner_proto) in nsh_pop()
71 skb->protocol = inner_proto; in nsh_pop()
/linux/drivers/net/
H A Dgtp.c274 __u16 inner_proto) in gtp_check_ms() argument
276 switch (inner_proto) { in gtp_check_ms()
286 __u16 *inner_proto) in gtp_inner_proto() argument
297 *inner_proto = ETH_P_IP; in gtp_inner_proto()
300 *inner_proto = ETH_P_IPV6; in gtp_inner_proto()
310 unsigned int hdrlen, unsigned int role, __u16 inner_proto) in gtp_rx() argument
312 if (!gtp_check_ms(skb, pctx, hdrlen, role, inner_proto)) { in gtp_rx()
318 if (iptunnel_pull_header(skb, hdrlen, htons(inner_proto), in gtp_rx()
582 __u16 inner_proto; in gtp0_udp_encap_recv() local
605 if (gtp_inner_proto(skb, hdrlen, &inner_proto) < 0) { in gtp0_udp_encap_recv()
[all …]
H A Dgeneve.c366 __be16 inner_proto; in geneve_udp_encap_recv() local
386 inner_proto = geneveh->proto_type; in geneve_udp_encap_recv()
389 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv()
395 if (iptunnel_pull_header(skb, GENEVE_BASE_HLEN + opts_len, inner_proto, in geneve_udp_encap_recv()
747 __be16 inner_proto) in geneve_build_header() argument
756 geneveh->proto_type = inner_proto; in geneve_build_header()
770 __be16 inner_proto; in geneve_build_skb() local
788 inner_proto = inner_proto_inherit ? skb->protocol : htons(ETH_P_TEB); in geneve_build_skb()
789 geneve_build_header(gnvh, info, inner_proto); in geneve_build_skb()
790 skb_set_inner_protocol(skb, inner_proto); in geneve_build_skb()
/linux/include/net/netfilter/
H A Dnf_flow_table.h370 static inline bool nf_flow_pppoe_proto(struct sk_buff *skb, __be16 *inner_proto) in nf_flow_pppoe_proto() argument
375 *inner_proto = __nf_flow_pppoe_proto(skb); in nf_flow_pppoe_proto()
/linux/include/net/
H A Dip_tunnels.h595 __be16 inner_proto, bool raw_proto, bool xnet);
598 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument
600 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
/linux/net/netfilter/
H A Dnf_flow_table_ip.c280 __be16 inner_proto; in nf_flow_skb_encap_protocol() local
294 if (nf_flow_pppoe_proto(skb, &inner_proto) && in nf_flow_skb_encap_protocol()
295 inner_proto == proto) { in nf_flow_skb_encap_protocol()
/linux/net/ipv4/
H A Dip_tunnel_core.c93 __be16 inner_proto, bool raw_proto, bool xnet) in __iptunnel_pull_header() argument
100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
113 skb->protocol = inner_proto; in __iptunnel_pull_header()
/linux/net/openvswitch/
H A Dflow_netlink.c3456 __be16 inner_proto; in __ovs_nla_copy_actions() local
3460 inner_proto = tun_p_to_eth_p(key->nsh.base.np); in __ovs_nla_copy_actions()
3461 if (!inner_proto) in __ovs_nla_copy_actions()