/freebsd/sys/netipsec/ |
H A D | ipsec_input.c | 105 if ((proto) == IPPROTO_ESP) \ 132 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec_common_input() 136 if ((sproto == IPPROTO_ESP && !V_esp_enable) || in ipsec_common_input() 152 if (sproto == IPPROTO_ESP) in ipsec_common_input() 249 case IPPROTO_ESP: in ipsec4_input() 309 if (proto != IPPROTO_ESP && proto != IPPROTO_AH && in ipsec4_ctlinput() 359 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec4_common_input_cb() 553 case IPPROTO_ESP: in ipsec6_input() 613 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec6_common_input_cb()
|
H A D | udpencap.c | 152 ip->ip_p = IPPROTO_ESP; in udp_ipsec_input() 165 ip6->ip6_nxt = IPPROTO_ESP; in udp_ipsec_input() 178 sav = key_allocsa(&dst, IPPROTO_ESP, spi); in udp_ipsec_input() 298 KASSERT(ip6->ip6_nxt == IPPROTO_ESP, in udp_ipsec_output()
|
H A D | ipsec.c | 952 case IPPROTO_ESP: in ipsec_get_reqlevel() 1085 case IPPROTO_ESP: in ipsec_in_reject() 1137 case IPPROTO_ESP: in ipsec_hdrsiz_internal() 1334 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay() 1379 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay()
|
H A D | ipsec_output.c | 101 if ((proto) == IPPROTO_ESP) \ 127 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec4_allocsa() 553 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec6_allocsa()
|
H A D | key.c | 1157 IPSEC_ASSERT(proto == IPPROTO_ESP || proto == IPPROTO_AH || in key_allocsa() 1636 case IPPROTO_ESP: in key_msg2sp() 3050 case IPPROTO_ESP: in key_newsav() 5000 return IPPROTO_ESP; in key_satype2proto() 5022 case IPPROTO_ESP: in key_proto2satype() 5399 if (sav->sah->saidx.proto != IPPROTO_ESP || in key_updateaddresses() 5973 if (sav->sah->saidx.proto != IPPROTO_ESP) in key_setnatt() 6831 case IPPROTO_ESP: in key_getprop()
|
H A D | xform_esp.c | 866 prot = IPPROTO_ESP; in esp_output()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_ipsec_pxy.c | 156 if (ipf_nat_outlookup(fin, 0, IPPROTO_ESP, nat->nat_nsrcip, in ipf_p_ipsec_new() 202 ipn->in_pr[0] = IPPROTO_ESP; in ipf_p_ipsec_new() 203 ipn->in_pr[1] = IPPROTO_ESP; in ipf_p_ipsec_new() 213 fi.fin_fi.fi_p = IPPROTO_ESP; in ipf_p_ipsec_new() 218 ip->ip_p = IPPROTO_ESP; in ipf_p_ipsec_new() 281 fi.fin_fi.fi_p = IPPROTO_ESP; in ipf_p_ipsec_inout() 285 ip->ip_p = IPPROTO_ESP; in ipf_p_ipsec_inout()
|
H A D | ip_compat.h | 902 #ifndef IPPROTO_ESP 903 # define IPPROTO_ESP 50 macro
|
/freebsd/contrib/tcpdump/ |
H A D | ipproto.h | 86 #ifndef IPPROTO_ESP 87 #define IPPROTO_ESP 50 /* SIPP Encap Sec. Payload */ macro
|
H A D | ipproto.c | 38 { IPPROTO_ESP, "ESP" },
|
H A D | print-ip-demux.c | 63 case IPPROTO_ESP: in ip_demux_print()
|
H A D | print-ip6.c | 138 case IPPROTO_ESP: in ip6_finddst()
|
/freebsd/sbin/ipf/libipf/ |
H A D | v6ionames.c | 19 { IPPROTO_ESP, 0x000010, 0, "esp" },
|
/freebsd/cddl/lib/libdtrace/ |
H A D | ip.d | 148 #pragma D binding "1.5" IPPROTO_ESP 149 inline short IPPROTO_ESP = 50; variable 187 proto == IPPROTO_ESP ? "ESP" :
|
/freebsd/sys/netinet/ |
H A D | in_proto.c | 125 SYSCTL_NODE(_net_inet, IPPROTO_ESP, esp, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
H A D | in.h | 185 #define IPPROTO_ESP 50 /* IP6 Encap Sec. Payload */ macro
|
/freebsd/tools/tools/netmap/ |
H A D | pkt_hash.c | 188 case IPPROTO_ESP: in decode_ip_n_hash() 263 case IPPROTO_ESP: in decode_ipv6_n_hash()
|
/freebsd/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 185 case IPPROTO_ESP: in ipsec_dump_ipsecrequest()
|
/freebsd/sys/net/altq/ |
H A D | altq_subr.c | 999 #ifndef IPPROTO_ESP 1000 #define IPPROTO_ESP 50 /* encapsulating security payload */ macro 1174 case IPPROTO_ESP: 1261 case IPPROTO_ESP:
|
/freebsd/sys/netinet6/ |
H A D | in6_proto.c | 212 SYSCTL_NODE(_net_inet6, IPPROTO_ESP, ipsec6, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
/freebsd/sys/net/ |
H A D | if_ipsec.c | 467 sav->sah->saidx.proto != IPPROTO_ESP) in ipsec_if_input() 874 isr->saidx.proto = IPPROTO_ESP; in ipsec_newpolicies()
|
/freebsd/sys/netgraph/ |
H A D | ng_ksocket.c | 152 { "esp", IPPROTO_ESP, PF_INET }, 164 { "esp6", IPPROTO_ESP, PF_INET6 },
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec.c | 284 if (saidx->proto != IPPROTO_ESP) { in mlx5e_xfrm_validate_state()
|
/freebsd/usr.sbin/ppp/ |
H A D | ip.c | 778 case IPPROTO_ESP: in PacketCheck()
|
/freebsd/sbin/setkey/ |
H A D | parse.y | 753 | PR_ESP { $$ = IPPROTO_ESP; }
|