Home
last modified time | relevance | path

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

12

/xnu-11417.140.69/bsd/net/
H A Dmblist.h63 list->tail->m_nextpkt = m; in mblist_append()
78 list->tail->m_nextpkt = append.head; in mblist_append_list()
H A Ddlil_output.c131 packetlist = packetlist->m_nextpkt; in dlil_output()
132 m->m_nextpkt = NULL; in dlil_output()
435 send_tail = &m->m_nextpkt; in dlil_output()
480 packetlist = packetlist->m_nextpkt; in dlil_output()
481 m->m_nextpkt = NULL; in dlil_output()
516 send_head = send_m->m_nextpkt; in dlil_output()
517 send_m->m_nextpkt = NULL; in dlil_output()
H A Dif_loop.c125 for (_n = _m; _n != NULL; _n = _n->m_nextpkt) \
292 for (m = m_list; m; m = m->m_nextpkt) { in lo_output()
318 if (m->m_nextpkt == NULL) { in lo_output()
346 n = m->m_nextpkt; in lo_pre_enqueue()
347 m->m_nextpkt = NULL; in lo_pre_enqueue()
H A Dif_var_private.h1147 (m)->m_nextpkt = NULL; \
1151 ((struct mbuf*)(ifq)->ifq_tail)->m_nextpkt = m; \
1157 (m)->m_nextpkt = (mbuf_ref_t)(ifq)->ifq_head; \
1167 if (((ifq)->ifq_head = (m)->m_nextpkt) == NULL) \
1169 (m)->m_nextpkt = NULL; \
1176 mbuf_ref_t _n = (m)->m_nextpkt; \
1180 if (_p->m_nextpkt == (m)) \
1182 _p = _p->m_nextpkt; \
1193 _p->m_nextpkt = _n; \
1194 (m)->m_nextpkt = NULL; \
H A Dether_inet_pr_module.c197 nextpkt = m->m_nextpkt; in ether_inet_input()
215 tailptr = &m->m_nextpkt; in ether_inet_input()
218 m->m_nextpkt = NULL; in ether_inet_input()
H A Dif_bridge.c5054 next_packet = scan->m_nextpkt;
5055 scan->m_nextpkt = NULL;
5381 next_packet = scan->m_nextpkt;
5382 scan->m_nextpkt = NULL;
5809 for (mbuf_t scan = in_list; scan != NULL; scan = scan->m_nextpkt) {
5825 for (mbuf_t scan = in_list; scan != NULL; scan = scan->m_nextpkt) {
5982 next_packet = scan->m_nextpkt;
5983 scan->m_nextpkt = NULL;
6281 next_packet = scan->m_nextpkt;
6282 scan->m_nextpkt = NULL;
[all …]
H A Ddlil_input.c332 next_packet = m->m_nextpkt; in dlil_ifproto_input()
333 m->m_nextpkt = NULL; in dlil_ifproto_input()
786 next_packet = m->m_nextpkt; in dlil_input_packet_list_common()
787 m->m_nextpkt = NULL; in dlil_input_packet_list_common()
1070 pkt_next = &m->m_nextpkt; in dlil_input_packet_list_common()
H A Dif_ipsec.c1523 pcb->ipsec_input_chain = data->m_nextpkt; in ipsec_netif_sync_rx()
1524 data->m_nextpkt = NULL; in ipsec_netif_sync_rx()
1630 pcb->ipsec_input_chain_last->m_nextpkt = fragment_chain; in ipsec_netif_sync_rx()
1635 while (fragment_chain->m_nextpkt) { in ipsec_netif_sync_rx()
1636 VERIFY(fragment_chain != fragment_chain->m_nextpkt); in ipsec_netif_sync_rx()
1637 fragment_chain = fragment_chain->m_nextpkt; in ipsec_netif_sync_rx()
4119 pcb->ipsec_input_chain_last->m_nextpkt = packet; in ipsec_inject_inbound_packet()
4124 while (packet->m_nextpkt) { in ipsec_inject_inbound_packet()
4125 VERIFY(packet != packet->m_nextpkt); in ipsec_inject_inbound_packet()
4126 packet = packet->m_nextpkt; in ipsec_inject_inbound_packet()
/xnu-11417.140.69/bsd/kern/
H A Duipc_socket2.c992 if (m->m_nextpkt != NULL || (sb->sb_mb != sb->sb_lastrecord)) { in sbappendstream()
994 m->m_nextpkt, sb->sb_mb, sb->sb_lastrecord); in sbappendstream()
1063 n = m->m_nextpkt; in sbcheck()
1085 while (m && m->m_nextpkt) { in sblastrecordchk()
1086 m = m->m_nextpkt; in sblastrecordchk()
1096 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastrecordchk()
1109 while (m && m->m_nextpkt) { in sblastmbufchk()
1110 m = m->m_nextpkt; in sblastmbufchk()
1123 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastmbufchk()
1210 sb->sb_lastrecord->m_nextpkt = m0; in sbappendrecord_common()
[all …]
H A Duipc_socket.c2815 for (m = top; m != NULL; m = m->m_nextpkt) { in sosend_list()
2821 nextpkt = m->m_nextpkt; in sosend_list()
2827 m->m_nextpkt = NULL; in sosend_list()
2879 m->m_nextpkt = nextpkt; in sosend_list()
2885 prevnextp = &m->m_nextpkt; in sosend_list()
2904 top = m->m_nextpkt; in sosend_list()
2905 m->m_nextpkt = NULL; in sosend_list()
2991 m->m_nextpkt = NULL; in soreceive_addr()
3046 nextrecord = m->m_nextpkt = so->so_rcv.sb_mb; in soreceive_addr()
3078 m->m_nextpkt = nextrecord; in soreceive_addr()
[all …]
H A Dkern_control.c873 for (nxt = m; nxt != NULL; nxt = nxt->m_nextpkt) { in ctl_send_list()
887 struct mbuf *nextpkt = m->m_nextpkt; in ctl_send_list()
889 m->m_nextpkt = NULL; in ctl_send_list()
1085 nextpkt = m->m_nextpkt; in ctl_enqueuembuf_list()
1110 m->m_nextpkt = NULL; in ctl_enqueuembuf_list()
1151 for (n = m; n != NULL; n = n->m_nextpkt) { in ctl_enqueuembuf_list()
1269 m1 = m1->m_nextpkt; in ctl_getenqueuepacketcount()
H A Duipc_mbuf.c1235 (m)->m_next = (m)->m_nextpkt = NULL; \
1596 m->m_next = m->m_nextpkt = NULL; in m_elide()
1866 m->m_next = m->m_nextpkt = NULL; in mz_composite_destroy()
3278 m->m_next = m->m_nextpkt = NULL; in cslab_free()
4572 m->m_next = m->m_nextpkt = NULL;
4610 m->m_next = m->m_nextpkt = NULL;
4688 m->m_next = m->m_nextpkt = NULL;
5214 np = &m->m_nextpkt;
5416 np = &m->m_nextpkt;
5611 np = &first->m_nextpkt;
[all …]
/xnu-11417.140.69/bsd/skywalk/nexus/netif/
H A Dnx_netif_host.c462 m_head = m_head->m_nextpkt; in nx_netif_host_output()
463 m->m_nextpkt = NULL; in nx_netif_host_output()
571 m->m_nextpkt = free_list; in nx_netif_host_output()
609 m_head = m_head->m_nextpkt; in nx_netif_host_output()
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()
719 m = m->m_nextpkt; in nx_netif_mbuf_chain_info()
H A Dnx_netif_filter_compat.c112 m_tailp = &m->m_nextpkt; in nx_netif_filter_tx_processed_mbuf_dequeue()
/xnu-11417.140.69/bsd/sys/
H A Dmbuf.h652 #define m_nextpkt m_hdr.mh_nextpkt macro
653 #define m_act m_nextpkt
698 #define m_nextpkt M_hdr_common.M_hdr.mh_nextpkt macro
708 #define m_act m_nextpkt
1178 #define MBUFQ_NEXT(m) ((m)->m_nextpkt)
1187 __container_of((head)->mq_last, struct mbuf, m_nextpkt))
1191 struct mbuf * _saved = (_t)->m_nextpkt; \
1196 (_t)->m_nextpkt = _saved; \
/xnu-11417.140.69/bsd/net/pktsched/
H A Dpktsched.c345 VERIFY(m->m_nextpkt == NULL); in pktsched_free_pkt()
347 VERIFY(m->m_nextpkt != NULL); in pktsched_free_pkt()
398 VERIFY(m->m_nextpkt == NULL); in pktsched_drop_pkt()
400 VERIFY(m->m_nextpkt != NULL); in pktsched_drop_pkt()
H A Dpktsched_fq_codel.c216 pkt->cp_mbuf->m_nextpkt = next_pkt->cp_mbuf; in fq_if_append_mbuf()
328 ASSERT(tail->cp_mbuf->m_nextpkt == NULL); in fq_getq_flow_mbuf()
329 tail->cp_mbuf->m_nextpkt = pkt.pktsched_pkt_mbuf; in fq_getq_flow_mbuf()
332 tail->cp_mbuf->m_nextpkt = NULL; in fq_getq_flow_mbuf()
668 ASSERT(tail->cp_mbuf->m_nextpkt == NULL); in fq_dqlist_remove()
669 tail->cp_mbuf->m_nextpkt = fq->fq_dq_head.cp_mbuf; in fq_dqlist_remove()
670 ASSERT(fq->fq_dq_tail.cp_mbuf->m_nextpkt == NULL); in fq_dqlist_remove()
/xnu-11417.140.69/bsd/netinet/
H A Dip_input.c1440 tmp_mbuf = tmp_mbuf->m_nextpkt; in ip_input_check_interface()
2398 m->m_nextpkt = NULL; in ip_reass()
2437 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) { in ip_reass()
2463 m->m_nextpkt = p->m_nextpkt; in ip_reass()
2464 p->m_nextpkt = m; in ip_reass()
2466 m->m_nextpkt = fp->ipq_frags; in ip_reass()
2484 nq = q->m_nextpkt; in ip_reass()
2485 m->m_nextpkt = nq; in ip_reass()
2515 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) { in ip_reass()
2556 nq = q->m_nextpkt; in ip_reass()
[all …]
H A Dip_dummynet.c881 pipe->head = m->m_nextpkt; in transmit_event()
883 (*tail)->m_nextpkt = m; in transmit_event()
891 (*tail)->m_nextpkt = NULL; in transmit_event()
934 q->head = pkt->m_nextpkt; in move_pkt()
943 p->tail->m_nextpkt = pkt; in move_pkt()
946 p->tail->m_nextpkt = NULL; in move_pkt()
1260 n = m->m_nextpkt; in dummynet_send()
1261 m->m_nextpkt = NULL; in dummynet_send()
1798 q->tail->m_nextpkt = m; in dummynet_io()
1943 mnext = m->m_nextpkt; in purge_flow_set()
[all …]
H A Din_proto.c332 if (packet_list->m_nextpkt != NULL) { in ip_proto_input()
H A Dip_output.c1698 mppn = &m->m_nextpkt; in ip_output_list()
1699 m = m->m_nextpkt; in ip_output_list()
1813 m0 = m->m_nextpkt; in ip_output_list()
1814 m->m_nextpkt = 0; in ip_output_list()
1892 struct mbuf **mnext = &m->m_nextpkt, *m0; in ip_fragment()
1986 mnext = &m->m_nextpkt; in ip_fragment()
/xnu-11417.140.69/bsd/netinet6/
H A Dip6_output.c544 inputchain = m->m_nextpkt; in ip6_output_list()
545 m->m_nextpkt = NULL; in ip6_output_list()
1608 sendchain_last->m_nextpkt = m; in ip6_output_list()
1614 while (m->m_nextpkt) { in ip6_output_list()
1615 m = m->m_nextpkt; in ip6_output_list()
1625 inputchain = m->m_nextpkt; in ip6_output_list()
1626 m->m_nextpkt = NULL; in ip6_output_list()
1935 mnext = &new_m->m_nextpkt; in ip6_do_fragmentation()
1990 last_mbufp->m_nextpkt = NULL; in ip6_do_fragmentation()
/xnu-11417.140.69/bsd/net/classq/
H A Dclassq_subr.c435 head->cp_mbuf->m_nextpkt = NULL; in ifclassq_dequeue_common_default()
439 last.cp_mbuf->m_nextpkt = head->cp_mbuf; in ifclassq_dequeue_common_default()
/xnu-11417.140.69/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c298 m = m->m_nextpkt; in _mchain_agg_log()
2247 mhead = m->m_nextpkt; in flow_rx_agg_host()
2248 m->m_nextpkt = NULL; in flow_rx_agg_host()
2353 ASSERT(m->m_nextpkt == NULL); in flow_rx_agg_host()
2427 smbuf->m_nextpkt = m; in flow_rx_agg_host()

12