cvs commit: src/sys/netgraph/netflow netflow.c ng_netflow.c ng_netflow.h

Gleb Smirnoff glebius at FreeBSD.org
Wed May 11 03:45:32 PDT 2005


glebius     2005-05-11 10:45:32 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netgraph/netflow netflow.c ng_netflow.c ng_netflow.h 
  Log:
  MFC the following changes:
  
    Add a possibility to bypass unmodified accounted data to special
    hook(s). Data received on these hook(s) is sent back to ifaceX hook(s).
  
    Refactor node so that it does not modify mbuf contents:
    - In ng_netflow_rcvdata() do all necessary pulluping: Ethernet header,
      IP header, and TCP/UDP header.
    - Pass only pointer to struct ip to ng_netflow_flow_add(). Any TCP/UDP
      headers are guaranteed to by after it.
    - Merge make_flow_rec() function into ng_netflow_flow_add().
  
  Revision  Changes    Path
  1.3.2.8   +56 -92    src/sys/netgraph/netflow/netflow.c
  1.2.2.5   +118 -22   src/sys/netgraph/netflow/ng_netflow.c
  1.2.2.3   +4 -7      src/sys/netgraph/netflow/ng_netflow.h


More information about the cvs-src mailing list