Searched refs:PF_INET (Results 1 - 25 of 38) sorted by relevance

12

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dsocket.c54 } else if (strcmp("PF_INET", name) == 0) {
55 return (PF_INET);
H A Dbind.c116 if ((ts->ts_lsns[i] = socket(PF_INET, SOCK_STREAM, 0)) == -1)
/darwin-on-arm/xnu/bsd/net/
H A Dif_utun.c160 if ((result = proto_register_plumber(PF_INET, utun_family,
162 printf("utun_register_control - proto_register_plumber(PF_INET, %d) failed: %d\n",
171 proto_unregister_plumber(PF_INET, utun_family);
271 if (protocol == PF_INET) {
303 if (protocol == PF_INET) {
352 if (protocol != PF_INET && protocol != PF_INET6) {
362 protocol == PF_INET ? "IP" : "IPv6", result);
388 protocol == PF_INET ? "PF_INET" : "PF_INET6", result);
702 case PF_INET
[all...]
H A Dether_inet_pr_module.c220 if (m_list != NULL && proto_input(PF_INET, m_list) != 0) {
526 ifnet_output_raw(ifp, PF_INET, m);
H A Dpf_osfp.c96 if ((pd->af != PF_INET && pd->af != PF_INET6) ||
101 if (pd->af == PF_INET) {
H A Dether_if_module.c623 if ((error = proto_register_plumber(PF_INET, APPLE_IF_FAM_ETHERNET,
625 printf("proto_register_plumber failed for PF_INET error=%d\n", error);
H A Dkpi_protocol.c88 case PF_INET:
H A Dif_gif.c251 result = proto_register_plumber(PF_INET, APPLE_IF_FAM_GIF,
H A Dif_llreach.c579 iflri->iflri_netproto = PF_INET;
H A Dif_loop.c588 if ((error = proto_register_plumber(PF_INET,
/darwin-on-arm/xnu/bsd/netinet/
H A Din_proto.c295 SYSCTL_NODE(_net, PF_INET, inet, CTLFLAG_RW|CTLFLAG_LOCKED, 0,
H A Din.c341 if ((error = proto_plumb(PF_INET, ifp)) && error != EEXIST)
740 error = ifnet_ioctl(ifp, PF_INET, SIOCSIFDSTADDR, ia);
885 error = proto_unplumb(PF_INET, ifp);
1045 error = ifnet_ioctl(ifp, PF_INET, SIOCDIFADDR, ia);
1150 error = ifnet_ioctl(ifp, PF_INET, SIOCSIFADDR, ifa);
1606 error = ifnet_ioctl(ifp, PF_INET, cmd, ia);
1623 error = ifnet_ioctl(ifp, PF_INET, SIOCSIFADDR, ifa0);
H A Dkpi_ipfilter.c228 proto = PF_INET;
H A Dip_output.c1533 dlil_output(lo_ifp, PF_INET, m, 0,
1706 error = dlil_output(ifp, PF_INET, m, ro->ro_rt,
1723 error = dlil_output(ifp, PF_INET, packetlist,
1795 error = dlil_output(ifp, PF_INET, m, ro->ro_rt,
3082 dlil_output(lo_ifp, PF_INET, copym, 0,
H A Dip_divert.c429 proto_inject(PF_INET, m);
H A Din_arp.c92 SYSCTL_NODE(_net_link_ether, PF_INET, inet, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "");
1512 dlil_output(ifp, PF_INET, m0, (caddr_t)route, rt_key(route), 0, NULL);
H A Dip_input.c431 pr = pffindproto_locked(PF_INET, IPPROTO_RAW, SOCK_RAW);
439 if (pr->pr_domain->dom_family == PF_INET &&
557 /* Initialize the PF_INET domain, and add in the pre-defined protos */
577 proto_register_input(PF_INET, ip_proto_input, NULL, 1);
H A Din_dhcp.c312 return dlil_output(ifp, PF_INET, m, 0, (struct sockaddr *)&dest, 0, NULL);
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_domain.c50 { BSM_PF_INET, PF_INET },
H A Daudit_arg.c606 if (INP_CHECK_SOCKAF(so, PF_INET)) {
/darwin-on-arm/xnu/bsd/netat/
H A Daurp_aurpd.c420 rem_addr.sin_family = PF_INET;
/darwin-on-arm/xnu/bsd/netinet6/
H A Desp_input.c586 if (!(sav->utun_in_fn(sav->utun_pcb, &m, ifamily == AF_INET ? PF_INET : PF_INET6))) {
593 if (proto_input(ifamily == AF_INET ? PF_INET : PF_INET6, m) != 0)
686 if (!(sav->utun_in_fn(sav->utun_pcb, &m, PF_INET))) {
H A Dah_input.c514 if (proto_input(PF_INET, m) != 0)
/darwin-on-arm/xnu/bsd/sys/
H A Dsocket.h510 #define PF_INET AF_INET macro
/darwin-on-arm/xnu/bsd/kern/
H A Dkpi_mbuf.c573 case PF_INET:

Completed in 192 milliseconds

12