Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/skywalk/nexus/netif/
H A Dnx_netif_host.c399 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 Dnx_netif_gso.c132 char *__single 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.c1385 h = m->m_pkthdr.pkt_hdr; in nx_netif_compat_na_rxsync()
/xnu-11417.140.69/bsd/net/
H A Ddlil_input.c334 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 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.c251 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 Dif_vlan.c1136 eh_p = (struct ether_header *)scan->m_pkthdr.pkt_hdr; in vlan_input_packet_list()
H A Dif_bond.c1847 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 Dif_bridge.c9931 header = m->m_pkthdr.pkt_hdr;
10001 scan->m_pkthdr.pkt_hdr);
/xnu-11417.140.69/bsd/netinet6/
H A Dfrag6.c185 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 Dip6_input.c315 (_m)->m_pkthdr.pkt_hdr != NULL) \
316 (_m)->m_pkthdr.pkt_hdr = NULL; \
/xnu-11417.140.69/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c2160 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 Dpktsched.c659 hdr = m->m_pkthdr.pkt_hdr; in pktsched_mbuf_mark_ecn()
/xnu-11417.140.69/bsd/netinet/
H A Dip_input.c418 (_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 Dkpi_mbuf.c814 return mbuf->m_pkthdr.pkt_hdr; in mbuf_pkthdr_header()
820 mbuf->m_pkthdr.pkt_hdr = (void*)header; in mbuf_pkthdr_setheader()
H A Duipc_mbuf.c1221 (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 Dmbuf.h367 void *pkt_hdr; /* pointer to packet header */ member
/xnu-11417.140.69/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c1414 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()