6#ifndef NETLINK_FIB_LOOKUP_REQUEST_H_
7#define NETLINK_FIB_LOOKUP_REQUEST_H_
9#include <netlink/netlink.h>
10#include <netlink/addr.h>
18#define REQUEST_CAST(ptr) ((struct flnl_request *) (ptr))
20extern struct flnl_request * flnl_request_alloc(
void);
22extern void flnl_request_set_fwmark(
struct flnl_request *,
24extern uint64_t flnl_request_get_fwmark(
struct flnl_request *);
25extern void flnl_request_set_tos(
struct flnl_request *,
27extern int flnl_request_get_tos(
struct flnl_request *);
28extern void flnl_request_set_scope(
struct flnl_request *,
30extern int flnl_request_get_scope(
struct flnl_request *);
31extern void flnl_request_set_table(
struct flnl_request *,
33extern int flnl_request_get_table(
struct flnl_request *);
34extern int flnl_request_set_addr(
struct flnl_request *,
36extern struct nl_addr * flnl_request_get_addr(
struct flnl_request *);
38extern int flnl_request_cmp(
struct flnl_request *,
39 struct flnl_request *);