Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/skywalk/nexus/netif/
H A Dnx_netif_host.c327 uint8_t *pkt_hdr; in get_af_from_mbuf() local
332 pkt_hdr = m->m_pkthdr.pkt_hdr; in get_af_from_mbuf()
334 if (pkt_hdr >= (uint8_t *)m0->m_data && in get_af_from_mbuf()
335 pkt_hdr < (uint8_t *)m0->m_data + m0->m_len) { in get_af_from_mbuf()
344 ipv = IP_VHL_V(*pkt_hdr); in get_af_from_mbuf()
H A Dnx_netif_gso.c131 char *ph = m->m_pkthdr.pkt_hdr; in netif_gso_get_frame_header_len()
H A Dnx_netif_util.c561 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in nx_netif_pkt_to_mbuf()
H A Dnx_netif_compat.c1381 h = m->m_pkthdr.pkt_hdr; in nx_netif_compat_na_rxsync()
/xnu-8020.140.41/bsd/net/
H A Dif_loop.c117 &((struct loopback_header *)_m->m_pkthdr.pkt_hdr)-> \
304 m->m_pkthdr.pkt_hdr = mtod(m, char *); in lo_output()
357 m->m_pkthdr.pkt_hdr = mtod(m, char *); in lo_pre_enqueue()
H A Dif_vlan.c1279 m->m_pkthdr.pkt_hdr = frame_header; in vlan_input()
1286 m->m_pkthdr.pkt_hdr = frame_header; in vlan_input()
H A Ddlil.c5683 frame_header = m->m_pkthdr.pkt_hdr; in dlil_ifproto_input()
5684 m->m_pkthdr.pkt_hdr = NULL; in dlil_ifproto_input()
5857 frame_header = m->m_pkthdr.pkt_hdr; in dlil_input_packet_list_common()
5858 m->m_pkthdr.pkt_hdr = NULL; in dlil_input_packet_list_common()
6109 m->m_pkthdr.pkt_hdr = frame_header; in dlil_input_packet_list_common()
6575 m->m_pkthdr.pkt_hdr = mtod(m, char *) + ETHER_HDR_LEN + vlan_encap_len; in dlil_output()
6577 m->m_pkthdr.pkt_hdr = mtod(m, void *); in dlil_output()
H A Dif_bond.c1819 m->m_pkthdr.pkt_hdr = frame_header; in bond_input()
H A Dif_bridge.c6065 mc2->m_pkthdr.pkt_hdr = mbuf_data(mc2);
/xnu-8020.140.41/bsd/netinet6/
H A Dfrag6.c189 m->m_pkthdr.pkt_hdr = (void *)(uintptr_t)val; in frag6_save_context()
195 m->m_pkthdr.pkt_hdr = NULL; in frag6_scrub_context()
201 return (int)m->m_pkthdr.pkt_hdr; in frag6_restore_context()
H A Dip6_input.c312 (_m)->m_pkthdr.pkt_hdr != NULL) \
313 (_m)->m_pkthdr.pkt_hdr = NULL; \
/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c2022 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host()
2097 ASSERT((m->m_flags & M_PKTHDR) && m->m_pkthdr.pkt_hdr != NULL); in flow_rx_agg_host()
2112 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host()
2150 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host()
2208 (caddr_t)(smbuf->m_pkthdr.pkt_hdr)) + in flow_rx_agg_host()
/xnu-8020.140.41/bsd/netinet/
H A Dip_input.c413 (_m)->m_pkthdr.pkt_hdr != NULL) \
414 (_m)->m_pkthdr.pkt_hdr = NULL; \
2329 m->m_pkthdr.pkt_hdr = ip; in ip_reass()
2371 #define GETIP(m) ((struct ip *)((m)->m_pkthdr.pkt_hdr)) in ip_reass()
/xnu-8020.140.41/bsd/kern/
H A Dkpi_mbuf.c793 return mbuf->m_pkthdr.pkt_hdr; in mbuf_pkthdr_header()
799 mbuf->m_pkthdr.pkt_hdr = (void*)header; in mbuf_pkthdr_setheader()
H A Duipc_mbuf.c941 (m)->m_pkthdr.pkt_hdr = NULL; \
6651 VERIFY(m0->m_pkthdr.pkt_hdr == NULL);
/xnu-8020.140.41/bsd/sys/
H A Dmbuf.h362 void *pkt_hdr; /* pointer to packet header */ member
/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c1007 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in convert_native_pkt_to_mbuf_chain()