netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
object-api.h File Reference
#include <netlink/netlink.h>
#include <netlink/utils.h>
Include dependency graph for object-api.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  nl_object_ops
 Object Operations. More...
 

Macros

#define NLHDR_COMMON
 Common Object Header. More...
 
#define AVAILABLE(A, B, ATTR)   (((A)->ce_mask & (B)->ce_mask) & (ATTR))
 Return true if attribute is available in both objects. More...
 
#define AVAILABLE_MISMATCH(A, B, ATTR)   (((A)->ce_mask ^ (B)->ce_mask) & (ATTR))
 Return true if attribute is available in only one of both objects. More...
 
#define ATTR_MISMATCH(A, B, ATTR, EXPR)
 Return true if attributes mismatch. More...
 
#define ATTR_DIFF(LIST, ATTR, A, B, EXPR)
 Return attribute bit if attribute does not match. More...