Lines Matching refs:gldp
338 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_unitdata_ether() local
350 mac_copy(gldp->glda_addr, dhost, macinfo->gldm_addrlen); in gld_unitdata_ether()
354 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_unitdata_ether()
355 typelen = REF_HOST_USHORT(gldp->glda_sap); in gld_unitdata_ether()
480 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_ether() local
492 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_fastpath_ether()
493 typelen = REF_HOST_USHORT(gldp->glda_sap); in gld_fastpath_ether()
544 mac_copy(gldp->glda_addr, &mh->ether_dhost, macinfo->gldm_addrlen); in gld_fastpath_ether()
589 ipoib_ptxhdr_t *gldp; in gld_interpret_ib() local
635 gldp = (ipoib_ptxhdr_t *)mp->b_rptr; in gld_interpret_ib()
661 if (mac_eq(&gldp->ipoib_dest, macinfo->gldm_broadcast_addr, in gld_interpret_ib()
663 if (mac_eq(&gldp->ipoib_dest, in gld_interpret_ib()
682 mac_copy(&gldp->ipoib_dest, pktinfo->dhost, IPOIB_ADDRL); in gld_interpret_ib()
890 ipoib_ptxhdr_t *gldp = IPOIBDLSAP(dlp, dlp->dl_dest_addr_offset); in gld_unitdata_ib() local
899 mac_copy(&gldp->ipoib_dest, &dhost, IPOIB_ADDRL); in gld_unitdata_ib()
903 REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type) != 0) in gld_unitdata_ib()
904 type = REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type); in gld_unitdata_ib()
932 gldp = (ipoib_ptxhdr_t *)nmp->b_rptr; in gld_unitdata_ib()
933 SET_NET_USHORT(gldp->ipoib_rhdr.ipoib_type, type); in gld_unitdata_ib()
934 gldp->ipoib_rhdr.ipoib_mbz = 0; in gld_unitdata_ib()
935 mac_copy(&dhost, &gldp->ipoib_dest, IPOIB_ADDRL); in gld_unitdata_ib()
945 ipoib_ptxhdr_t *gldp = IPOIBDLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_ib() local
955 REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type) != 0) in gld_fastpath_ib()
956 type = REF_HOST_USHORT(gldp->ipoib_rhdr.ipoib_type); in gld_fastpath_ib()
973 mac_copy(&gldp->ipoib_dest, &tgldp->ipoib_dest, IPOIB_ADDRL); in gld_fastpath_ib()
1143 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_unitdata_fddi() local
1153 mac_copy(gldp->glda_addr, dhost, macinfo->gldm_addrlen); in gld_unitdata_fddi()
1157 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_unitdata_fddi()
1158 type = REF_HOST_USHORT(gldp->glda_sap); in gld_unitdata_fddi()
1223 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_fddi() local
1233 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_fastpath_fddi()
1234 type = REF_HOST_USHORT(gldp->glda_sap); in gld_fastpath_fddi()
1267 cmac_copy(gldp->glda_addr, mh->fddi_dhost, in gld_fastpath_fddi()
1549 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_unitdata_tr() local
1560 mac_copy(gldp->glda_addr, dhost, macinfo->gldm_addrlen); in gld_unitdata_tr()
1564 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_unitdata_tr()
1565 type = REF_HOST_USHORT(gldp->glda_sap); in gld_unitdata_tr()
1690 struct gld_dlsap *gldp = DLSAP(dlp, dlp->dl_dest_addr_offset); in gld_fastpath_tr() local
1707 REF_HOST_USHORT(gldp->glda_sap) != 0) in gld_fastpath_tr()
1708 type = REF_HOST_USHORT(gldp->glda_sap); in gld_fastpath_tr()
1754 mac_copy(gldp->glda_addr, mh->tr_dhost, macinfo->gldm_addrlen); in gld_fastpath_tr()