Home
last modified time | relevance | path

Searched refs:IPPROTO_ESP (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v4.19/net/ipv4/
Desp4_offload.c44 if ((err = xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq)) != 0) in esp4_gro_receive()
58 spi, IPPROTO_ESP, AF_INET); in esp4_gro_receive()
81 xfrm_input(skb, IPPROTO_ESP, spi, -2); in esp4_gro_receive()
101 *skb_mac_header(skb) = IPPROTO_ESP; in esp4_gso_encap()
253 .proto = IPPROTO_ESP,
266 return inet_add_offload(&esp4_offload, IPPROTO_ESP); in esp4_offload_init()
274 inet_del_offload(&esp4_offload, IPPROTO_ESP); in esp4_offload_exit()
Desp4.c483 *skb_mac_header(skb) = IPPROTO_ESP; in esp_output()
818 esph->spi, IPPROTO_ESP, AF_INET); in esp4_err()
823 ipv4_update_pmtu(skb, net, info, 0, 0, IPPROTO_ESP, 0); in esp4_err()
825 ipv4_redirect(skb, net, 0, 0, IPPROTO_ESP, 0); in esp4_err()
1021 .proto = IPPROTO_ESP,
1044 if (xfrm4_protocol_register(&esp4_protocol, IPPROTO_ESP) < 0) { in esp4_init()
1054 if (xfrm4_protocol_deregister(&esp4_protocol, IPPROTO_ESP) < 0) in esp4_fini()
Dxfrm4_protocol.c33 case IPPROTO_ESP: in proto_handlers()
199 case IPPROTO_ESP: in netproto()
Dip_vti.c289 case IPPROTO_ESP: in vti4_err()
590 err = xfrm4_protocol_register(&vti_esp4_protocol, IPPROTO_ESP); in vti_init()
612 xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP); in vti_init()
625 xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP); in vti_fini()
Dxfrm4_input.c166 return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm4_udp_encap_rcv()
Dxfrm4_policy.c157 case IPPROTO_ESP: in _decode_session4()
/Linux-v4.19/net/ipv6/
Desp6_offload.c66 if ((err = xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq)) != 0) in esp6_gro_receive()
80 spi, IPPROTO_ESP, AF_INET6); in esp6_gro_receive()
108 xfrm_input(skb, IPPROTO_ESP, spi, -2); in esp6_gro_receive()
128 *skb_mac_header(skb) = IPPROTO_ESP; in esp6_gso_encap()
281 .proto = IPPROTO_ESP,
294 return inet6_add_offload(&esp6_offload, IPPROTO_ESP); in esp6_offload_init()
302 inet6_del_offload(&esp6_offload, IPPROTO_ESP); in esp6_offload_exit()
Dxfrm6_protocol.c33 case IPPROTO_ESP: in proto_handlers()
173 case IPPROTO_ESP: in netproto()
Desp6.c447 *skb_mac_header(skb) = IPPROTO_ESP; in esp6_output()
728 esph->spi, IPPROTO_ESP, AF_INET6); in esp6_err()
928 .proto = IPPROTO_ESP,
951 if (xfrm6_protocol_register(&esp6_protocol, IPPROTO_ESP) < 0) { in esp6_init()
962 if (xfrm6_protocol_deregister(&esp6_protocol, IPPROTO_ESP) < 0) in esp6_fini()
Dip6_vti.c586 case IPPROTO_ESP: in vti6_err()
1199 err = xfrm6_protocol_register(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_init()
1221 xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_init()
1237 xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_cleanup()
Dxfrm6_policy.c213 case IPPROTO_ESP: in _decode_session6()
/Linux-v4.19/include/uapi/linux/
Din.h57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator
58 #define IPPROTO_ESP IPPROTO_ESP macro
/Linux-v4.19/tools/include/uapi/linux/
Din.h57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator
58 #define IPPROTO_ESP IPPROTO_ESP macro
/Linux-v4.19/net/netfilter/
Dxt_esp.c82 .proto = IPPROTO_ESP,
91 .proto = IPPROTO_ESP,
/Linux-v4.19/net/xfrm/
Dxfrm_interface.c437 case IPPROTO_ESP: in xfrmi4_err()
497 case IPPROTO_ESP: in xfrmi6_err()
858 err = xfrm4_protocol_register(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_init()
873 xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_init()
882 xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_fini()
889 err = xfrm6_protocol_register(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_init()
904 xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_init()
913 xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_fini()
/Linux-v4.19/drivers/net/netdevsim/
Dipsec.c141 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_add_sa()
164 if (sa.xs->id.proto & IPPROTO_ESP) in nsim_ipsec_add_sa()
264 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_tx()
/Linux-v4.19/include/linux/netfilter_ipv6/
Dip6_tables.h44 (nexthdr == IPPROTO_ESP) || in ip6t_ext_hdr()
/Linux-v4.19/include/linux/
Din.h31 case IPPROTO_ESP: /* SPI */ in proto_ports_offset()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c554 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbe_ipsec_add_sa()
585 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa()
657 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa()
691 if (xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa()
857 if (xs->id.proto == IPPROTO_ESP) { in ixgbe_ipsec_tx()
949 proto = IPPROTO_ESP; in ixgbe_ipsec_rx()
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_proto_ah_esp.c145 .protocol = IPPROTO_ESP,
/Linux-v4.19/samples/bpf/
Dsockex2_kern.c34 case IPPROTO_ESP: in proto_ports_offset()
/Linux-v4.19/security/selinux/
Dxfrm.c448 case IPPROTO_ESP: in selinux_xfrm_postroute_last()
/Linux-v4.19/net/ipv4/netfilter/
Dnf_log_ipv4.c224 case IPPROTO_ESP: { in dump_ipv4_packet()
/Linux-v4.19/net/ipv6/netfilter/
Dnf_log_ipv6.c163 case IPPROTO_ESP: in dump_ipv6_packet()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c239 if (x->id.proto != IPPROTO_ESP) { in mlx5e_xfrm_validate_state()

12