| /xnu-11215/bsd/net/ |
| H A D | ether_if_module.c | 367 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 D | droptap.c | 349 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 D | pktap.c | 1334 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 D | if_gif.c | 127 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 D | ndrv.c | 186 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 D | if_loop.c | 191 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 D | dlil.c | 5782 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 D | if_fake.c | 3760 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 D | if_bond.c | 1837 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 D | if_stf.c | 206 __unused char *frame_header) in stf_media_input() argument
|
| H A D | if_utun.c | 167 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 D | if_ipsec.c | 89 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 D | kpi_interface.h | 379 char *frame_header, protocol_family_t *protocol_family);
|
| H A D | if_redirect.c | 1843 redirect_demux(__unused ifnet_t ifp, mbuf_t data, __unused char *frame_header, in redirect_demux() argument
|
| /xnu-11215/bsd/kern/ |
| H A D | uipc_mbuf.c | 6044 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);
|