Searched refs:PF_INET6 (Results 1 - 25 of 47) sorted by relevance

12

/xnu-2422.115.4/bsd/net/
H A Dif_utun_crypto_dtls.h111 return PF_INET6;
H A Dif_ipsec.c157 if ((result = proto_register_plumber(PF_INET6, ipsec_family,
161 printf("ipsec_register_control - proto_register_plumber(PF_INET6, %d) failed: %d\n",
289 else if (protocol == PF_INET6) {
328 else if (protocol == PF_INET6) {
359 if (protocol != PF_INET && protocol != PF_INET6) {
395 protocol == PF_INET ? "PF_INET" : "PF_INET6", result);
811 *protocol = PF_INET6;
829 case PF_INET6:
H A Dif_utun.c166 if ((result = proto_register_plumber(PF_INET6, utun_family,
170 printf("utun_register_control - proto_register_plumber(PF_INET6, %d) failed: %d\n",
280 else if (protocol == PF_INET6) {
320 else if (protocol == PF_INET6) {
352 if (protocol != PF_INET && protocol != PF_INET6) {
388 protocol == PF_INET ? "PF_INET" : "PF_INET6", result);
747 case PF_INET6:
H A Dif_stf.c267 if (protocol_family != PF_INET6)
319 error = proto_register_plumber(PF_INET6, APPLE_IF_FAM_STF,
H A Dether_if_module.c623 if ((error = proto_register_plumber(PF_INET6, APPLE_IF_FAM_ETHERNET,
625 printf("proto_register_plumber failed for PF_INET6 error=%d\n",
H A Dif_llreach.c584 iflri->iflri_netproto = PF_INET6;
H A Dif_loop.c581 if ((error = proto_register_plumber(PF_INET6,
H A Dpf_osfp.c96 if ((pd->af != PF_INET && pd->af != PF_INET6) ||
/xnu-2422.115.4/tools/tests/libMicro/
H A Dsocket.c56 } else if (strcmp("PF_INET6", name) == 0) {
57 return (PF_INET6);
/xnu-2422.115.4/bsd/netinet/
H A Din_tclass.c303 if (SOCK_DOM(so) != PF_INET && SOCK_DOM(so) != PF_INET6)
664 SOCK_DOM(so) == PF_INET6) &&
669 SOCK_DOM(so) == PF_INET6) &&
696 (SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6)) {
793 || SOCK_CHECK_DOM(so, PF_INET6))
H A Dkpi_ipfilter.c229 proto = PF_INET6;
H A Din_pcb.c566 if (SOCK_DOM(so) == PF_INET6 && !ip6_mapped_addr_on)
786 SOCK_DOM(so) != PF_INET6 ||
787 SOCK_DOM(t->inp_socket) != PF_INET6)
1810 SOCK_CHECK_DOM(inp->inp_socket, PF_INET6))
1938 if (SOCK_CHECK_DOM(inp->inp_socket, PF_INET6))
H A Din_pcblist.c421 (protocol == PF_INET6 && (inp->inp_vflag & INP_IPV6))))
H A Dtcp_timer.c410 if (SOCK_CHECK_DOM(so, PF_INET6))
453 if (SOCK_CHECK_DOM(so, PF_INET6))
H A Dtcp_usrreq.c1671 if (SOCK_CHECK_DOM(so, PF_INET6))
2188 int isipv6 = SOCK_CHECK_DOM(so, PF_INET6) != 0;
/xnu-2422.115.4/bsd/security/audit/
H A Daudit_bsm_domain.c182 { BSM_PF_INET6, PF_INET6 },
/xnu-2422.115.4/bsd/netinet6/
H A Desp_input.c585 if (!(sav->utun_in_fn(sav->utun_pcb, &m, ifamily == AF_INET ? PF_INET : PF_INET6))) {
592 if (proto_input(ifamily == AF_INET ? PF_INET : PF_INET6, m) != 0)
1051 if (!(sav->utun_in_fn(sav->utun_pcb, &m, PF_INET6))) {
1058 if (proto_input(PF_INET6, m) != 0)
1158 if (!(sav->utun_in_fn(sav->utun_pcb, &m, PF_INET6))) {
H A Din6_proto.c350 .dom_family = PF_INET6,
360 /* Initialize the PF_INET6 domain, and add in the pre-defined protos */
507 SYSCTL_NODE(_net, PF_INET6, inet6,
H A Din6_ifattach.c467 proto_plumb(PF_INET6, ifp);
659 error = proto_plumb(PF_INET6, ifp);
673 errorx = proto_unplumb(PF_INET6, ifp);
H A Dip6_input.c298 pr = pffindproto_locked(PF_INET6, IPPROTO_RAW, SOCK_RAW);
300 panic("%s: Unable to find [PF_INET6,IPPROTO_RAW,SOCK_RAW]\n",
312 VERIFY(dp == inet6domain && dp->dom_family == PF_INET6);
422 i = proto_register_input(PF_INET6, ip6_proto_input, NULL, 0);
424 panic("%s: failed to register PF_INET6 protocol: %d\n",
H A Dip6_mroute.c1561 error = dlil_output(ifp, PF_INET6, mb_copy,
1894 dlil_output(lo_ifp, PF_INET6, m, 0, (struct sockaddr *)&dst, 0, NULL);
/xnu-2422.115.4/bsd/kern/
H A Dsocket_info.c124 case PF_INET6: {
H A Dkpi_socket.c571 case PF_INET6:
613 case PF_INET6:
1031 if ((SOCK_DOM(sock) == PF_INET || SOCK_DOM(sock) == PF_INET6) &&
H A Duipc_socket.c452 if (SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6)
1122 (SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6))
3697 SOCK_DOM(so) == PF_INET6) {
4490 if ((SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6) &&
4804 else if (SOCK_DOM(so) == PF_INET6)
4887 if (SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6) {
4969 if (SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6) {
4988 if (SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6) {
5030 if (SOCK_DOM(so) == PF_INET || SOCK_DOM(so) == PF_INET6) {
/xnu-2422.115.4/bsd/sys/
H A Dsocket.h526 #define PF_INET6 AF_INET6 macro

Completed in 226 milliseconds

12