Home
last modified time | relevance | path

Searched refs:frame_header (Results 1 – 15 of 15) sorted by relevance

/xnu-11215/bsd/net/
H A Dether_if_module.c367 ether_remove_vlan_encapsulation(ifnet_t ifp, mbuf_t m, char * frame_header, in ether_remove_vlan_encapsulation() argument
384 if (frame_header < (char *)mbuf_datastart(m) || in ether_remove_vlan_encapsulation()
385 frame_header > current) { in ether_remove_vlan_encapsulation()
388 ifp->if_xname, current, frame_header); in ether_remove_vlan_encapsulation()
391 if ((current - frame_header) < ETHER_HDR_LEN) { in ether_remove_vlan_encapsulation()
394 ifp->if_xname, current, frame_header); in ether_remove_vlan_encapsulation()
414 (m_mtod_lower_bound(m) + (frame_header - m_mtod_lower_bound(m))); in ether_remove_vlan_encapsulation()
448 ether_demux(ifnet_t ifp, mbuf_t m, char *frame_header, in ether_demux() argument
451 struct ether_header * __single eh = (struct ether_header *)(void *)frame_header; in ether_demux()
509 if (!ether_remove_vlan_encapsulation(ifp, m, frame_header, &tag, in ether_demux()
H A Ddroptap.c349 uint16_t linenum, uint16_t flags, struct ifnet *ifp, char *frame_header) in droptap_input_mbuf() argument
365 if (frame_header != NULL && frame_header >= start && frame_header <= hdr) { in droptap_input_mbuf()
367 u_int32_t pre = (u_int32_t)(hdr - frame_header); in droptap_input_mbuf()
369 if (mbuf_setdata(m, frame_header, o_len + pre) == 0) { in droptap_input_mbuf()
H A Dpktap.c1334 char *frame_header) in pktap_input() argument
1348 if (frame_header != NULL && frame_header >= start && frame_header <= hdr) { in pktap_input()
1350 u_int32_t pre = (u_int32_t)(hdr - frame_header); in pktap_input()
1352 if (mbuf_setdata(m, frame_header, o_len + pre) == 0) { in pktap_input()
H A Dif_gif.c127 mbuf_t m, char *frame_header);
177 __unused char *frame_header, in gif_demux() argument
631 __unused char *frame_header) in gif_input() argument
H A Dndrv.c186 char *frame_header = __unsafe_forge_bidi_indexable(char *, in ndrv_input() local
201 bcopy(frame_header, &ndrvsrc.sdl_data, 6); in ndrv_input()
208 bcopy(frame_header, m_mtod_current(m), ifnet_hdrlen(ifp)); in ndrv_input()
H A Dif_loop.c191 lo_demux(struct ifnet *ifp, struct mbuf *m, char *frame_header, in lo_demux() argument
196 (struct loopback_header *)(void *)frame_header; in lo_demux()
H A Ddlil.c5782 char * frame_header; in dlil_ifproto_input() local
5787 frame_header = m->m_pkthdr.pkt_hdr; in dlil_ifproto_input()
5942 char *frame_header = NULL; in dlil_input_packet_list_common() local
5983 frame_header = m->m_pkthdr.pkt_hdr; in dlil_input_packet_list_common()
6032 frame_header = m->m_pkthdr.pkt_hdr; in dlil_input_packet_list_common()
6107 frame_header = data; in dlil_input_packet_list_common()
6124 frame_header = data - ETHER_HDR_LEN; in dlil_input_packet_list_common()
6163 if (frame_header == NULL || in dlil_input_packet_list_common()
6248 m->m_pkthdr.pkt_hdr = frame_header; in dlil_input_packet_list_common()
11690 if (frame_header == NULL || in dlil_input_cksum_dbg()
[all …]
H A Dif_fake.c3760 void * frame_header; in feth_output_common() local
3782 frame_header = mbuf_data(m); in feth_output_common()
3783 mbuf_pkthdr_setheader(m, frame_header); in feth_output_common()
3788 (uint64_t)VM_KERNEL_ADDRPERM(frame_header), in feth_output_common()
3792 frame_header = mbuf_data(m); in feth_output_common()
3793 mbuf_pkthdr_setheader(m, frame_header); in feth_output_common()
3799 fake_bpf_tap_out(ifp, m, frame_header); in feth_output_common()
3804 fake_bpf_tap_in(peer, m, frame_header); in feth_output_common()
H A Dif_bond.c1837 void * __single frame_header; in bond_input_packet_list() local
1847 frame_header = scan->m_pkthdr.pkt_hdr; in bond_input_packet_list()
1848 eh_p = (struct ether_header *)frame_header; in bond_input_packet_list()
1869 void * __single frame_header; in bond_input() local
1879 frame_header = scan->m_pkthdr.pkt_hdr; in bond_input()
1880 eh_p = (struct ether_header *)frame_header; in bond_input()
H A Dif_stf.c206 __unused char *frame_header) in stf_media_input() argument
H A Dif_utun.c167 static errno_t utun_demux(ifnet_t interface, mbuf_t data, char *frame_header,
179 mbuf_t m, char *frame_header);
2702 __unused char *frame_header, in utun_demux() argument
2876 __unused char *frame_header) in utun_proto_input() argument
H A Dif_ipsec.c89 static errno_t ipsec_demux(ifnet_t interface, mbuf_t data, char *frame_header,
101 mbuf_t m, char *frame_header);
3874 __unused char *frame_header, in ipsec_demux() argument
4029 __unused char *frame_header) in ipsec_proto_input() argument
H A Dkpi_interface.h379 char *frame_header, protocol_family_t *protocol_family);
H A Dif_redirect.c1843 redirect_demux(__unused ifnet_t ifp, mbuf_t data, __unused char *frame_header, in redirect_demux() argument
/xnu-11215/bsd/kern/
H A Duipc_mbuf.c6044 char *frame_header; local
6051 frame_header = m->m_pkthdr.pkt_hdr;
6053 frame_header = NULL;
6058 m->m_pkthdr.rcvif, frame_header);
6098 char *frame_header; local
6104 frame_header = m->m_pkthdr.pkt_hdr;
6106 frame_header = NULL;
6111 frame_header);