Home
last modified time | relevance | path

Searched refs:nwiftab (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/zonecfg/
H A Dzonecfg.c1793 struct zone_nwiftab nwiftab; in export_func() local
1964 while (zonecfg_getnwifent(handle, &nwiftab) == Z_OK) { in export_func()
1967 export_prop(of, PT_ADDRESS, nwiftab.zone_nwif_address); in export_func()
1969 nwiftab.zone_nwif_allowed_address); in export_func()
1970 export_prop(of, PT_PHYSICAL, nwiftab.zone_nwif_physical); in export_func()
1971 export_prop(of, PT_DEFROUTER, nwiftab.zone_nwif_defrouter); in export_func()
2700 fill_in_nwiftab(cmd_t *cmd, struct zone_nwiftab *nwiftab, in fill_in_nwiftab() argument
2709 bzero(nwiftab, sizeof (*nwiftab)); in fill_in_nwiftab()
2719 (void) strlcpy(nwiftab->zone_nwif_address, in fill_in_nwiftab()
2720 pp->pv_simple, sizeof (nwiftab->zone_nwif_address)); in fill_in_nwiftab()
[all …]
/titanic_41/usr/src/cmd/zoneadm/
H A Dzoneadm.c2606 struct zone_nwiftab nwiftab; in verify_handle() local
2632 while (zonecfg_getnwifent(handle, &nwiftab) == Z_OK) { in verify_handle()
2641 if (strcmp(nwiftab.zone_nwif_physical, "lo0") == 0) in verify_handle()
2646 nwiftab.zone_nwif_address, &lifr)) != Z_OK) { in verify_handle()
2647 print_net_err(nwiftab.zone_nwif_physical, in verify_handle()
2648 nwiftab.zone_nwif_address, af, in verify_handle()
2655 nwiftab.zone_nwif_physical)) { in verify_handle()
2668 nwiftab.zone_nwif_physical); in verify_handle()
2675 nwiftab.zone_nwif_physical) || in verify_handle()
2677 nwiftab.zone_nwif_physical)) { in verify_handle()
[all …]
/titanic_41/usr/src/cmd/zoneadmd/
H A Dvplat.c2413 struct zone_nwiftab nwiftab, loopback_iftab; in configure_shared_network_interfaces() local
2432 if (zonecfg_getnwifent(handle, &nwiftab) != Z_OK) in configure_shared_network_interfaces()
2434 if (configure_one_interface(zlogp, zoneid, &nwiftab) != in configure_shared_network_interfaces()
2898 struct zone_nwiftab nwiftab; in configure_exclusive_network_interfaces() local
2922 if (zonecfg_getnwifent(handle, &nwiftab) != Z_OK) in configure_exclusive_network_interfaces()
2956 if (dladm_name2info(dld_handle, nwiftab.zone_nwif_physical, in configure_exclusive_network_interfaces()
2959 nwiftab.zone_nwif_physical) == 0) { in configure_exclusive_network_interfaces()
2971 nwiftab.zone_nwif_physical); in configure_exclusive_network_interfaces()
2976 new->za_nwiftab = nwiftab; in configure_exclusive_network_interfaces()