Home
last modified time | relevance | path

Searched refs:m_nextpkt (Results 1 – 25 of 53) sorted by relevance

123

/netbsd-src/sys/altq/
H A Daltq_classq.h74 #define qhead(q) ((q)->tail_ ? (q)->tail_->m_nextpkt : NULL)
100 m->m_nextpkt = m0->m_nextpkt; in _addq()
103 m0->m_nextpkt = m; in _addq()
115 if ((m0 = m->m_nextpkt) != m) in _getq()
116 m->m_nextpkt = m0->m_nextpkt; in _getq()
120 m0->m_nextpkt = NULL; in _getq()
134 m0 = m0->m_nextpkt; in _getq_tail()
136 prev->m_nextpkt in _getq_tail()
[all...]
H A Daltq_rmclass.c1732 m->m_nextpkt = m0->m_nextpkt; in _addq()
1735 m0->m_nextpkt = m; in _addq()
1747 if ((m0 = m->m_nextpkt) != m) in _getq()
1748 m->m_nextpkt = m0->m_nextpkt; in _getq()
1754 m0->m_nextpkt = NULL; in _getq()
1768 m0 = m0->m_nextpkt; in _getq_tail()
1770 prev->m_nextpkt = m->m_nextpkt; in _getq_tail()
[all...]
H A Daltq_fifoq.c277 m->m_nextpkt = NULL; in fifoq_enqueue()
281 q->q_tail->m_nextpkt = m; in fifoq_enqueue()
315 if ((q->q_head = m->m_nextpkt) == NULL) in fifoq_dequeue()
317 m->m_nextpkt = NULL; in fifoq_dequeue()
382 q->q_head = m->m_nextpkt; in fifoq_purge()
H A Daltq_wfq.c258 mp->m_nextpkt = NULL; in wfq_ifenqueue()
267 queue->tail->m_nextpkt = mp; in wfq_ifenqueue()
298 if ((drop_queue->head = mp->m_nextpkt) == NULL) in wfq_ifenqueue()
300 mp->m_nextpkt = NULL; in wfq_ifenqueue()
476 if((queue->head = mp->m_nextpkt) == NULL) in wfq_ifdequeue()
479 mp->m_nextpkt = NULL; in wfq_ifdequeue()
/netbsd-src/sys/net/
H A Dnd.c100 for (m0 = m->m_nextpkt; m0 != NULL; m0 = mnxt) { in nd_timer()
101 mnxt = m0->m_nextpkt; in nd_timer()
102 m0->m_nextpkt = NULL; in nd_timer()
106 m->m_nextpkt = NULL; in nd_timer()
374 for (m_hold = ln->ln_hold; m_hold; m_hold = m_hold->m_nextpkt) { in nd_resolve()
376 if (m_hold->m_nextpkt == NULL) { in nd_resolve()
377 m_hold->m_nextpkt = m; in nd_resolve()
385 ln->ln_hold = ln->ln_hold->m_nextpkt; in nd_resolve()
H A Dif_ieee1394subr.c231 m0 = m->m_nextpkt; in ieee1394_output()
243 m = m0->m_nextpkt; in ieee1394_output()
283 mp = &m0->m_nextpkt; in ieee1394_fragment()
307 mp = &m->m_nextpkt; in ieee1394_fragment()
317 m0 = m->m_nextpkt; in ieee1394_fragment()
318 m->m_nextpkt = NULL; in ieee1394_fragment()
H A Dif.h696 (m)->m_nextpkt = 0; \
700 (ifq)->ifq_tail->m_nextpkt = m; \
705 (m)->m_nextpkt = (ifq)->ifq_head; \
714 if (((ifq)->ifq_head = (m)->m_nextpkt) == 0) \
716 (m)->m_nextpkt = 0; \
H A Dif_ppp.c447 sc->sc_npqueue = m->m_nextpkt; in pppdealloc()
1016 m0->m_nextpkt = NULL; in pppoutput()
1017 sc->sc_npqtail = &m0->m_nextpkt; in pppoutput()
1069 *mpp = m->m_nextpkt; in ppp_requeue()
1070 m->m_nextpkt = NULL; in ppp_requeue()
1080 *mpp = m->m_nextpkt; in ppp_requeue()
1085 mpp = &m->m_nextpkt; in ppp_requeue()
H A Dif_gre.c606 nextrecord = m->m_nextpkt; in gre_soreceive()
634 m->m_nextpkt = nextrecord; in gre_soreceive()
678 nextrecord = m->m_nextpkt; in gre_soreceive()
690 m->m_nextpkt = nextrecord; in gre_soreceive()
725 } else if (nextrecord->m_nextpkt == NULL) in gre_soreceive()
H A Dpktqueue.c574 m->m_nextpkt = m0; in pktq_flush()
583 m0 = m->m_nextpkt; in pktq_flush()
/netbsd-src/sys/kern/
H A Duipc_socket2.c625 * field. Records are chained together with the m_nextpkt field. The upper
777 while (m && m->m_nextpkt) in sblastrecordchk()
778 m = m->m_nextpkt; in sblastrecordchk()
784 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) in sblastrecordchk()
798 while (m && m->m_nextpkt) in sblastmbufchk()
799 m = m->m_nextpkt; in sblastmbufchk()
808 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastmbufchk()
825 (sb)->sb_lastrecord->m_nextpkt = (m0); \
890 KDASSERT(m->m_nextpkt == NULL); in sbappendstream()
916 for (m = sb->sb_mb; m; m = m->m_nextpkt) { in sbcheck()
[all...]
H A Duipc_socket.c1111 * the original value of sb->sb_mb->m_nextpkt which must be restored
1125 sb->sb_mb->m_nextpkt = nextrecord; in sbsync()
1139 } else if (sb->sb_mb->m_nextpkt == NULL)
1241 m->m_nextpkt == NULL && !atomic)) { in soreceive()
1317 nextrecord = m->m_nextpkt; in soreceive()
1431 nextrecord = so->so_rcv.sb_mb->m_nextpkt; in soreceive()
1523 nextrecord = m->m_nextpkt; in soreceive()
1539 m->m_nextpkt = nextrecord; in soreceive()
1622 nextrecord = m->m_nextpkt; in soreceive()
1643 } else if (nextrecord->m_nextpkt in soreceive()
[all...]
/netbsd-src/sys/netinet/
H A Daccf_http.c163 npkt = npkt->m_nextpkt; in mbufstrcmp()
192 npkt = npkt->m_nextpkt; in mbufstrncmp()
238 if (mbufstrncmp(m, m->m_nextpkt, 1, cc, cmp) == 1) { in sohashttpget()
246 if (mbufstrcmp(m, m->m_nextpkt, 1, cmp) == 1) { in sohashttpget()
278 n = m->m_nextpkt; in soparsehttpvers()
374 n = m->m_nextpkt; in soishttpconnected()
H A Din_offload.c140 prev->m_nextpkt = n; in tcp4_segment()
143 n->m_nextpkt = NULL; /* XXX */ in tcp4_segment()
165 n = m->m_nextpkt; in tcp4_segment()
183 n = m->m_nextpkt; in ip_tso_output()
H A Dsctputil.c2956 (sb)->sb_lastrecord->m_nextpkt = (m0); \
3006 if ((n->m_nextpkt != inp->sb_last_mpkt) && (n->m_nextpkt == NULL)) { in sbappendaddr_nocheck()
3010 inp->sb_last_mpkt->m_nextpkt = m; in sbappendaddr_nocheck()
3012 while (n->m_nextpkt) { in sbappendaddr_nocheck()
3013 n = n->m_nextpkt; in sbappendaddr_nocheck()
3015 n->m_nextpkt = m; in sbappendaddr_nocheck()
3084 if ((n->m_nextpkt != inp->sb_last_mpkt) && (n->m_nextpkt == NULL)) { in sbappendaddr_nocheck()
3088 inp->sb_last_mpkt->m_nextpkt = m; in sbappendaddr_nocheck()
3090 while (n->m_nextpkt) { in sbappendaddr_nocheck()
3091 n = n->m_nextpkt; in sbappendaddr_nocheck()
[all …]
H A Dip_output.c775 m0 = m->m_nextpkt; in ip_output()
776 m->m_nextpkt = NULL; in ip_output()
855 mnext = &m->m_nextpkt; in ip_fragment()
873 mnext = &m->m_nextpkt; in ip_fragment()
966 m0 = m->m_nextpkt; in ip_fragment()
967 m->m_nextpkt = NULL; in ip_fragment()
H A Dip_mroute.c920 n = m->m_nextpkt; in reset_vif()
1948 vifp->tbf_t = &m->m_nextpkt; in tbf_queue()
1977 if ((vifp->tbf_q = m->m_nextpkt) == NULL) in tbf_process_q()
1981 m->m_nextpkt = NULL; in tbf_process_q()
2020 mp = &m->m_nextpkt, m = *mp) { in tbf_dq_sel()
2022 if ((*mp = m->m_nextpkt) == NULL) in tbf_dq_sel()
2742 mb_copy = mm->m_nextpkt; in pim_register_send()
2743 mm->m_nextpkt = NULL; in pim_register_send()
/netbsd-src/sys/sys/
H A Dmbuf.h307 #define m_nextpkt m_hdr.mh_nextpkt macro
650 (m)->m_nextpkt = NULL; \
652 (q)->mq_last = &(m)->m_nextpkt; \
656 if (((m)->m_nextpkt = (q)->mq_first) == NULL) \
657 (q)->mq_last = &(m)->m_nextpkt; \
663 if (((q)->mq_first = (m)->m_nextpkt) == NULL) \
666 (m)->m_nextpkt = NULL; \
673 (q)->mq_first = __m0->m_nextpkt; \
680 #define MBUFQ_NEXT(m) ((m)->m_nextpkt)
/netbsd-src/sys/netinet6/
H A Din6_offload.c142 prev->m_nextpkt = n; in tcp6_segment()
145 n->m_nextpkt = NULL; /* XXX */ in tcp6_segment()
161 n = m->m_nextpkt; in tcp6_segment()
179 n = m->m_nextpkt; in ip6_tso_output()
/netbsd-src/sys/dev/
H A Dkttcp.c407 m->m_nextpkt == NULL && (pr->pr_flags & PR_ATOMIC) == 0)) { in kttcp_soreceive()
464 nextrecord = m->m_nextpkt; in kttcp_soreceive()
495 m->m_nextpkt = nextrecord; in kttcp_soreceive()
553 nextrecord = m->m_nextpkt; in kttcp_soreceive()
569 m->m_nextpkt = nextrecord; in kttcp_soreceive()
646 nextrecord = m->m_nextpkt; in kttcp_soreceive()
666 } else if (nextrecord->m_nextpkt == NULL) in kttcp_soreceive()
/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_mbuf.h65 l->tail->m_nextpkt = m; in mbufq_tail()
78 l->head = m->m_nextpkt; in mbufq_dequeue()
/netbsd-src/sys/nfs/
H A Dnfs_srvsocket.c194 slp->ns_recend->m_nextpkt = m; in nfsrv_rcv()
198 m->m_nextpkt = (struct mbuf *)0; in nfsrv_rcv()
344 slp->ns_recend->m_nextpkt = slp->ns_frag; in nfsrv_getstream()
377 slp->ns_rec = m->m_nextpkt; in nfsrv_dorec()
379 m->m_nextpkt = NULL; in nfsrv_dorec()
/netbsd-src/sys/net80211/
H A Dieee80211_netbsd.h132 (_m)->m_nextpkt = NULL; \
135 (_ni)->ni_savedq.ifq_tail->m_nextpkt = (_m); \
H A Dieee80211_output.c921 IASSERT(m0->m_nextpkt == NULL, ("mbuf already chained?")); in ieee80211_fragment()
970 prev->m_nextpkt = m; in ieee80211_fragment()
991 for (m = m0->m_nextpkt; m != NULL; m = next) { in ieee80211_fragment()
992 next = m->m_nextpkt; in ieee80211_fragment()
993 m->m_nextpkt = NULL; in ieee80211_fragment()
996 m0->m_nextpkt = NULL; in ieee80211_fragment()
/netbsd-src/sys/dev/bluetooth/
H A Dbcsp.c908 if (m->m_nextpkt == NULL) in bcsp_mux_transmit()
910 &_m->m_nextpkt; in bcsp_mux_transmit()
911 _m->m_nextpkt = m->m_nextpkt; in bcsp_mux_transmit()
912 m->m_nextpkt = NULL; in bcsp_mux_transmit()

123