libnl/lib
Holger Eitzenberger 18152ca916 ct: add ICMPv6 type,code and ID
Add ICMPv6 type, code and ID (if set) by using the already available
conntrack atttributes.

Currently the ICMPv6 conntrack objects in libnl are without type, code
and ID.  This e. g. is the output of nl_object_dump() without the patch:

  ipv6-icmp ::1 <-> ::1
  id 0xdd0871f0 family inet6 timeout 30s <NOREPLY,SNAT_INIT,DNAT_INIT>

The attached patch tries to solve that.  It then looks like

  ipv6-icmp ::1 <-> ::1 icmp type 128 code 0 id 28253
  id 0xdf3a11f0 family inet6 timeout 30s <SNAT_INIT,DNAT_INIT>

It is the 'small' approach, because it reuses the existing ICMP
attributes of the conntrack object (currently only used for IPv4).
This way I can avoid to add new _icmp6_get_, _icmp6_set_ and
_icmp6_test_ functions.

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-04-02 11:42:59 +02:00
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup Use thread-safe strerror_r() instead of strerror() 2013-02-28 13:07:04 +01:00
genl genl: Update mt_id of cache ops when resolving genl id 2013-04-01 11:21:22 +02:00
netfilter ct: add ICMPv6 type,code and ID 2013-04-02 11:42:59 +02:00
route nl: Print file:line:func in debugging messages and provide --disable-debug to disable debugging 2013-04-02 11:39:30 +02:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c addr: Update to latest address familiy definition for translation 2013-03-14 16:09:19 +01:00
attr.c attr: Warn application if nla_parse() observes same attribute multiple times 2013-03-14 12:46:09 +01:00
cache.c cache: Improve debugging messages of cache operations 2013-04-01 11:46:30 +02:00
cache_mngr.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
cache_mngt.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
data.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
error.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
handlers.c Use thread-safe strerror_r() instead of strerror() 2013-02-28 13:07:04 +01:00
hash.c Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
Makefile.am link: basic socket-CAN support 2012-11-29 22:17:58 +01:00
msg.c msg: Pretty print error message header even if incomplete 2013-03-14 12:46:14 +01:00
nl.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
object.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
socket.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
utils.c nl: Print file:line:func in debugging messages and provide --disable-debug to disable debugging 2013-04-02 11:39:30 +02:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00