/Linux-v4.19/net/ipv4/ |
D | esp4_offload.c | 44 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()
|
D | esp4.c | 483 *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()
|
D | xfrm4_protocol.c | 33 case IPPROTO_ESP: in proto_handlers() 199 case IPPROTO_ESP: in netproto()
|
D | ip_vti.c | 289 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()
|
D | xfrm4_input.c | 166 return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm4_udp_encap_rcv()
|
D | xfrm4_policy.c | 157 case IPPROTO_ESP: in _decode_session4()
|
/Linux-v4.19/net/ipv6/ |
D | esp6_offload.c | 66 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()
|
D | xfrm6_protocol.c | 33 case IPPROTO_ESP: in proto_handlers() 173 case IPPROTO_ESP: in netproto()
|
D | esp6.c | 447 *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()
|
D | ip6_vti.c | 586 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()
|
D | xfrm6_policy.c | 213 case IPPROTO_ESP: in _decode_session6()
|
/Linux-v4.19/include/uapi/linux/ |
D | in.h | 57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator 58 #define IPPROTO_ESP IPPROTO_ESP macro
|
/Linux-v4.19/tools/include/uapi/linux/ |
D | in.h | 57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator 58 #define IPPROTO_ESP IPPROTO_ESP macro
|
/Linux-v4.19/net/netfilter/ |
D | xt_esp.c | 82 .proto = IPPROTO_ESP, 91 .proto = IPPROTO_ESP,
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_interface.c | 437 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/ |
D | ipsec.c | 141 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/ |
D | ip6_tables.h | 44 (nexthdr == IPPROTO_ESP) || in ip6t_ext_hdr()
|
/Linux-v4.19/include/linux/ |
D | in.h | 31 case IPPROTO_ESP: /* SPI */ in proto_ports_offset()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 554 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/ |
D | ip_vs_proto_ah_esp.c | 145 .protocol = IPPROTO_ESP,
|
/Linux-v4.19/samples/bpf/ |
D | sockex2_kern.c | 34 case IPPROTO_ESP: in proto_ports_offset()
|
/Linux-v4.19/security/selinux/ |
D | xfrm.c | 448 case IPPROTO_ESP: in selinux_xfrm_postroute_last()
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 224 case IPPROTO_ESP: { in dump_ipv4_packet()
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | nf_log_ipv6.c | 163 case IPPROTO_ESP: in dump_ipv6_packet()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec.c | 239 if (x->id.proto != IPPROTO_ESP) { in mlx5e_xfrm_validate_state()
|