ipoib_ptxhdr_t
ipoib_ptxhdr_t *eh;
bzero(mac_state.mac_buf, sizeof (ipoib_ptxhdr_t));
eh = (ipoib_ptxhdr_t *)mac_state.mac_buf;
len >= (sizeof (ipoib_ptxhdr_t) + sizeof (struct ip))) {
offset = sizeof (ipoib_ptxhdr_t);
sizeof (ipoib_ptxhdr_t));
ipoib_ptxhdr_t eh;
ipoib_ptxhdr_t arp_eh;
ipoib_ptxhdr_t *gldp;
gldp = (ipoib_ptxhdr_t *)mp->b_rptr;
if (pktinfo->pktLen < sizeof (ipoib_ptxhdr_t))
if (MBLKL(mp) < sizeof (ipoib_ptxhdr_t)) {
ipoib_ptxhdr_t *gldp = IPOIBDLSAP(dlp, dlp->dl_dest_addr_offset);
hdrlen = sizeof (ipoib_ptxhdr_t);
nmp->b_rptr -= sizeof (ipoib_ptxhdr_t);
gldp = (ipoib_ptxhdr_t *)nmp->b_rptr;
ipoib_ptxhdr_t *gldp = IPOIBDLSAP(dlp, dlp->dl_dest_addr_offset);
ipoib_ptxhdr_t *tgldp;
hdrlen = sizeof (ipoib_ptxhdr_t);
nmp->b_rptr -= sizeof (ipoib_ptxhdr_t);
tgldp = (ipoib_ptxhdr_t *)nmp->b_rptr;
ipoib_ptxhdr_t *orig_hp;
if (MBLKL(mp) < sizeof (ipoib_ptxhdr_t))
mp->b_rptr += sizeof (ipoib_ptxhdr_t);
#define IPOIBDLSAP(p, offset) ((ipoib_ptxhdr_t *)((caddr_t)(p)+offset))