[PATCH] ct: add ICMPv6 support

Holger Eitzenberger holger at eitzenberger.org
Sun Mar 24 17:26:21 EDT 2013


Hi Thomas,

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

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

The attached patch tries to solve that.  It is the 'small' approach,
because it reuses the existing ICMP attributes of the conntrack
object, which are currently only used for IPv4.  This way I can avoid
to add new _icmp6_get_, _icmp6_set_ and _icmp6_test_ functions.

Regards,

 /Holger

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ct-ICMPv6-support.diff
Type: text/x-diff
Size: 2203 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20130324/69e60691/attachment.bin>


More information about the libnl mailing list