Go to the source code of this file.
◆ RTMGRP_LINK
◆ RTMGRP_IPV4_IFADDR
#define RTMGRP_IPV4_IFADDR 0x10 |
◆ RTM_NEWLINK
#define RTM_NEWLINK RTM_NEWLINK |
◆ RTM_DELLINK
#define RTM_DELLINK RTM_DELLINK |
◆ RTM_NEWADDR
#define RTM_NEWADDR RTM_NEWADDR |
◆ RTM_DELADDR
#define RTM_DELADDR RTM_DELADDR |
◆ RTA_ALIGNTO
◆ RTA_ALIGN
◆ RTA_OK
#define RTA_OK |
( |
|
rta, |
|
|
|
len |
|
) |
| |
Value: ((len) >= (
int)
sizeof(
struct rtattr) && \
Definition rtnetlink.h:33
unsigned short rta_len
Definition rtnetlink.h:34
◆ RTA_NEXT
#define RTA_NEXT |
( |
|
rta, |
|
|
|
attrlen |
|
) |
| |
Value:
#define RTA_ALIGN(len)
Definition rtnetlink.h:39
◆ RTA_LENGTH
◆ RTA_SPACE
◆ RTA_DATA
#define RTA_DATA |
( |
|
rta | ) |
((void*)(((char*)(rta)) + RTA_LENGTH(0))) |
◆ RTA_PAYLOAD
#define RTA_PAYLOAD |
( |
|
rta | ) |
((int)((rta)->rta_len) - RTA_LENGTH(0)) |
◆ anonymous enum
Enumerator |
---|
RTM_NEWLINK | |
RTM_NEWLINK | |
RTM_DELLINK | |
RTM_DELLINK | |
RTM_NEWADDR | |
RTM_NEWADDR | |
RTM_DELADDR | |
RTM_DELADDR | |