blob: 711687af8dc4fe0241c21f517345d1011b50ca76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef __LINUX_NETLINK_H
#define __LINUX_NETLINK_H
struct nlmsghdr
{
unsigned long nlmsg_len; /* Length of message including header */
unsigned long nlmsg_type; /* Message type */
unsigned long nlmsg_seq; /* Sequence number */
unsigned long nlmsg_pid; /* Sending process PID */
unsigned char nlmsg_data[0];
};
#define NLMSG_ALIGN(len) ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) )
#define NLMSG_ACK 0x01 /* int - error code */
#define NLMSG_OVERRUN 0x02 /* unsigned long[2] - start and end
* of lost message sequence numbers.
*/
#endif
|