Date: Wed, 11 May 2005 10:45:32 +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: <200505111045.j4BAjWIq060818@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505111045.j4BAjWIq060818>