Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsoconfig.c598 sockconfig_socktable_t sc_table; in print_socktable() local
601 (void) memset(&sc_table, 0, sizeof (sockconfig_socktable_t)); in print_socktable()
604 if (_sockconfig(SOCKCONFIG_GET_SOCKTABLE, &sc_table) == -1) { in print_socktable()
610 if (sc_table.num_of_entries == 0) in print_socktable()
613 sc_table.st_entries = calloc(sc_table.num_of_entries, in print_socktable()
615 if (sc_table.st_entries == NULL) { in print_socktable()
621 if (_sockconfig(SOCKCONFIG_GET_SOCKTABLE, &sc_table) == -1) { in print_socktable()
631 for (i = 0; i < sc_table.num_of_entries; i++) { in print_socktable()
633 sc_table.st_entries[i].se_family, in print_socktable()
634 sc_table.st_entries[i].se_type, in print_socktable()
[all …]