Home
last modified time | relevance | path

Searched refs:linkid (Results 1 – 25 of 83) sorted by relevance

1234

/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Ddriver_wifi.c39 wpa_driver_wifi_get_bssid(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_get_bssid() argument
46 status = dladm_wlan_get_linkattr(handle, linkid, &attr); in wpa_driver_wifi_get_bssid()
74 wpa_driver_wifi_get_ssid(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_get_ssid() argument
82 status = dladm_wlan_get_linkattr(handle, linkid, &attr); in wpa_driver_wifi_get_ssid()
101 wpa_driver_wifi_set_wpa_ie(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_set_wpa_ie() argument
107 status = dladm_wlan_wpa_set_ie(handle, linkid, wpa_ie, wpa_ie_len); in wpa_driver_wifi_set_wpa_ie()
126 wpa_driver_wifi_set_wpa(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_set_wpa() argument
133 if (!enabled && wpa_driver_wifi_set_wpa_ie(handle, linkid, NULL, 0) < 0) in wpa_driver_wifi_set_wpa()
136 status = dladm_wlan_wpa_set_wpa(handle, linkid, enabled); in wpa_driver_wifi_set_wpa()
142 wpa_driver_wifi_del_key(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_del_key() argument
[all …]
H A Dwpa_supplicant.c140 if (wpa_s->driver->scan(wpa_s->handle, wpa_s->linkid)) { in wpa_supplicant_scan()
213 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE, in wpa_clear_keys()
215 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE, in wpa_clear_keys()
217 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE, in wpa_clear_keys()
219 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE, in wpa_clear_keys()
222 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, in wpa_clear_keys()
357 wpa_s->driver->associate(wpa_s->handle, wpa_s->linkid, in wpa_supplicant_associate()
371 wpa_s->driver->disassociate(wpa_s->handle, wpa_s->linkid, in wpa_supplicant_disassociate()
454 num = wpa_s->driver->get_scan_results(wpa_s->handle, wpa_s->linkid, in wpa_supplicant_scan_results()
555 if (wpa_s->driver->set_wpa(wpa_s->handle, wpa_s->linkid, 1) < 0) { in wpa_supplicant_driver_init()
[all …]
/titanic_44/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c259 dladm_wlan_scan(dladm_handle_t handle, datalink_id_t linkid, void *arg, in dladm_wlan_scan() argument
271 if ((status = dladm_wlan_validate(handle, linkid)) != DLADM_STATUS_OK) in dladm_wlan_scan()
274 status = do_get_linkstatus(handle, linkid, &wl_status, in dladm_wlan_scan()
279 if ((status = do_scan(handle, linkid, buf, sizeof (buf))) != in dladm_wlan_scan()
294 if ((status = do_get_esslist(handle, linkid, wls, WLDP_BUFSIZE)) in dladm_wlan_scan()
308 status = do_get_linkstatus(handle, linkid, &wl_status, in dladm_wlan_scan()
313 (void) do_disconnect(handle, linkid, buf, sizeof (buf)); in dladm_wlan_scan()
432 do_connect(dladm_handle_t handle, datalink_id_t linkid, void *buf, int bufsize, in do_connect() argument
449 status = do_set_channel(handle, linkid, &channel); in do_connect()
457 if ((status = do_set_encryption(handle, linkid, &secmode)) != in do_connect()
[all …]
H A Dlibdlmgmt.c146 dladm_destroy_datalink_id(dladm_handle_t handle, datalink_id_t linkid, in dladm_destroy_datalink_id() argument
158 destroyid.ld_linkid = linkid; in dladm_destroy_datalink_id()
169 dladm_remap_datalink_id(dladm_handle_t handle, datalink_id_t linkid, in dladm_remap_datalink_id() argument
177 remapid.ld_linkid = linkid; in dladm_remap_datalink_id()
188 dladm_up_datalink_id(dladm_handle_t handle, datalink_id_t linkid) in dladm_up_datalink_id() argument
195 upid.ld_linkid = linkid; in dladm_up_datalink_id()
204 dladm_create_conf(dladm_handle_t handle, const char *link, datalink_id_t linkid, in dladm_create_conf() argument
218 createconf.ld_linkid = linkid; in dladm_create_conf()
236 i_dladm_phys_status(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_phys_status() argument
244 status = dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE); in i_dladm_phys_status()
[all …]
H A Dlibdllink.c52 i_dladm_info(dladm_handle_t handle, const datalink_id_t linkid, in i_dladm_info() argument
57 dia.dia_linkid = linkid; in i_dladm_info()
111 i_dladm_walk(dladm_handle_t handle, datalink_id_t linkid, void *arg) in i_dladm_walk() argument
116 if (dladm_datalink_id2info(handle, linkid, NULL, NULL, NULL, link, in i_dladm_walk()
142 dladm_walk_hwgrp(dladm_handle_t handle, datalink_id_t linkid, void *arg, in dladm_walk_hwgrp() argument
156 iomp->dih_linkid = linkid; in dladm_walk_hwgrp()
195 dladm_walk_macaddr(dladm_handle_t handle, datalink_id_t linkid, void *arg, in dladm_walk_macaddr() argument
209 iomp->dig_linkid = linkid; in dladm_walk_macaddr()
341 dladm_info(dladm_handle_t handle, datalink_id_t linkid, dladm_attr_t *dap) in dladm_info() argument
343 return (i_dladm_info(handle, linkid, dap)); in dladm_info()
[all …]
H A Dlinkprop.c903 check_prop(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, in check_prop() argument
927 i_dladm_set_single_prop(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_set_single_prop() argument
958 status = pdp->pd_check(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop()
961 status = check_prop(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop()
980 status = i_dladm_getset_defval(handle, pdp, linkid, in i_dladm_set_single_prop()
994 status = pdp->pd_check(handle, pdp, linkid, prop_val, in i_dladm_set_single_prop()
1004 status = pdp->pd_set(handle, pdp, linkid, vdp, cnt, flags, in i_dladm_set_single_prop()
1016 i_dladm_set_linkprop(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_set_linkprop() argument
1032 s = i_dladm_set_single_prop(handle, linkid, class, media, pdp, in i_dladm_set_linkprop()
1060 status = i_dladm_set_private_prop(handle, linkid, in i_dladm_set_linkprop()
[all …]
H A Dlibdlaggr.c211 i_dladm_aggr_info_active(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_aggr_info_active() argument
224 ioc->li_group_linkid = linkid; in i_dladm_aggr_info_active()
266 i_dladm_aggr_info_persist(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_aggr_info_persist() argument
277 attrp->lg_linkid = linkid; in i_dladm_aggr_info_persist()
278 if ((status = dladm_getsnap_conf(handle, linkid, &conf)) != in i_dladm_aggr_info_persist()
364 dladm_aggr_info(dladm_handle_t handle, datalink_id_t linkid, in dladm_aggr_info() argument
369 return (i_dladm_aggr_info_active(handle, linkid, attrp)); in dladm_aggr_info()
371 return (i_dladm_aggr_info_persist(handle, linkid, attrp)); in dladm_aggr_info()
378 i_dladm_aggr_add_rmv(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_aggr_add_rmv() argument
415 status = dladm_open_conf(handle, linkid, &conf); in i_dladm_aggr_add_rmv()
[all …]
H A Dlibdlvnic.c157 i_dladm_vnic_info_active(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_vnic_info_active() argument
167 vnic->vn_vnic_id = linkid; in i_dladm_vnic_info_active()
192 i_dladm_vnic_info_persist(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_vnic_info_persist() argument
202 attrp->va_vnic_id = linkid; in i_dladm_vnic_info_persist()
203 if ((status = dladm_getsnap_conf(handle, linkid, &conf)) != in i_dladm_vnic_info_persist()
221 if ((status = dladm_datalink_id2info(handle, linkid, NULL, &class, in i_dladm_vnic_info_persist()
290 dladm_vnic_info(dladm_handle_t handle, datalink_id_t linkid, in dladm_vnic_info() argument
294 return (i_dladm_vnic_info_active(handle, linkid, attrp)); in dladm_vnic_info()
296 return (i_dladm_vnic_info_persist(handle, linkid, attrp)); in dladm_vnic_info()
305 i_dladm_vnic_delete_sys(dladm_handle_t handle, datalink_id_t linkid) in i_dladm_vnic_delete_sys() argument
[all …]
H A Dlibdlib.c111 i_dladm_part_info_active(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_part_info_active() argument
123 ioc.ibdioc.ioc_linkid = linkid; in i_dladm_part_info_active()
158 i_dladm_part_info_persist(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_part_info_persist() argument
168 if ((status = dladm_datalink_id2info(handle, linkid, NULL, &class, in i_dladm_part_info_persist()
173 attrp->dia_partlinkid = linkid; in i_dladm_part_info_persist()
174 if ((status = dladm_getsnap_conf(handle, linkid, &conf)) != in i_dladm_part_info_persist()
232 dladm_part_info(dladm_handle_t handle, datalink_id_t linkid, in dladm_part_info() argument
236 return (i_dladm_part_info_active(handle, linkid, attrp)); in dladm_part_info()
238 return (i_dladm_part_info_persist(handle, linkid, attrp)); in dladm_part_info()
249 dladm_ib_info(dladm_handle_t handle, datalink_id_t linkid, in dladm_ib_info() argument
[all …]
H A Dlibdliptun.c339 i_iptun_delete_sys(dladm_handle_t handle, datalink_id_t linkid) in i_iptun_delete_sys() argument
343 status = i_iptun_ioctl(handle, IPTUN_DELETE, &linkid); in i_iptun_delete_sys()
346 (void) dladm_destroy_datalink_id(handle, linkid, DLADM_OPT_ACTIVE); in i_iptun_delete_sys()
455 dladm_iptun_delete(dladm_handle_t handle, datalink_id_t linkid, uint32_t flags) in dladm_iptun_delete() argument
461 if ((status = dladm_datalink_id2info(handle, linkid, NULL, &class, NULL, in dladm_iptun_delete()
475 status = i_iptun_delete_sys(handle, linkid); in dladm_iptun_delete()
483 (void) dladm_remove_conf(handle, linkid); in dladm_iptun_delete()
484 (void) dladm_destroy_datalink_id(handle, linkid, in dladm_iptun_delete()
545 i_iptun_up(dladm_handle_t handle, datalink_id_t linkid, void *arg) in i_iptun_up() argument
552 status = dladm_up_datalink_id(handle, linkid); in i_iptun_up()
[all …]
H A Dlibdlether.c131 i_dladm_get_spdx(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_get_spdx() argument
141 if ((status = dladm_get_single_mac_stat(handle, linkid, in i_dladm_get_spdx()
291 dladm_ether_info(dladm_handle_t handle, datalink_id_t linkid, in dladm_ether_info() argument
301 status = dladm_datalink_id2info(handle, linkid, NULL, NULL, NULL, in dladm_ether_info()
314 if ((status = dladm_get_single_mac_stat(handle, linkid, "ifspeed", in dladm_ether_info()
318 if ((status = dladm_get_single_mac_stat(handle, linkid, "link_duplex", in dladm_ether_info()
325 status = dladm_get_state(handle, linkid, &eattr->lei_state); in dladm_ether_info()
332 status = dladm_get_single_mac_stat(handle, linkid, in dladm_ether_info()
337 status = dladm_get_single_mac_stat(handle, linkid, in dladm_ether_info()
342 status = dladm_get_single_mac_stat(handle, linkid, in dladm_ether_info()
[all …]
H A Dlibdlbridge.c253 datalink_id_t linkid, void **bufp, size_t inlen, size_t *buflenp, in bridge_door_call() argument
274 bdc->bdc_linkid = linkid; in bridge_door_call()
345 port_door_call(dladm_handle_t handle, datalink_id_t linkid, in port_door_call() argument
351 status = dladm_bridge_getlink(handle, linkid, bridge, sizeof (bridge)); in port_door_call()
354 return (bridge_door_call(bridge, dtype, linkid, &buf, inlen, &buflen, in port_door_call()
624 datalink_id_t linkid) in dladm_bridge_persist_conf() argument
629 status = dladm_create_conf(handle, link, linkid, DATALINK_CLASS_BRIDGE, in dladm_bridge_persist_conf()
873 datalink_id_t linkid = DATALINK_INVALID_LINKID; in dladm_bridge_configure() local
892 flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST), &linkid); in dladm_bridge_configure()
898 linkid) != DLADM_STATUS_OK)) in dladm_bridge_configure()
[all …]
H A Dlibdlstat.c56 datalink_id_t linkid; member
85 findstat(const char *flowname, datalink_id_t linkid) in findstat() argument
104 if (linkid == flist->linkid) in findstat()
128 flist->linkid = linkid; in findstat()
239 if ((fcurr->linkid != DATALINK_INVALID_LINKID) && in print_link_stats()
269 link_flowstats(dladm_handle_t handle, datalink_id_t linkid, void *arg) in link_flowstats() argument
273 status = dladm_walk_flow(flow_kstats, handle, linkid, arg, B_FALSE); in link_flowstats()
282 link_kstats(dladm_handle_t handle, datalink_id_t linkid, void *arg) in link_kstats() argument
292 flist = findstat(NULL, linkid); in link_kstats()
301 if (dladm_datalink_id2info(handle, linkid, NULL, &class, NULL, in link_kstats()
[all …]
H A Dlibdlvlan.c61 dladm_vlan_create(dladm_handle_t handle, const char *vlan, datalink_id_t linkid, in dladm_vlan_create() argument
65 return (dladm_vnic_create(handle, vlan, linkid, in dladm_vlan_create()
80 dladm_vlan_up(dladm_handle_t handle, datalink_id_t linkid) in dladm_vlan_up() argument
82 return (dladm_vnic_up(handle, linkid, DLADM_OPT_VLAN)); in dladm_vlan_up()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c125 find_by_linkid(datalink_id_t linkid) in find_by_linkid() argument
132 if (port->linkid == linkid) in find_by_linkid()
140 set_vlan(dladm_handle_t handle, datalink_id_t linkid, void *arg) in set_vlan() argument
148 status = dladm_vlan_info(handle, linkid, &vinfo, DLADM_OPT_ACTIVE); in set_vlan()
151 linkid, dladm_status2str(status, pointless)); in set_vlan()
159 bve.bve_linkid = port->linkid; in set_vlan()
164 vinfo.dv_vid, port->linkid); in set_vlan()
176 update_port(int vlan_id, const char *portname, datalink_id_t linkid, in update_port() argument
184 datalink_id_t linkid; in update_port() member
192 if (allports[posn]->linkid == linkid) in update_port()
[all …]
H A Drstp.c77 bff.bff_linkid = pd->linkid; in flush_lt()
150 status = dladm_get_single_mac_stat(dlhandle, pd->linkid, "link_duplex", in get_duplex()
198 bss.bss_linkid = pd->linkid; in set_port_state()
281 datalink_id_t linkid; in get_init_port_cfg() local
297 linkid = pdp->linkid; in get_init_port_cfg()
298 status = dladm_get_linkprop_values(dlhandle, linkid, in get_init_port_cfg()
304 status = dladm_get_linkprop_values(dlhandle, linkid, in get_init_port_cfg()
310 status = dladm_get_linkprop_values(dlhandle, linkid, in get_init_port_cfg()
316 status = dladm_get_linkprop_values(dlhandle, linkid, in get_init_port_cfg()
322 status = dladm_get_linkprop_values(dlhandle, linkid, in get_init_port_cfg()
[all …]
/titanic_44/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c143 dls_zone_remove(datalink_id_t linkid, void *arg) in dls_zone_remove() argument
147 if (dls_devnet_hold_tmp(linkid, &ddp) == 0) { in dls_zone_remove()
420 dls_mgmt_destroy(datalink_id_t linkid, boolean_t persist) in dls_mgmt_destroy() argument
426 destroy.ld_linkid = linkid; in dls_mgmt_destroy()
485 dls_mgmt_get_linkinfo(datalink_id_t linkid, char *link, in dls_mgmt_get_linkinfo() argument
493 getname.ld_linkid = linkid; in dls_mgmt_get_linkinfo()
521 dls_mgmt_get_linkid(const char *link, datalink_id_t *linkid) in dls_mgmt_get_linkid() argument
532 *linkid = retval.lr_linkid; in dls_mgmt_get_linkid()
538 dls_mgmt_get_next(datalink_id_t linkid, datalink_class_t class, in dls_mgmt_get_next() argument
548 getnext.ld_linkid = linkid; in dls_mgmt_get_next()
[all …]
/titanic_44/usr/src/cmd/dlutil/
H A Ddltraninfo.c153 dltran_hex_dump(datalink_id_t linkid, uint_t tranid) in dltran_hex_dump() argument
158 if (dltran_read_page(linkid, tranid, 0xa0, buf, &buflen) != 0) { in dltran_hex_dump()
170 if (dltran_read_page(linkid, tranid, 0xa2, buf, &buflen) != 0) { in dltran_hex_dump()
179 dltran_write_page(datalink_id_t linkid, uint_t tranid) in dltran_write_page() argument
185 if (dltran_read_page(linkid, tranid, 0xa0, buf, &buflen) != 0) { in dltran_write_page()
208 dltran_verbose_dump(datalink_id_t linkid, uint_t tranid) in dltran_verbose_dump() argument
215 if (dltran_read_page(linkid, tranid, 0xa0, buf, &buflen) != 0) { in dltran_verbose_dump()
232 dltran_dump_transceivers(dladm_handle_t hdl, datalink_id_t linkid, void *arg) in dltran_dump_transceivers() argument
244 if ((status = dladm_datalink_id2info(hdl, linkid, NULL, NULL, NULL, in dltran_dump_transceivers()
247 "%d: %s", linkid, dladm_status2str(status, in dltran_dump_transceivers()
[all …]
H A Ddlled.c145 datalink_id_t linkid; in dlled_set() local
149 if ((status = dladm_name2info(dlled_hdl, link, &linkid, NULL, NULL, in dlled_set()
158 dil.dil_linkid = linkid; in dlled_set()
171 dlled_get_led(dladm_handle_t hdl, datalink_id_t linkid, void *arg) in dlled_get_led() argument
178 if ((status = dladm_datalink_id2info(hdl, linkid, NULL, NULL, NULL, in dlled_get_led()
181 "%d: %s", linkid, dladm_status2str(status, in dlled_get_led()
189 dil.dil_linkid = linkid; in dlled_get_led()
265 datalink_id_t linkid; in main() local
269 &linkid, NULL, NULL, NULL)) != DLADM_STATUS_OK) { in main()
276 dlret = dlled_get_led(dlled_hdl, linkid, NULL); in main()
/titanic_44/usr/src/cmd/dladm/
H A Ddladm.c1808 datalink_id_t linkid; in do_create_aggr() local
1940 status = dladm_name2info(handle, name, &linkid, NULL, NULL, NULL); in do_create_aggr()
1947 pstatus = dladm_set_linkprop(handle, linkid, aip->ai_name, in do_create_aggr()
2006 datalink_id_t linkid; in do_delete_aggr() local
2027 status = i_dladm_aggr_get_linkid(altroot, argv[optind], &linkid, flags); in do_delete_aggr()
2034 status = dladm_aggr_delete(handle, linkid, flags); in do_delete_aggr()
2047 datalink_id_t linkid; in do_add_aggr() local
2091 if ((status = i_dladm_aggr_get_linkid(altroot, argv[optind], &linkid, in do_add_aggr()
2115 status = dladm_aggr_add(handle, linkid, ndev + nlink, port, flags); in do_add_aggr()
2144 datalink_id_t linkid; in do_remove_aggr() local
[all …]
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_netops.c58 datalink_id_t linkid; in devnet_validate() local
63 if (dls_mgmt_get_linkid(dv->sdev_name, &linkid) != 0) in devnet_validate()
68 return (zone_check_datalink(&zoneid, linkid) == 0 ? in devnet_validate()
206 devnet_filldir_datalink(datalink_id_t linkid, void *arg) in devnet_filldir_datalink() argument
216 if (dls_mgmt_get_linkinfo(linkid, link, NULL, NULL, NULL) != 0) in devnet_filldir_datalink()
251 datalink_id_t linkid; in devnet_filldir() local
290 linkid = DATALINK_INVALID_LINKID; in devnet_filldir()
292 linkid = dls_mgmt_get_next(linkid, DATALINK_CLASS_ALL, in devnet_filldir()
294 if (linkid != DATALINK_INVALID_LINKID) in devnet_filldir()
295 (void) devnet_filldir_datalink(linkid, ddv); in devnet_filldir()
[all …]
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dbridge_rcm.c486 datalink_id_t linkid; in bridge_notify_event() local
521 linkid = (datalink_id_t)id64; in bridge_notify_event()
522 if ((rv = bridge_configure(hd, linkid)) != RCM_SUCCESS) { in bridge_notify_event()
523 bridge_log_err(linkid, errorp, "configuring failed"); in bridge_notify_event()
669 bridge_update(dladm_handle_t handle, datalink_id_t linkid, void *arg) in bridge_update() argument
680 rcm_log_message(RCM_TRACE2, "Bridge: bridge_update(%u)\n", linkid); in bridge_update()
683 status = dladm_bridge_getlink(dld_handle, linkid, bridge, in bridge_update()
688 linkid, dladm_status2str(status, errmsg)); in bridge_update()
692 (void) asprintf(&rsrc, "%s/%u", RCM_LINK_PREFIX, linkid); in bridge_update()
696 bridge, linkid, strerror(errno)); in bridge_update()
[all …]
H A Dnetwork_rcm.c67 datalink_id_t linkid; member
275 datalink_id_t linkid; in net_passthru() local
300 linkid = node->linkid; in net_passthru()
301 (void) snprintf(exported, len, "SUNW_datalink/%u", linkid); in net_passthru()
330 _("NET: mark link %d as removed\n"), linkid); in net_passthru()
336 (void) dladm_set_linkprop(dld_handle, linkid, NULL, in net_passthru()
338 (void) dladm_destroy_datalink_id(dld_handle, linkid, in net_passthru()
448 if ((status = dladm_datalink_id2info(dld_handle, node->linkid, NULL, in net_getinfo()
472 (void) snprintf(exported, len, "SUNW_datalink/%u", node->linkid); in net_getinfo()
647 datalink_id_t linkid; in devfs_entry() local
[all …]
/titanic_44/usr/src/lib/fm/topo/modules/common/nic/
H A Dtopo_nic.c47 datalink_id_t linkid, uint_t tranid) in nic_create_transceiver() argument
62 dgt.dgt_linkid = linkid; in nic_create_transceiver()
75 dti.dti_linkid = linkid; in nic_create_transceiver()
137 datalink_id_t linkid; in nic_enum() local
167 if (dladm_dev2linkid(handle, dname, &linkid) != DLADM_STATUS_OK) in nic_enum()
171 dgt.dgt_linkid = linkid; in nic_enum()
188 if (nic_create_transceiver(mod, pnode, handle, linkid, i) != 0) in nic_enum()
/titanic_44/usr/src/lib/libc/port/sys/
H A Dzone.c222 zone_add_datalink(zoneid_t zoneid, datalink_id_t linkid) in zone_add_datalink() argument
224 return (syscall(SYS_zone, ZONE_ADD_DATALINK, zoneid, linkid)); in zone_add_datalink()
228 zone_remove_datalink(zoneid_t zoneid, datalink_id_t linkid) in zone_remove_datalink() argument
230 return (syscall(SYS_zone, ZONE_DEL_DATALINK, zoneid, linkid)); in zone_remove_datalink()
234 zone_check_datalink(zoneid_t *zoneidp, datalink_id_t linkid) in zone_check_datalink() argument
236 return (syscall(SYS_zone, ZONE_CHECK_DATALINK, zoneidp, linkid)); in zone_check_datalink()

1234