| /xnu-11417.140.69/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.c | 399 uint8_t *__single pkt_hdr; in get_af_from_mbuf() local 404 pkt_hdr = m->m_pkthdr.pkt_hdr; in get_af_from_mbuf() 406 if (pkt_hdr >= (uint8_t *)m0->m_data && in get_af_from_mbuf() 407 pkt_hdr < (uint8_t *)m0->m_data + m0->m_len) { in get_af_from_mbuf() 416 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_gso.c | 132 char *__single ph = m->m_pkthdr.pkt_hdr; in netif_gso_get_frame_header_len()
|
| H A D | nx_netif_util.c | 561 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in nx_netif_pkt_to_mbuf()
|
| H A D | nx_netif_compat.c | 1385 h = m->m_pkthdr.pkt_hdr; in nx_netif_compat_na_rxsync()
|
| /xnu-11417.140.69/bsd/net/ |
| H A D | dlil_input.c | 334 frame_header_ptr = m->m_pkthdr.pkt_hdr; in dlil_ifproto_input() 336 m->m_pkthdr.pkt_hdr = NULL; in dlil_ifproto_input() 788 frame_header = m->m_pkthdr.pkt_hdr; in dlil_input_packet_list_common() 789 m->m_pkthdr.pkt_hdr = NULL; in dlil_input_packet_list_common() 836 if (m->m_pkthdr.pkt_hdr != NULL) { in dlil_input_packet_list_common() 837 frame_header = m->m_pkthdr.pkt_hdr; in dlil_input_packet_list_common() 838 m->m_pkthdr.pkt_hdr = NULL; in dlil_input_packet_list_common() 895 char *fh = __unsafe_forge_bidi_indexable(char *, m->m_pkthdr.pkt_hdr, ifnet_hdrlen(ifp)); in dlil_input_packet_list_common() 1064 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 | 251 m->m_pkthdr.pkt_hdr = mtod(m, char *) + ETHER_HDR_LEN + vlan_encap_len; in dlil_output() 253 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 | 1847 frame_header = scan->m_pkthdr.pkt_hdr; in bond_input_packet_list() 1879 frame_header = scan->m_pkthdr.pkt_hdr; in bond_input()
|
| H A D | if_bridge.c | 9931 header = m->m_pkthdr.pkt_hdr; 10001 scan->m_pkthdr.pkt_hdr);
|
| /xnu-11417.140.69/bsd/netinet6/ |
| H A D | frag6.c | 185 m->m_pkthdr.pkt_hdr = __unsafe_forge_single(void *, val); in frag6_save_context() 191 m->m_pkthdr.pkt_hdr = NULL; in frag6_scrub_context() 197 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-11417.140.69/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 2160 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host() 2252 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host() 2351 ASSERT((m->m_flags & M_PKTHDR) && m->m_pkthdr.pkt_hdr != NULL); in flow_rx_agg_host() 2394 m->m_pkthdr.pkt_hdr = mtod(m, uint8_t *); in flow_rx_agg_host() 2459 ((m_mtod_current(smbuf) - (caddr_t)(smbuf->m_pkthdr.pkt_hdr)) + MASK_SIZE))) { in flow_rx_agg_host()
|
| /xnu-11417.140.69/bsd/net/pktsched/ |
| H A D | pktsched.c | 659 hdr = m->m_pkthdr.pkt_hdr; in pktsched_mbuf_mark_ecn()
|
| /xnu-11417.140.69/bsd/netinet/ |
| H A D | ip_input.c | 418 (_m)->m_pkthdr.pkt_hdr != NULL) \ 419 (_m)->m_pkthdr.pkt_hdr = NULL; \ 2371 m->m_pkthdr.pkt_hdr = ip; in ip_reass() 2413 #define GETIP(m) ((struct ip *)((m)->m_pkthdr.pkt_hdr)) in ip_reass()
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | kpi_mbuf.c | 814 return mbuf->m_pkthdr.pkt_hdr; in mbuf_pkthdr_header() 820 mbuf->m_pkthdr.pkt_hdr = (void*)header; in mbuf_pkthdr_setheader()
|
| H A D | uipc_mbuf.c | 1221 (m)->m_pkthdr.pkt_hdr = NULL; \ 1600 m->m_pkthdr.pkt_hdr = NULL; in m_elide() 6035 if (m->m_pkthdr.pkt_hdr == NULL) { 6050 m->m_pkthdr.pkt_hdr != NULL) { 6051 frame_header = m->m_pkthdr.pkt_hdr; 6090 m->m_pkthdr.pkt_hdr != NULL) { 6091 frame_header = m->m_pkthdr.pkt_hdr; 7738 VERIFY(m0->m_pkthdr.pkt_hdr == NULL);
|
| /xnu-11417.140.69/bsd/sys/ |
| H A D | mbuf.h | 367 void *pkt_hdr; /* pointer to packet header */ member
|
| /xnu-11417.140.69/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 1414 m->m_pkthdr.pkt_hdr = m_mtod_current(m); in convert_native_pktq_to_mbufs() 2798 m->m_pkthdr.pkt_hdr = m_mtod_current(m) + pkt->pkt_l2_len; in convert_pkt_to_mbuf()
|