Searched refs:eh_p (Results 1 – 3 of 3) sorted by relevance
| /xnu-8019.80.24/tests/ |
| H A D | net_bridge.c | 944 const ether_header_t * eh_p; in ethernet_frame_validate() local 947 T_ASSERT_GE(buf_len, (u_int)sizeof(*eh_p), NULL); in ethernet_frame_validate() 948 eh_p = (const ether_header_t *)buf; in ethernet_frame_validate() 949 ether_type = ntohs(eh_p->ether_type); in ethernet_frame_validate() 950 ether_ntoa_buf((const ether_addr_t *)&eh_p->ether_dhost, in ethernet_frame_validate() 952 ether_ntoa_buf((const ether_addr_t *)&eh_p->ether_shost, in ethernet_frame_validate() 960 ip_frame_validate(eh_p + 1, (u_int)(buf_len - sizeof(*eh_p)), in ethernet_frame_validate() 964 arp_frame_validate((const struct ether_arp *)(eh_p + 1), in ethernet_frame_validate() 965 (u_int)(buf_len - sizeof(*eh_p)), in ethernet_frame_validate() 969 ip6_frame_validate(eh_p + 1, (u_int)(buf_len - sizeof(*eh_p)), in ethernet_frame_validate() [all …]
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_bond.c | 1011 const struct ether_header * eh_p, in bond_bpf_vlan() argument 1024 bcopy(eh_p, vlh_p, offsetof(struct ether_header, ether_type)); in bond_bpf_vlan() 1027 vlh_p->evl_proto = eh_p->ether_type; in bond_bpf_vlan() 1041 const struct ether_header * eh_p; in bond_bpf_output() local 1042 eh_p = mtod(m, const struct ether_header *); in bond_bpf_output() 1045 bond_bpf_vlan(ifp, m, eh_p, m->m_pkthdr.vlan_tag, func); in bond_bpf_output() 1056 bond_bpf_input(ifnet_t ifp, mbuf_t m, const struct ether_header * eh_p, in bond_bpf_input() argument 1061 bond_bpf_vlan(ifp, m, eh_p, m->m_pkthdr.vlan_tag, func); in bond_bpf_input() 1346 ether_header_hash(struct ether_header * eh_p) in ether_header_hash() argument 1351 h = (*((uint16_t *)&eh_p->ether_dhost[4]) << 16) in ether_header_hash() [all …]
|
| H A D | if_bridge.c | 7669 struct ether_header **eh_p, struct ether_arp **ea_p) 7722 *eh_p = eh;
|