Update of /home/repo-0.14/pmacct/src
In directory romesco.pmacct.net:/tmp/cvs-serv16969/src
Modified Files:
cfg.h network.h nl.c pkt_handlers.c pkt_handlers.h
pmacct-build.h pmacct-defines.h pmacct.h pmacctd.c
pretag-data.h pretag_handlers.c pretag_handlers.h uacctd.c
Log Message:
* pmacctd, uacctd: introducing custom-defined aggregation primitives in
libpcap and ULOG daemons. A new 'packet_ptr' keyword is supported in the
aggregate_primitives map for the task: it defines the base pointer in the
packet where to read the primitive value; intuitively, this is to be used
in conjunction with 'len'. The supported syntax is:
<layer>:[<protocol value>]+[<offset>]
'layer' keys are: 'packet', 'mac', 'vlan', 'mpls', 'l3', 'l4' and
'payload'; 'layer' keyword is mandatory. 'protocol value' is optional key
and can be supplied in either decimal or hex format. 'offset' is optional
key and is expected as a positive decimal number. Examples are provided
in the 'examples/primitives.lst' file.
_______________________________________________
pmacct-commits mailing list
http://www.pmacct.net/#mailinglists