Searched refs:inner_proto (Results 1 – 8 of 8) sorted by relevance
| /linux/net/nsh/ |
| H A D | nsh.c | 52 __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/net/netfilter/ |
| H A D | nf_flow_table_ip.c | 164 __be16 inner_proto = skb->protocol; in nf_flow_tuple_encap() local 182 inner_proto = veth->h_vlan_encapsulated_proto; in nf_flow_tuple_encap() 189 inner_proto = *((__be16 *)(phdr + 1)); in nf_flow_tuple_encap() 194 switch (inner_proto) { in nf_flow_tuple_encap() 394 __be16 inner_proto = skb->protocol; in nf_flow_skb_encap_protocol() local 406 inner_proto = proto; in nf_flow_skb_encap_protocol() 411 if (nf_flow_pppoe_proto(skb, &inner_proto) && in nf_flow_skb_encap_protocol() 412 inner_proto == proto) { in nf_flow_skb_encap_protocol() 419 switch (inner_proto) { in nf_flow_skb_encap_protocol()
|
| /linux/include/net/netfilter/ |
| H A D | nf_flow_table.h | 397 static inline bool nf_flow_pppoe_proto(struct sk_buff *skb, __be16 *inner_proto) in nf_flow_pppoe_proto() argument 402 *inner_proto = __nf_flow_pppoe_proto(skb); in nf_flow_pppoe_proto()
|
| /linux/include/net/ |
| H A D | udp_tunnel.h | 169 __be16 inner_proto) in udp_tunnel_set_inner_protocol() argument 176 skb_set_inner_protocol(skb, inner_proto); in udp_tunnel_set_inner_protocol()
|
| H A D | ip_tunnels.h | 616 __be16 inner_proto, bool raw_proto, bool xnet); 619 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument 621 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
|
| /linux/drivers/net/ |
| H A D | geneve.c | 656 __be16 inner_proto; in geneve_udp_encap_recv() 676 inner_proto = geneveh->proto_type; in geneve_udp_encap_recv() 679 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv() 685 if (iptunnel_pull_header(skb, GENEVE_BASE_HLEN + opts_len, inner_proto, in geneve_udp_encap_recv() 1161 __be16 inner_proto) in geneve_build_gro_hint_opt() 1170 geneveh->proto_type = inner_proto; in geneve_build_gro_hint_opt() 1258 __be16 inner_proto; in geneve_build_skb() 1280 inner_proto = inner_proto_inherit ? skb->protocol : htons(ETH_P_TEB); in geneve_get_dsfield() 1281 geneve_build_header(gnvh, info, inner_proto); in geneve_get_dsfield() 1286 udp_tunnel_set_inner_protocol(skb, double_encap, inner_proto); in geneve_get_dsfield() 655 __be16 inner_proto; geneve_udp_encap_recv() local 1141 geneve_build_header(struct genevehdr * geneveh,const struct ip_tunnel_info * info,__be16 inner_proto) geneve_build_header() argument 1238 __be16 inner_proto; geneve_build_skb() local [all...] |
| /linux/net/ipv4/ |
| H A D | ip_tunnel_core.c | 110 __be16 inner_proto, bool raw_proto, bool xnet) in __iptunnel_pull_header() argument 117 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header() 130 skb->protocol = inner_proto; in __iptunnel_pull_header()
|
| /linux/net/openvswitch/ |
| H A D | flow_netlink.c | 3406 __be16 inner_proto; in __ovs_nla_copy_actions() local 3410 inner_proto = tun_p_to_eth_p(key->nsh.base.np); in __ovs_nla_copy_actions() 3411 if (!inner_proto) in __ovs_nla_copy_actions()
|