summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/nfnl.version55
2 files changed, 58 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d0098cc..5524b0f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,9 @@ include $(top_srcdir)/Make_global.am
lib_LTLIBRARIES = libnfnetlink.la
libnfnetlink_la_LDFLAGS = -Wc,-nostartfiles \
- -version-info $(LIBVERSION)
+ -version-info $(LIBVERSION) \
+ -Wl,--version-script=$(srcdir)/nfnl.version
libnfnetlink_la_SOURCES = libnfnetlink.c iftable.c rtnl.c
+EXTRA_libnfnetlink_la_DEPENDENCIES = $(srcdir)/nfnl.version
noinst_HEADERS = iftable.h rtnl.h
diff --git a/src/nfnl.version b/src/nfnl.version
new file mode 100644
index 0000000..c3817dd
--- /dev/null
+++ b/src/nfnl.version
@@ -0,0 +1,55 @@
+NFNETLINK_1.0.1 {
+ global:
+ nfnl_fd;
+ nfnl_portid;
+ nfnl_open;
+ nfnl_close;
+ nfnl_subsys_open;
+ nfnl_subsys_close;
+ nfnl_set_sequence_tracking;
+ nfnl_unset_sequence_tracking;
+ nfnl_set_rcv_buffer_size;
+ nfnl_send;
+ nfnl_sendmsg;
+ nfnl_sendiov;
+ nfnl_fill_hdr;
+ nfnl_talk;
+ nfnl_listen;
+ nfnl_recv;
+ nfnl_callback_register;
+ nfnl_callback_unregister;
+ nfnl_handle_packet;
+ nfnl_parse_hdr;
+ nfnl_check_attributes;
+ nfnl_get_msg_first;
+ nfnl_get_msg_next;
+ nfnl_join;
+ nfnl_process;
+ nfnl_iterator_create;
+ nfnl_iterator_destroy;
+ nfnl_iterator_process;
+ nfnl_iterator_next;
+ nfnl_catch;
+ nfnl_query;
+ nfnl_addattr_l;
+ nfnl_addattr8;
+ nfnl_addattr16;
+ nfnl_addattr32;
+ nfnl_nfa_addattr_l;
+ nfnl_nfa_addattr16;
+ nfnl_nfa_addattr32;
+ nfnl_parse_attr;
+ nfnl_build_nfa_iovec;
+ nfnl_rcvbufsiz;
+ nfnl_dump_packet;
+ nlif_open;
+ nlif_close;
+ nlif_fd;
+ nlif_query;
+ nlif_catch;
+ nlif_index2name;
+ nlif_get_ifflags;
+
+ local:
+ *;
+};