Searched refs:ether_header (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Detherdefs.h71 typedef struct ether_header ether_header_t;
H A Dether_at_pr_module.c122 m->m_data -= sizeof(struct ether_header);
123 m->m_len += sizeof(struct ether_header);
124 m->m_pkthdr.len += sizeof(struct ether_header);
147 const struct ether_header *eh;
163 eh = (const struct ether_header *)dst_netaddr->sa_data;
169 eh = (const struct ether_header *)dst_netaddr->sa_data;
H A Dbridge.h119 struct ifnet *bridge_in(struct ifnet *ifp, struct ether_header *eh);
121 struct mbuf *bdg_forward(struct mbuf *m0, struct ether_header *eh, struct ifnet *dst);
182 bridge_dst_lookup(struct ether_header *eh)
H A Dethernet.h77 struct ether_header { struct
H A Dether_if_module.c372 struct ether_header *eh = (struct ether_header *)frame_header;
515 struct ether_header *eh;
550 M_PREPEND(*m, sizeof (struct ether_header), M_DONTWAIT);
556 eh = mtod(*m, struct ether_header *);
H A Ddlil.h80 struct ether_header;
H A Dether_inet_pr_module.c187 struct ether_header *eh = mbuf_pkthdr_header(m);
228 const struct ether_header *eh;
256 eh = (const struct ether_header *)dst_netaddr->sa_data;
400 struct ether_header *eh;
H A Dbridge.c532 bridge_in(struct ifnet *ifp, struct ether_header *eh)
636 bdg_forward(struct mbuf *m0, struct ether_header *const eh, struct ifnet *dst)
653 struct ether_header save_eh = *eh ;
776 bcopy(&save_eh, mtod(m, struct ether_header *), ETHER_HDR_LEN);
836 bcopy(&save_eh, mtod(m, struct ether_header *), ETHER_HDR_LEN);
H A Dif_fddisubr.c262 struct ether_header *eh;
264 eh = (struct ether_header *)dst->sa_data;
530 register struct ether_header *eh;
542 eh = (struct ether_header *)sa.sa_data;
H A Dif_bond.c515 size = length + sizeof(struct ether_header);
533 return (buf->m_data + sizeof(struct ether_header));
995 const struct ether_header * eh_p,
1008 bcopy(eh_p, vlh_p, offsetof(struct ether_header, ether_type));
1025 const struct ether_header * eh_p;
1026 eh_p = mtod(m, const struct ether_header *);
1040 bond_bpf_input(ifnet_t ifp, mbuf_t m, const struct ether_header * eh_p,
1221 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
1327 ether_header_hash(struct ether_header * eh_p)
1426 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header);
[all...]
H A Dif_var.h302 struct ether_header;
H A Ddlil.c1327 struct ether_header *eh = mtod(m, struct ether_header *);
1506 struct ether_header *eh = mtod(m, struct ether_header *);
H A Dbpf.c266 hlen = sizeof(struct ether_header);
H A Dif_vlan.c851 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/
H A Dkdp_udp.c379 struct ether_header *eh = NULL;
421 pkt.off -= sizeof (struct ether_header);
423 eh = (struct ether_header *)&pkt.data[pkt.off];
429 pkt.len += sizeof (struct ether_header);
447 struct ether_header *eh;
488 pkt.off -= sizeof (struct ether_header);
490 eh = (struct ether_header *)&pkt.data[pkt.off];
495 pkt.len += sizeof (struct ether_header);
557 arp_header_offset = sizeof(struct ether_header) + pkt.off;
596 struct ether_header *e
[all...]
H A Dkdp_udp.h123 struct ether_header { struct
129 typedef struct ether_header ether_header_t;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_fw2.h451 struct ether_header *eh; /* for bridged packets */
H A Dip_compat.h706 typedef struct ether_header ether_header_t;
H A Dip_fw2.c560 ipfw_log(struct ip_fw *f, u_int hlen, struct ether_header *eh,

Completed in 75 milliseconds