/* * netsniff-ng - the packet sniffing beast * Copyright 2014 Tobias Klauser. * Subject to the GPL, version 2. */ #ifndef DISSECTOR_NETLINK_H #define DISSECTOR_NETLINK_H #include "config.h" #include "protos.h" extern void dissector_init_netlink(int fnttype); extern void dissector_cleanup_netlink(void); static inline struct protocol *dissector_get_netlink_entry_point(void) { #ifdef HAVE_LIBNL return &nlmsg_ops; #else return &none_ops; #endif } static inline struct protocol *dissector_get_netlink_exit_point(void) { return &none_ops; } #endif /* DISSECTOR_NETLINK_H */ y>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-09 22:27:08 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-09 22:27:08 -0500
commit9878f60240f786286ebfaa8ff9227ef38da1720c (patch)
treeb39c6b130ae03f217307f2cd3eb5e7659514a5e4
parentb66a8043d0baa9818a407ed857eada5cb21cd9bb (diff)
parent3e5d6897176d38b54124da56183810abbd68c8bc (diff)
Merge branch 'ena-bug-fixes'
Netanel Belgazal says: ==================== Bug Fixes in ENA driver Changes from V3: * Rebase patchset to master and solve merge conflicts. * Remove redundant bug fix (fix error handling when probe fails) ==================== Signed-off-by: David S. Miller <davem@davemloft.net>