libnl 3.7.0

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)
 

Detailed Description

Function Documentation

◆ flnl_request_alloc()

struct flnl_request * flnl_request_alloc ( void  )

Definition at line 79 of file request.c.

◆ flnl_request_set_fwmark()

void flnl_request_set_fwmark ( struct flnl_request *  req,
uint64_t  fwmark 
)

Definition at line 91 of file request.c.

◆ flnl_request_get_fwmark()

uint64_t flnl_request_get_fwmark ( struct flnl_request *  req)

Definition at line 97 of file request.c.

◆ flnl_request_set_tos()

void flnl_request_set_tos ( struct flnl_request *  req,
int  tos 
)

Definition at line 105 of file request.c.

◆ flnl_request_get_tos()

int flnl_request_get_tos ( struct flnl_request *  req)

Definition at line 111 of file request.c.

◆ flnl_request_set_scope()

void flnl_request_set_scope ( struct flnl_request *  req,
int  scope 
)

Definition at line 119 of file request.c.

◆ flnl_request_get_scope()

int flnl_request_get_scope ( struct flnl_request *  req)

Definition at line 125 of file request.c.

◆ flnl_request_set_table()

void flnl_request_set_table ( struct flnl_request *  req,
int  table 
)

Definition at line 133 of file request.c.

◆ flnl_request_get_table()

int flnl_request_get_table ( struct flnl_request *  req)

Definition at line 139 of file request.c.

◆ flnl_request_set_addr()

int flnl_request_set_addr ( struct flnl_request *  req,
struct nl_addr *  addr 
)

Definition at line 147 of file request.c.

◆ flnl_request_get_addr()

struct nl_addr * flnl_request_get_addr ( struct flnl_request *  req)

Definition at line 163 of file request.c.