Home
last modified time | relevance | path

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

/freebsd/contrib/wireguard-tools/
H A Dshow.c213 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()
[all …]
H A Dterminal.h49 void terminal_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
H A Dterminal.c69 void terminal_printf(const char *fmt, ...) in terminal_printf() function