ipfix-export: support sending of ipv6 pkts 22/34022/3
authorPaul Atkins <patkins@graphiant.com>
Tue, 5 Oct 2021 07:51:48 +0000 (08:51 +0100)
committerNeale Ranns <neale@graphiant.com>
Mon, 22 Nov 2021 09:30:09 +0000 (09:30 +0000)
commite494ad12578b5b2a85c707e2ce67bafeb78d60c5
tree2104fc7d6e72fcb65034003bc9ec04e12ea46f5e
parent5140484529d420af47d6aa8ffbe6818621d8b55f
ipfix-export: support sending of ipv6 pkts

The current code that sends ipfix packets assumes IPv4. Modify this
so that it generates and sends packets based on whether the destination
address is IPv4 or IPv6. Where code is common across multiple places
pull it out into helper functions.

Type: improvement
Signed-off-by: Paul Atkins <patkins@graphiant.com>
Change-Id: I216c6c4c1b58cacedca22019f74a38c64a368b7e
src/vnet/ipfix-export/flow_report.c