Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/netipsec/
H A Dipsec_input.c104 if ((proto) == IPPROTO_ESP) \
131 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec_common_input()
135 if ((sproto == IPPROTO_ESP && !V_esp_enable) || in ipsec_common_input()
151 if (sproto == IPPROTO_ESP) in ipsec_common_input()
243 case IPPROTO_ESP: in ipsec4_input()
303 if (proto != IPPROTO_ESP && proto != IPPROTO_AH && in ipsec4_ctlinput()
353 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec4_common_input_cb()
542 case IPPROTO_ESP: in ipsec6_input()
602 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec6_common_input_cb()
H A Dudpencap.c147 ip->ip_p = IPPROTO_ESP; in udp_ipsec_input()
164 sav = key_allocsa(&dst, IPPROTO_ESP, spi); in udp_ipsec_input()
H A Dipsec.c931 case IPPROTO_ESP: in ipsec_get_reqlevel()
1064 case IPPROTO_ESP: in ipsec_in_reject()
1116 case IPPROTO_ESP: in ipsec_hdrsiz_internal()
1313 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay()
1358 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay()
H A Dipsec_output.c100 if ((proto) == IPPROTO_ESP) \
126 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec4_allocsa()
507 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec6_allocsa()
H A Dkey.c1132 IPSEC_ASSERT(proto == IPPROTO_ESP || proto == IPPROTO_AH || in key_allocsa()
1599 case IPPROTO_ESP: in key_msg2sp()
2969 case IPPROTO_ESP: in key_newsav()
4819 return IPPROTO_ESP; in key_satype2proto()
4841 case IPPROTO_ESP: in key_proto2satype()
5218 if (sav->sah->saidx.proto != IPPROTO_ESP || in key_updateaddresses()
5760 if (sav->sah->saidx.proto != IPPROTO_ESP) in key_setnatt()
6551 case IPPROTO_ESP: in key_getprop()
H A Dxform_esp.c867 prot = IPPROTO_ESP; in esp_output()
/freebsd-14.2/sys/netpfil/ipfilter/netinet/
H A Dip_ipsec_pxy.c156 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 Dip_compat.h913 #ifndef IPPROTO_ESP
914 # define IPPROTO_ESP 50 macro
/freebsd-14.2/contrib/tcpdump/
H A Dipproto.h86 #ifndef IPPROTO_ESP
87 #define IPPROTO_ESP 50 /* SIPP Encap Sec. Payload */ macro
H A Dipproto.c38 { IPPROTO_ESP, "ESP" },
H A Dprint-ip-demux.c63 case IPPROTO_ESP: in ip_demux_print()
H A Dprint-ip6.c138 case IPPROTO_ESP: in ip6_finddst()
/freebsd-14.2/sbin/ipf/libipf/
H A Dv6ionames.c19 { IPPROTO_ESP, 0x000010, 0, "esp" },
/freebsd-14.2/cddl/lib/libdtrace/
H A Dip.d148 #pragma D binding "1.5" IPPROTO_ESP
149 inline short IPPROTO_ESP = 50; variable
187 proto == IPPROTO_ESP ? "ESP" :
/freebsd-14.2/sys/netinet/
H A Din_proto.c127 SYSCTL_NODE(_net_inet, IPPROTO_ESP, esp, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
H A Din.h187 #define IPPROTO_ESP 50 /* IP6 Encap Sec. Payload */ macro
/freebsd-14.2/tools/tools/netmap/
H A Dpkt_hash.c188 case IPPROTO_ESP: in decode_ip_n_hash()
263 case IPPROTO_ESP: in decode_ipv6_n_hash()
/freebsd-14.2/lib/libipsec/
H A Dipsec_dump_policy.c186 case IPPROTO_ESP: in ipsec_dump_ipsecrequest()
/freebsd-14.2/sys/net/altq/
H A Daltq_subr.c999 #ifndef IPPROTO_ESP
1000 #define IPPROTO_ESP 50 /* encapsulating security payload */ macro
1174 case IPPROTO_ESP:
1261 case IPPROTO_ESP:
/freebsd-14.2/sys/netinet6/
H A Din6_proto.c214 SYSCTL_NODE(_net_inet6, IPPROTO_ESP, ipsec6, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
/freebsd-14.2/sys/net/
H A Dif_ipsec.c465 sav->sah->saidx.proto != IPPROTO_ESP) in ipsec_if_input()
872 isr->saidx.proto = IPPROTO_ESP; in ipsec_newpolicies()
/freebsd-14.2/usr.sbin/ppp/
H A Dip.c778 case IPPROTO_ESP: in PacketCheck()
/freebsd-14.2/sys/netgraph/
H A Dng_ksocket.c145 { "esp", IPPROTO_ESP, PF_INET },
/freebsd-14.2/sbin/setkey/
H A Dparse.y732 | PR_ESP { $$ = IPPROTO_ESP; }
/freebsd-14.2/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c408 MLX5_SET(fte_match_param, mv, outer_headers.ip_protocol, IPPROTO_ESP); in mlx5e_add_eth_addr_rule_sub()
575 MLX5_SET(fte_match_param, mv, inner_headers.ip_protocol, IPPROTO_ESP); in mlx5e_add_main_vxlan_rules_sub()

12