Home
last modified time | relevance | path

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

/freebsd/contrib/wireguard-tools/
H A Dshow.c221 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 Dshowconf.c43 if (device->fwmark) in showconf_main()
44 printf("FwMark = 0x%x\n", device->fwmark); in showconf_main()
H A Dconfig.c77 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 Dipc-uapi.h51 fprintf(f, "fwmark=%u\n", dev->fwmark); in userspace_set_device()
184 dev->fwmark = NUM(0xffffffffU); in userspace_get_device()
H A Dcontainers.h86 uint32_t fwmark; member
H A Dipc-freebsd.h97 dev->fwmark = number; in kernel_get_device()
276 nvlist_add_number(nvl_device, "user-cookie", dev->fwmark); in kernel_set_device()