Home
last modified time | relevance | path

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

12

/xnu-12377.61.12/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.c133 packetlist = packetlist->m_nextpkt; in dlil_output()
134 m->m_nextpkt = NULL; in dlil_output()
441 send_tail = &m->m_nextpkt; in dlil_output()
494 packetlist = packetlist->m_nextpkt; in dlil_output()
495 m->m_nextpkt = NULL; in dlil_output()
534 send_head = send_m->m_nextpkt; in dlil_output()
535 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.h1156 (m)->m_nextpkt = NULL; \
1160 ((struct mbuf*)(ifq)->ifq_tail)->m_nextpkt = m; \
1166 (m)->m_nextpkt = (mbuf_ref_t)(ifq)->ifq_head; \
1176 if (((ifq)->ifq_head = (m)->m_nextpkt) == NULL) \
1178 (m)->m_nextpkt = NULL; \
1185 mbuf_ref_t _n = (m)->m_nextpkt; \
1189 if (_p->m_nextpkt == (m)) \
1191 _p = _p->m_nextpkt; \
1202 _p->m_nextpkt = _n; \
1203 (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.c5065 next_packet = scan->m_nextpkt;
5066 scan->m_nextpkt = NULL;
5393 next_packet = scan->m_nextpkt;
5394 scan->m_nextpkt = NULL;
5827 for (mbuf_t scan = in_list; scan != NULL; scan = scan->m_nextpkt) {
5843 for (mbuf_t scan = in_list; scan != NULL; scan = scan->m_nextpkt) {
6000 next_packet = scan->m_nextpkt;
6001 scan->m_nextpkt = NULL;
6299 next_packet = scan->m_nextpkt;
6300 scan->m_nextpkt = NULL;
[all …]
H A Ddlil_input.c333 next_packet = m->m_nextpkt; in dlil_ifproto_input()
334 m->m_nextpkt = NULL; in dlil_ifproto_input()
812 next_packet = m->m_nextpkt; in dlil_input_packet_list_common()
813 m->m_nextpkt = NULL; in dlil_input_packet_list_common()
1074 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()
4118 pcb->ipsec_input_chain_last->m_nextpkt = packet; in ipsec_inject_inbound_packet()
4123 while (packet->m_nextpkt) { in ipsec_inject_inbound_packet()
4124 VERIFY(packet != packet->m_nextpkt); in ipsec_inject_inbound_packet()
4125 packet = packet->m_nextpkt; in ipsec_inject_inbound_packet()
/xnu-12377.61.12/bsd/kern/
H A Duipc_socket2.c994 if (m->m_nextpkt != NULL || (sb->sb_mb != sb->sb_lastrecord)) { in sbappendstream()
996 m->m_nextpkt, sb->sb_mb, sb->sb_lastrecord); in sbappendstream()
1048 while (m && m->m_nextpkt) { in sblastrecordchk()
1049 m = m->m_nextpkt; in sblastrecordchk()
1059 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastrecordchk()
1072 while (m && m->m_nextpkt) { in sblastmbufchk()
1073 m = m->m_nextpkt; in sblastmbufchk()
1086 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { in sblastmbufchk()
1173 sb->sb_lastrecord->m_nextpkt = m0; in sbappendrecord_common()
1297 sb->sb_lastrecord->m_nextpkt = m; in sbappendchain()
[all …]
H A Duipc_socket.c2666 for (m = top; m != NULL; m = m->m_nextpkt) { in sosend_list()
2672 nextpkt = m->m_nextpkt; in sosend_list()
2678 m->m_nextpkt = NULL; in sosend_list()
2730 m->m_nextpkt = nextpkt; in sosend_list()
2736 prevnextp = &m->m_nextpkt; in sosend_list()
2755 top = m->m_nextpkt; in sosend_list()
2756 m->m_nextpkt = NULL; in sosend_list()
2845 m->m_nextpkt = NULL; in soreceive_addr()
2900 nextrecord = m->m_nextpkt = so->so_rcv.sb_mb; in soreceive_addr()
2932 m->m_nextpkt = nextrecord; in soreceive_addr()
[all …]
H A Duipc_mbuf.c733 m->m_next = m->m_nextpkt = NULL; in mbuf_init()
769 m->m_next = m->m_nextpkt = NULL; in m_elide()
1039 m->m_next = m->m_nextpkt = NULL; in mz_composite_destroy()
1704 m->m_next = m->m_nextpkt = NULL; in m_free()
1730 m->m_next = m->m_nextpkt = NULL; in m_free()
1789 m->m_next = m->m_nextpkt = NULL; in m_clattach()
2184 np = &m->m_nextpkt; in m_getpackets_internal()
2350 np = &m->m_nextpkt; in m_allocpacket_internal()
2509 np = &first->m_nextpkt; in m_allocpacket_internal()
2616 np = &m->m_nextpkt; in m_getpackethdrs()
[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_mcache.c1971 m->m_next = m->m_nextpkt = NULL; in cslab_free()
3136 m->m_next = m->m_nextpkt = NULL;
3162 m->m_next = m->m_nextpkt = NULL;
3223 m->m_next = m->m_nextpkt = NULL;
3502 np = &m->m_nextpkt;
3670 np = &m->m_nextpkt;
3829 np = &first->m_nextpkt;
3891 nextpkt = m->m_nextpkt;
3892 m->m_nextpkt = NULL;
3970 m->m_next = m->m_nextpkt = NULL;
[all …]
/xnu-12377.61.12/bsd/skywalk/nexus/netif/
H A Dnx_netif_host.c463 m_head = m_head->m_nextpkt; in nx_netif_host_output()
464 m->m_nextpkt = NULL; in nx_netif_host_output()
586 m->m_nextpkt = free_list; in nx_netif_host_output()
624 m_head = m_head->m_nextpkt; in nx_netif_host_output()
H A Dnx_netif_util.c247 next = m->m_nextpkt; in nx_netif_mbuf_to_filter_pkt_chain()
248 m->m_nextpkt = NULL; in nx_netif_mbuf_to_filter_pkt_chain()
297 m_tailp = &m->m_nextpkt; in nx_netif_filter_pkt_to_mbuf_chain()
696 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-12377.61.12/bsd/net/pktsched/
H A Dpktsched.c445 VERIFY(m->m_nextpkt == NULL); in pktsched_free_pkt()
447 VERIFY(m->m_nextpkt != NULL); in pktsched_free_pkt()
498 VERIFY(m->m_nextpkt == NULL); in pktsched_drop_pkt()
500 VERIFY(m->m_nextpkt != NULL); in pktsched_drop_pkt()
H A Dpktsched_fq_codel.c333 pkt->cp_mbuf->m_nextpkt = next_pkt->cp_mbuf; in fq_if_append_mbuf()
453 ASSERT(tail->cp_mbuf->m_nextpkt == NULL); in fq_getq_flow_mbuf()
454 tail->cp_mbuf->m_nextpkt = pkt.pktsched_pkt_mbuf; in fq_getq_flow_mbuf()
457 tail->cp_mbuf->m_nextpkt = NULL; in fq_getq_flow_mbuf()
894 ASSERT(tail->cp_mbuf->m_nextpkt == NULL); in fq_dqlist_remove()
895 tail->cp_mbuf->m_nextpkt = fq->fq_dq_head.cp_mbuf; in fq_dqlist_remove()
896 ASSERT(fq->fq_dq_tail.cp_mbuf->m_nextpkt == NULL); in fq_dqlist_remove()
/xnu-12377.61.12/bsd/sys/
H A Dmbuf.h661 #define m_nextpkt m_hdr.mh_nextpkt macro
662 #define m_act m_nextpkt
707 #define m_nextpkt M_hdr_common.M_hdr.mh_nextpkt macro
717 #define m_act m_nextpkt
1177 #define MBUFQ_NEXT(m) ((m)->m_nextpkt)
1186 __container_of((head)->mq_last, struct mbuf, m_nextpkt))
1190 struct mbuf * _saved = (_t)->m_nextpkt; \
1195 (_t)->m_nextpkt = _saved; \
/xnu-12377.61.12/bsd/netinet/
H A Dip_input.c1452 tmp_mbuf = tmp_mbuf->m_nextpkt; in ip_input_check_interface()
1995 m->m_nextpkt = NULL; in ip_reass()
2034 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) { in ip_reass()
2060 m->m_nextpkt = p->m_nextpkt; in ip_reass()
2061 p->m_nextpkt = m; in ip_reass()
2063 m->m_nextpkt = fp->ipq_frags; in ip_reass()
2081 nq = q->m_nextpkt; in ip_reass()
2082 m->m_nextpkt = nq; in ip_reass()
2112 for (p = NULL, q = fp->ipq_frags; q; p = q, q = q->m_nextpkt) { in ip_reass()
2153 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 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-12377.61.12/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-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c298 m = m->m_nextpkt; in _mchain_agg_log()
2248 mhead = m->m_nextpkt; in flow_rx_agg_host()
2249 m->m_nextpkt = NULL; in flow_rx_agg_host()
2354 ASSERT(m->m_nextpkt == NULL); in flow_rx_agg_host()
2428 smbuf->m_nextpkt = m; in flow_rx_agg_host()
/xnu-12377.61.12/bsd/net/classq/
H A Dclassq_subr.c436 head->cp_mbuf->m_nextpkt = NULL; in ifclassq_dequeue_common_default()
440 last.cp_mbuf->m_nextpkt = head->cp_mbuf; in ifclassq_dequeue_common_default()

12