Home
last modified time | relevance | path

Searched refs:ethp (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c2292 struct ether_header *ethp; in ipf_hook_ether() local
2308 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()