libnl/include/netlink
Коренберг Марк (дома) 582a32433c Run-time version information is now available
Run-time version information is available as exported four integers:
- const int      nl_ver_num = LIBNL_VER_NUM;
- const int      nl_ver_maj = LIBNL_VER_MAJ;
- const int      nl_ver_min = LIBNL_VER_MIN;
- const int      nl_ver_mic = LIBNL_VER_MIC;

The purpose of this is to get version of compiled library as run time.
Use cases:
- To know exact version of the library in Python's ctypes module,
  Say, to find out if nl_cache_mngr_alloc() allow sk=NULL

- To make sure that the version of the loaded library corresponds to the
  version of headers (for the paranoid). Say, to check:

  if (LIBNL_VER_NUM != nl_ver_num)
      exit(1);
2012-08-30 03:19:04 +06:00
..
cli Unified TC API 2011-03-21 15:51:52 +01:00
fib_lookup Rename struct nl_handle to struct nl_sock 2008-05-15 13:26:32 +02:00
genl genl: Export genl_ops_resolve() and genl_mngt_resolve() in header 2012-06-01 11:51:43 +02:00
netfilter Fix function nfnl_ct_del name 2011-03-16 13:11:50 +01:00
route Correct missing fwmark mask proto. 2012-06-11 23:50:27 +02:00
.gitignore ignore more temporary files 2008-05-05 17:13:02 +02:00
addr.h addr: hide nl_addr_destroy() 2010-11-26 16:32:10 +01:00
attr.h doc: documentation restructuring 2012-05-10 12:03:59 +02:00
cache-api.h cache: Add co_include_event allowing caches to provide their own nl_cache_include() implementation 2012-04-22 15:23:52 +02:00
cache.h cache: Add co_include_event allowing caches to provide their own nl_cache_include() implementation 2012-04-22 15:23:52 +02:00
data.h Remove obsolete nla_get_addr() and nla_get_data() 2008-05-14 18:26:47 +02:00
errno.h Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.h Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
list.h - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
msg.h rename NL_AUTO_PID to NL_AUTO_PORT 2010-11-23 13:31:39 +01:00
netlink-compat.h Initial import 2007-09-15 01:28:01 +02:00
netlink-kernel.h use linux/netlink.h instead of netlink/netlink-kernel.h 2011-03-16 12:53:14 +01:00
netlink.h nl: Fix return value of nl_recvmsgs() 2012-05-08 22:48:00 +02:00
object-api.h Make struct nl_object public, NLHDR_COMMON has been public anyway 2011-03-17 14:44:56 +01:00
object.h object: Add functions to access the object type, cache and object ops 2012-04-24 14:55:23 +02:00
socket.h socket: introduce nl_socket_modify_err_cb 2011-08-31 09:23:58 +02:00
types.h doc: documentation restructuring 2012-05-10 12:03:59 +02:00
utils.h Fix build warning after const char ** convert 2012-08-29 12:05:51 +02:00
version.h.in Run-time version information is now available 2012-08-30 03:19:04 +06:00