Lines Matching defs:mhip
103 * mhip. Further, the mac_vlan_header_info() function ensures that the
109 #define DLS_PREPARE_PKT(mh, mp, mhip, err) { \
111 if (((err) = mac_vlan_header_info((mh), (mp), (mhip))) == 0) { \
112 DLS_STRIP_PADDING((mhip)->mhi_pktsize, (mp)); \
113 if (MBLKL((mp)) < (mhip)->mhi_hdrsize) { \
122 (mp), (mhip)) == 0); \
124 (mp)->b_rptr += (mhip)->mhi_hdrsize; \
127 (mp)->b_rptr += (mhip)->mhi_hdrsize; \
142 i_dls_link_subchain(dls_link_t *dlp, mblk_t *mp, const mac_header_info_t *mhip,
148 uint16_t vid = VLAN_ID(mhip->mhi_tci);
149 uint16_t pri = VLAN_PRI(mhip->mhi_tci);
171 if (mhip->mhi_saddr == NULL || cmhi.mhi_saddr == NULL ||
172 memcmp(mhip->mhi_daddr, cmhi.mhi_daddr, addr_size) != 0 ||
173 memcmp(mhip->mhi_saddr, cmhi.mhi_saddr, addr_size) != 0 ||
174 mhip->mhi_bindsap != cmhi.mhi_bindsap) {
197 if ((mhip->mhi_istagged != cmhi.mhi_istagged) ||
272 mac_header_info_t *mhip, mblk_t *mp, uint32_t sap,
307 if (!acceptfunc(dsp, mhip, &ds_rx, &ds_rx_arg))
321 ds_rx(ds_rx_arg, mrh, nmp, mhip);