Lines Matching refs:NULL
247 if ((ip6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) {
251 if ((dad6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) {
255 if ((nd6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) {
260 if ((prefix6_mutex = lck_mtx_alloc_init(ip6_mutex_grp, ip6_mutex_attr)) == NULL) {
282 proto_register_input(PF_INET6, ip6_proto_input, NULL, 0);
298 in6_ifattach(lo_ifp, NULL, NULL);
325 callout_reset(&nd6_timer_ch, hz, nd6_timer, NULL);
329 callout_reset(&in6_rr_timer_ch, hz, in6_rr_timer, NULL);
335 in6_tmpaddrtimer, NULL);
344 SYSINIT(netinet6init2, SI_SUB_PROTO_DOMAIN, SI_ORDER_MIDDLE, ip6_init2, NULL);
363 struct ifnet *deliverifp = NULL;
428 if (m && m->m_next != NULL && m->m_pkthdr.len < MCLBYTES) {
438 n = NULL;
441 if (n == NULL) {
484 if ((*ip6_fw_chk_ptr)(&ip6, NULL, &port, &m)) {
486 m = NULL;
624 if (ip6_forward_rt.ro_rt != NULL &&
783 #if 0 /*touches NULL pointer*/
819 if (hbh == NULL) {
953 if (ipsec6_in_reject(m, NULL)) {
1015 return (struct ip6aux *)n; /* NULL if failed to set */
1028 return NULL;
1058 if (hbh == NULL) {
1065 if (hbh == NULL) {
1375 if (ext == NULL) {
1448 struct ip6_ext *ip6e = NULL;
1451 struct mbuf *ext = NULL;
1480 if (ext == NULL) {
1538 ip6e = NULL;
1541 ext = NULL;
1553 * contains the result, or NULL on error.
1588 n = NULL;
1592 return NULL;
1597 return NULL;
1629 struct ip6_ext *ip6e = NULL;
1652 return NULL;
1671 if (m == NULL)
1672 panic("ip6_nexthdr: m == NULL");
1773 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_INET6, NULL);
1774 if (tag == NULL) {
1785 return tag ? (struct ip6aux*)(tag + 1) : NULL;
1794 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_ENCAP, NULL);
1796 return tag ? (struct ip6aux*)(tag + 1) : NULL;
1805 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_ENCAP, NULL);