diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-01-13 20:14:23 +0200 |
---|---|---|
committer | Stephen Hemminger <shemming@brocade.com> | 2015-01-13 17:34:47 -0800 |
commit | 27b14f2e87c721e361e1926087a6f9566d25d764 (patch) | |
tree | d3bb242b28032ba5346708ac9e5efb11a73b7505 /include | |
parent | ff041f1619298375339496c6c4d1db17d2eedc86 (diff) |
Add define for nlmsg_types with timestamp
Add #define for nlmsg_type = 15
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libnetlink.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libnetlink.h b/include/libnetlink.h index de7c85f3..d081e542 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -158,5 +158,9 @@ extern int rtnl_from_file(FILE *, rtnl_filter_t handler, #define NDTA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ndtmsg)) #endif +/* User defined nlmsg_type which is used mostly for logging netlink + * messages from dump file */ +#define NLMSG_TSTAMP 15 + #endif /* __LIBNETLINK_H__ */ |