Lines Matching refs:terminal_printf

213 	terminal_printf(TERMINAL_RESET);  in pretty_print()
214terminal_printf(TERMINAL_FG_GREEN TERMINAL_BOLD "interface" TERMINAL_RESET ": " TERMINAL_FG_GREEN … in pretty_print()
216 terminal_printf(" " TERMINAL_BOLD "public key" TERMINAL_RESET ": %s\n", key(device->public_key)); in pretty_print()
218terminal_printf(" " TERMINAL_BOLD "private key" TERMINAL_RESET ": %s\n", masked_key(device->priva… in pretty_print()
220 terminal_printf(" " TERMINAL_BOLD "listening port" TERMINAL_RESET ": %u\n", device->listen_port); in pretty_print()
222 terminal_printf(" " TERMINAL_BOLD "fwmark" TERMINAL_RESET ": 0x%x\n", device->fwmark); in pretty_print()
225 terminal_printf("\n"); in pretty_print()
228terminal_printf(TERMINAL_FG_YELLOW TERMINAL_BOLD "peer" TERMINAL_RESET ": " TERMINAL_FG_YELLOW "%s… in pretty_print()
230terminal_printf(" " TERMINAL_BOLD "preshared key" TERMINAL_RESET ": %s\n", masked_key(peer->presh… in pretty_print()
232terminal_printf(" " TERMINAL_BOLD "endpoint" TERMINAL_RESET ": %s\n", endpoint(&peer->endpoint.ad… in pretty_print()
233 terminal_printf(" " TERMINAL_BOLD "allowed ips" TERMINAL_RESET ": "); in pretty_print()
236terminal_printf("%s" TERMINAL_FG_CYAN "/" TERMINAL_RESET "%u%s", ip(allowedip), allowedip->cidr, a… in pretty_print()
238 terminal_printf("(none)\n"); in pretty_print()
240terminal_printf(" " TERMINAL_BOLD "latest handshake" TERMINAL_RESET ": %s\n", ago(&peer->last_han… in pretty_print()
242 terminal_printf(" " TERMINAL_BOLD "transfer" TERMINAL_RESET ": "); in pretty_print()
243 terminal_printf("%s received, ", bytes(peer->rx_bytes)); in pretty_print()
244 terminal_printf("%s sent\n", bytes(peer->tx_bytes)); in pretty_print()
247terminal_printf(" " TERMINAL_BOLD "persistent keepalive" TERMINAL_RESET ": %s\n", every(peer->per… in pretty_print()
249 terminal_printf("\n"); in pretty_print()