Lines Matching refs:gldp

337 	struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset);  in gld_unitdata_ether()  local
349 mac_copy(gldp->glda_addr, dhost, macinfo->gldm_addrlen); in gld_unitdata_ether()
353 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_unitdata_ether()
354 typelen = REF_HOST_USHORT(gldp->glda_sap); in gld_unitdata_ether()
479 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_ether() local
491 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_fastpath_ether()
492 typelen = REF_HOST_USHORT(gldp->glda_sap); in gld_fastpath_ether()
543 mac_copy(gldp->glda_addr, &mh->ether_dhost, macinfo->gldm_addrlen); in gld_fastpath_ether()
588 ipoib_ptxhdr_t *gldp; in gld_interpret_ib() local
634 gldp = (ipoib_ptxhdr_t *)mp->b_rptr; in gld_interpret_ib()
660 if (mac_eq(&gldp->ipoib_dest, macinfo->gldm_broadcast_addr, in gld_interpret_ib()
662 if (mac_eq(&gldp->ipoib_dest, in gld_interpret_ib()
681 mac_copy(&gldp->ipoib_dest, pktinfo->dhost, IPOIB_ADDRL); in gld_interpret_ib()
807 ipoib_ptxhdr_t *gldp = IPOIBDLSAP(dlp, dlp->dl_dest_addr_offset); in gld_unitdata_ib() local
816 mac_copy(&gldp->ipoib_dest, &dhost, IPOIB_ADDRL); in gld_unitdata_ib()
820 REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type) != 0) in gld_unitdata_ib()
821 type = REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type); in gld_unitdata_ib()
849 gldp = (ipoib_ptxhdr_t *)nmp->b_rptr; in gld_unitdata_ib()
850 SET_NET_USHORT(gldp->ipoib_rhdr.ipoib_type, type); in gld_unitdata_ib()
851 gldp->ipoib_rhdr.ipoib_mbz = 0; in gld_unitdata_ib()
852 mac_copy(&dhost, &gldp->ipoib_dest, IPOIB_ADDRL); in gld_unitdata_ib()
862 ipoib_ptxhdr_t *gldp = IPOIBDLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_ib() local
872 REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type) != 0) in gld_fastpath_ib()
873 type = REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type); in gld_fastpath_ib()
890 mac_copy(&gldp->ipoib_dest, &tgldp->ipoib_dest, IPOIB_ADDRL); in gld_fastpath_ib()
1060 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_unitdata_fddi() local
1070 mac_copy(gldp->glda_addr, dhost, macinfo->gldm_addrlen); in gld_unitdata_fddi()
1074 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_unitdata_fddi()
1075 type = REF_HOST_USHORT(gldp->glda_sap); in gld_unitdata_fddi()
1140 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_fddi() local
1150 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_fastpath_fddi()
1151 type = REF_HOST_USHORT(gldp->glda_sap); in gld_fastpath_fddi()
1184 cmac_copy(gldp->glda_addr, mh->fddi_dhost, in gld_fastpath_fddi()
1466 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_unitdata_tr() local
1477 mac_copy(gldp->glda_addr, dhost, macinfo->gldm_addrlen); in gld_unitdata_tr()
1481 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_unitdata_tr()
1482 type = REF_HOST_USHORT(gldp->glda_sap); in gld_unitdata_tr()
1607 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_tr() local
1624 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_fastpath_tr()
1625 type = REF_HOST_USHORT(gldp->glda_sap); in gld_fastpath_tr()
1671 mac_copy(gldp->glda_addr, mh->tr_dhost, macinfo->gldm_addrlen); in gld_fastpath_tr()