netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
request.c File Reference
#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/attr.h>
#include <netlink/utils.h>
#include <netlink/object.h>
#include <netlink/fib_lookup/request.h>
Include dependency graph for request.c:

Macros

#define REQ_DIFF(ATTR, EXPR)   ATTR_DIFF(attrs, REQUEST_ATTR_##ATTR, a, b, EXPR)
 

Functions

Lookup Request Creation/Deletion
struct flnl_requestflnl_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_addrflnl_request_get_addr (struct flnl_request *req)
 

Macro Definition Documentation

#define REQ_DIFF (   ATTR,
  EXPR 
)    ATTR_DIFF(attrs, REQUEST_ATTR_##ATTR, a, b, EXPR)