Import 2.1.42pre1
[davej-history.git] / include / linux / netlink.h
blob711687af8dc4fe0241c21f517345d1011b50ca76
1 #ifndef __LINUX_NETLINK_H
2 #define __LINUX_NETLINK_H
4 struct nlmsghdr
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.
20 #endif