| /freebsd-13.1/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 | 913 #ifndef IPPROTO_ESP 914 # define IPPROTO_ESP 50 macro
|
| /freebsd-13.1/sys/netipsec/ |
| H A D | ipsec_input.c | 102 if ((proto) == IPPROTO_ESP) \ 129 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec_common_input() 133 if ((sproto == IPPROTO_ESP && !V_esp_enable) || in ipsec_common_input() 149 if (sproto == IPPROTO_ESP) in ipsec_common_input() 243 case IPPROTO_ESP: in ipsec4_input() 294 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec4_common_input_cb() 465 case IPPROTO_ESP: in ipsec6_input() 517 IPSEC_ASSERT(sproto == IPPROTO_ESP || sproto == IPPROTO_AH || in ipsec6_common_input_cb()
|
| H A D | udpencap.c | 149 ip->ip_p = IPPROTO_ESP; in udp_ipsec_input() 166 sav = key_allocsa(&dst, IPPROTO_ESP, spi); in udp_ipsec_input()
|
| H A D | ipsec.c | 934 case IPPROTO_ESP: in ipsec_get_reqlevel() 1067 case IPPROTO_ESP: in ipsec_in_reject() 1119 case IPPROTO_ESP: in ipsec_hdrsiz_internal() 1302 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay() 1343 if (sav->sah->saidx.proto == IPPROTO_ESP) in ipsec_chkreplay()
|
| H A D | ipsec_output.c | 98 if ((proto) == IPPROTO_ESP) \ 123 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec4_allocsa() 424 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec6_allocsa()
|
| H A D | key.c | 1097 IPSEC_ASSERT(proto == IPPROTO_ESP || proto == IPPROTO_AH || in key_allocsa() 1558 case IPPROTO_ESP: in key_msg2sp() 2914 case IPPROTO_ESP: in key_newsav() 4765 return IPPROTO_ESP; in key_satype2proto() 4787 case IPPROTO_ESP: in key_proto2satype() 5164 if (sav->sah->saidx.proto != IPPROTO_ESP || in key_updateaddresses() 5702 if (sav->sah->saidx.proto != IPPROTO_ESP) in key_setnatt() 6489 case IPPROTO_ESP: in key_getprop()
|
| H A D | xform_esp.c | 842 prot = IPPROTO_ESP; in esp_output()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | ipproto.h | 86 #ifndef IPPROTO_ESP 87 #define IPPROTO_ESP 50 /* SIPP Encap Sec. Payload */ macro
|
| H A D | print-ip6.c | 130 case IPPROTO_ESP: in ip6_finddst() 359 case IPPROTO_ESP: in ip6_print()
|
| H A D | ipproto.c | 40 { IPPROTO_ESP, "ESP" },
|
| H A D | print-ip.c | 360 case IPPROTO_ESP: in ip_print_demux()
|
| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | v6ionames.c | 20 { IPPROTO_ESP, 0x000010, 0, "esp" },
|
| /freebsd-13.1/cddl/lib/libdtrace/ |
| H A D | ip.d | 150 #pragma D binding "1.5" IPPROTO_ESP 151 inline short IPPROTO_ESP = 50; variable 189 proto == IPPROTO_ESP ? "ESP" :
|
| /freebsd-13.1/tools/tools/netmap/ |
| H A D | pkt_hash.c | 189 case IPPROTO_ESP: in decode_ip_n_hash() 264 case IPPROTO_ESP: in decode_ipv6_n_hash()
|
| /freebsd-13.1/lib/libipsec/ |
| H A D | ipsec_dump_policy.c | 193 case IPPROTO_ESP:
|
| /freebsd-13.1/sys/netinet/ |
| H A D | in_proto.c | 335 SYSCTL_NODE(_net_inet, IPPROTO_ESP, esp, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
| H A D | in.h | 188 #define IPPROTO_ESP 50 /* IP6 Encap Sec. Payload */ macro
|
| /freebsd-13.1/sys/net/altq/ |
| H A D | altq_subr.c | 1033 #ifndef IPPROTO_ESP 1034 #define IPPROTO_ESP 50 /* encapsulating security payload */ macro 1208 case IPPROTO_ESP: 1295 case IPPROTO_ESP:
|
| /freebsd-13.1/sys/net/ |
| H A D | if_ipsec.c | 466 sav->sah->saidx.proto != IPPROTO_ESP) in ipsec_if_input() 863 isr->saidx.proto = IPPROTO_ESP; in ipsec_newpolicies()
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | in6_proto.c | 431 SYSCTL_NODE(_net_inet6, IPPROTO_ESP, ipsec6, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | ip.c | 780 case IPPROTO_ESP: in PacketCheck()
|
| /freebsd-13.1/sbin/setkey/ |
| H A D | parse.y | 714 | PR_ESP { $$ = IPPROTO_ESP; }
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_ksocket.c | 146 { "esp", IPPROTO_ESP, PF_INET },
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_flow_table.c | 440 MLX5_SET(fte_match_param, mv, outer_headers.ip_protocol, IPPROTO_ESP); in mlx5e_add_eth_addr_rule_sub() 661 MLX5_SET(fte_match_param, mv, inner_headers.ip_protocol, IPPROTO_ESP); in mlx5e_add_main_vxlan_rules_sub()
|