Lines Matching refs:NULL
279 int (*fr_checkp)(struct ip *, int, struct ifnet *, int, struct mbuf **) = NULL;
391 if ((ip_mutex = lck_mtx_alloc_init(ip_mutex_grp, ip_mutex_attr)) == NULL) {
402 if ((sadb_stat_mutex = lck_mtx_alloc_init(sadb_stat_mutex_grp, sadb_stat_mutex_attr)) == NULL) {
425 mbuf_setnextpkt(packet, NULL);
453 proto_register_input(PF_INET, ip_proto_input, NULL, 1);
539 struct in_ifaddr *ia = NULL;
554 args.eh = NULL;
555 args.oif = NULL;
556 args.rule = NULL;
558 args.next_hop = NULL;
562 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET, NULL)) != NULL) {
573 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DIVERT, NULL)) != NULL) {
583 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPFORWARD, NULL)) != NULL) {
593 if (m == NULL || (m->m_flags & M_PKTHDR) == 0)
743 if (ipsec_bypass == 0 && ipsec_gethist(m, NULL))
790 if ( (i & IP_FW_PORT_DENY_FLAG) || m == NULL) { /* drop */
797 if (i == 0 && args.next_hop == NULL) { /* common case */
815 if (i == 0 && args.next_hop != NULL) {
838 if (hlen > sizeof (struct ip) && ip_dooptions(m, 0, NULL, &ipforward_rt)) {
867 pkt_dst = args.next_hop == NULL ?
890 && (args.next_hop == NULL);
971 if (inm == NULL) {
984 if (m->m_pkthdr.rcvif != NULL
1024 ip_forward(m, 0, NULL, &ipforward_rt);
1026 if (ipforward_rt.ro_rt != NULL) {
1028 ipforward_rt.ro_rt = NULL;
1106 fp = NULL;
1177 struct mbuf *clone = NULL;
1193 if (clone == NULL) {
1208 if (ipsec4_in_reject(m, NULL)) {
1228 if (fwd_tag == NULL) {
1303 if ((t = m_get(M_DONTWAIT, MT_FTABLE)) == NULL)
1309 fp = NULL;
1323 m->m_nextpkt = NULL;
1362 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt)
1396 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off;
1445 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) {
1485 for (q = nq; q != NULL; q = nq) {
1487 q->m_nextpkt = NULL;
1715 ia = NULL;
1777 ia = NULL;
1816 ia = NULL;
1862 ia = NULL;
1877 ia = NULL;
1895 if (ipforward_rt->ro_rt != NULL) {
1897 ipforward_rt->ro_rt = NULL;
2159 if (mcopy != NULL) {
2214 if (tag == NULL) {
2226 IP_FORWARDING, 0, NULL);
2242 if (mcopy == NULL)
2244 destifp = NULL;
2275 struct secpolicy *sp = NULL;
2290 if (sp == NULL)
2305 destifp = NULL;
2307 if (sp->req != NULL) {
2334 if (sav != NULL) {
2335 if (sav->sah != NULL) {
2462 if (ip_rsvpd != NULL)
2481 ip_rsvpd = NULL;