/freebsd/sys/net/altq/ |
H A D | altq_classq.h | 74 #define qhead(q) ((q)->tail_ ? (q)->tail_->m_nextpkt : NULL) 101 m->m_nextpkt = m0->m_nextpkt; in _addq() 104 m0->m_nextpkt = m; in _addq() 117 if ((m0 = m->m_nextpkt) != m) in _getq() 118 m->m_nextpkt = m0->m_nextpkt; in _getq() 123 m0->m_nextpkt = NULL; in _getq() 137 m0 = m0->m_nextpkt; in _getq_tail() 139 prev->m_nextpkt = m->m_nextpkt; in _getq_tail() 145 m->m_nextpkt = NULL; in _getq_tail() 158 if (m->m_nextpkt == m) in _getq_random() [all …]
|
H A D | altq_rmclass.c | 1719 m->m_nextpkt = m0->m_nextpkt; in _addq() 1722 m0->m_nextpkt = m; in _addq() 1734 if ((m0 = m->m_nextpkt) != m) in _getq() 1735 m->m_nextpkt = m0->m_nextpkt; in _getq() 1741 m0->m_nextpkt = NULL; in _getq() 1755 m0 = m0->m_nextpkt; in _getq_tail() 1757 prev->m_nextpkt = m->m_nextpkt; in _getq_tail() 1764 m->m_nextpkt = NULL; in _getq_tail() 1777 if (m->m_nextpkt == m) { in _getq_random() 1786 m = m->m_nextpkt; in _getq_random() [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_ageq.c | 82 m->m_nextpkt = NULL; in ageq_mfree() 95 next = m->m_nextpkt; in ieee80211_ageq_mfree() 113 aq->aq_tail->m_nextpkt = m; in ieee80211_ageq_append() 118 m->m_nextpkt = NULL; in ieee80211_ageq_append() 171 if ((aq->aq_head = m->m_nextpkt) == NULL) in ieee80211_ageq_age() 177 phead = &m->m_nextpkt; in ieee80211_ageq_age() 205 prev = &m->m_nextpkt; in ieee80211_ageq_remove() 217 KASSERT(m->m_nextpkt == NULL, ("not last")); in ieee80211_ageq_remove() 224 offsetof(struct mbuf, m_nextpkt)); in ieee80211_ageq_remove() 227 *prev = m->m_nextpkt; in ieee80211_ageq_remove() [all …]
|
H A D | ieee80211_power.c | 140 if ((qhead->head = m->m_nextpkt) == NULL) in ieee80211_node_psq_dequeue() 146 m->m_nextpkt = NULL; in ieee80211_node_psq_dequeue() 170 m->m_nextpkt = NULL; in psq_mfree() 190 qhead->head = m->m_nextpkt; in psq_drain() 245 if ((qhead->head = m->m_nextpkt) == NULL) in ieee80211_node_psq_age() 389 qhead->tail->m_nextpkt = m; in ieee80211_pwrsave() 394 m->m_nextpkt = NULL; in ieee80211_pwrsave() 455 parent_q = m->m_nextpkt; in pwrsave_flushq() 456 m->m_nextpkt = NULL; in pwrsave_flushq() 467 ifp_q = m->m_nextpkt; in pwrsave_flushq() [all …]
|
H A D | ieee80211_superg.c | 370 m2 = m1->m_nextpkt; in ieee80211_ff_encap() 376 m1->m_nextpkt = NULL; in ieee80211_ff_encap() 501 m2 = m1->m_nextpkt; in ieee80211_amsdu_encap() 507 m1->m_nextpkt = NULL; in ieee80211_amsdu_encap() 618 next = m->m_nextpkt; in ff_flush() 619 m->m_nextpkt = NULL; in ff_flush() 659 sq->head = m->m_nextpkt; in ieee80211_ff_age() 681 sq->tail->m_nextpkt = m; in stageq_add() 691 m->m_nextpkt = NULL; in stageq_add() 704 for (m = sq->head; m != NULL; m = m->m_nextpkt) { in stageq_remove() [all …]
|
/freebsd/sys/net/ |
H A D | ifq.h | 76 (m)->m_nextpkt = NULL; \ 80 (ifq)->ifq_tail->m_nextpkt = m; \ 92 (m)->m_nextpkt = (ifq)->ifq_head; \ 108 if (((ifq)->ifq_head = (m)->m_nextpkt) == NULL) \ 110 (m)->m_nextpkt = NULL; \ 267 if (((ifq)->ifq_drv_head = (m)->m_nextpkt) == NULL) \ 269 (m)->m_nextpkt = NULL; \ 279 m0->m_nextpkt = NULL; \ 283 (ifq)->ifq_drv_tail->m_nextpkt = m0; \ 293 (m)->m_nextpkt = (ifq)->ifq_drv_head; \ [all …]
|
H A D | if_fwsubr.c | 392 for (mf = r->fr_frags; mf; mf = mf->m_nextpkt) { in firewire_input_fragment() 420 mprev = mf, mf = mf->m_nextpkt) { in firewire_input_fragment() 434 if (islast && mprev && mprev->m_nextpkt) in firewire_input_fragment() 438 m->m_nextpkt = mprev->m_nextpkt; in firewire_input_fragment() 439 mprev->m_nextpkt = m; in firewire_input_fragment() 457 mprev->m_nextpkt = m->m_nextpkt; in firewire_input_fragment() 469 m = mprev->m_nextpkt; in firewire_input_fragment() 471 mf = m->m_nextpkt; in firewire_input_fragment() 475 mprev->m_nextpkt = NULL; in firewire_input_fragment() 484 m = mprev->m_nextpkt; in firewire_input_fragment() [all …]
|
H A D | netisr.c | 615 npwp->nw_head = m->m_nextpkt; in netisr_drain_proto() 616 m->m_nextpkt = NULL; in netisr_drain_proto() 729 m = m->m_nextpkt; in netisr_drain_proto_vnet() 730 mp->m_nextpkt = NULL; in netisr_drain_proto_vnet() 737 ne->m_nextpkt = mp; in netisr_drain_proto_vnet() 916 local_npw.nw_head = m->m_nextpkt; in netisr_process_workstream_proto() 917 m->m_nextpkt = NULL; in netisr_process_workstream_proto() 997 m->m_nextpkt = NULL; in netisr_queue_workstream() 1002 npwp->nw_tail->m_nextpkt = m; in netisr_queue_workstream()
|
/freebsd/sys/netgraph/bluetooth/include/ |
H A D | ng_bluetooth.h | 100 (i)->m_nextpkt = NULL; \ 105 (q)->tail->m_nextpkt = (i); \ 115 (q)->head = (q)->head->m_nextpkt; \ 120 (i)->m_nextpkt = NULL; \ 126 (i)->m_nextpkt = (q)->head; \
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_mbq.c | 70 m->m_nextpkt = NULL; in __mbq_enqueue() 72 q->tail->m_nextpkt = m; in __mbq_enqueue() 101 q->head = ret->m_nextpkt; in __mbq_dequeue() 106 ret->m_nextpkt = NULL; in __mbq_dequeue()
|
/freebsd/sys/netinet/ |
H A D | ip_reass.c | 339 m->m_nextpkt = NULL; in ip_reass() 391 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) in ip_reass() 415 m->m_nextpkt = p->m_nextpkt; in ip_reass() 416 p->m_nextpkt = m; in ip_reass() 418 m->m_nextpkt = fp->ipq_frags; in ip_reass() 437 nq = q->m_nextpkt; in ip_reass() 438 m->m_nextpkt = nq; in ip_reass() 456 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) { in ip_reass() 489 nq = q->m_nextpkt; in ip_reass() 490 q->m_nextpkt = NULL; in ip_reass() [all …]
|
H A D | accf_http.c | 98 npkt = npkt->m_nextpkt; in mbufstrcmp() 127 npkt = npkt->m_nextpkt; in mbufstrncmp() 174 if (mbufstrncmp(m, m->m_nextpkt, 1, cc, cmp) == 1) { in sohashttpget() 182 if (mbufstrcmp(m, m->m_nextpkt, 1, cmp) == 1) { in sohashttpget() 210 n = m->m_nextpkt; in soparsehttpvers() 300 n = m->m_nextpkt; in soishttpconnected()
|
H A D | tcp_lro.c | 484 save = m->m_nextpkt; in lro_free_mbuf_chain() 485 m->m_nextpkt = NULL; in lro_free_mbuf_chain() 859 le->m_head->m_nextpkt = NULL; in tcp_flush_out_entry() 914 msave = le->m_head->m_nextpkt; in tcp_push_and_replace() 915 le->m_head->m_nextpkt = NULL; in tcp_push_and_replace() 933 m->m_nextpkt = msave; in tcp_push_and_replace() 985 m = le->m_head->m_nextpkt; in tcp_lro_condense() 1002 le->m_head->m_nextpkt = m->m_nextpkt; in tcp_lro_condense() 1011 le->m_head->m_nextpkt = m->m_nextpkt; in tcp_lro_condense() 1015 while((m = le->m_head->m_nextpkt) != NULL) { in tcp_lro_condense() [all …]
|
H A D | accf_tls.c | 56 struct mbuf *n = m->m_nextpkt; in sbmget8() 63 n = m->m_nextpkt; in sbmget8()
|
H A D | tcp_lro_hpts.c | 419 nm->m_nextpkt = m; in do_bpf_strip_and_compress() 430 pp = &nm->m_nextpkt; in do_bpf_strip_and_compress() 454 *pp = m->m_nextpkt; in do_bpf_strip_and_compress() 455 m->m_nextpkt = NULL; in do_bpf_strip_and_compress() 611 pp = &(*pp)->m_nextpkt; in _tcp_lro_flush_tcphpts() 628 pp = &mv_to->m_nextpkt; in _tcp_lro_flush_tcphpts() 641 le->m_last_mbuf = __containerof(pp, struct mbuf, m_nextpkt);
|
H A D | accf_dns.c | 84 p->n = p->m->m_nextpkt; \ 109 q.n = q.m->m_nextpkt; in skippacket()
|
/freebsd/usr.sbin/ppp/ |
H A D | link.c | 143 m = m->m_nextpkt; in link_QueueBytes() 173 for (m = queue->top; len--; m = m->m_nextpkt) in link_PendingLowPriorityData() 308 lbp[layer] = bp->m_nextpkt; in link_PullPacket() 309 bp->m_nextpkt = NULL; in link_PullPacket() 318 next = bp->m_nextpkt; in link_PullPacket() 319 bp->m_nextpkt = NULL; in link_PullPacket()
|
H A D | mp.c | 397 next = mp->inbufs->m_nextpkt; in mp_Down() 465 last->m_nextpkt = m; in mp_Assemble() 477 last->m_nextpkt = m; in mp_Assemble() 480 m->m_nextpkt = q; in mp_Assemble() 496 next = mp->inbufs->m_nextpkt; in mp_Assemble() 513 next = mp->inbufs->m_nextpkt; in mp_Assemble() 542 mp->inbufs = mp->inbufs->m_nextpkt; in mp_Assemble() 558 (*frag)->m_nextpkt = mp->inbufs; in mp_Assemble() 568 (*frag)->m_nextpkt = NULL; in mp_Assemble() 590 q = q->m_nextpkt; in mp_Assemble() [all …]
|
/freebsd/sys/netpfil/ipfw/test/ |
H A D | dn_test.h | 134 struct mbuf *m_nextpkt; member 173 q->tail->m_nextpkt = m; in mq_append() 175 m->m_nextpkt = NULL; in mq_append()
|
/freebsd/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_rx.c | 275 m->m_nextpkt = rtwn_rx_copy_to_mbuf(sc, stat, totlen); in rtwn_rxeof() 276 if (m->m_nextpkt != NULL) in rtwn_rxeof() 277 m = m->m_nextpkt; in rtwn_rxeof() 425 m = m->m_nextpkt; in rtwn_bulk_rx_callback() 430 next = m->m_nextpkt; in rtwn_bulk_rx_callback() 431 m->m_nextpkt = NULL; in rtwn_bulk_rx_callback()
|
/freebsd/sys/kern/ |
H A D | uipc_sockbuf.c | 857 while (m && m->m_nextpkt) in sblastrecordchk() 858 m = m->m_nextpkt; in sblastrecordchk() 864 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) in sblastrecordchk() 878 while (m && m->m_nextpkt) in sblastmbufchk() 879 m = m->m_nextpkt; in sblastmbufchk() 888 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastmbufchk() 920 (sb)->sb_lastrecord->m_nextpkt = (m0); \ 945 while (n->m_nextpkt) in sbappend_locked() 946 n = n->m_nextpkt; in sbappend_locked() 1053 KASSERT(m->m_nextpkt == NULL,("sbappendstream 0")); in sbappendstream_locked() [all …]
|
H A D | subr_mchain.c | 347 while (m->m_nextpkt) in md_append_record() 348 m = m->m_nextpkt; in md_append_record() 349 m->m_nextpkt = top; in md_append_record() 350 top->m_nextpkt = NULL; in md_append_record() 364 m = mdp->md_top->m_nextpkt; in md_next_record()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dn_io.c | 286 q->tail->m_nextpkt = m; in mq_append() 289 m->m_nextpkt = NULL; in mq_append() 302 mnext = m->m_nextpkt; in dn_free_pkts() 570 dline->mq.head = m->m_nextpkt; in transmit_event() 783 n = m->m_nextpkt; in dummynet_send() 784 m->m_nextpkt = NULL; in dummynet_send() 988 if (m->m_nextpkt != NULL) { in dummynet_io() 990 m->m_nextpkt = NULL; in dummynet_io()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_bcopy.c | 211 sk->so_snd.sb_sndptr = mb->m_nextpkt; in sdp_post_sends() 212 sk->so_snd.sb_mb = mb->m_nextpkt; in sdp_post_sends() 213 mb->m_nextpkt = NULL; in sdp_post_sends()
|
/freebsd/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_llpi.c | 611 m0->m_nextpkt = NULL; in ng_l2cap_lp_send() 616 m_last->m_nextpkt = m0; in ng_l2cap_lp_send() 636 m = con->tx_pkt->m_nextpkt; in ng_l2cap_lp_send() 826 con->tx_pkt = con->tx_pkt->m_nextpkt; in ng_l2cap_lp_deliver() 827 m->m_nextpkt = NULL; in ng_l2cap_lp_deliver() 860 m = con->tx_pkt->m_nextpkt; in ng_l2cap_lp_deliver()
|