Home
last modified time | relevance | path

Searched refs:prefixstr (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c150 char *prefixstr; in parseconf() local
189 prefixstr = cp; in parseconf()
193 filename, lineno, prefixstr); in parseconf()
197 if (inet_pton(AF_INET6, prefixstr, &prefix) != 1) { in parseconf()
200 filename, lineno, prefixstr); in parseconf()
360 char prefixstr[INET6_ADDRSTRLEN + sizeof ("/128")]; in printpolicy() local
399 (void) snprintf(prefixstr, sizeof (prefixstr), "%s/%d", in printpolicy()
401 &policy_ptr[policy_index].ip6_asp_prefix, prefixstr, in printpolicy()
402 sizeof (prefixstr)), in printpolicy()
404 (void) printf("%-45s %10d %s\n", prefixstr, in printpolicy()
/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_ncp.c631 char *prefixstr; in nwam_ncu_internal_name_to_name() local
637 prefixstr = NWAM_NCU_LINK_NAME_PRE; in nwam_ncu_internal_name_to_name()
641 prefixstr = NWAM_NCU_INTERFACE_NAME_PRE; in nwam_ncu_internal_name_to_name()
647 *namep = strdup(internalname + strlen(prefixstr)); in nwam_ncu_internal_name_to_name()
947 char *prefixstr; in nwam_ncu_name_to_typed_name() local
954 prefixstr = NWAM_NCU_INTERFACE_NAME_PRE; in nwam_ncu_name_to_typed_name()
957 prefixstr = NWAM_NCU_LINK_NAME_PRE; in nwam_ncu_name_to_typed_name()
962 typednamesz = strlen(name) + strlen(prefixstr) + 1; in nwam_ncu_name_to_typed_name()
967 if (strncasecmp(prefixstr, name, strlen(prefixstr)) == 0) { in nwam_ncu_name_to_typed_name()
971 prefixstr, name); in nwam_ncu_name_to_typed_name()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf6.c258 char prefixstr[INET6_ADDRSTRLEN]; in ospf6_print_lsaprefix() local
274 (void) inet_ntop(AF_INET6, (char *)&prefix, prefixstr, in ospf6_print_lsaprefix()
277 sprintf(sum_line, "%s/%d", prefixstr, lpfx->lsa6_plen); in ospf6_print_lsaprefix()
282 "%s/%d", prefixstr, lpfx->lsa6_plen); in ospf6_print_lsaprefix()
H A Dsnoop_icmp.c858 char prefixstr[INET6_ADDRSTRLEN]; local
894 (char *)&popt->nd_opt_pi_prefix, prefixstr,
/titanic_41/usr/src/cmd/zoneadmd/
H A Dvplat.c1844 addr2netmask(char *prefixstr, int maxprefixlen, uchar_t *maskstr) in addr2netmask() argument
1848 prefixlen = atoi(prefixstr); in addr2netmask()