/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_trill.c | 37 interpret_trill(int flags, struct ether_header **e, char *data, int *alen) 40 struct ether_header *inner_ethhdr; 85 if (dlen < sizeof (struct ether_header)) { 91 inner_ethhdr = (struct ether_header *)(data + trillhdrlen);
|
H A D | snoop_ether.c | 128 struct ether_header *e = (struct ether_header *)header; 178 len = elen - sizeof (struct ether_header); 326 e = (struct ether_header *)data; 392 if (msgsize < sizeof (struct ether_header)) 395 e += (offsetof(struct ether_header, ether_type)); 402 return (sizeof (struct ether_header));
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | ether.c | 65 struct ether_header *eh; 72 eh = (struct ether_header *)pkt - 1; 101 struct ether_header *eh; 108 eh = (struct ether_header *)pkt - 1;
|
H A D | arp.c | 80 struct ether_header eh; 87 struct ether_header eh;
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 85 struct ether_header *ehp; 92 if (MBLKL(cmp) < sizeof (struct ether_header)) { 117 ehp = (struct ether_header *)cmp->b_rptr;
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tcp.c | 65 sfxge_pkthdr_parse(mblk_t *mp, struct ether_header **etherhpp, 70 struct ether_header *etherhp; 93 etherhs = sizeof (struct ether_header); 98 etherhp = (struct ether_header *)(mp->b_rptr);
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_rr.c | 72 etype = ntohs(((struct ether_header *)pHdr)->ether_type); 81 eHdrSize = sizeof(struct ether_header);
|
/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_wifi.c | 378 struct ether_header *ehp; 381 if (MBLKL(mp) < sizeof (struct ether_header)) 395 mp->b_rptr += sizeof (struct ether_header); 409 struct ether_header eh; 429 ASSERT(mhi.mhi_hdrsize >= sizeof (struct ether_header)); 430 mp->b_rptr += mhi.mhi_hdrsize - sizeof (struct ether_header); 431 bcopy(&eh, mp->b_rptr, sizeof (struct ether_header));
|
H A D | mac_ether.c | 382 struct ether_header *ehp; 389 mp = allocb(sizeof (struct ether_header) + extra_len, BPRI_HI); 405 mp->b_wptr += sizeof (struct ether_header); 413 struct ether_header *ehp; 416 if (MBLKL(mp) < sizeof (struct ether_header)) 422 hdr_info->mhi_hdrsize = sizeof (struct ether_header);
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ethernet.c | 62 struct ether_header arp_eh; 64 #define USED_SIZE (sizeof (struct ether_header) + sizeof (struct ether_arp)) 272 return (sizeof (struct ether_header)); 294 struct ether_header *eh; 330 bzero(mac_state.mac_buf, sizeof (struct ether_header)); 378 eh = (struct ether_header *)mac_state.mac_buf; 380 len >= (sizeof (struct ether_header) + 394 offset = sizeof (struct ether_header); 417 len >= (sizeof (struct ether_header) + 429 sizeof (struct ether_header)); [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 117 mp->b_rptr += sizeof (struct ether_header); 150 nmp = allocb(sizeof (struct ether_header), BPRI_MED); 170 nmp->b_wptr += sizeof (struct ether_header);
|
H A D | vsw_switching.c | 102 boolean_t vsw_frame_lookup_vid(void *arg, int caller, struct ether_header *ehp, 121 static mblk_t *vsw_get_same_dest_list(struct ether_header *ehp, mblk_t **mpp); 459 struct ether_header *ehp; 474 ehp = (struct ether_header *)bp->b_rptr; 604 struct ether_header *ehp; 624 ehp = (struct ether_header *)bp->b_rptr; 790 struct ether_header *ehp = (struct ether_header *)mp->b_rptr; 1245 struct ether_header *ehp; 1273 ehp = (struct ether_header *)b [all...] |
/illumos-gate/usr/src/uts/common/io/fcoe/ |
H A D | fcoe.h | 186 struct ether_header *fmi_efh; /* 14 bytes eth header */ 219 #define PADDING_HEADER_SIZE (sizeof (struct ether_header) + \
|
/illumos-gate/usr/src/lib/libbc/inc/include/netinet/ |
H A D | if_ether.h | 34 struct ether_header { struct
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | llc1.c | 1318 struct ether_header *hdr; 1353 hdr = (struct ether_header *)nmp->b_rptr; 1504 struct ether_header *hdr; 1508 hdr = (struct ether_header *)mp->b_rptr; 1511 sizeof (struct ether_header)); 1514 (void) adjmsg(mp, i + sizeof (struct ether_header) - 2149 struct ether_header *hdr; 2154 hdr = (struct ether_header *)mp->b_rptr; 2170 mp->b_rptr += sizeof (struct ether_header) + 2173 mp->b_rptr += sizeof (struct ether_header); [all...] |
H A D | gldutil.c | 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) [all...] |
H A D | trill.c | 153 struct ether_header *inner_ethhdr; 156 inner_ethhdr = (struct ether_header *)mp->b_rptr; 157 DTRACE_PROBE1(trill__recv__local, struct ether_header *, inner_ethhdr); 201 struct ether_header *ethhdr; 228 ethhdr = (struct ether_header *)fwd_mp->b_rptr; 233 ethhdrlen = sizeof (struct ether_header) + 383 struct ether_header *ethhdr; 428 sizeof (struct ether_header); 443 ethhdr = (struct ether_header *)(mp->b_rptr + trillhdrlen); 452 ethhdr = (struct ether_header *)(m [all...] |
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 97 struct ether_header *eh; 166 struct ether_header *eh = pkt;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ethernet.h | 58 struct ether_header { struct
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 108 struct ether_header *ehp; 139 ehp = (struct ether_header *)mp->b_rptr; 150 offset = sizeof (struct ether_header); 322 struct ether_header *ehp; 340 ehp = (struct ether_header *)mp->b_rptr; 347 mp->b_rptr += sizeof (struct ether_header); 896 struct ether_header *ehp; 913 ASSERT(MBLKL(mp) >= sizeof (struct ether_header)); 917 ehp = (struct ether_header *)mp->b_rptr; 951 skip_len = sizeof (struct ether_header); [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_dlpi.c | 861 struct ether_header *headerp; 900 nmp = allocb(sizeof (struct ether_header) + padding, BPRI_MED); 906 nmp->b_wptr = nmp->b_rptr + sizeof (struct ether_header); 911 headerp = (struct ether_header *)nmp->b_rptr; 1550 struct ether_header *headerp; 1591 (MBLKHEAD(nmp) >= sizeof (struct ether_header)) && 1593 nmp->b_rptr -= sizeof (struct ether_header); 1594 headerp = (struct ether_header *)nmp->b_rptr; 1602 headerp = (struct ether_header *)mp->b_rptr; 1603 mp->b_wptr = mp->b_rptr + sizeof (struct ether_header); [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 490 struct ether_header *ethhdr; 579 ASSERT(totlen >= sizeof (struct ether_header) + 581 ethhdr = (struct ether_header *)(DMA_VPTR(ssbdp->pbuf)); 588 sizeof (struct ether_header)); 631 ASSERT(MBLKL(mp) >= sizeof (struct ether_header));
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_mac.h | 47 #define NXGE_EHEADER_VLAN_CRC (sizeof (struct ether_header) + ETHERFCSL + 4)
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 139 struct ether_header *eh; 149 eh = (struct ether_header *)(void *)m_head->b_rptr;
|
/illumos-gate/usr/src/uts/sun4u/starcat/sys/ |
H A D | dman.h | 46 #define ETHERHEADER_SIZE (sizeof (struct ether_header)) 47 typedef struct ether_header ehdr_t;
|