Searched refs:ether_header (Results 51 - 75 of 100) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c1681 struct ether_header *ehdr;
1720 #define MAX_ALL_HDRLEN SZ_CPL_TX_PKT + sizeof (struct ether_header) + \
1767 ehdr = (struct ether_header *)mp->b_rptr;
1769 ihdr = (ipha_t *)&mp->b_rptr[sizeof (struct ether_header)];
H A Dsge.c357 sizeof (struct ether_header) + CPL_FORMAT_0_SIZE);
359 sizeof (struct ether_header) + CPL_FORMAT_0_SIZE);
992 (ntohs(((struct ether_header *)skb->b_rptr)->ether_type) ==
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnb.c261 struct ether_header *ehp;
286 ASSERT(MBLKL(mp) >= sizeof (struct ether_header));
287 ehp = (struct ether_header *)mp->b_rptr;
298 offset = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_txdring.c597 struct ether_header *ehp;
633 ehp = (struct ether_header *)mp->b_rptr;
982 struct ether_header *ehp;
1197 ehp = (struct ether_header *)mp->b_rptr;
H A Dvnet_gen.c195 static boolean_t vgen_frame_lookup_vid(vnet_t *vnetp, struct ether_header *ehp,
789 struct ether_header *ehp;
805 ehp = (struct ether_header *)mp->b_rptr;
856 struct ether_header *ehp;
866 ehp = (struct ether_header *)mp->b_rptr;
1362 sizeof (struct ether_header) + VLAN_TAGSZ;
1568 vgen_frame_lookup_vid(vnet_t *vnetp, struct ether_header *ehp, uint16_t *vidp)
2069 sizeof (struct ether_header) + VLAN_TAGSZ;
H A Dvsw_ldc.c162 static int vsw_get_same_dest_list(struct ether_header *ehp,
188 struct ether_header *ehp, uint16_t *vidp);
3788 struct ether_header *ehp;
3800 ehp = (struct ether_header *)smp->b_rptr;
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe_fc.c324 (sizeof (struct ether_header) + (uint8_t *)fmi->fmi_efh);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c1492 struct ether_header *ehp;
1558 if (sz1 < sizeof (struct ether_header)) {
1562 ehp = (struct ether_header *)mp->b_rptr;
1581 hdrsize = sizeof (struct ether_header);
1896 struct ether_header *ehp;
1977 if (sz1 < sizeof (struct ether_header)) {
1981 ehp = (struct ether_header *)mp->b_rptr;
2000 hdrsize = sizeof (struct ether_header);
4393 hdrsize = sizeof (struct ether_header);
H A Dmac_flow.c1728 if (PKT_TOO_SMALL(s, l2->l2_start + sizeof (struct ether_header)))
1742 l2->l2_hdrsize = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_tx.c93 ethLen = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_l1.c139 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL;
167 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL;
H A Datge_l1c.c167 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL;
195 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL;
H A Datge_l1e.c150 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL;
178 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL;
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_tx.c649 offset = offsetof(struct ether_header, ether_type);
675 mac_hdr_len = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c748 offset = offsetof(struct ether_header, ether_type);
774 mac_hdr_len = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c703 if (MBLKL(mp) < (sizeof (struct ether_header) + sizeof (ipha_t)))
713 type = ((struct ether_header *)(uintptr_t)mp->b_rptr)->ether_type;
722 pktinfo->mac_hlen = sizeof (struct ether_header);
746 type = ((struct ether_header *)(uintptr_t)ptr)->ether_type;
751 pktinfo->mac_hlen = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_impl.h182 typedef struct ether_header ether_header_t, *p_ether_header_t;
H A Dhxge_txdma.c265 uint8_t hdrs_buf[sizeof (struct ether_header) + 64 + sizeof (uint32_t)];
307 if (*(hdrs_buf + sizeof (struct ether_header)) ==
310 sizeof (struct ether_header) + 6)));
329 eth_hdr_size = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c465 uint8_t hdrs_buf[sizeof (struct ether_header) +
500 /* copy ether_header from mblk to hdrs_buf */
525 if (*(hdrs_buf + sizeof (struct ether_header))
528 sizeof (struct ether_header) + 6)));
547 eth_hdr_size = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tx.c1569 struct ether_header *etherhp = stpp->stp_etherhp;
1603 sizeof (struct ether_header);
1762 sizeof (struct ether_header)) +
2748 struct ether_header *etherhp;
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c92 #define GET_IPTYPEv4(p) (((uint8_t *)(p))[sizeof (struct ether_header) + 9])
93 #define GET_IPTYPEv6(p) (((uint8_t *)(p))[sizeof (struct ether_header) + 6])
115 ((dp)->mtu + sizeof (struct ether_header) + VTAG_SIZE + ETHERFCSL)
302 offset += sizeof (struct ether_header);
1374 #define PKT_MIN_SIZE (sizeof (struct ether_header) + 10 + VTAG_SIZE)
1375 #define EHLEN (sizeof (struct ether_header))
1815 int ethermax = dp->mtu + sizeof (struct ether_header);
1878 ethermax = dp->mtu + sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4825 struct ether_header *ethhdr;
4832 ethhdr = (struct ether_header *)((void *)bp);
4839 mac_hdr_len = sizeof (struct ether_header);
5081 struct ether_header *ethhdr;
5096 ethhdr = (struct ether_header *)((void *)bp);
5107 mac_hdr_len = sizeof (struct ether_header);
5175 struct ether_header *ethhdr;
5183 ethhdr = (struct ether_header *)(void *)bp;
5191 mac_hdr_len = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_grp.c2326 if (MBLKL(mp) >= sizeof (struct ether_header)) {
2327 struct ether_header *ehp;
2329 ehp = (struct ether_header *)mp->b_rptr;
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_transceiver.c1694 off = offsetof(struct ether_header, ether_type);
1705 maclen = sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_impl.h533 typedef struct ether_header ether_header_t, *p_ether_header_t;

Completed in 1064 milliseconds

1234