1. 16 3月, 2009 2 次提交
    • E
      netfilter: print the list of register loggers · c7a913cd
      Eric Leblond 提交于
      This patch modifies the proc output to add display of registered
      loggers. The content of /proc/net/netfilter/nf_log is modified. Instead
      of displaying a protocol per line with format:
      	proto:logger
      it now displays:
      	proto:logger (comma_separated_list_of_loggers)
      NONE is used as keyword if no logger is used.
      Signed-off-by: NEric Leblond <eric@inl.fr>
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      c7a913cd
    • E
      netfilter: use a linked list of loggers · ca735b3a
      Eric Leblond 提交于
      This patch modifies nf_log to use a linked list of loggers for each
      protocol. This list of loggers is read and write protected with a
      mutex.
      
      This patch separates registration and binding. To be used as
      logging module, a module has to register calling nf_log_register()
      and to bind to a protocol it has to call nf_log_bind_pf().
      This patch also converts the logging modules to the new API. For nfnetlink_log,
      it simply switchs call to register functions to call to bind function and
      adds a call to nf_log_register() during init. For other modules, it just
      remove a const flag from the logger structure and replace it with a
      __read_mostly.
      Signed-off-by: NEric Leblond <eric@inl.fr>
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      ca735b3a
  2. 24 2月, 2009 3 次提交
  3. 20 2月, 2009 5 次提交
  4. 19 2月, 2009 7 次提交
  5. 18 2月, 2009 23 次提交