Home
last modified time | relevance | path

Searched refs:inner_proto (Results 1 – 6 of 6) 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/include/net/netfilter/
H A Dnf_flow_table.h395 static inline bool nf_flow_pppoe_proto(struct sk_buff *skb, __be16 *inner_proto) in nf_flow_table_init_proc()
400 *inner_proto = __nf_flow_pppoe_proto(skb);
371 nf_flow_pppoe_proto(struct sk_buff * skb,__be16 * inner_proto) nf_flow_pppoe_proto() argument
/linux/include/net/
H A Dip_tunnels.h609 __be16 inner_proto, bool raw_proto, bool xnet);
612 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument
614 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
/linux/net/netfilter/
H A Dnf_flow_table_ip.c148 __be16 inner_proto = skb->protocol; in nf_flow_tuple_encap()
165 inner_proto = veth->h_vlan_encapsulated_proto; in nf_flow_tuple_encap()
172 inner_proto = *((__be16 *)(phdr + 1));
177 if (inner_proto == htons(ETH_P_IP)) { in nf_flow_tuple_ip()
333 __be16 inner_proto = skb->protocol; in nf_flow_encap_pop()
345 inner_proto = proto; in nf_flow_queue_xmit()
350 if (nf_flow_pppoe_proto(skb, &inner_proto) && in nf_flow_queue_xmit()
351 inner_proto == proto) { in nf_flow_queue_xmit()
358 if (inner_proto == htons(ETH_P_IP)) in nf_flow_offload_lookup()
284 __be16 inner_proto; nf_flow_skb_encap_protocol() local
/linux/net/ipv4/
H A Dip_tunnel_core.c95 __be16 inner_proto, bool raw_proto, bool xnet) in __iptunnel_pull_header() argument
102 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
115 skb->protocol = inner_proto; in __iptunnel_pull_header()
/linux/net/openvswitch/
H A Dflow_netlink.c3404 __be16 inner_proto; in __ovs_nla_copy_actions() local
3408 inner_proto = tun_p_to_eth_p(key->nsh.base.np); in __ovs_nla_copy_actions()
3409 if (!inner_proto) in __ovs_nla_copy_actions()