Lines Matching refs:NULL
245 if (m == NULL)
283 if (icp == NULL) {
323 if (m == NULL) {
349 m->m_pkthdr.rcvif = NULL;
401 if (icmp6 == NULL) {
525 if ((n = m_copy(m, 0, M_COPYALL)) == NULL) {
550 n = NULL;
553 if (n == NULL) {
614 if ((n = m_copym(m, 0, M_COPYALL, M_DONTWAIT)) == NULL) {
617 m = NULL;
686 if ((n = m_copym(m, 0, M_COPYALL, M_DONTWAIT)) == NULL) {
689 m = NULL;
709 if ((n = m_copym(m, 0, M_COPYALL, M_DONTWAIT)) == NULL) {
712 m = NULL;
732 if ((n = m_copym(m, 0, M_COPYALL, M_DONTWAIT)) == NULL) {
735 m = NULL;
755 if ((n = m_copym(m, 0, M_COPYALL, M_DONTWAIT)) == NULL) {
758 m = NULL;
778 if ((n = m_copym(m, 0, M_COPYALL, M_DONTWAIT)) == NULL) {
781 m = NULL;
875 if (icmp6 == NULL) {
889 struct in6_addr *finaldst = NULL;
912 if (eh == NULL) {
941 if (rth == NULL) {
967 if (rth0 == NULL) {
990 if (fh == NULL) {
1012 * (i.e. ctlfunc will be NULL), but we go
1025 if (icmp6 == NULL) {
1035 if (finaldst == NULL)
1043 NULL, NULL)) {
1063 NULL, NULL)) {
1073 if (finaldst == NULL)
1112 struct rtentry *rt = NULL;
1173 struct mbuf *n = NULL;
1179 struct ifnet *ifp = NULL; /* for NI_QTYPE_NODEADDR */
1184 char *subj = NULL;
1185 struct in6_ifaddr *ia6 = NULL;
1192 if (ni6 == NULL) {
1194 return NULL;
1211 if ((ia6 = (struct in6_ifaddr *)ifa_ifwithaddr((struct sockaddr *)&sin6)) != NULL) {
1216 ia6 = NULL;
1223 ia6 = NULL;
1283 in6_embedscope(&sin6.sin6_addr, &sin6, NULL, NULL);
1292 in6_embedscope(&sin6_d.sin6_addr, &sin6_d, NULL, NULL);
1325 if (subj == NULL)
1332 n = NULL;
1390 if (n == NULL) {
1392 return(NULL);
1442 if (n->m_next == NULL)
1445 if (n->m_next->m_next != NULL)
1475 return(NULL);
1510 m->m_next = NULL;
1577 return NULL;
1658 struct sockaddr_in6 *subj_ip6 = NULL; /* XXX pedant */
1665 if (subj == NULL) /* must be impossible... */
1757 struct ifnet *ifp_dep = NULL;
1766 if (ifp0 == NULL && !(niflags & NI_NODEADDR_FLAG_ALL))
1772 if (ifp == NULL) ifp = TAILQ_FIRST(&ifnet_head);
1791 if (ifp_dep == NULL)
1890 if (allow_deprecated == 0 && ifp_dep != NULL) {
1911 struct in6pcb *last = NULL;
1914 struct mbuf *opts = NULL;
1921 if (icmp6 == NULL) {
1956 if ((n = m_copy(m, 0, (int)M_COPYALL)) != NULL) {
1963 n, opts, NULL) != 0) {
1966 opts = NULL;
1978 (struct sockaddr *)&rip6src, m, opts, NULL) != 0) {
2003 struct ifnet *outif = NULL;
2036 if ((m = m_pullup(m, l)) == NULL)
2044 if ((m = m_pullup(m, l)) == NULL)
2065 * Note that rcvif may be NULL.
2073 in6_embedscope(&ip6->ip6_dst, &sa6_src, NULL, NULL);
2079 in6_embedscope(&t, &sa6_dst, NULL, NULL);
2130 if (ia == NULL && IN6_IS_ADDR_LINKLOCAL(&t) && (m->m_flags & M_LOOP)) {
2148 src = in6_selectsrc(&sa6_src, NULL, NULL, &ro, NULL, &src_storage, &e);
2151 ro.ro_rt = NULL;
2153 if (src == NULL) {
2186 (void)ipsec_setsocket(m, NULL);
2190 ip6_output(m, NULL, &icmp6_reflect_rt, 0, NULL, &outif, 0);
2192 ip6_output(m, NULL, NULL, 0, NULL, &outif, 0);
2232 char *lladdr = NULL;
2234 u_char *redirhdr = NULL;
2236 struct rtentry *rt = NULL;
2258 if (nd_rd == NULL) {
2296 if (rt->rt_gateway == NULL ||
2325 rt = NULL;
2398 (struct sockaddr *)&sgw, NULL, RTF_GATEWAY | RTF_HOST,
2399 (struct sockaddr *)&ssrc, NULL);
2442 struct mbuf *m = NULL; /* newly allocated one */
2447 struct ifnet *outif = NULL;
2495 m->m_pkthdr.rcvif = NULL;
2510 IN6_IFF_ANYCAST)) == NULL)
2522 router_ll6 = (struct in6_addr *)NULL;
2524 router_ll6 = (struct in6_addr *)NULL;
2569 struct rtentry *rt_router = NULL;
2624 m0->m_next = NULL;
2704 (void)ipsec_setsocket(m, NULL);
2706 ip6_output(m, NULL, NULL, 0, NULL, &outif, 0);
2763 if (inp->in6p_icmp6filt == NULL) {
2782 if (inp->in6p_icmp6filt == NULL) {
2881 if (nam == NULL) {
2894 (m = m_pullup(m, sizeof(struct icmp6_hdr))) == NULL) {
2949 if (inp->in6p_icmp6filt == NULL)