Lines Matching refs:eh
331 bpf_set_bcast_mcast(mbuf_t m, struct ether_header * eh) in bpf_set_bcast_mcast() argument
333 if (ETHER_IS_MULTICAST(eh->ether_dhost)) { in bpf_set_bcast_mcast()
334 if (_ether_cmp(etherbroadcastaddr, eh->ether_dhost) == 0) { in bpf_set_bcast_mcast()
511 struct ether_header * eh; in bpf_movein() local
513 eh = (struct ether_header *)(void *)sockp->sa_data; in bpf_movein()
514 bpf_set_bcast_mcast(m, eh); in bpf_movein()
536 struct ether_header *eh; in bpf_movein() local
538 eh = mtod(m, struct ether_header *); in bpf_movein()
539 bpf_set_bcast_mcast(m, eh); in bpf_movein()
3894 struct ether_header eh = {}; in get_ether_trunc_len() local
3895 err = bpf_copydata(pkt, off, sizeof(struct ether_header), &eh); in get_ether_trunc_len()
3900 u_short type = EXTRACT_SHORT(&eh.ether_type); in get_ether_trunc_len()