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

Data Structures

struct  nl_cb
 
struct  nl_sock
 
struct  nl_cache
 
struct  nl_cache_assoc
 
struct  nl_cache_mngr
 
struct  nl_object
 
struct  nl_data
 
struct  nl_addr
 
struct  nl_msg
 
struct  rtnl_link_map
 
struct  rtnl_link
 
struct  rtnl_ncacheinfo
 
struct  rtnl_neigh
 
struct  rtnl_addr_cacheinfo
 
struct  rtnl_addr
 
struct  rtnl_nexthop
 
struct  rtnl_route
 
struct  rtnl_rule
 
struct  rtnl_neightbl_parms
 
struct  rtnl_neightbl
 Neighbour table. More...
 
struct  rtnl_ratespec
 
struct  rtnl_tstats
 
struct  rtnl_tca
 
struct  rtnl_qdisc
 
struct  rtnl_class
 
struct  rtnl_cls
 
struct  rtnl_u32
 
struct  rtnl_cgroup
 
struct  rtnl_fw
 
struct  rtnl_ematch
 
struct  rtnl_ematch_tree
 
struct  rtnl_dsmark_qdisc
 
struct  rtnl_dsmark_class
 
struct  rtnl_fifo
 
struct  rtnl_prio
 
struct  rtnl_tbf
 
struct  rtnl_sfq
 
struct  rtnl_netem_corr
 
struct  rtnl_netem_reo
 
struct  rtnl_netem_crpt
 
struct  rtnl_netem_dist
 
struct  rtnl_netem
 
struct  rtnl_htb_qdisc
 
struct  rtnl_htb_class
 
struct  rtnl_cbq
 
struct  rtnl_red
 
struct  flnl_request
 
struct  flnl_result
 
struct  genl_family_op
 
struct  genl_family
 
union  nfnl_ct_proto
 
struct  nfnl_ct_dir
 
union  nfnl_ct_protoinfo
 
struct  nfnl_ct
 
struct  nfnl_log
 
struct  nfnl_log_msg
 
struct  nfnl_queue
 
struct  nfnl_queue_msg
 
struct  nfnl_nft_table
 
struct  nfnl_nft_chain
 
struct  nfnl_nft_rule
 
struct  nfnl_nft_expr
 
struct  nfnl_nft_set
 
struct  nfnl_nft_setelem
 
struct  nfnl_nft_data
 

Macros

#define NL_SOCK_BUFSIZE_SET   (1<<0)
 
#define NL_SOCK_PASSCRED   (1<<1)
 
#define NL_OWN_PORT   (1<<2)
 
#define NL_MSG_PEEK   (1<<3)
 
#define NL_NO_AUTO_ACK   (1<<4)
 
#define NL_MSG_CRED_PRESENT   1
 
#define LOOSE_COMPARISON   1
 
#define NL_OBJ_MARK   1
 
#define IFQDISCSIZ   32
 
#define NTBLNAMSIZ   32
 
#define TCKINDSIZ   32
 
#define NL_TCA_GENERIC(pre)
 
#define GENL_OP_HAS_POLICY   1
 
#define GENL_OP_HAS_DOIT   2
 
#define GENL_OP_HAS_DUMPIT   4
 

Macro Definition Documentation

#define GENL_OP_HAS_DOIT   2
#define GENL_OP_HAS_DUMPIT   4
#define GENL_OP_HAS_POLICY   1
#define IFQDISCSIZ   32
#define LOOSE_COMPARISON   1

Referenced by nl_object_match_filter().

#define NL_MSG_CRED_PRESENT   1

Referenced by nlmsg_get_creds(), and nlmsg_set_creds().

#define NL_MSG_PEEK   (1<<3)
#define NL_NO_AUTO_ACK   (1<<4)
#define NL_OBJ_MARK   1
#define NL_OWN_PORT   (1<<2)
#define NL_SOCK_BUFSIZE_SET   (1<<0)
#define NL_SOCK_PASSCRED   (1<<1)

Referenced by nl_recv(), and nl_socket_set_passcred().

#define NL_TCA_GENERIC (   pre)
Value:
NLHDR_COMMON \
uint32_t pre ##_family; \
uint32_t pre ##_ifindex; \
uint32_t pre ##_handle; \
uint32_t pre ##_parent; \
uint32_t pre ##_info; \
char pre ##_kind[TCKINDSIZ]; \
struct nl_data * pre ##_opts; \
uint64_t pre ##_stats[RTNL_TC_STATS_MAX+1]; \
struct nl_data * pre ##_xstats; \
struct nl_data * pre ##_subdata; \
Definition: netlink-types.h:109
#define RTNL_TC_STATS_MAX
Definition: tc.h:40
#define NTBLNAMSIZ   32
#define TCKINDSIZ   32