Home
last modified time | relevance | path

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

/xnu-10002.41.9/bsd/netinet6/
H A Desp_input.c152 ip->ip_p = IPPROTO_ESP; in esp4_input_strip_udp_encap()
170 ip6->ip6_nxt = IPPROTO_ESP; in esp6_input_strip_udp_encap()
260 if (ip->ip_p != IPPROTO_ESP && in esp4_input_extended()
279 IPPROTO_ESP, spi, interface)) == 0) { in esp4_input_extended()
679 if (ipsec_incr_history_count(m, IPPROTO_ESP, spi) != 0 || in esp4_input_extended()
765 if (ipsec_incr_history_count(m, IPPROTO_ESP, spi) != 0) { in esp4_input_extended()
970 if (__improbable(proto != IPPROTO_ESP && in esp6_input_extended()
984 IPPROTO_ESP, spi, interface)) == 0) { in esp6_input_extended()
1384 if (ipsec_incr_history_count(m, IPPROTO_ESP, spi) != 0 || in esp6_input_extended()
1531 if (ipsec_incr_history_count(m, IPPROTO_ESP, spi) != 0) { in esp6_input_extended()
[all …]
H A Desp_output.c149 if (isr->saidx.proto != IPPROTO_ESP) { in esp_hdrsiz()
728 *nexthdrp = IPPROTO_ESP; in esp_output()
1153 ip->ip_p = IPPROTO_ESP; in esp_kpipe_output()
1170 ip6->ip6_nxt = IPPROTO_ESP; in esp_kpipe_output()
H A Din6_proto.c283 .pr_protocol = IPPROTO_ESP,
514 SYSCTL_NODE(_net_inet6, IPPROTO_ESP, ipsec6,
H A Dipsec.c1863 case IPPROTO_ESP: in ipsec_get_reqlevel()
1949 case IPPROTO_ESP: in ipsec_in_reject()
2152 case IPPROTO_ESP: in ipsec_hdrsiz()
2630 case IPPROTO_ESP: in ipsec6_update_routecache_and_output()
3300 case IPPROTO_ESP: in ipsec4_output_internal()
3460 case IPPROTO_ESP: { in ipsec4_interface_kpipe_output()
3597 case IPPROTO_ESP: { in ipsec6_interface_kpipe_output()
3844 case IPPROTO_ESP: in ipsec6_output_trans_internal()
4142 case IPPROTO_ESP: in ipsec6_output_tunnel_internal()
4268 case IPPROTO_ESP: in ipsec6_output_tunnel_internal()
H A Dip6_input.c2253 case IPPROTO_ESP: in ip6_nexthdr()
2319 case IPPROTO_ESP: in ip6_pkt_has_ulp()
/xnu-10002.41.9/bsd/netinet/
H A Din_proto.c229 .pr_protocol = IPPROTO_ESP,
H A Din.h166 #define IPPROTO_ESP 50 /* IP6 Encap Sec. Payload */ macro
H A Din.c2445 case IPPROTO_ESP: in ipproto_cassert()
/xnu-10002.41.9/bsd/net/
H A Dpf.c888 case IPPROTO_ESP: in pf_state_compare_lan_ext()
1015 case IPPROTO_ESP: in pf_state_compare_ext_gwy()
1959 case IPPROTO_ESP: in pf_print_sk_host()
1995 case IPPROTO_ESP: in pf_print_state()
2115 case IPPROTO_ESP: in pf_calc_skip_steps()
2120 prev->proto == IPPROTO_ESP || in pf_calc_skip_steps()
2144 case IPPROTO_ESP: in pf_calc_skip_steps()
2152 prev->proto == IPPROTO_ESP || in pf_calc_skip_steps()
2187 case IPPROTO_ESP: in pf_calc_state_key_flowhash()
3050 case IPPROTO_ESP: in pf_match_xport()
[all …]
H A Dif_ports_used.c1486 case IPPROTO_ESP: { in if_ports_used_match_mbuf()
1630 case IPPROTO_ESP: { in if_ports_used_match_mbuf()
1881 case IPPROTO_ESP: { in if_ports_used_match_pkt()
H A Dnat464_utils.c1080 case IPPROTO_ESP: in nat464_translate_proto()
H A Dbpf.c3671 case IPPROTO_ESP: { in get_proto_trunc_len()
/xnu-10002.41.9/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_manager.c479 proto != IPPROTO_ESP && proto != IPPROTO_AH; in flow_req_needs_protons_reservation()
486 return proto == IPPROTO_ESP || proto == IPPROTO_AH; in flow_req_needs_ipsec_reservation()
/xnu-10002.41.9/bsd/netkey/
H A Dkey.c2052 case IPPROTO_ESP: in key_msg2sp()
2658 if (newsp->req->saidx.mode != IPSEC_MODE_TUNNEL || newsp->req->saidx.proto != IPPROTO_ESP) { in key_spdadd()
2672 if (newsp->req->saidx.mode != IPSEC_MODE_TUNNEL || newsp->req->saidx.proto != IPPROTO_ESP) { in key_spdadd()
4670 case IPPROTO_ESP: in key_mature()
4685 case IPPROTO_ESP: in key_mature()
6466 return IPPROTO_ESP; in key_satype2proto()
6485 case IPPROTO_ESP: in key_proto2satype()
8105 case IPPROTO_ESP: in key_getprop()
10490 if (proto != IPPROTO_ESP && proto != IPPROTO_AH) { in key_reserve_custom_ipsec()
/xnu-10002.41.9/tests/
H A Dpfkey.c1749 xisr->sadb_x_ipsecrequest_proto = IPPROTO_ESP; in setup_socket_policy()