Symbol: IPPROTO_ESP
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
254
if (x->id.proto != IPPROTO_ESP) {
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
1096
if (xs->id.proto == IPPROTO_ESP) {
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
1189
proto = IPPROTO_ESP;
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
577
if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
617
if (rsa.xs->id.proto & IPPROTO_ESP)
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
689
if (rsa.xs->id.proto & IPPROTO_ESP)
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
727
if (xs->id.proto & IPPROTO_ESP)
drivers/net/ethernet/intel/ixgbevf/ipsec.c
279
if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
drivers/net/ethernet/intel/ixgbevf/ipsec.c
314
if (rsa.xs->id.proto & IPPROTO_ESP)
drivers/net/ethernet/intel/ixgbevf/ipsec.c
332
if (rsa.xs->id.proto & IPPROTO_ESP)
drivers/net/ethernet/intel/ixgbevf/ipsec.c
369
if (xs->id.proto & IPPROTO_ESP)
drivers/net/ethernet/intel/ixgbevf/ipsec.c
496
if (xs->id.proto == IPPROTO_ESP) {
drivers/net/ethernet/intel/ixgbevf/ipsec.c
588
proto = IPPROTO_ESP;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c
613
if (x->id.proto != IPPROTO_ESP) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
587
case IPPROTO_ESP:
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
677
match.key->ip_proto != IPPROTO_ESP &&
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
698
else if (ip_proto == IPPROTO_ESP)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
757
if (ip_proto != IPPROTO_ESP &&
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
514
if (x->id.proto != IPPROTO_ESP) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
1584
MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_ESP);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
1812
iphdr->protocol = IPPROTO_ESP;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
1819
ipv6hdr->nexthdr = IPPROTO_ESP;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
251
eseg->trailer |= (l3_proto == IPPROTO_ESP) ?
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
255
eseg->trailer |= (l3_proto == IPPROTO_ESP) ?
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5060
case IPPROTO_ESP:
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
119
.proto = IPPROTO_ESP,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
123
.proto = IPPROTO_ESP,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
380
if (ipsec_rss && proto == IPPROTO_ESP) {
drivers/net/ethernet/netronome/nfp/crypto/ipsec.c
296
case IPPROTO_ESP:
drivers/net/ethernet/sun/niu.c
6960
*pid = IPPROTO_ESP;
drivers/net/ethernet/sun/niu.c
7222
if (proto == IPPROTO_ESP) {
drivers/net/netdevsim/ipsec.c
145
if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
drivers/net/netdevsim/ipsec.c
172
if (sa.xs->id.proto & IPPROTO_ESP)
drivers/net/netdevsim/ipsec.c
261
if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
include/linux/in.h
27
case IPPROTO_ESP: /* SPI */
include/linux/netfilter_ipv6.h
19
(nexthdr == IPPROTO_ESP) ||
include/net/netfilter/nf_reject.h
32
case IPPROTO_ESP:
include/net/xfrm.h
1541
case IPPROTO_ESP:
include/net/xfrm.h
1558
proto == IPPROTO_ESP ||
net/core/flow_dissector.c
1652
case IPPROTO_ESP:
net/core/pktgen.c
3889
pkt_dev->ipsproto = IPPROTO_ESP;
net/ipv4/esp4.c
1171
.proto = IPPROTO_ESP,
net/ipv4/esp4.c
1193
if (xfrm4_protocol_register(&esp4_protocol, IPPROTO_ESP) < 0) {
net/ipv4/esp4.c
1203
if (xfrm4_protocol_deregister(&esp4_protocol, IPPROTO_ESP) < 0)
net/ipv4/esp4.c
628
*skb_mac_header(skb) = IPPROTO_ESP;
net/ipv4/esp4.c
953
esph->spi, IPPROTO_ESP, AF_INET);
net/ipv4/esp4.c
958
ipv4_update_pmtu(skb, net, info, 0, IPPROTO_ESP);
net/ipv4/esp4.c
960
ipv4_redirect(skb, net, 0, IPPROTO_ESP);
net/ipv4/esp4_offload.c
113
*skb_mac_header(skb) = IPPROTO_ESP;
net/ipv4/esp4_offload.c
387
.proto = IPPROTO_ESP,
net/ipv4/esp4_offload.c
400
return inet_add_offload(&esp4_offload, IPPROTO_ESP);
net/ipv4/esp4_offload.c
406
inet_del_offload(&esp4_offload, IPPROTO_ESP);
net/ipv4/esp4_offload.c
43
if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0)
net/ipv4/esp4_offload.c
58
spi, IPPROTO_ESP, AF_INET);
net/ipv4/esp4_offload.c
91
xfrm_input(skb, IPPROTO_ESP, spi, encap_type);
net/ipv4/ip_vti.c
340
case IPPROTO_ESP:
net/ipv4/ip_vti.c
674
err = xfrm4_protocol_register(&vti_esp4_protocol, IPPROTO_ESP);
net/ipv4/ip_vti.c
716
xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP);
net/ipv4/ip_vti.c
735
xfrm4_protocol_deregister(&vti_esp4_protocol, IPPROTO_ESP);
net/ipv4/xfrm4_input.c
167
return xfrm4_rcv_encap(skb, IPPROTO_ESP, 0,
net/ipv4/xfrm4_input.c
197
ops = rcu_dereference(inet_offloads[IPPROTO_ESP]);
net/ipv4/xfrm4_protocol.c
206
case IPPROTO_ESP:
net/ipv4/xfrm4_protocol.c
29
case IPPROTO_ESP:
net/ipv6/esp6.c
1217
.proto = IPPROTO_ESP,
net/ipv6/esp6.c
1239
if (xfrm6_protocol_register(&esp6_protocol, IPPROTO_ESP) < 0) {
net/ipv6/esp6.c
1250
if (xfrm6_protocol_deregister(&esp6_protocol, IPPROTO_ESP) < 0)
net/ipv6/esp6.c
660
*skb_mac_header(skb) = IPPROTO_ESP;
net/ipv6/esp6.c
989
esph->spi, IPPROTO_ESP, AF_INET6);
net/ipv6/esp6_offload.c
120
xfrm_input(skb, IPPROTO_ESP, spi, encap_type);
net/ipv6/esp6_offload.c
149
*skb_mac_header(skb) = IPPROTO_ESP;
net/ipv6/esp6_offload.c
408
.proto = IPPROTO_ESP,
net/ipv6/esp6_offload.c
421
return inet6_add_offload(&esp6_offload, IPPROTO_ESP);
net/ipv6/esp6_offload.c
427
inet6_del_offload(&esp6_offload, IPPROTO_ESP);
net/ipv6/esp6_offload.c
70
if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0)
net/ipv6/esp6_offload.c
85
spi, IPPROTO_ESP, AF_INET6);
net/ipv6/ip6_vti.c
1247
err = xfrm6_protocol_register(&vti_esp6_protocol, IPPROTO_ESP);
net/ipv6/ip6_vti.c
1284
xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP);
net/ipv6/ip6_vti.c
1304
xfrm6_protocol_deregister(&vti_esp6_protocol, IPPROTO_ESP);
net/ipv6/ip6_vti.c
614
case IPPROTO_ESP:
net/ipv6/xfrm6_input.c
165
return xfrm6_rcv_encap(skb, IPPROTO_ESP, 0,
net/ipv6/xfrm6_input.c
197
ops = rcu_dereference(inet6_offloads[IPPROTO_ESP]);
net/ipv6/xfrm6_protocol.c
222
case IPPROTO_ESP:
net/ipv6/xfrm6_protocol.c
30
case IPPROTO_ESP:
net/key/af_key.c
3178
else if (x->id.proto == IPPROTO_ESP)
net/key/af_key.c
3243
else if (x->id.proto == IPPROTO_ESP)
net/key/af_key.c
3363
__u8 satype = (x->id.proto == IPPROTO_ESP ? SADB_SATYPE_ESP : 0);
net/key/af_key.c
574
return IPPROTO_ESP;
net/key/af_key.c
589
case IPPROTO_ESP:
net/netfilter/ipvs/ip_vs_proto_ah_esp.c
139
.protocol = IPPROTO_ESP,
net/netfilter/nf_log_syslog.c
483
case IPPROTO_ESP: {
net/netfilter/nf_log_syslog.c
654
case IPPROTO_ESP:
net/netfilter/xt_esp.c
79
.proto = IPPROTO_ESP,
net/netfilter/xt_esp.c
88
.proto = IPPROTO_ESP,
net/openvswitch/flow.c
287
case IPPROTO_ESP:
net/sched/cls_flower.c
830
if (key->basic.ip_proto != IPPROTO_ESP &&
net/xfrm/espintcp.c
46
ipv6_stub->xfrm6_rcv_encap(skb, IPPROTO_ESP, 0, TCP_ENCAP_ESPINTCP);
net/xfrm/espintcp.c
49
xfrm4_rcv_encap(skb, IPPROTO_ESP, 0, TCP_ENCAP_ESPINTCP);
net/xfrm/xfrm_input.c
157
case IPPROTO_ESP:
net/xfrm/xfrm_interface_core.c
1076
err = xfrm4_protocol_register(&xfrmi_esp4_protocol, IPPROTO_ESP);
net/xfrm/xfrm_interface_core.c
1105
xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP);
net/xfrm/xfrm_interface_core.c
1118
xfrm4_protocol_deregister(&xfrmi_esp4_protocol, IPPROTO_ESP);
net/xfrm/xfrm_interface_core.c
1125
err = xfrm6_protocol_register(&xfrmi_esp6_protocol, IPPROTO_ESP);
net/xfrm/xfrm_interface_core.c
1154
xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP);
net/xfrm/xfrm_interface_core.c
1167
xfrm6_protocol_deregister(&xfrmi_esp6_protocol, IPPROTO_ESP);
net/xfrm/xfrm_interface_core.c
598
case IPPROTO_ESP:
net/xfrm/xfrm_interface_core.c
659
case IPPROTO_ESP:
net/xfrm/xfrm_nat_keepalive.c
207
xfrm_state_walk_init(&walk, IPPROTO_ESP, NULL);
net/xfrm/xfrm_state.c
2548
case IPPROTO_ESP:
net/xfrm/xfrm_state.c
256
case IPPROTO_ESP:
net/xfrm/xfrm_state.c
301
case IPPROTO_ESP:
net/xfrm/xfrm_state.c
3119
!type || type->proto != IPPROTO_ESP)
net/xfrm/xfrm_state.c
343
case IPPROTO_ESP:
net/xfrm/xfrm_state.c
391
case IPPROTO_ESP:
net/xfrm/xfrm_state.c
415
case IPPROTO_ESP:
net/xfrm/xfrm_state.c
438
case IPPROTO_ESP:
net/xfrm/xfrm_user.c
170
if ((p->id.proto != IPPROTO_ESP) && (p->id.proto != IPPROTO_AH)) {
net/xfrm/xfrm_user.c
330
case IPPROTO_ESP:
net/xfrm/xfrm_user.c
4188
if (x->id.proto != IPPROTO_ESP)
net/xfrm/xfrm_user.c
440
if (p->id.proto != IPPROTO_ESP) {
samples/bpf/sockex2_kern.c
34
case IPPROTO_ESP:
security/selinux/xfrm.c
439
case IPPROTO_ESP:
tools/testing/selftests/bpf/progs/test_tunnel_kern.c
1009
opts.proto = IPPROTO_ESP;
tools/testing/selftests/bpf/progs/test_tunnel_kern.c
998
if (!iph || iph->protocol != IPPROTO_ESP)
tools/testing/selftests/net/ipsec.c
1401
xfrm_tmpl.id.proto = IPPROTO_ESP;
tools/testing/selftests/net/ipsec.c
2061
int proto_list[] = { IPPROTO_AH, IPPROTO_COMP, IPPROTO_ESP };
tools/testing/selftests/net/ipsec.c
2108
case IPPROTO_ESP:
tools/testing/selftests/net/ipsec.c
877
case IPPROTO_ESP:
tools/testing/selftests/net/nat6to4.bpf.c
206
case IPPROTO_ESP: // We do not need to bother looking at GRE/ESP headers,
tools/testing/selftests/net/nat6to4.bpf.c
83
case IPPROTO_ESP: // since there is never a checksum to update.