Searched refs:inner_proto (Results 1 – 11 of 11) 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_path.c | 136 info->tun.inner_proto = path->tun.inner_proto; in nft_dev_path_info() 248 route->tuple[!dir].in.tun.inner_proto = info.tun.inner_proto; in nft_dev_forward_path()
|
| H A D | nf_flow_table_ip.c | 157 u8 inner_proto; member 195 if (ctx->tun.inner_proto == IPPROTO_IPIP) { in nf_flow_tuple_encap() 198 tuple->tun.inner_proto = IPPROTO_IPIP; in nf_flow_tuple_encap() 203 if (ctx->tun.inner_proto == IPPROTO_IPV6) { in nf_flow_tuple_encap() 206 tuple->tun.inner_proto = IPPROTO_IPV6; in nf_flow_tuple_encap() 330 ctx->tun.inner_proto = iph->protocol; in nf_flow_ip4_tunnel_proto() 355 ctx->tun.inner_proto = ip6h->nexthdr; in nf_flow_ip6_tunnel_proto() 369 if (ctx->tun.inner_proto != IPPROTO_IPIP && in nf_flow_ip_tunnel_pop() 370 ctx->tun.inner_proto != IPPROTO_IPV6) in nf_flow_ip_tunnel_pop() 615 iph->protocol = tuple->tun.inner_proto; in nf_flow_tunnel_ipip_push()
|
| /linux/include/net/netfilter/ |
| H A D | nf_flow_table.h | 120 u8 inner_proto; member 408 static inline bool nf_flow_pppoe_proto(struct sk_buff *skb, __be16 *inner_proto) in nf_flow_pppoe_proto() argument 413 *inner_proto = __nf_flow_pppoe_proto(skb); in nf_flow_pppoe_proto()
|
| /linux/include/net/ |
| H A D | ip_tunnels.h | 615 __be16 inner_proto, bool raw_proto, bool xnet); 618 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument 620 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
|
| /linux/drivers/net/ |
| H A D | geneve.c | 674 __be16 inner_proto; in geneve_udp_encap_recv() local 694 inner_proto = geneveh->proto_type; in geneve_udp_encap_recv() 698 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv() 704 if (iptunnel_pull_header(skb, GENEVE_BASE_HLEN + opts_len, inner_proto, in geneve_udp_encap_recv() 1231 __be16 inner_proto) in geneve_build_header() argument 1240 geneveh->proto_type = inner_proto; in geneve_build_header() 1330 __be16 inner_proto; in geneve_build_skb() local 1352 inner_proto = inner_proto_inherit ? skb->protocol : htons(ETH_P_TEB); in geneve_build_skb() 1353 geneve_build_header(gnvh, info, inner_proto); in geneve_build_skb() 1358 udp_tunnel_set_inner_protocol(skb, double_encap, inner_proto); in geneve_build_skb()
|
| /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()
|
| H A D | ipip.c | 381 path->tun.inner_proto = IPPROTO_IPIP; in ipip_fill_forward_path()
|
| /linux/net/openvswitch/ |
| H A D | flow_netlink.c | 3519 __be16 inner_proto; in __ovs_nla_copy_actions() local 3523 inner_proto = tun_p_to_eth_p(key->nsh.base.np); in __ovs_nla_copy_actions() 3524 if (!inner_proto) in __ovs_nla_copy_actions()
|
| /linux/net/ipv6/ |
| H A D | ip6_tunnel.c | 1870 path->tun.inner_proto = IPPROTO_IPV6; in ip6_tnl_fill_forward_path()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 912 u8 inner_proto; member
|