1 #ifndef __LINUX_NETLINK_H
2 #define __LINUX_NETLINK_H
6 unsigned long nlmsg_len
; /* Length of message including header */
7 unsigned long nlmsg_type
; /* Message type */
8 unsigned long nlmsg_seq
; /* Sequence number */
9 unsigned long nlmsg_pid
; /* Sending process PID */
10 unsigned char nlmsg_data
[0];
13 #define NLMSG_ALIGN(len) ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) )
15 #define NLMSG_ACK 0x01 /* int - error code */
16 #define NLMSG_OVERRUN 0x02 /* unsigned long[2] - start and end
17 * of lost message sequence numbers.