| /xnu-12377.41.6/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.c | 398 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 D | nx_netif_util.c | 537 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in nx_netif_pkt_to_mbuf()
|
| H A D | nx_netif_gso.c | 132 char *__single ph = m->m_pkthdr.pkt_hdr; in netif_gso_get_frame_header_len()
|
| H A D | nx_netif_compat.c | 1386 h = m->m_pkthdr.pkt_hdr; in nx_netif_compat_na_rxsync()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | dlil_input.c | 335 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 D | if_loop.c | 117 &((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 D | dlil_output.c | 257 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 D | if_vlan.c | 1136 eh_p = (struct ether_header *)scan->m_pkthdr.pkt_hdr; in vlan_input_packet_list()
|
| H A D | if_bond.c | 1848 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 D | if_bridge.c | 9965 header = m->m_pkthdr.pkt_hdr;
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | frag6.c | 186 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 D | ip6_input.c | 315 (_m)->m_pkthdr.pkt_hdr != NULL) \ 316 (_m)->m_pkthdr.pkt_hdr = NULL; \
|
| /xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 2161 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 D | uipc_mbuf.c | 714 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 D | kpi_mbuf.c | 825 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 D | ip_input.c | 414 (_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 D | pktsched.c | 715 hdr = m->m_pkthdr.pkt_hdr; in pktsched_mbuf_mark_ecn()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | mbuf.h | 368 void *pkt_hdr; /* pointer to packet header */ member
|
| /xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 1433 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()
|