dect
/
libnl
Archived
13
0
Fork 0
netlink Library with DECT support
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
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
doc attr: Add nla_nest_cancel() to remove partially added nested attributes 2013-03-14 12:46:01 +01:00
etc pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
include nl: Print file:line:func in debugging messages and provide --disable-debug to disable debugging 2013-04-02 11:39:30 +02:00
lib ct: add ICMPv6 type,code and ID 2013-04-02 11:42:59 +02:00
m4 doc: Check documentation generation requirements with autoconf 2012-05-09 10:06:24 +02:00
man genl: Update genl-ctrl-list(8) 2012-06-01 13:10:03 +02:00
python Enabled the use of Links as context managers. 2012-10-04 16:36:55 -04:00
src nl-route-add: Add NLM_F_EXCL flag to route add 2013-03-24 10:58:18 +01:00
tests tests: Add check based unit test system 2013-03-14 16:25:17 +01:00
.gitignore build: use AC_CONFIG_AUX_DIR 2012-11-26 21:03:14 +01:00
COPYING Update COPYING to fix FSF address 2012-01-17 12:38:37 +01:00
ChangeLog libnl 3.2.10 2012-06-06 11:43:53 +02:00
Makefile.am make: automake provides a cscope target these days 2012-12-21 13:30:21 +01:00
autogen.sh doc: Split doc/ into separate packages 2012-10-19 16:16:06 +02:00
configure.ac nl: Print file:line:func in debugging messages and provide --disable-debug to disable debugging 2013-04-02 11:39:30 +02:00
libnl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-cli-3.0.pc.in Add libnl-cli-3.0 to pkg-config tool 2011-10-10 11:39:24 +02:00
libnl-genl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-nf-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-route-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00