Searched refs:pether (Results 1 – 1 of 1) sorted by relevance
7853 struct ether_header *pether; in ip_mdata_to_mhi() local7859 pether = (struct ether_header *)((char *)mp->b_rptr in ip_mdata_to_mhi()7871 if ((uchar_t *)pether < mp->b_datap->db_base) in ip_mdata_to_mhi()7876 if (pether->ether_type != htons(ETHERTYPE_IPV6)) { in ip_mdata_to_mhi()7877 pether = (struct ether_header *)((char *)pether - 4); in ip_mdata_to_mhi()7881 if (pether->ether_type != htons(ETHERTYPE_IP)) { in ip_mdata_to_mhi()7882 pether = (struct ether_header *)((char *)pether - 4); in ip_mdata_to_mhi()7886 mhip->mhi_daddr = (uchar_t *)&pether->ether_dhost; in ip_mdata_to_mhi()7887 mhip->mhi_saddr = (uchar_t *)&pether->ether_shost; in ip_mdata_to_mhi()