/linux-5.19.10/net/ipv4/ |
D | esp4_offload.c | 41 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp4_gro_receive() 56 spi, IPPROTO_ESP, AF_INET); in esp4_gro_receive() 79 xfrm_input(skb, IPPROTO_ESP, spi, -2); in esp4_gro_receive() 101 *skb_mac_header(skb) = IPPROTO_ESP; in esp4_gso_encap() 349 .proto = IPPROTO_ESP, 362 return inet_add_offload(&esp4_offload, IPPROTO_ESP); in esp4_offload_init() 368 inet_del_offload(&esp4_offload, IPPROTO_ESP); in esp4_offload_exit()
|
D | xfrm4_protocol.c | 29 case IPPROTO_ESP: in proto_handlers() 206 case IPPROTO_ESP: in netproto()
|
D | esp4.c | 666 *skb_mac_header(skb) = IPPROTO_ESP; in esp_output() 989 esph->spi, IPPROTO_ESP, AF_INET); in esp4_err() 994 ipv4_update_pmtu(skb, net, info, 0, IPPROTO_ESP); in esp4_err() 996 ipv4_redirect(skb, net, 0, IPPROTO_ESP); in esp4_err() 1199 .proto = IPPROTO_ESP, 1221 if (xfrm4_protocol_register(&esp4_protocol, IPPROTO_ESP) < 0) { in esp4_init() 1231 if (xfrm4_protocol_deregister(&esp4_protocol, IPPROTO_ESP) < 0) in esp4_fini()
|
D | ip_vti.c | 334 case IPPROTO_ESP: in vti4_err() 657 err = xfrm4_protocol_register(&vti_esp4_protocol, IPPROTO_ESP); in vti_init() 699 xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP); in vti_init() 718 xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP); in vti_fini()
|
D | xfrm4_input.c | 161 return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm4_udp_encap_rcv()
|
/linux-5.19.10/net/ipv6/ |
D | esp6_offload.c | 64 if ((err = xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq)) != 0) in esp6_gro_receive() 79 spi, IPPROTO_ESP, AF_INET6); in esp6_gro_receive() 107 xfrm_input(skb, IPPROTO_ESP, spi, -2); in esp6_gro_receive() 136 *skb_mac_header(skb) = IPPROTO_ESP; in esp6_gso_encap() 384 .proto = IPPROTO_ESP, 397 return inet6_add_offload(&esp6_offload, IPPROTO_ESP); in esp6_offload_init() 403 inet6_del_offload(&esp6_offload, IPPROTO_ESP); in esp6_offload_exit()
|
D | xfrm6_protocol.c | 30 case IPPROTO_ESP: in proto_handlers() 222 case IPPROTO_ESP: in netproto()
|
D | esp6.c | 702 *skb_mac_header(skb) = IPPROTO_ESP; in esp6_output() 1029 esph->spi, IPPROTO_ESP, AF_INET6); in esp6_err() 1249 .proto = IPPROTO_ESP, 1271 if (xfrm6_protocol_register(&esp6_protocol, IPPROTO_ESP) < 0) { in esp6_init() 1282 if (xfrm6_protocol_deregister(&esp6_protocol, IPPROTO_ESP) < 0) in esp6_fini()
|
D | xfrm6_input.c | 156 return xfrm6_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm6_udp_encap_rcv()
|
D | ip6_vti.c | 621 case IPPROTO_ESP: in vti6_err() 1268 err = xfrm6_protocol_register(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_init() 1305 xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_init() 1325 xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_cleanup()
|
/linux-5.19.10/net/netfilter/ |
D | xt_esp.c | 79 .proto = IPPROTO_ESP, 88 .proto = IPPROTO_ESP,
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | in.h | 57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator 58 #define IPPROTO_ESP IPPROTO_ESP macro
|
/linux-5.19.10/include/uapi/linux/ |
D | in.h | 57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator 58 #define IPPROTO_ESP IPPROTO_ESP macro
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 272 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbevf_ipsec_add_sa() 303 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 320 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 357 if (xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 500 if (xs->id.proto == IPPROTO_ESP) { in ixgbevf_ipsec_tx() 592 proto = IPPROTO_ESP; in ixgbevf_ipsec_rx()
|
/linux-5.19.10/net/xfrm/ |
D | xfrm_interface.c | 418 case IPPROTO_ESP: in xfrmi4_err() 479 case IPPROTO_ESP: in xfrmi6_err() 876 err = xfrm4_protocol_register(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_init() 905 xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_init() 918 xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_fini() 925 err = xfrm6_protocol_register(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_init() 954 xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_init() 967 xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_fini()
|
D | espintcp.c | 44 ipv6_stub->xfrm6_rcv_encap(skb, IPPROTO_ESP, 0, TCP_ENCAP_ESPINTCP); in handle_esp() 47 xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, TCP_ENCAP_ESPINTCP); in handle_esp()
|
/linux-5.19.10/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() 265 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_tx()
|
/linux-5.19.10/include/net/netfilter/ |
D | nf_reject.h | 32 case IPPROTO_ESP: in nf_reject_verify_csum()
|
/linux-5.19.10/tools/testing/selftests/net/bpf/ |
D | nat6to4.c | 83 case IPPROTO_ESP: // since there is never a checksum to update. in sched_cls_ingress6_nat_6_prog() 206 case IPPROTO_ESP: // We do not need to bother looking at GRE/ESP headers, in sched_cls_egress4_snat4_prog()
|
/linux-5.19.10/include/linux/ |
D | in.h | 27 case IPPROTO_ESP: /* SPI */ in proto_ports_offset()
|
D | netfilter_ipv6.h | 19 (nexthdr == IPPROTO_ESP) || in nf_ip6_ext_hdr()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_rxtx.c | 248 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg() 252 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 572 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbe_ipsec_add_sa() 608 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa() 680 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa() 718 if (xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa() 1106 if (xs->id.proto == IPPROTO_ESP) { in ixgbe_ipsec_tx() 1199 proto = IPPROTO_ESP; in ixgbe_ipsec_rx()
|
/linux-5.19.10/net/netfilter/ipvs/ |
D | ip_vs_proto_ah_esp.c | 140 .protocol = IPPROTO_ESP,
|
/linux-5.19.10/samples/bpf/ |
D | sockex2_kern.c | 35 case IPPROTO_ESP: in proto_ports_offset()
|