Home
last modified time | relevance | path

Searched refs:pkt_hdr (Results 1 – 19 of 19) sorted by relevance

/xnu-12377.41.6/bsd/skywalk/nexus/netif/
H A Dnx_netif_host.c398 uint8_t *__single pkt_hdr; in get_af_from_mbuf() local
403 pkt_hdr = m->m_pkthdr.pkt_hdr; in get_af_from_mbuf()
405 if (pkt_hdr >= (uint8_t *)m0->m_data && in get_af_from_mbuf()
406 pkt_hdr < (uint8_t *)m0->m_data + m0->m_len) { in get_af_from_mbuf()
415 ipv = IP_VHL_V(*pkt_hdr); in get_af_from_mbuf()
630 char *__single pkt_hdr; in get_l2_hlen() local
634 pkt_hdr = m->m_pkthdr.pkt_hdr; in get_l2_hlen()
636 if (pkt_hdr >= m_mtod_current(m0) && in get_l2_hlen()
637 pkt_hdr < m_mtod_current(m0) + m0->m_len) { in get_l2_hlen()
643 DTRACE_SKYWALK2(bad__pkthdr, struct mbuf *, m, char *, pkt_hdr); in get_l2_hlen()
[all …]
H A Dnx_netif_util.c537 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in nx_netif_pkt_to_mbuf()
H A Dnx_netif_gso.c132 char *__single ph = m->m_pkthdr.pkt_hdr; in netif_gso_get_frame_header_len()
H A Dnx_netif_compat.c1386 h = m->m_pkthdr.pkt_hdr; in nx_netif_compat_na_rxsync()
/xnu-12377.41.6/bsd/net/
H A Ddlil_input.c335 frame_header_ptr = m->m_pkthdr.pkt_hdr; in dlil_ifproto_input()
337 m->m_pkthdr.pkt_hdr = NULL; in dlil_ifproto_input()
814 frame_header = m->m_pkthdr.pkt_hdr; in dlil_input_packet_list_common()
815 m->m_pkthdr.pkt_hdr = NULL; in dlil_input_packet_list_common()
862 if (m->m_pkthdr.pkt_hdr != NULL) { in dlil_input_packet_list_common()
863 frame_header = m->m_pkthdr.pkt_hdr; in dlil_input_packet_list_common()
864 m->m_pkthdr.pkt_hdr = NULL; in dlil_input_packet_list_common()
899 char *fh = __unsafe_forge_bidi_indexable(char *, m->m_pkthdr.pkt_hdr, ifnet_hdrlen(ifp)); in dlil_input_packet_list_common()
1068 m->m_pkthdr.pkt_hdr = frame_header; in dlil_input_packet_list_common()
H A Dif_loop.c117 &((struct loopback_header *)_m->m_pkthdr.pkt_hdr)-> \
306 m->m_pkthdr.pkt_hdr = mtod(m, char *); in lo_output()
359 m->m_pkthdr.pkt_hdr = mtod(m, char *); in lo_pre_enqueue()
H A Ddlil_output.c257 m->m_pkthdr.pkt_hdr = mtod(m, char *) + ETHER_HDR_LEN + vlan_encap_len; in dlil_output()
259 m->m_pkthdr.pkt_hdr = mtod(m, void *); in dlil_output()
H A Dif_vlan.c1136 eh_p = (struct ether_header *)scan->m_pkthdr.pkt_hdr; in vlan_input_packet_list()
H A Dif_bond.c1848 frame_header = scan->m_pkthdr.pkt_hdr; in bond_input_packet_list()
1880 frame_header = scan->m_pkthdr.pkt_hdr; in bond_input()
H A Dif_bridge.c9965 header = m->m_pkthdr.pkt_hdr;
/xnu-12377.41.6/bsd/netinet6/
H A Dfrag6.c186 m->m_pkthdr.pkt_hdr = __unsafe_forge_single(void *, val); in frag6_save_context()
192 m->m_pkthdr.pkt_hdr = NULL; in frag6_scrub_context()
198 return (int)m->m_pkthdr.pkt_hdr; in frag6_restore_context()
H A Dip6_input.c315 (_m)->m_pkthdr.pkt_hdr != NULL) \
316 (_m)->m_pkthdr.pkt_hdr = NULL; \
/xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c2161 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host()
2253 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host()
2352 ASSERT((m->m_flags & M_PKTHDR) && m->m_pkthdr.pkt_hdr != NULL); in flow_rx_agg_host()
2395 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host()
2460 ((m_mtod_current(smbuf) - (caddr_t)(smbuf->m_pkthdr.pkt_hdr)) + MASK_SIZE))) { in flow_rx_agg_host()
/xnu-12377.41.6/bsd/kern/
H A Duipc_mbuf.c714 m->m_pkthdr.pkt_hdr = NULL; in mbuf_init_pkthdr()
773 m->m_pkthdr.pkt_hdr = NULL; in m_elide()
2838 if (m->m_pkthdr.pkt_hdr == NULL) { in m_drop_list()
2853 m->m_pkthdr.pkt_hdr != NULL) { in m_drop_list()
2854 frame_header = m->m_pkthdr.pkt_hdr; in m_drop_list()
2893 m->m_pkthdr.pkt_hdr != NULL) { in m_drop_common()
2894 frame_header = m->m_pkthdr.pkt_hdr; in m_drop_common()
4384 VERIFY(m0->m_pkthdr.pkt_hdr == NULL); in m_defrag_offset()
H A Dkpi_mbuf.c825 return mbuf->m_pkthdr.pkt_hdr; in mbuf_pkthdr_header()
831 mbuf->m_pkthdr.pkt_hdr = (void*)header; in mbuf_pkthdr_setheader()
/xnu-12377.41.6/bsd/netinet/
H A Dip_input.c414 (_m)->m_pkthdr.pkt_hdr != NULL) \
415 (_m)->m_pkthdr.pkt_hdr = NULL; \
1968 m->m_pkthdr.pkt_hdr = ip; in ip_reass()
2010 #define GETIP(m) ((struct ip *)((m)->m_pkthdr.pkt_hdr)) in ip_reass()
/xnu-12377.41.6/bsd/net/pktsched/
H A Dpktsched.c715 hdr = m->m_pkthdr.pkt_hdr; in pktsched_mbuf_mark_ecn()
/xnu-12377.41.6/bsd/sys/
H A Dmbuf.h368 void *pkt_hdr; /* pointer to packet header */ member
/xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c1433 m->m_pkthdr.pkt_hdr = m_mtod_current(m); in convert_native_pktq_to_mbufs()
2875 m->m_pkthdr.pkt_hdr = m_mtod_current(m) + pkt->pkt_l2_len; in convert_pkt_to_mbuf()