Home
last modified time | relevance | path

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

12

/linux-5.19.10/net/ipv4/
Desp4_offload.c41 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()
Dxfrm4_protocol.c29 case IPPROTO_ESP: in proto_handlers()
206 case IPPROTO_ESP: in netproto()
Desp4.c666 *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()
Dip_vti.c334 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()
Dxfrm4_input.c161 return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm4_udp_encap_rcv()
/linux-5.19.10/net/ipv6/
Desp6_offload.c64 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()
Dxfrm6_protocol.c30 case IPPROTO_ESP: in proto_handlers()
222 case IPPROTO_ESP: in netproto()
Desp6.c702 *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()
Dxfrm6_input.c156 return xfrm6_rcv_encap(skb, IPPROTO_ESP, 0, encap_type); in xfrm6_udp_encap_rcv()
Dip6_vti.c621 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/
Dxt_esp.c79 .proto = IPPROTO_ESP,
88 .proto = IPPROTO_ESP,
/linux-5.19.10/tools/include/uapi/linux/
Din.h57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator
58 #define IPPROTO_ESP IPPROTO_ESP macro
/linux-5.19.10/include/uapi/linux/
Din.h57 IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ enumerator
58 #define IPPROTO_ESP IPPROTO_ESP macro
/linux-5.19.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c272 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/
Dxfrm_interface.c418 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()
Despintcp.c44 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/
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()
265 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_tx()
/linux-5.19.10/include/net/netfilter/
Dnf_reject.h32 case IPPROTO_ESP: in nf_reject_verify_csum()
/linux-5.19.10/tools/testing/selftests/net/bpf/
Dnat6to4.c83 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/
Din.h27 case IPPROTO_ESP: /* SPI */ in proto_ports_offset()
Dnetfilter_ipv6.h19 (nexthdr == IPPROTO_ESP) || in nf_ip6_ext_hdr()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c248 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/
Dixgbe_ipsec.c572 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/
Dip_vs_proto_ah_esp.c140 .protocol = IPPROTO_ESP,
/linux-5.19.10/samples/bpf/
Dsockex2_kern.c35 case IPPROTO_ESP: in proto_ports_offset()

12