ipfix-export: refactor params to the callback fns 19/34019/3
authorPaul Atkins <patkins@graphiant.com>
Mon, 4 Oct 2021 15:29:52 +0000 (16:29 +0100)
committerNeale Ranns <neale@graphiant.com>
Mon, 22 Nov 2021 09:30:09 +0000 (09:30 +0000)
commitc2d476b26dead1097f120a2bf35cda904c4f55f9
treea59372deeef7aa31f017f8e3cffed49b244cc077
parent19a5f23b23e4eec54d99f105725ddc4df7421a5c
ipfix-export: refactor params to the callback fns

When a new flow-report is created the caller provides 2 callback functions.
These functions both take a pointer to the exporter, plus a pointer to the
source and dest address.  However the pointers to the address are not adding
any value as these are always set to the src/dest addresses of the exporter
(which is already being passed). Remove these parameters and leave the
callback functions to get the addresses out of the exporter.

Type: improvement
Signed-off-by: Paul Atkins <patkins@graphiant.com>
Change-Id: I36dec394f30e85cdca120dd8706b5d90f5e07c48
src/plugins/flowprobe/flowprobe.c
src/plugins/ioam/analyse/ioam_summary_export.c
src/plugins/ioam/analyse/ioam_summary_export.h
src/plugins/ioam/udp-ping/udp_ping_export.c
src/plugins/nat/lib/ipfix_logging.c
src/vnet/ipfix-export/flow_report.c
src/vnet/ipfix-export/flow_report.h
src/vnet/ipfix-export/flow_report_classify.c
src/vnet/ipfix-export/flow_report_classify.h