Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 15:34:03 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netgraph/netflow netflow.c ng_netflow.c ng_netflow.h
Message-ID:  <200503211534.j2LFY3go051391@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-03-21 15:34:03 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph/netflow netflow.c ng_netflow.c ng_netflow.h 
  Log:
  Refactor node so that it does not modify mbuf contents. Next step would
  be pass-thru mode, when traffic is not copied by ng_tee, but passed thru
  ng_netflow.
  
  Changes made:
  
  - 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.11      +60 -92    src/sys/netgraph/netflow/netflow.c
  1.6       +5 -1      src/sys/netgraph/netflow/ng_netflow.c
  1.4       +2 -7      src/sys/netgraph/netflow/ng_netflow.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503211534.j2LFY3go051391>