Lines Matching refs:NULL
178 static struct mbuf *dlil_lo_input_mbuf_head = NULL;
179 static struct mbuf *dlil_lo_input_mbuf_tail = NULL;
217 static lck_grp_attr_t *dlil_grp_attributes = NULL;
218 static lck_attr_t *dlil_lck_attributes = NULL;
219 static lck_grp_t *dlil_input_lock_grp = NULL;
335 struct if_proto *proto = NULL;
440 if (ifp->if_proto_hash != NULL) {
591 dlil_lck_attributes = NULL;
611 if (filter == NULL)
645 ifnet_t ifp = NULL;
646 interface_filter_t entry = NULL;
705 if (filter == NULL)
715 struct mbuf *m = NULL, *m_loop = NULL;
734 inputthread->mbuf_head = NULL;
735 inputthread->mbuf_tail = NULL;
750 dlil_lo_input_mbuf_head = NULL;
751 dlil_lo_input_mbuf_tail = NULL;
833 if (ifp == NULL || m_head == NULL) {
848 if (rcvif == NULL ||
855 if (mbuf_nextpkt(m_tail) == NULL)
862 if (dlil_multithreaded_input == 0 || inp == NULL)
871 if (inp->net_affinity && inp->workloop_thread == NULL) {
895 if (dlil_lo_input_mbuf_head == NULL)
897 else if (dlil_lo_input_mbuf_tail != NULL)
911 if (inp->mbuf_head == NULL)
913 else if (inp->mbuf_tail != NULL)
981 while (m != NULL) {
986 m->m_nextpkt = NULL;
988 m->m_pkthdr.header = NULL;
1017 struct if_proto * last_ifproto = NULL;
1018 mbuf_t pkt_first = NULL;
1019 mbuf_t * pkt_next = NULL;
1023 while (m != NULL) {
1024 struct if_proto * ifproto = NULL;
1027 m->m_nextpkt = NULL;
1028 if (ifp_param == NULL)
1031 m->m_pkthdr.header = NULL;
1073 ifproto = NULL;
1075 else if (last_ifproto != NULL
1084 if (ifproto == NULL) {
1092 if (last_ifproto != NULL) {
1097 pkt_first = NULL;
1105 if (pkt_first == NULL) {
1113 if (next_packet == NULL && last_ifproto != NULL) {
1182 if (ifp == NULL || event == NULL) return EINVAL;
1211 if (m == NULL)
1222 if (m == NULL)
1248 char *frame_type = NULL;
1249 char *dst_linkaddr = NULL;
1256 mbuf_t send_head = NULL;
1268 if (proto == NULL) {
1275 if (packetlist == NULL)
1279 m->m_nextpkt = NULL;
1330 m->m_pkthdr.rcvif = NULL;
1380 m->m_nextpkt = NULL;
1427 char *frame_type = NULL;
1428 char *dst_linkaddr = NULL;
1435 mbuf_t send_head = NULL;
1447 if (proto == NULL) {
1454 if (packetlist == NULL)
1458 m->m_nextpkt = NULL;
1509 m->m_pkthdr.rcvif = NULL;
1546 if ((m = m_normalize(m)) == NULL)
1572 m->m_nextpkt = NULL;
1608 if (ifp == NULL || ioctl_code == 0)
1625 filter->filt_ioctl != NULL) {
1737 if (proto != NULL) {
1740 if (resolvep != NULL)
1774 if (proto == NULL) {
1781 if (arpp == NULL)
1797 if (sender_sin == NULL) {
1816 if (target_proto == NULL || (sender_proto &&
1842 ifaddr_t source_hw = NULL;
1843 ifaddr_t source_ip = NULL;
1868 if (source_ip == NULL) {
1881 (struct sockaddr*)&source_ip_copy, NULL,
1944 ifnet_addrs[ifp->if_index - 1] = NULL;
1957 ifma->ifma_ifp = NULL;
1967 dlil_post_msg(ifp, KEV_DL_SUBCLASS, KEV_DL_IF_DETACHED, NULL, 0);
2032 if (find_attached_proto(ifp, proto->protocol_family) != NULL) {
2058 while (prev_proto && SLIST_NEXT(prev_proto, next_hash) != NULL)
2090 struct if_proto *ifproto = NULL;
2092 if (ifp == NULL || protocol == 0 || proto_details == NULL)
2128 struct if_proto *ifproto = NULL;
2130 if (ifp == NULL || protocol == 0 || proto_details == NULL)
2199 struct if_proto *proto = NULL;
2203 if (ifp == NULL || proto_family == 0) return EINVAL;
2225 if (proto == NULL) {
2394 dlil_delayed_detach_thread(NULL, THREAD_RESTART);
2406 struct proto_hash_entry *new_proto_list = NULL;
2409 if (ifp == NULL) return EINVAL;
2453 if ((ifp->if_eflags & IFEF_REUSE) == 0 || ifp->if_proto_hash == NULL) {
2471 new_proto_list = NULL;
2478 struct ifaddr *ifa = NULL;
2512 if (ifa == NULL || socksize > ifa->ifa_addr->sa_len) {
2579 if (ifp->if_input_thread == NULL)
2591 dlil_post_msg(ifp, KEV_DL_SUBCLASS, KEV_DL_IF_ATTACHED, NULL, 0);
2607 if (ifp == NULL) return EINVAL;
2627 dlil_post_msg(ifp, KEV_DL_SUBCLASS, KEV_DL_IF_DETACHING, NULL, 0);
2656 if ((inputthread = ifp->if_input_thread) != NULL) {
2666 inputthread->workloop_thread = NULL;
2672 if (tp != NULL) {
2685 ifp->if_input_thread = NULL;
2758 struct ifnet *ifp1 = NULL;
2759 struct dlil_ifnet *dlifp1 = NULL;