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

Data Structures

struct  ifaddrmsg
 
struct  ifa_cacheinfo
 

Macros

#define IFA_MAX   (__IFA_MAX - 1)
 
#define IFA_F_SECONDARY   0x01
 
#define IFA_F_TEMPORARY   IFA_F_SECONDARY
 
#define IFA_F_NODAD   0x02
 
#define IFA_F_OPTIMISTIC   0x04
 
#define IFA_F_HOMEADDRESS   0x10
 
#define IFA_F_DEPRECATED   0x20
 
#define IFA_F_TENTATIVE   0x40
 
#define IFA_F_PERMANENT   0x80
 
#define IFA_RTA(r)   ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
 
#define IFA_PAYLOAD(n)   NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
 

Enumerations

enum  {
  IFA_UNSPEC,
  IFA_ADDRESS,
  IFA_LOCAL,
  IFA_LABEL,
  IFA_BROADCAST,
  IFA_ANYCAST,
  IFA_CACHEINFO,
  IFA_MULTICAST,
  __IFA_MAX
}
 

Macro Definition Documentation

#define IFA_F_DEPRECATED   0x20
#define IFA_F_HOMEADDRESS   0x10
#define IFA_F_NODAD   0x02
#define IFA_F_OPTIMISTIC   0x04
#define IFA_F_PERMANENT   0x80
#define IFA_F_SECONDARY   0x01
#define IFA_F_TEMPORARY   IFA_F_SECONDARY
#define IFA_F_TENTATIVE   0x40
#define IFA_MAX   (__IFA_MAX - 1)
#define IFA_PAYLOAD (   n)    NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
#define IFA_RTA (   r)    ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))

Enumeration Type Documentation

anonymous enum
Enumerator
IFA_UNSPEC 
IFA_ADDRESS 
IFA_LOCAL 
IFA_LABEL 
IFA_BROADCAST 
IFA_ANYCAST 
IFA_CACHEINFO 
IFA_MULTICAST 
__IFA_MAX