Searched refs:ethp (Results 1 – 1 of 1) sorted by relevance
2292 struct ether_header *ethp; in ipf_hook_ether() local2308 ethp = (struct ether_header *)mp->b_rptr; in ipf_hook_ether()2309 if ((etype = ntohs(ethp->ether_type)) == ETHERTYPE_VLAN) { in ipf_hook_ether()2311 (struct ether_vlan_header *)ethp; in ipf_hook_ether()2318 offset = sizeof (*ethp); in ipf_hook_ether()2331 if (bcmp(ipf_eth_bcast_addr, ethp, ETHERADDRL) == 0) in ipf_hook_ether()2333 else if (bcmp(ipf_eth_ipv4_mcast, ethp, in ipf_hook_ether()2336 else if (bcmp(ipf_eth_ipv6_mcast, ethp, in ipf_hook_ether()