dect
/
libnl
Archived
13
0
Fork 0
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.
libnl/lib/netfilter
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
..
ct.c ct: add ICMPv6 type,code and ID 2013-04-02 11:42:59 +02:00
ct_obj.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
exp.c netfilter: correct error in construction of NAT tuple 2013-01-29 15:10:01 -08:00
exp_obj.c netfilter: keep 8-bit API for 32-bit NAT dir attribute 2013-01-24 08:18:35 -08:00
log.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
log_msg.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
log_msg_obj.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
log_obj.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
netfilter.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
nfnl.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
queue.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
queue_msg.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
queue_msg_obj.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
queue_obj.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00