• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/net/

Lines Matching refs:NULL

246 		if (ifnet_addrs == NULL) {
258 if (ifnet_addrs != NULL) {
273 if (old_ifnet_addrs != NULL) {
293 if (ifc == NULL)
296 if (ifunit(name) != NULL)
364 if (ifc == NULL)
371 if (ifp == NULL)
374 if (ifc->ifc_destroy == NULL)
401 for (ifc = LIST_FIRST(&if_cloners); ifc != NULL;) {
412 return ((struct if_clone *)NULL);
421 return (NULL);
427 if (unitp != NULL)
508 for (ifc = LIST_FIRST(&if_cloners); ifc != NULL && count != 0;
556 struct ifaddr *ifa0 = NULL, *ifa;
560 if (ifa->ifa_addr->sa_family == family && ifa0 == NULL) {
565 if (ifa0 != NULL)
582 struct ifaddr *result = NULL;
624 struct ifaddr *result = NULL;
654 struct ifaddr *result = NULL;
663 return (NULL);
667 if (ifp != NULL) {
668 struct ifaddr *ifa = NULL;
675 for (ifa = ifp->if_addrhead.tqh_first; ifa != NULL;
684 ifa->ifa_broadaddr != NULL &&
692 if (result != NULL)
721 struct ifaddr *ifa = NULL;
860 ifa_maybe = NULL;
874 struct ifaddr *ifa = NULL;
877 struct ifaddr *ifa_maybe = NULL;
878 struct ifaddr *better_ifa_maybe = NULL;
882 return (NULL);
914 if (better_ifa_maybe == NULL) {
921 if (ifa == NULL) {
922 if (better_ifa_maybe != NULL) {
985 msleep(&ifp->if_eflags, NULL, 0, "if_updown", &tv);
1067 ifq->ifq_head = NULL;
1068 ifq->ifq_tail = NULL;
1088 return NULL;
1092 return NULL; /* trailing garbage */
1097 return NULL; /* no interface name */
1100 return NULL; /* number is unreasonable */
1134 return NULL;
1328 if (ifp->if_ioctl == NULL)
1384 error = if_addmulti(ifp, &ifr->ifr_addr, NULL);
1593 struct ifnet *ifp = NULL;
1705 error = ifnet_ioctl(ifp, 0, SIOCSIFFLAGS, NULL);
1780 const u_char *aptr = NULL;
1781 struct sockaddr *copy = NULL;
1782 struct sockaddr_dl *sdl_new = NULL;
1789 if (copy != NULL)
1801 return NULL;
1811 return NULL;
1820 if (alen == 0 || aptr == NULL)
1821 return NULL;
1826 if (sdl_new != NULL) {
1848 struct sockaddr *llsa = NULL;
1849 struct sockaddr *dupsa = NULL;
1851 struct ifmultiaddr *ifma = NULL;
1852 struct ifmultiaddr *llifma = NULL;
1857 if (dupsa == NULL) {
1880 if (llsa == NULL) {
1886 if (llifma == NULL) {
1901 if (dupsa == NULL) {
1903 if (dupsa == NULL) {
1909 if (ifma == NULL) {
1962 ifnet_ioctl(ifp, 0, SIOCADDMULTI, NULL);
1993 while (ifma != NULL) {
2038 ifnet_ioctl(ifp, 0, SIOCDELMULTI, NULL);
2056 struct sockaddr *dupsa = NULL;
2061 if (dupsa == NULL) {
2165 if (rt != NULL && rt->rt_ifp == ifp) {
2176 (struct rtentry **) NULL);
2195 ((rnh = rt_tables[protocol]) != NULL) && (ifp != NULL)) {
2233 if ((rnh = rt_tables[p]) == NULL)
2252 if ((thread = ifp->if_input_thread) == NULL || (dlil_multithreaded_input == 0))
2310 if ((thread = ifp->if_input_thread) == NULL || (dlil_multithreaded_input == 0))