]> granicus.if.org Git - libnl/commit
Present port and icmp values in host byte order and beautify printing
authorThomas Graf <tgr@lsx.localdomain>
Thu, 22 May 2008 21:55:52 +0000 (23:55 +0200)
committerThomas Graf <tgr@lsx.localdomain>
Thu, 22 May 2008 21:55:52 +0000 (23:55 +0200)
commit337fbd24cad1f5cf9c8b4287a75f2c69f088adce
tree40f3ea255811869de12d15734e6f946f9d4d1c55
parent2bac39401cde87ef944c1c1edd6dda3c8874dc56
Present port and icmp values in host byte order and beautify printing

This changes make nfnl_ct_get_src_port() and others return the value
in host byte order rather than in network byte order.

Also splits printing into details and statistical section and
improves readability.
include/netlink/netfilter/ct.h
lib/netfilter/ct.c
lib/netfilter/ct_obj.c