Home
last modified time | relevance | path

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

12

/xnu-8020.140.41/bsd/net/
H A Dif_loop.c125 for (_n = _m; _n != NULL; _n = _n->m_nextpkt) \
290 for (m = m_list; m; m = m->m_nextpkt) { in lo_output()
316 if (m->m_nextpkt == NULL) { in lo_output()
344 n = m->m_nextpkt; in lo_pre_enqueue()
345 m->m_nextpkt = NULL; in lo_pre_enqueue()
H A Dif_var.h1441 (m)->m_nextpkt = NULL; \
1445 ((struct mbuf*)(ifq)->ifq_tail)->m_nextpkt = m; \
1451 (m)->m_nextpkt = (ifq)->ifq_head; \
1461 if (((ifq)->ifq_head = (m)->m_nextpkt) == NULL) \
1463 (m)->m_nextpkt = NULL; \
1470 struct mbuf *_n = (m)->m_nextpkt; \
1474 if (_p->m_nextpkt == (m)) \
1476 _p = _p->m_nextpkt; \
1487 _p->m_nextpkt = _n; \
1488 (m)->m_nextpkt = NULL; \
H A Dether_inet_pr_module.c192 nextpkt = m->m_nextpkt; in ether_inet_input()
206 tailptr = &m->m_nextpkt; in ether_inet_input()
209 m->m_nextpkt = NULL; in ether_inet_input()
H A Dif_ipsec.c1468 pcb->ipsec_input_chain = data->m_nextpkt; in ipsec_netif_sync_rx()
1469 data->m_nextpkt = NULL; in ipsec_netif_sync_rx()
1575 pcb->ipsec_input_chain_last->m_nextpkt = fragment_chain; in ipsec_netif_sync_rx()
1580 while (fragment_chain->m_nextpkt) { in ipsec_netif_sync_rx()
1581 VERIFY(fragment_chain != fragment_chain->m_nextpkt); in ipsec_netif_sync_rx()
1582 fragment_chain = fragment_chain->m_nextpkt; in ipsec_netif_sync_rx()
4173 pcb->ipsec_input_chain_last->m_nextpkt = packet; in ipsec_inject_inbound_packet()
4178 while (packet->m_nextpkt) { in ipsec_inject_inbound_packet()
4179 VERIFY(packet != packet->m_nextpkt); in ipsec_inject_inbound_packet()
4180 packet = packet->m_nextpkt; in ipsec_inject_inbound_packet()
H A Dif_utun.c666 pcb->utun_input_chain = data->m_nextpkt; in utun_netif_sync_rx()
667 data->m_nextpkt = NULL; in utun_netif_sync_rx()
2948 pcb->utun_input_chain_last->m_nextpkt = packet; in utun_pkt_input()
2953 while (packet->m_nextpkt) { in utun_pkt_input()
2954 VERIFY(packet != packet->m_nextpkt); in utun_pkt_input()
2955 packet = packet->m_nextpkt; in utun_pkt_input()
/xnu-8020.140.41/bsd/kern/
H A Duipc_socket2.c964 if (m->m_nextpkt != NULL || (sb->sb_mb != sb->sb_lastrecord)) { in sbappendstream()
966 m->m_nextpkt, sb->sb_mb, sb->sb_lastrecord); in sbappendstream()
1033 n = m->m_nextpkt; in sbcheck()
1055 while (m && m->m_nextpkt) { in sblastrecordchk()
1056 m = m->m_nextpkt; in sblastrecordchk()
1066 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastrecordchk()
1079 while (m && m->m_nextpkt) { in sblastmbufchk()
1080 m = m->m_nextpkt; in sblastmbufchk()
1093 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastmbufchk()
1176 sb->sb_lastrecord->m_nextpkt = m0; in sbappendrecord_common()
[all …]
H A Duipc_socket.c2892 m = m->m_nextpkt; in sosend_list()
2913 struct mbuf *nextpkt = m->m_nextpkt; in sosend_list()
2951 prevnextp = &m->m_nextpkt; in sosend_list()
3020 m->m_nextpkt = NULL; in soreceive_addr()
3075 nextrecord = m->m_nextpkt = so->so_rcv.sb_mb; in soreceive_addr()
3100 m->m_nextpkt = nextrecord; in soreceive_addr()
3185 m->m_nextpkt = NULL; in soreceive_ctl()
3197 sb_rcv->sb_mb->m_nextpkt = nextrecord; in soreceive_ctl()
3257 nextrecord = sb_rcv->sb_mb->m_nextpkt; in soreceive_ctl()
3292 m->m_nextpkt == NULL && (pr->pr_flags & PR_ATOMIC) == 0) { in so_should_wait()
[all …]
H A Dkern_control.c870 for (nxt = m; nxt != NULL; nxt = nxt->m_nextpkt) { in ctl_send_list()
880 struct mbuf *nextpkt = m->m_nextpkt; in ctl_send_list()
882 m->m_nextpkt = NULL; in ctl_send_list()
1076 nextpkt = m->m_nextpkt; in ctl_enqueuembuf_list()
1097 m->m_nextpkt = NULL; in ctl_enqueuembuf_list()
1137 for (n = m; n != NULL; n = n->m_nextpkt) { in ctl_enqueuembuf_list()
1257 m1 = m1->m_nextpkt; in ctl_getenqueuepacketcount()
H A Dkpi_mbuf.c586 if (next && ((next)->m_nextpkt != NULL || in mbuf_setnext()
598 return mbuf->m_nextpkt; in mbuf_nextpkt()
604 mbuf->m_nextpkt = nextpkt; in mbuf_setnextpkt()
H A Duipc_mbuf.c956 (m)->m_next = (m)->m_nextpkt = NULL; \
2575 m->m_next = m->m_nextpkt = NULL; in cslab_free()
3865 m->m_next = m->m_nextpkt = NULL;
3889 m->m_next = m->m_nextpkt = NULL;
3946 m->m_next = m->m_nextpkt = NULL;
4355 np = &m->m_nextpkt;
4521 np = &m->m_nextpkt;
4680 np = &first->m_nextpkt;
4782 np = &m->m_nextpkt;
4810 nextpkt = m->m_nextpkt;
[all …]
/xnu-8020.140.41/bsd/skywalk/nexus/netif/
H A Dnx_netif_util.c271 next = m->m_nextpkt; in nx_netif_mbuf_to_filter_pkt_chain()
272 m->m_nextpkt = NULL; in nx_netif_mbuf_to_filter_pkt_chain()
321 m_tailp = &m->m_nextpkt; in nx_netif_filter_pkt_to_mbuf_chain()
700 m = m->m_nextpkt; in nx_netif_mbuf_chain_info()
H A Dnx_netif_filter_compat.c111 m_tailp = &m->m_nextpkt; in nx_netif_filter_tx_processed_mbuf_dequeue()
H A Dnx_netif_host.c382 ASSERT(m->m_nextpkt == NULL); in nx_netif_host_output()
/xnu-8020.140.41/bsd/sys/
H A Dmbuf.h629 #define m_nextpkt m_hdr.mh_nextpkt macro
630 #define m_act m_nextpkt
1072 #define MBUFQ_NEXT(m) ((m)->m_nextpkt)
1082 __builtin_offsetof(struct mbuf, m_nextpkt))))
1086 struct mbuf * _saved = (_t)->m_nextpkt; \
1091 (_t)->m_nextpkt = _saved; \
/xnu-8020.140.41/bsd/netinet/
H A Dip_dummynet.c751 pipe->head = m->m_nextpkt; in transmit_event()
753 (*tail)->m_nextpkt = m; in transmit_event()
761 (*tail)->m_nextpkt = NULL; in transmit_event()
804 q->head = pkt->m_nextpkt; in move_pkt()
813 p->tail->m_nextpkt = pkt; in move_pkt()
816 p->tail->m_nextpkt = NULL; in move_pkt()
1130 n = m->m_nextpkt; in dummynet_send()
1131 m->m_nextpkt = NULL; in dummynet_send()
1668 q->tail->m_nextpkt = m; in dummynet_io()
1811 mnext = m->m_nextpkt; in purge_flow_set()
[all …]
H A Dip_input.c1419 tmp_mbuf = tmp_mbuf->m_nextpkt; in ip_input_check_interface()
2356 m->m_nextpkt = NULL; in ip_reass()
2395 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) { in ip_reass()
2421 m->m_nextpkt = p->m_nextpkt; in ip_reass()
2422 p->m_nextpkt = m; in ip_reass()
2424 m->m_nextpkt = fp->ipq_frags; in ip_reass()
2442 nq = q->m_nextpkt; in ip_reass()
2443 m->m_nextpkt = nq; in ip_reass()
2473 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) { in ip_reass()
2514 nq = q->m_nextpkt; in ip_reass()
[all …]
H A Din_proto.c332 if (packet_list->m_nextpkt != NULL) { in ip_proto_input()
H A Dip_output.c1612 mppn = &m->m_nextpkt; in ip_output_list()
1613 m = m->m_nextpkt; in ip_output_list()
1725 m0 = m->m_nextpkt; in ip_output_list()
1726 m->m_nextpkt = 0; in ip_output_list()
1804 struct mbuf **mnext = &m->m_nextpkt, *m0; in ip_fragment()
1895 mnext = &m->m_nextpkt; in ip_fragment()
H A Dmptcp_subr.c2263 VERIFY(m->m_nextpkt == NULL); in mptcp_subflow_soreceive()
3398 mpte->mpte_reinjectq = sb_mb->m_nextpkt; in mptcp_subflow_output()
3535 n = n->m_nextpkt; in mptcp_add_reinjectq()
3551 struct mbuf *tmp = n->m_nextpkt; in mptcp_add_reinjectq()
3558 m->m_nextpkt = NULL; in mptcp_add_reinjectq()
3562 prev->m_nextpkt = tmp; in mptcp_add_reinjectq()
3584 prev->m_nextpkt = m; in mptcp_add_reinjectq()
3587 m->m_nextpkt = n; in mptcp_add_reinjectq()
3726 VERIFY(m->m_nextpkt == NULL); in mptcp_reinject_mbufs()
3770 mpte->mpte_reinjectq = m->m_nextpkt; in mptcp_clean_reinjectq()
[all …]
/xnu-8020.140.41/bsd/net/pktsched/
H A Dpktsched_fq_codel.c99 pkt->cp_mbuf->m_nextpkt = next_pkt->cp_mbuf; in fq_if_append_mbuf()
192 ASSERT(tail->cp_mbuf->m_nextpkt == NULL); in fq_getq_flow_mbuf()
193 tail->cp_mbuf->m_nextpkt = pkt.pktsched_pkt_mbuf; in fq_getq_flow_mbuf()
196 tail->cp_mbuf->m_nextpkt = NULL; in fq_getq_flow_mbuf()
473 ASSERT(tail->cp_mbuf->m_nextpkt == NULL); in fq_dqlist_remove()
474 tail->cp_mbuf->m_nextpkt = fq->fq_dq_head.cp_mbuf; in fq_dqlist_remove()
475 ASSERT(fq->fq_dq_tail.cp_mbuf->m_nextpkt == NULL); in fq_dqlist_remove()
H A Dpktsched.c338 VERIFY(m->m_nextpkt == NULL); in pktsched_free_pkt()
340 VERIFY(m->m_nextpkt != NULL); in pktsched_free_pkt()
/xnu-8020.140.41/bsd/netinet6/
H A Dip6_output.c516 inputchain = m->m_nextpkt; in ip6_output_list()
517 m->m_nextpkt = NULL; in ip6_output_list()
1550 sendchain_last->m_nextpkt = m; in ip6_output_list()
1556 while (m->m_nextpkt) { in ip6_output_list()
1557 m = m->m_nextpkt; in ip6_output_list()
1567 inputchain = m->m_nextpkt; in ip6_output_list()
1568 m->m_nextpkt = NULL; in ip6_output_list()
1883 mnext = &new_m->m_nextpkt; in ip6_do_fragmentation()
1936 last_mbufp->m_nextpkt = NULL; in ip6_do_fragmentation()
/xnu-8020.140.41/bsd/net/classq/
H A Dclassq_subr.c390 head->cp_mbuf->m_nextpkt = NULL; in ifclassq_dequeue_common_default()
394 last.cp_mbuf->m_nextpkt = head->cp_mbuf; in ifclassq_dequeue_common_default()
/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c271 m = m->m_nextpkt; in _mchain_agg_log()
2017 mhead = m->m_nextpkt; in flow_rx_agg_host()
2018 m->m_nextpkt = NULL; in flow_rx_agg_host()
2099 ASSERT(m->m_nextpkt == NULL); in flow_rx_agg_host()
2183 smbuf->m_nextpkt = m; in flow_rx_agg_host()
/xnu-8020.140.41/bsd/skywalk/packet/
H A Dpbufpool.c1916 ASSERT(kpkt->pkt_mbuf->m_nextpkt == NULL); in pp_metadata_fini()
1985 mp = &(*mp)->m_nextpkt; in pp_free_packet_chain()
2002 if (__probable(mtop->m_nextpkt != NULL)) { in pp_free_packet_chain()
2057 mp = &(*mp)->m_nextpkt; in pp_free_packet_array()
2075 if (__probable(mtop->m_nextpkt != NULL)) { in pp_free_packet_array()

12