X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/1caa23ff879cec7f8f36b32a987f0610291ef177..7c9ca4bd3cf857d45d931f224fe6415b36d1cffe:/netlink.h diff --git a/netlink.h b/netlink.h index ffefd80..a7bc9af 100644 --- a/netlink.h +++ b/netlink.h @@ -31,6 +31,10 @@ struct netlink_client { struct netlink_client *next; }; +/* options field in 'struct netlink_client' */ +#define OPT_SOFTROUTE 1 +#define OPT_ALLOWROUTE 2 + typedef bool_t netlink_route_fn(void *cst, struct netlink_client *routes); /* Netlink provides one function to the device driver, to call to deliver