Home
last modified time | relevance | path

Searched refs:dlap (Results 1 – 10 of 10) sorted by relevance

/titanic_44/usr/src/uts/common/io/dld/
H A Ddld_drv.c712 struct dlautopush *dlap = (struct dlautopush *)kprop->pr_val; in drv_ioc_prop_common() local
716 err = drv_ioc_setap(linkid, dlap); in drv_ioc_prop_common()
724 err = drv_ioc_getap(linkid, dlap); in drv_ioc_prop_common()
899 drv_ioc_setap(datalink_id_t linkid, struct dlautopush *dlap) in drv_ioc_setap() argument
905 if (dlap->dap_npush == 0 || dlap->dap_npush > MAXAPUSH) in drv_ioc_setap()
911 for (i = 0; i < dlap->dap_npush; i++) { in drv_ioc_setap()
912 if (fmodsw_find(dlap->dap_aplist[i], FMODSW_LOAD) == NULL) in drv_ioc_setap()
935 dap->da_anchor = dlap->dap_anchor; in drv_ioc_setap()
936 dap->da_npush = dlap->dap_npush; in drv_ioc_setap()
937 for (i = 0; i < dlap->dap_npush; i++) { in drv_ioc_setap()
[all …]
H A Ddld_proto.c1556 dl_capability_ack_t *dlap; in proto_capability_advertise() local
1635 dlap = (dl_capability_ack_t *)mp->b_rptr; in proto_capability_advertise()
1636 dlap->dl_primitive = DL_CAPABILITY_ACK; in proto_capability_advertise()
1637 dlap->dl_sub_offset = sizeof (dl_capability_ack_t); in proto_capability_advertise()
1638 dlap->dl_sub_length = subsize; in proto_capability_advertise()
1639 ptr = (uint8_t *)&dlap[1]; in proto_capability_advertise()
/titanic_44/usr/src/uts/sun4u/starfire/io/
H A Didn_dlpi.c859 struct idndladdr *dlap; local
895 dlap = (struct idndladdr *)(mp->b_cont->b_rptr + off);
912 ether_copy(&dlap->dl_phys, &headerp->ether_dhost);
914 headerp->ether_type = dlap->dl_sap;
1199 struct idndladdr *dlap; local
1224 dlap = (struct idndladdr *)(mp->b_rptr + dlip->dl_addr_offset);
1225 dlap->dl_sap = stp->ss_sap;
1227 ether_copy(&stp->ss_sip->si_ouraddr, &dlap->dl_phys);
1229 bzero(&dlap->dl_phys, ETHERADDRL);
1549 struct idndladdr *dlap; local
[all …]
/titanic_44/usr/src/uts/common/io/softmac/
H A Dsoftmac_fp.c301 dl_capability_ack_t *dlap; in softmac_capability_advertise() local
367 dlap = (dl_capability_ack_t *)mp->b_rptr; in softmac_capability_advertise()
368 dlap->dl_primitive = DL_CAPABILITY_ACK; in softmac_capability_advertise()
369 dlap->dl_sub_offset = sizeof (dl_capability_ack_t); in softmac_capability_advertise()
370 dlap->dl_sub_length = subsize; in softmac_capability_advertise()
371 ptr = (uint8_t *)&dlap[1]; in softmac_capability_advertise()
/titanic_44/usr/src/lib/libdladm/common/
H A Dlinkprop.c3111 struct dlautopush dlap; in get_autopush() local
3119 perm_flags, &dlap, sizeof (dlap)); in get_autopush()
3123 if (dlap.dap_npush == 0) { in get_autopush()
3127 for (i = 0, len = 0; i < dlap.dap_npush; i++) { in get_autopush()
3134 "%s", dlap.dap_aplist[i]); in get_autopush()
3135 len += strlen(dlap.dap_aplist[i]); in get_autopush()
3136 if (dlap.dap_anchor - 1 == i) { in get_autopush()
3152 i_dladm_add_ap_module(const char *module, struct dlautopush *dlap) in i_dladm_add_ap_module() argument
3162 if (dlap->dap_anchor != 0) in i_dladm_add_ap_module()
3164 if (dlap->dap_npush == 0) in i_dladm_add_ap_module()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c3418 struct fcipdladdr *dlap; in fcip_addudind() local
3456 dlap = (struct fcipdladdr *)(nmp->b_rptr + sizeof (dl_unitdata_ind_t)); in fcip_addudind()
3458 ether_bcopy(&dest_addr, &dlap->dl_phys); in fcip_addudind()
3459 dlap->dl_sap = (uint16_t)type; in fcip_addudind()
3461 dlap = (struct fcipdladdr *)(nmp->b_rptr + sizeof (dl_unitdata_ind_t) in fcip_addudind()
3464 ether_bcopy(&src_addr, &dlap->dl_phys); in fcip_addudind()
3465 dlap->dl_sap = (uint16_t)type; in fcip_addudind()
5124 struct fcipdladdr *dlap; in fcip_ireq() local
5158 dlap = (struct fcipdladdr *)(mp->b_rptr + dlip->dl_addr_offset); in fcip_ireq()
5159 dlap->dl_sap = slp->sl_sap; in fcip_ireq()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dgldutil.c814 ipoib_ptxhdr_t *dlap = NULL; in gld_interpret_mdt_ib() local
853 dlap = (ipoib_ptxhdr_t *)((pattr_addr_t *)attr_info.buf)->addr; in gld_interpret_mdt_ib()
857 if (dlap == NULL) in gld_interpret_mdt_ib()
864 if (mac_eq(dlap, macinfo->gldm_broadcast_addr, in gld_interpret_mdt_ib()
866 if (mac_eq(dlap, macinfo->gldm_broadcast_addr, in gld_interpret_mdt_ib()
872 pktinfo->ethertype = REF_NET_USHORT(dlap-> in gld_interpret_mdt_ib()
879 if (dlap == NULL) in gld_interpret_mdt_ib()
881 mac_copy(&dlap->ipoib_dest, pktinfo->dhost, IPOIB_ADDRL); in gld_interpret_mdt_ib()
H A Dgld.c3682 dl_capability_ack_t *dlap; in gld_cap_ack() local
3703 dlap = (dl_capability_ack_t *)mp->b_rptr; in gld_cap_ack()
3704 dlap->dl_sub_offset = 0; in gld_cap_ack()
3705 if ((dlap->dl_sub_length = subsize) != 0) in gld_cap_ack()
3706 dlap->dl_sub_offset = sizeof (dl_capability_ack_t); in gld_cap_ack()
3707 dlsp = (dl_capability_sub_t *)&dlap[1]; in gld_cap_ack()
/titanic_44/usr/src/uts/sun4u/starcat/io/
H A Ddman.c2299 man_dladdr_t *dlap; in man_dl_ioc_hdr_info() local
2331 dlap = (man_dladdr_t *)(mp->b_cont->b_rptr + off); in man_dl_ioc_hdr_info()
2357 ether_copy(&dlap->dl_phys, &headerp->ether_dhost); in man_dl_ioc_hdr_info()
2359 put_ether_type(headerp, dlap->dl_sap); in man_dl_ioc_hdr_info()
2560 man_dladdr_t *dlap; in man_udreq() local
2592 dlap = (man_dladdr_t *)(mp->b_rptr + off); in man_udreq()
2594 flow_status = man_start(wq, mp, &dlap->dl_phys); in man_udreq()
3284 man_dladdr_t *dlap; in man_ireq() local
3307 dlap = (man_dladdr_t *)(mp->b_rptr + dlip->dl_addr_offset); in man_ireq()
3308 dlap->dl_sap = msp->ms_sap; in man_ireq()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dstreamio.c243 struct dlautopush dlap; in stropen() local
498 switch (dld_autopush(&savedev, &dlap)) { in stropen()
501 for (s = 0; s < dlap.dap_npush; s++) { in stropen()
503 dlap.dap_aplist[s], dlap.dap_anchor, crp, in stropen()