Lines Matching refs:ether_header
100 ASSERT(sizeof (struct ether_header) == 14);
147 struct ether_header *mh;
163 if (MBLKL(mp) < sizeof (struct ether_header))
165 mh = (struct ether_header *)mp->b_rptr;
169 pktinfo->macLen = sizeof (struct ether_header);
179 if (pktinfo->pktLen < sizeof (struct ether_header))
183 if (MBLKL(mp) < sizeof (struct ether_header)) {
195 mh = (struct ether_header *)mp->b_rptr;
264 pktinfo->macLen = sizeof (struct ether_header);
279 (sizeof (struct ether_header) + typelen);
298 if (MBLKL(mp) < sizeof (struct ether_header) + LLC_SNAP_HDR_LEN &&
342 struct ether_header *mh;
367 hdrlen = sizeof (struct ether_header);
403 if (hdrlen > sizeof (struct ether_header)) {
411 mh = (struct ether_header *)nmp->b_rptr;
432 struct ether_header *ehp;
452 /* transfer the ether_header fields */
454 ehp = (struct ether_header *)mp->b_rptr;
460 mp->b_rptr += sizeof (struct ether_header);
483 struct ether_header *mh;
508 hdrlen = sizeof (struct ether_header);
535 if (hdrlen > sizeof (struct ether_header)) {
543 mh = (struct ether_header *)nmp->b_rptr;