Home
last modified time | relevance | path

Searched refs:sdl (Results 1 – 18 of 18) sorted by relevance

/titanic_44/usr/src/uts/common/inet/ip/
H A Dip2mac.c83 struct sockaddr_dl *sdl; in ncec_ip2mac_response() local
101 sdl = &ip2m->ip2mac_ha; in ncec_ip2mac_response()
102 sdl->sdl_family = AF_LINK; in ncec_ip2mac_response()
103 sdl->sdl_type = ncec->ncec_ill->ill_type; in ncec_ip2mac_response()
108 sdl->sdl_nlen = 0; in ncec_ip2mac_response()
109 sdl->sdl_alen = ncec->ncec_ill->ill_phys_addr_length; in ncec_ip2mac_response()
111 bcopy(ncec->ncec_lladdr, LLADDR(sdl), sdl->sdl_alen); in ncec_ip2mac_response()
H A Dip_if.c3494 ill_dls_info(struct sockaddr_dl *sdl, const ill_t *ill) in ill_dls_info() argument
3498 sdl->sdl_family = AF_LINK; in ill_dls_info()
3499 sdl->sdl_index = ill_get_upper_ifindex(ill); in ill_dls_info()
3500 sdl->sdl_type = ill->ill_type; in ill_dls_info()
3501 ill_get_name(ill, sdl->sdl_data, sizeof (sdl->sdl_data)); in ill_dls_info()
3502 len = strlen(sdl->sdl_data); in ill_dls_info()
3504 sdl->sdl_nlen = (uchar_t)len; in ill_dls_info()
3505 sdl->sdl_alen = ill->ill_phys_addr_length; in ill_dls_info()
3506 sdl->sdl_slen = 0; in ill_dls_info()
3508 bcopy(ill->ill_phys_addr, &sdl->sdl_data[len], sdl->sdl_alen); in ill_dls_info()
[all …]
H A Dip_rts.c1612 struct sockaddr_dl *sdl; in rts_getaddrs() local
1668 sdl = (struct sockaddr_dl *)cp; in rts_getaddrs()
1669 *indexp = sdl->sdl_index; in rts_getaddrs()
/titanic_44/usr/src/lib/libsldap/common/
H A Dns_mapping.c661 char **sdl, *srv, **sdl_save; in __ns_ldap_getSearchDescriptors() local
680 sdl = (char **)param; in __ns_ldap_getSearchDescriptors()
700 rc = __s_api_get_search_DNs_v1(&sdl, service, errorp); in __ns_ldap_getSearchDescriptors()
701 if (rc != NS_LDAP_SUCCESS || sdl == NULL) { in __ns_ldap_getSearchDescriptors()
704 sdl_save = sdl; in __ns_ldap_getSearchDescriptors()
706 for (; *sdl; sdl++) { in __ns_ldap_getSearchDescriptors()
714 ret->basedn = strdup(*sdl); in __ns_ldap_getSearchDescriptors()
751 if (sdl == NULL || service == NULL) { in __ns_ldap_getSearchDescriptors()
760 for (; *sdl; sdl++) { in __ns_ldap_getSearchDescriptors()
761 srv = *sdl; in __ns_ldap_getSearchDescriptors()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c189 struct sockaddr_dl sdl; member
262 static void link_addr(const char *addr, struct sockaddr_dl *sdl);
263 static char *link_ntoa(const struct sockaddr_dl *sdl);
1805 newrt->ri_ifp.sdl.sdl_index = if_nametoindex(newrt->ri_ifp_str); in newroute()
1806 if (newrt->ri_ifp.sdl.sdl_index == 0) { in newroute()
1816 newrt->ri_ifp.sdl.sdl_family = AF_LINK; in newroute()
2103 link_addr(s, &su->sdl); in getaddr()
2865 which, link_ntoa(&su->sdl)); in sodump()
2956 link_addr(const char *addr, struct sockaddr_dl *sdl) in link_addr() argument
2958 char *cp = sdl->sdl_data; in link_addr()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/
H A Drouting_events.c389 struct sockaddr_dl sdl; in nwamd_add_route() local
402 (void) bzero(&sdl, sizeof (struct sockaddr_dl)); in nwamd_add_route()
403 sdl.sdl_family = AF_LINK; in nwamd_add_route()
404 sdl.sdl_index = index; in nwamd_add_route()
416 setaddr(RTA_IFP, &rtm->rtm_addrs, &addrs, (struct sockaddr *)&sdl); in nwamd_add_route()
/titanic_44/usr/src/uts/common/disp/
H A Dsysdc.c731 sysdc_list_t *sdl = &sysdc_active[idx]; in sysdc_update() local
732 sysdc_t *volatile *headp = &sdl->sdl_list; in sysdc_update()
740 mutex_enter(&sdl->sdl_lock); in sysdc_update()
808 mutex_exit(&sdl->sdl_lock); in sysdc_update()
1026 sysdc_list_t *sdl = SYSDC_LIST(sdc); in sysdc_leave() local
1029 mutex_enter(&sdl->sdl_lock); /* block sysdc_update() */ in sysdc_leave()
1032 mutex_exit(&sdl->sdl_lock); in sysdc_leave()
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp_link.c345 ibcm_check_sockdl(struct sockaddr_dl *sdl) in ibcm_check_sockdl() argument
348 if (sdl->sdl_type != IFT_IB || sdl->sdl_alen != IPOIB_ADDRL) in ibcm_check_sockdl()
/titanic_44/usr/src/tools/cscope-fast/
H A Dscanner.l93 static BOOL sdl; /* SDL file */ variable
682 if (sdl == NO) {
779 sdl = NO; /* SDL file */
806 sdl = YES;
/titanic_44/usr/src/uts/common/io/
H A Dtrill.c1416 struct sockaddr_dl *sdl; in trill_ctrl_input() local
1451 sdl = (struct sockaddr_dl *)&tudi[1]; in trill_ctrl_input()
1452 (void) memset(sdl, 0, sizeof (struct sockaddr_dl)); in trill_ctrl_input()
1453 sdl->sdl_family = AF_TRILL; in trill_ctrl_input()
1456 *(datalink_id_t *)sdl->sdl_data = tsock->ts_link->bl_linkid; in trill_ctrl_input()
1457 sdl->sdl_nlen = sizeof (tsock->ts_link->bl_linkid); in trill_ctrl_input()
1459 lladdr = LLADDR(sdl); in trill_ctrl_input()
1462 sdl->sdl_alen = ETHERADDRL; in trill_ctrl_input()
1466 sdl->sdl_slen = sizeof (uint16_t); in trill_ctrl_input()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c1335 struct sockaddr_dl *sdl; in process_rtm_ifinfo() local
1351 sdl = (struct sockaddr_dl *)((char *)ifm + ifm->ifm_msglen - in process_rtm_ifinfo()
1354 assert(sdl->sdl_family == AF_LINK); in process_rtm_ifinfo()
1363 if (sdl->sdl_nlen >= sizeof (sdl->sdl_data)) { in process_rtm_ifinfo()
1368 sdl->sdl_data[sdl->sdl_nlen] = 0; in process_rtm_ifinfo()
1370 pi = phyint_lookup(sdl->sdl_data); in process_rtm_ifinfo()
1374 " for %s\n", sdl->sdl_data); in process_rtm_ifinfo()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.c875 struct sockaddr_dl *sdl = (struct sockaddr_dl *) CMSG_DATA(cmptr); in recvfrom_flags() local
877 int nameLen = (sdl->sdl_nlen < IFI_NAME - 1) ? sdl->sdl_nlen : (IFI_NAME - 1); in recvfrom_flags()
878 strncpy(pktp->ipi_ifname, sdl->sdl_data, nameLen); in recvfrom_flags()
/titanic_44/usr/src/cmd/vi/port/
H A Dex_vget.c465 int sdl = destline, sdc = destcol; local
482 destline = sdl; destcol = sdc;
H A Dex_vmain.c1265 int sdc = destcol, sdl = destline; local
1276 vgoto(sdl, sdc);
/titanic_44/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c175 stat_data_list_t *sdl; /* Linked list of stat structures */ member
2342 slp = lstatp->sdl; in realloc_data_ext()
2430 slp = lstatp->sdl; in realloc_data()
2818 if ((slp2 = lstatp->sdl) == NULL) { in stat_plugin_v1()
2819 lstatp->sdl = slp; in stat_plugin_v1()
3186 slp = lstatp->sdl; in lstat_free()
3193 lstatp->sdl = NULL; in lstat_free()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c1301 struct sockaddr_dl *sdl = (struct sockaddr_dl *)*ssp; in get_info_gate() local
1304 if (sdl == NULL) in get_info_gate()
1306 if ((sdl)->sdl_family == AF_INET) in get_info_gate()
1308 if ((sdl)->sdl_family != AF_LINK) in get_info_gate()
1311 ifp = ifwithindex(sdl->sdl_index, _B_TRUE); in get_info_gate()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c3493 zfs_dirlock_t *sdl, *tdl; in zfs_rename() local
3618 serr = zfs_dirent_lock(&sdl, sdzp, snm, &szp, in zfs_rename()
3625 serr = zfs_dirent_lock(&sdl, in zfs_rename()
3649 zfs_dirent_unlock(sdl); in zfs_rename()
3741 zfs_dirent_unlock(sdl); in zfs_rename()
3773 error = zfs_link_destroy(sdl, szp, tx, ZRENAMING, NULL); in zfs_rename()
3777 sdl->dl_name, tdzp, tdl->dl_name, szp, tzp); in zfs_rename()
3808 zfs_dirent_unlock(sdl); in zfs_rename()
/titanic_44/usr/src/cmd/zoneadmd/
H A Dvplat.c1958 struct sockaddr_dl sdl; member