#include <linux/netlink.h>
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 } |
#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)))) |