Searched refs:encap_type (Results 1 - 25 of 50) sorted by last modified time

12

/linux-master/net/ipv6/
H A Dudp.c573 if (!sk || READ_ONCE(udp_sk(sk)->encap_type)) {
691 READ_ONCE(up->encap_type)) {
1671 if (up->encap_type) {
H A Desp6.c314 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 Dxfrm6_input.c81 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 Dip6_vti.c300 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 Dudp.c723 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 Desp4.c278 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 Dxfrm4_input.c85 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 Dip_vti.c48 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 Dfou_core.c581 tunnel_cfg.encap_type = 1;
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c3564 tunnel_cfg.encap_type = 1;
/linux-master/drivers/net/
H A Dgtp.c633 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 Dgeneve.c611 tunnel_cfg.encap_type = 1;
H A Dbareudp.c247 tunnel_cfg.encap_type = 1;
/linux-master/include/linux/
H A Dudp.h57 __u8 encap_type; /* Is this an Encapsulation socket? */ member in struct:udp_sock
/linux-master/net/xfrm/
H A Dxfrm_user.c1077 uep->encap_type = ep->encap_type;
H A Dxfrm_state.c1891 x->encap->encap_type == x1->encap->encap_type)
H A Dxfrm_interface_core.c314 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 Dxfrm_input.c448 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 Dprotocol.c879 tuncfg.encap_type = 1;
901 tuncfg.encap_type = 1;
/linux-master/net/rxrpc/
H A Dlocal_object.c193 tuncfg.encap_type = UDP_ENCAP_RXRPC;
/linux-master/include/net/
H A Dxfrm.h1484 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 Ddp_tx.c121 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 Ddp_tx.c142 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 Dipsec.c436 if (x->encap->encap_type != UDP_ENCAP_ESPINUDP) {
H A Dipsec_rxtx.c254 } else if (encap->encap_type == UDP_ENCAP_ESPINUDP) {

Completed in 341 milliseconds

12