Searched refs:ss_state (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | netstat.c | 166 char *ss_state = "UNKNOWN", buf[12]; in display_data() local 172 ss_state = state_label[state]; in display_data() 175 if (state == 1) ss_state = state_label[state]; in display_data() 176 else if (state == 7) ss_state = ""; in display_data() 178 else if (!strcmp(label, "raw")) sprintf(ss_state = buf, "%u", state); in display_data() 181 …xprintf("%3s %6d %6d %-51s %-51s %-12s%s\n", label, rxq, txq, lip, rip, ss_state, get_pid_name(i… in display_data() 183 xprintf("%3s %6d %6d %-51s %-51s %-12s\n", label, rxq, txq, lip, rip, ss_state); in display_data() 185 …xprintf("%3s %6d %6d %-23s %-23s %-12s%s\n", label, rxq, txq, lip, rip, ss_state, get_pid_name(i… in display_data() 186 else xprintf("%3s %6d %6d %-23s %-23s %-12s\n", label, rxq, txq, lip, rip, ss_state); in display_data() 345 … char *ss_state[] = { "FREE", "LISTENING", "CONNECTING", "CONNECTED", "DISCONNECTING", "UNKNOWN"}; in show_unix_sockets() local [all …]
|