/linux-master/net/ipv6/ |
H A D | udp.c | 573 if (!sk || READ_ONCE(udp_sk(sk)->encap_type)) { 691 READ_ONCE(up->encap_type)) { 1671 if (up->encap_type) {
|
H A D | esp6.c | 314 x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 380 int encap_type, 401 if (encap_type == UDP_ENCAP_ESPINUDP_NON_IKE) { 451 int encap_type; local 456 encap_type = encap->encap_type; 459 switch (encap_type) { 463 esph = esp6_output_udp_encap(skb, encap_type, esp, sport, dport); 682 if (!err && x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 820 switch (x->encap->encap_type) { 379 esp6_output_udp_encap(struct sk_buff *skb, int encap_type, struct esp_info *esp, __be16 sport, __be16 dport) argument [all...] |
H A D | xfrm6_input.c | 81 u16 encap_type; local 83 encap_type = READ_ONCE(up->encap_type); 85 if (!encap_type) 99 switch (encap_type) { 175 udp_sk(sk)->encap_type);
|
H A D | ip6_vti.c | 300 int encap_type) 330 return xfrm_input(skb, nexthdr, spi, encap_type); 299 vti6_input_proto(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument
|
/linux-master/net/ipv4/ |
H A D | udp.c | 723 if (!sk || READ_ONCE(udp_sk(sk)->encap_type)) { 2093 READ_ONCE(up->encap_type)) { 2626 if (up->encap_type) { 2637 static void set_xfrm_gro_udp_encap_rcv(__u16 encap_type, unsigned short family, argument 2641 if (udp_test_bit(GRO_ENABLED, sk) && encap_type == UDP_ENCAP_ESPINUDP) { 2713 WRITE_ONCE(up->encap_type, val); 2743 set_xfrm_gro_udp_encap_rcv(up->encap_type, sk->sk_family, sk); 2815 val = READ_ONCE(up->encap_type);
|
H A D | esp4.c | 278 x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 344 int encap_type, 365 if (encap_type == UDP_ENCAP_ESPINUDP_NON_IKE) { 415 int encap_type; local 420 encap_type = encap->encap_type; 423 switch (encap_type) { 427 esph = esp_output_udp_encap(skb, encap_type, esp, sport, dport); 644 if (!err && x->encap && x->encap->encap_type == TCP_ENCAP_ESPINTCP) 773 switch (x->encap->encap_type) { 343 esp_output_udp_encap(struct sk_buff *skb, int encap_type, struct esp_info *esp, __be16 sport, __be16 dport) argument [all...] |
H A D | xfrm4_input.c | 85 u16 encap_type; local 87 encap_type = READ_ONCE(up->encap_type); 89 if (!encap_type) 103 switch (encap_type) { 177 udp_sk(sk)->encap_type);
|
H A D | ip_vti.c | 48 int encap_type, bool update_skb_dev) 66 return xfrm_input(skb, nexthdr, spi, encap_type); 76 int encap_type) 78 return vti_input(skb, nexthdr, spi, encap_type, false); 47 vti_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type, bool update_skb_dev) argument 75 vti_input_proto(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument
|
H A D | fou_core.c | 581 tunnel_cfg.encap_type = 1;
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 3564 tunnel_cfg.encap_type = 1;
|
/linux-master/drivers/net/ |
H A D | gtp.c | 633 WRITE_ONCE(udp_sk(sk)->encap_type, 0); 685 switch (READ_ONCE(udp_sk(sk)->encap_type)) { 1001 tuncfg.encap_type = type; 1228 tuncfg.encap_type = type;
|
H A D | geneve.c | 611 tunnel_cfg.encap_type = 1;
|
H A D | bareudp.c | 247 tunnel_cfg.encap_type = 1;
|
/linux-master/include/linux/ |
H A D | udp.h | 57 __u8 encap_type; /* Is this an Encapsulation socket? */ member in struct:udp_sock
|
/linux-master/net/xfrm/ |
H A D | xfrm_user.c | 1077 uep->encap_type = ep->encap_type;
|
H A D | xfrm_state.c | 1891 x->encap->encap_type == x1->encap->encap_type)
|
H A D | xfrm_interface_core.c | 314 int encap_type, unsigned short family) 332 return xfrm_input(skb, nexthdr, spi, encap_type); 349 static int xfrmi4_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument 351 return xfrmi_input(skb, nexthdr, spi, encap_type, AF_INET); 354 static int xfrmi6_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument 356 return xfrmi_input(skb, nexthdr, spi, encap_type, AF_INET6); 313 xfrmi_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type, unsigned short family) argument
|
H A D | xfrm_input.c | 448 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) argument 466 if (encap_type < 0 || (xo && xo->flags & XFRM_GRO)) { 476 if (encap_type == -1) 483 /* An encap_type of -1 indicates async resumption. */ 484 if (encap_type == -1) { 596 if ((x->encap ? x->encap->encap_type : 0) != encap_type) { 647 encap_type = 0;
|
/linux-master/net/sctp/ |
H A D | protocol.c | 879 tuncfg.encap_type = 1; 901 tuncfg.encap_type = 1;
|
/linux-master/net/rxrpc/ |
H A D | local_object.c | 193 tuncfg.encap_type = UDP_ENCAP_RXRPC;
|
/linux-master/include/net/ |
H A D | xfrm.h | 1484 int encap_type); 1495 int encap_type); 1656 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type); 1673 int encap_type); 1694 int encap_type);
|
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | dp_tx.c | 121 le32_encode_bits(ti->encap_type, 198 ti.encap_type = ath12k_dp_tx_get_encap_type(arvif, skb); 210 ti.encap_type != HAL_TCL_ENCAP_TYPE_RAW) { 222 switch (ti.encap_type) {
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | dp_tx.c | 142 ti.encap_type = ath11k_dp_tx_get_encap_type(arvif, skb); 153 if (unlikely(ti.encap_type == HAL_TCL_ENCAP_TYPE_RAW)) { 175 ti.encap_type != HAL_TCL_ENCAP_TYPE_RAW)) { 190 switch (ti.encap_type) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec.c | 436 if (x->encap->encap_type != UDP_ENCAP_ESPINUDP) {
|
H A D | ipsec_rxtx.c | 254 } else if (encap->encap_type == UDP_ENCAP_ESPINUDP) {
|