Home
last modified time | relevance | path

Searched refs:aobjname (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_addr.c132 const char *aobjname, ipadm_addr_type_t atype) in i_ipadm_init_addr() argument
137 (void) strlcpy(ipaddr->ipadm_aobjname, aobjname, in i_ipadm_init_addr()
225 char *aobjname = ipaddr->ipadm_aobjname; in i_ipadm_get_static_addr_db() local
232 status = i_ipadm_get_db_addr(iph, NULL, aobjname, &onvl); in i_ipadm_get_static_addr_db()
311 const char *aobjname, ipadm_addr_type_t atype, int lnum) in ipadm_add_aobjname() argument
318 (void) strlcpy(larg.ia_aobjname, aobjname, sizeof (larg.ia_aobjname)); in ipadm_add_aobjname()
334 const char *aobjname, ipadm_addr_type_t atype, int lnum) in ipadm_delete_aobjname() argument
338 i_ipadm_init_addr(&aobj, ifname, aobjname, atype); in ipadm_delete_aobjname()
683 char *aobjname = NULL; in i_ipadm_nvl2ainfo_persist() local
704 err = nvpair_value_string(nvp, &aobjname); in i_ipadm_nvl2ainfo_persist()
[all …]
H A Dlibipadm.c637 char *aobjname = NULL, *pval = NULL, *ifname = NULL; in i_ipadm_init_addrobj() local
650 if ((err = nvpair_value_string(nvp, &aobjname)) != 0) in i_ipadm_init_addrobj()
676 status = ipadm_set_addrprop(iph, name, pval, aobjname, in i_ipadm_init_addrobj()
/titanic_41/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c86 const char *aobjname) in ipmgmt_nvlist_match() argument
109 if (aobjname != NULL && aobjname[0] == '\0') in ipmgmt_nvlist_match()
110 aobjname = NULL; in ipmgmt_nvlist_match()
124 if ((aobjname == NULL && db_aobjname != NULL) || in ipmgmt_nvlist_match()
125 (aobjname != NULL && db_aobjname == NULL) || in ipmgmt_nvlist_match()
126 strcmp(aobjname, db_aobjname) != 0) { in ipmgmt_nvlist_match()
142 char *proto = NULL, *ifname = NULL, *aobjname = NULL; in ipmgmt_nvlist_intersects() local
153 (void) nvpair_value_string(nvp, &aobjname); in ipmgmt_nvlist_intersects()
156 return (ipmgmt_nvlist_match(db_nvl, proto, ifname, aobjname)); in ipmgmt_nvlist_intersects()
165 const char *ifname, char *aobjname) in ipmgmt_nvlist_contains() argument
[all …]
H A Dipmgmt_door.c225 char *aobjname = NULL, *ifname = NULL; in i_ipmgmt_nvl2aobjnode() local
239 &aobjname)) != 0 || in i_ipmgmt_nvl2aobjnode()
277 (void) strlcpy(nodep->am_aobjname, aobjname, in i_ipmgmt_nvl2aobjnode()
364 char *aobjname = largp->ia_aobjname; in ipmgmt_aobjop_handler() local
375 (void) strlcpy(node.am_aobjname, aobjname, in ipmgmt_aobjop_handler()
395 (void) strlcpy(node.am_aobjname, aobjname, in ipmgmt_aobjop_handler()
406 if (aobjname[0] == '\0' || ifname[0] == '\0' || lnum == -1 || in ipmgmt_aobjop_handler()
412 (void) strlcpy(node.am_aobjname, aobjname, in ipmgmt_aobjop_handler()
427 if (aobjname[0] == '\0') { in ipmgmt_aobjop_handler()
434 if (strcmp(head->am_aobjname, aobjname) != 0) in ipmgmt_aobjop_handler()
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_ip.c640 char aobjname[IPADM_AOBJSIZ]; in addrinfo_for_ipaddr() local
645 ipstatus = ipadm_get_aobjname(ipaddr, aobjname, sizeof (aobjname)); in addrinfo_for_ipaddr()
661 if (strcmp(ainfop->ia_aobjname, aobjname) == 0) { in addrinfo_for_ipaddr()
1209 nwamd_down_interface(const char *aobjname, ipadm_addr_type_t atype, in nwamd_down_interface() argument
1216 ifname, aobjname); in nwamd_down_interface()
1217 if ((ipstatus = ipadm_delete_addr(ipadm_handle, aobjname, in nwamd_down_interface()
1354 char aobjname[IPADM_AOBJSIZ]; in start_dhcp_thread() local
1356 if ((ipstatus = ipadm_get_aobjname(ipaddr, aobjname, in start_dhcp_thread()
1357 sizeof (aobjname))) != IPADM_SUCCESS) { in start_dhcp_thread()
1363 ipstatus = ipadm_refresh_addr(ipadm_handle, aobjname, in start_dhcp_thread()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c1104 process_static_addrargs(const char *use, char *addrarg, const char *aobjname) in process_static_addrargs() argument
1152 status = ipadm_create_addrobj(IPADM_ADDR_STATIC, aobjname, &ipaddr); in process_static_addrargs()
2009 char *nv, *aobjname; in set_addrprop() local
2040 aobjname = argv[optind]; in set_addrprop()
2043 status = ipadm_set_addrprop(iph, prop_name, prop_val, aobjname, flags); in set_addrprop()
2086 char *aobjname; in do_show_addrprop() local
2117 aobjname = argv[optind]; in do_show_addrprop()
2118 cp = strchr(aobjname, '/'); in do_show_addrprop()
2122 ifname = aobjname; in do_show_addrprop()
2124 aobjname = NULL; in do_show_addrprop()
[all …]