| /linux/net/ipv4/ |
| H A D | esp4_offload.c | 43 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp4_gro_receive() 58 spi, IPPROTO_ESP, AF_INET); in esp4_gro_receive() 91 xfrm_input(skb, IPPROTO_ESP, spi, encap_type); in esp4_gro_receive() 113 *skb_mac_header(skb) = IPPROTO_ESP; in esp4_gso_encap() 387 .proto = IPPROTO_ESP, 400 return inet_add_offload(&esp4_offload, IPPROTO_ESP); in esp4_offload_init() 406 inet_del_offload(&esp4_offload, IPPROTO_ESP); in esp4_offload_exit()
|
| H A D | xfrm4_input.c | 167 return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, in xfrm4_udp_encap_rcv() 197 ops = rcu_dereference(inet_offloads[IPPROTO_ESP]); in xfrm4_gro_udp_encap_rcv()
|
| H A D | ip_vti.c | 340 case IPPROTO_ESP: in vti4_err() 674 err = xfrm4_protocol_register(&vti_esp4_protocol, IPPROTO_ESP); in vti_init() 716 xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP); in vti_init() 735 xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP); in vti_fini()
|
| /linux/net/ipv6/ |
| H A D | esp6_offload.c | 70 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp6_gro_receive() 85 spi, IPPROTO_ESP, AF_INET6); in esp6_gro_receive() 120 xfrm_input(skb, IPPROTO_ESP, spi, encap_type); in esp6_gro_receive() 149 *skb_mac_header(skb) = IPPROTO_ESP; in esp6_gso_encap() 408 .proto = IPPROTO_ESP, 421 return inet6_add_offload(&esp6_offload, IPPROTO_ESP); in esp6_offload_init() 427 inet6_del_offload(&esp6_offload, IPPROTO_ESP); in esp6_offload_exit()
|
| H A D | xfrm6_input.c | 165 return xfrm6_rcv_encap(skb, IPPROTO_ESP, 0, in xfrm6_udp_encap_rcv() 197 ops = rcu_dereference(inet6_offloads[IPPROTO_ESP]); in xfrm6_gro_udp_encap_rcv()
|
| H A D | xfrm6_protocol.c | 30 case IPPROTO_ESP: in proto_handlers() 222 case IPPROTO_ESP: in netproto()
|
| H A D | ip6_vti.c | 614 case IPPROTO_ESP: in vti6_err() 1247 err = xfrm6_protocol_register(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_init() 1284 xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_init() 1304 xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP); in vti6_tunnel_cleanup()
|
| /linux/tools/include/uapi/linux/ |
| H A D | in.h | 58 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator 59 #define IPPROTO_ESP IPPROTO_ESP macro
|
| /linux/net/netfilter/ |
| H A D | xt_esp.c | 79 .proto = IPPROTO_ESP, 88 .proto = IPPROTO_ESP,
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ipsec.c | 279 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbevf_ipsec_add_sa() 314 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 332 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 369 if (xs->id.proto & IPPROTO_ESP) in ixgbevf_ipsec_add_sa() 496 if (xs->id.proto == IPPROTO_ESP) { in ixgbevf_ipsec_tx() 588 proto = IPPROTO_ESP; in ixgbevf_ipsec_rx()
|
| /linux/net/xfrm/ |
| H A D | xfrm_interface_core.c | 598 case IPPROTO_ESP: in xfrmi4_err() 659 case IPPROTO_ESP: in xfrmi6_err() 1076 err = xfrm4_protocol_register(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_init() 1105 xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_init() 1118 xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP); in xfrmi4_fini() 1125 err = xfrm6_protocol_register(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_init() 1154 xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_init() 1167 xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP); in xfrmi6_fini()
|
| H A D | espintcp.c | 46 ipv6_stub->xfrm6_rcv_encap(skb, IPPROTO_ESP, 0, TCP_ENCAP_ESPINTCP); in handle_esp() 49 xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, TCP_ENCAP_ESPINTCP); in handle_esp()
|
| H A D | xfrm_nat_keepalive.c | 207 xfrm_state_walk_init(&walk, IPPROTO_ESP, NULL); in nat_keepalive_sk_init()
|
| H A D | xfrm_state.c | 256 case IPPROTO_ESP: in xfrm_register_type() 301 case IPPROTO_ESP: in xfrm_unregister_type() 343 case IPPROTO_ESP: in xfrm_get_type() 391 case IPPROTO_ESP: in xfrm_register_type_offload() 415 case IPPROTO_ESP: in xfrm_unregister_type_offload() 438 case IPPROTO_ESP: in xfrm_set_type_offload() 2547 case IPPROTO_ESP: in verify_spi_info() 3117 !type || type->proto != IPPROTO_ESP) in xfrm_state_mtu()
|
| /linux/include/net/netfilter/ |
| H A D | nf_reject.h | 32 case IPPROTO_ESP: in nf_reject_verify_csum()
|
| /linux/tools/testing/selftests/net/ |
| H A D | nat6to4.bpf.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/include/linux/ |
| H A D | in.h | 27 case IPPROTO_ESP: /* SPI */ in proto_ports_offset()
|
| H A D | netfilter_ipv6.h | 19 (nexthdr == IPPROTO_ESP) || in nf_ip6_ext_hdr()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ipsec.c | 577 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbe_ipsec_add_sa() 617 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa() 689 if (rsa.xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa() 727 if (xs->id.proto & IPPROTO_ESP) in ixgbe_ipsec_add_sa() 1096 if (xs->id.proto == IPPROTO_ESP) { in ixgbe_ipsec_tx() 1189 proto = IPPROTO_ESP; in ixgbe_ipsec_rx()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec_rxtx.c | 251 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg() 255 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_proto_ah_esp.c | 139 .protocol = IPPROTO_ESP,
|
| /linux/samples/bpf/ |
| H A D | sockex2_kern.c | 34 case IPPROTO_ESP: in proto_ports_offset()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | fs_ttc.c | 119 .proto = IPPROTO_ESP, 123 .proto = IPPROTO_ESP, 380 if (ipsec_rss && proto == IPPROTO_ESP) { in mlx5_generate_ttc_rule()
|
| /linux/security/selinux/ |
| H A D | xfrm.c | 439 case IPPROTO_ESP: in selinux_xfrm_postroute_last()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tunnel_kern.c | 998 if (!iph || iph->protocol != IPPROTO_ESP) in xfrm_get_state_xdp() 1009 opts.proto = IPPROTO_ESP; in xfrm_get_state_xdp()
|