Lookup Request Creation/Deletion | |
struct flnl_request * | flnl_request_alloc (void) |
Attributes | |
void | flnl_request_set_fwmark (struct flnl_request *req, uint64_t fwmark) |
uint64_t | flnl_request_get_fwmark (struct flnl_request *req) |
void | flnl_request_set_tos (struct flnl_request *req, int tos) |
int | flnl_request_get_tos (struct flnl_request *req) |
void | flnl_request_set_scope (struct flnl_request *req, int scope) |
int | flnl_request_get_scope (struct flnl_request *req) |
void | flnl_request_set_table (struct flnl_request *req, int table) |
int | flnl_request_get_table (struct flnl_request *req) |
int | flnl_request_set_addr (struct flnl_request *req, struct nl_addr *addr) |
struct nl_addr * | flnl_request_get_addr (struct flnl_request *req) |
struct flnl_request* flnl_request_alloc | ( | void | ) |
References nl_object_alloc(), and REQUEST_CAST.
Referenced by main().
struct nl_addr* flnl_request_get_addr | ( | struct flnl_request * | req | ) |
References flnl_request::lr_addr, and NULL.
Referenced by flnl_lookup_build_request().
uint64_t flnl_request_get_fwmark | ( | struct flnl_request * | req | ) |
References flnl_request::lr_fwmark.
Referenced by flnl_lookup_build_request().
int flnl_request_get_scope | ( | struct flnl_request * | req | ) |
References flnl_request::lr_scope.
Referenced by flnl_lookup_build_request().
int flnl_request_get_table | ( | struct flnl_request * | req | ) |
References flnl_request::lr_table.
Referenced by flnl_lookup_build_request().
int flnl_request_get_tos | ( | struct flnl_request * | req | ) |
References flnl_request::lr_tos.
Referenced by flnl_lookup_build_request().
int flnl_request_set_addr | ( | struct flnl_request * | req, |
struct nl_addr * | addr | ||
) |
References nl_addr::a_family, flnl_request::lr_addr, nl_addr_get(), nl_addr_put(), and NLE_AF_NOSUPPORT.
Referenced by main().
void flnl_request_set_fwmark | ( | struct flnl_request * | req, |
uint64_t | fwmark | ||
) |
References flnl_request::lr_fwmark.
Referenced by main().
void flnl_request_set_scope | ( | struct flnl_request * | req, |
int | scope | ||
) |
References flnl_request::lr_scope.
Referenced by main().
void flnl_request_set_table | ( | struct flnl_request * | req, |
int | table | ||
) |
References flnl_request::lr_table.
Referenced by main().
void flnl_request_set_tos | ( | struct flnl_request * | req, |
int | tos | ||
) |