Searched refs:ether_header (Results 1 - 25 of 100) sorted by relevance

1234

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_trill.c37 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 Dsnoop_ether.c128 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 Dether.c65 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 Darp.c80 struct ether_header eh;
87 struct ether_header eh;
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_recv.c85 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 Dsfxge_tcp.c65 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 Dbnxe_rr.c72 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 Dmac_wifi.c378 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 Dmac_ether.c382 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 Dethernet.c62 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 Dvnet_common.c117 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 Dvsw_switching.c102 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 Dfcoe.h186 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 Dif_ether.h34 struct ether_header { struct
/illumos-gate/usr/src/uts/common/io/
H A Dllc1.c1318 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 Dgldutil.c100 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 Dtrill.c153 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 Dofw_net.c97 struct ether_header *eh;
166 struct ether_header *eh = pkt;
/illumos-gate/usr/src/uts/common/sys/
H A Dethernet.h58 struct ether_header { struct
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c108 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 Didn_dlpi.c861 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 Drge_rxtx.c490 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 Dnxge_mac.h47 #define NXGE_EHEADER_VLAN_CRC (sizeof (struct ether_header) + ETHERFCSL + 4)
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c139 struct ether_header *eh;
149 eh = (struct ether_header *)(void *)m_head->b_rptr;
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Ddman.h46 #define ETHERHEADER_SIZE (sizeof (struct ether_header))
47 typedef struct ether_header ehdr_t;

Completed in 118 milliseconds

1234