/linux-4.4.14/net/core/ |
D | lwtunnel.c | 56 unsigned int encap_type) in lwtunnel_encap_del_ops() argument 60 if (encap_type == LWTUNNEL_ENCAP_NONE || in lwtunnel_encap_del_ops() 61 encap_type > LWTUNNEL_ENCAP_MAX) in lwtunnel_encap_del_ops() 65 &lwtun_encaps[encap_type], in lwtunnel_encap_del_ops() 74 int lwtunnel_build_state(struct net_device *dev, u16 encap_type, in lwtunnel_build_state() argument 81 if (encap_type == LWTUNNEL_ENCAP_NONE || in lwtunnel_build_state() 82 encap_type > LWTUNNEL_ENCAP_MAX) in lwtunnel_build_state() 87 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_build_state()
|
/linux-4.4.14/net/ipv4/ |
D | xfrm4_input.c | 78 __u16 encap_type = up->encap_type; in xfrm4_udp_encap_rcv() local 81 if (!encap_type) in xfrm4_udp_encap_rcv() 95 switch (encap_type) { in xfrm4_udp_encap_rcv() 148 return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm4_udp_encap_rcv()
|
D | udp_tunnel.c | 69 udp_sk(sk)->encap_type = cfg->encap_type; in setup_udp_tunnel_sock()
|
D | esp4.c | 212 int encap_type; in esp_output() local 217 encap_type = encap->encap_type; in esp_output() 226 switch (encap_type) { in esp_output() 704 switch (encap->encap_type) { in esp_init_state()
|
D | xfrm4_protocol.c | 67 int encap_type) in xfrm4_rcv_encap() argument 81 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) in xfrm4_rcv_encap()
|
D | ip_vti.c | 54 int encap_type) in vti_input() argument 69 return xfrm_input(skb, nexthdr, spi, encap_type); in vti_input()
|
D | fib_semantics.c | 596 static int fib_encap_match(struct net *net, u16 encap_type, in fib_encap_match() argument 605 if (encap_type == LWTUNNEL_ENCAP_NONE) in fib_encap_match() 610 ret = lwtunnel_build_state(dev, encap_type, encap, in fib_encap_match()
|
D | udp.c | 1518 if (static_key_false(&udp_encap_needed) && up->encap_type) { in udp_queue_rcv_skb() 2041 if (static_key_false(&udp_encap_needed) && up->encap_type) { in udp_destroy_sock() 2089 up->encap_type = val; in udp_lib_setsockopt() 2185 val = up->encap_type; in udp_lib_getsockopt()
|
D | fou.c | 490 udp_sk(sk)->encap_type = 1; in fou_create()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_input.c | 182 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) in xfrm_input() argument 197 if (encap_type < 0) { in xfrm_input() 267 if ((x->encap ? x->encap->encap_type : 0) != encap_type) { in xfrm_input() 316 encap_type = 0; in xfrm_input()
|
/linux-4.4.14/include/net/ |
D | lwtunnel.h | 82 int lwtunnel_build_state(struct net_device *dev, u16 encap_type, 133 static inline int lwtunnel_build_state(struct net_device *dev, u16 encap_type, in lwtunnel_build_state() argument
|
D | udp_tunnel.h | 71 __u8 encap_type; member
|
D | xfrm.h | 1363 int encap_type); 1514 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type); 1523 int encap_type);
|
/linux-4.4.14/include/linux/ |
D | udp.h | 50 __u8 encap_type; /* Is this an Encapsulation socket? */ member
|
/linux-4.4.14/include/uapi/linux/ |
D | xfrm.h | 249 __u16 encap_type; member
|
/linux-4.4.14/net/tipc/ |
D | udp_media.c | 403 tuncfg.encap_type = 1; in tipc_udp_enable()
|
/linux-4.4.14/net/l2tp/ |
D | l2tp_core.c | 1206 (udp_sk(sk))->encap_type = 0; in l2tp_tunnel_destruct() 1587 udp_cfg.encap_type = UDP_ENCAP_L2TPINUDP; in l2tp_tunnel_create()
|
/linux-4.4.14/net/ipv6/ |
D | udp.c | 634 if (static_key_false(&udpv6_encap_needed) && up->encap_type) { in udpv6_queue_rcv_skb() 1408 if (static_key_false(&udpv6_encap_needed) && up->encap_type) { in udpv6_destroy_sock()
|
/linux-4.4.14/net/key/ |
D | af_key.c | 780 if (natt && natt->encap_type) { in __pfkey_xfrm_state2msg() 968 if (natt && natt->encap_type) { in __pfkey_xfrm_state2msg() 976 n_type->sadb_x_nat_t_type_type = natt->encap_type; in __pfkey_xfrm_state2msg() 1235 natt->encap_type = n_type->sadb_x_nat_t_type_type; in pfkey_msg2xfrm_state()
|
/linux-4.4.14/drivers/net/ |
D | geneve.c | 510 tunnel_cfg.encap_type = 1; in geneve_socket_create()
|
D | vxlan.c | 2711 tunnel_cfg.encap_type = 1; in vxlan_socket_create()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 3006 u8 encap_type; member
|