freebsd-skq/sys/netgraph/netflow
Gleb Smirnoff 2b38b68736 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().
2005-03-21 15:40:25 +00:00
..
netflow.c Refactor node so that it does not modify mbuf contents. Next step would 2005-03-21 15:34:03 +00:00
netflow.h
ng_netflow.c Refactor node so that it does not modify mbuf contents. Next step would 2005-03-21 15:40:25 +00:00
ng_netflow.h Refactor node so that it does not modify mbuf contents. Next step would 2005-03-21 15:34:03 +00:00