Searched refs:fwmark (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/wireguard-tools/ |
H A D | show.c | 221 if (device->fwmark) in pretty_print() 222 terminal_printf(" " TERMINAL_BOLD "fwmark" TERMINAL_RESET ": 0x%x\n", device->fwmark); in pretty_print() 263 if (device->fwmark) in dump_print() 264 printf("0x%x\n", device->fwmark); in dump_print() 310 if (device->fwmark) in ugly_print() 311 printf("0x%x\n", device->fwmark); in ugly_print()
|
H A D | showconf.c | 43 if (device->fwmark) in showconf_main() 44 printf("FwMark = 0x%x\n", device->fwmark); in showconf_main()
|
H A D | config.c | 77 static inline bool parse_fwmark(uint32_t *fwmark, uint32_t *flags, const char *value) in parse_fwmark() argument 84 *fwmark = 0; in parse_fwmark() 99 *fwmark = ret; in parse_fwmark() 448 ret = parse_fwmark(&ctx->device->fwmark, &ctx->device->flags, value); in process_line() 581 if (!parse_fwmark(&device->fwmark, &device->flags, argv[1])) in config_read_cmd()
|
H A D | ipc-uapi.h | 51 fprintf(f, "fwmark=%u\n", dev->fwmark); in userspace_set_device() 184 dev->fwmark = NUM(0xffffffffU); in userspace_get_device()
|
H A D | containers.h | 86 uint32_t fwmark; member
|
H A D | ipc-freebsd.h | 97 dev->fwmark = number; in kernel_get_device() 276 nvlist_add_number(nvl_device, "user-cookie", dev->fwmark); in kernel_set_device()
|