netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libnftnl 0/3] expr: complete log flags support
@ 2016-09-25  8:54 Liping Zhang
  2016-09-25  8:54 ` [PATCH libnftnl 1/3] expr: log: fix typo in nftnl_expr_log_export Liping Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Liping Zhang @ 2016-09-25  8:54 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel, Liping Zhang

From: Liping Zhang <liping.zhang@spreadtrum.com>

After NF_LOG_XXX is exposed to the userspace, it's easy to complete log
flags support in libnftnl. Instead of print hex value of flags, it's
better to print human readable string format. This is done by patch #3.

Also there's some trivial problems to be solved:
  Fix a typo by patch #1
  Print out prefix when necessary by patch #2.

Liping Zhang (3):
  expr: log: fix typo in nftnl_expr_log_export
  expr: log: do not print prefix if it is not set
  expr: log: complete log flags support

 include/linux/netfilter/nf_log.h | 12 +++++++++++
 src/expr/log.c                   | 43 ++++++++++++++++++++++++++++++++--------
 2 files changed, 47 insertions(+), 8 deletions(-)
 create mode 100644 include/linux/netfilter/nf_log.h

-- 
2.5.5



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-10-04  6:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-25  8:54 [PATCH libnftnl 0/3] expr: complete log flags support Liping Zhang
2016-09-25  8:54 ` [PATCH libnftnl 1/3] expr: log: fix typo in nftnl_expr_log_export Liping Zhang
2016-09-25  8:54 ` [PATCH libnftnl 2/3] expr: log: do not print prefix if it is not set Liping Zhang
2016-09-25  8:54 ` [PATCH libnftnl 3/3] expr: log: complete log flags support Liping Zhang
2016-10-04  6:50 ` [PATCH libnftnl 0/3] expr: " Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).