ipfix: Skip BFD packets.
authorWenyu Zhang <wenyuz@vmware.com>
Wed, 2 Dec 2015 02:43:49 +0000 (18:43 -0800)
committerBen Pfaff <blp@ovn.org>
Thu, 3 Dec 2015 16:31:19 +0000 (08:31 -0800)
commit47946ac584a28838b6f38646f8ad2762a73dbb65
tree6de795a3d51a54fcaf854b617ea115661499baa9
parent873d85653d84289eb3a7fd253d95ebcbdad920f0
ipfix: Skip BFD packets.

The patch is to skip BFD packets in ipfix.
Bidirectional Forwarding Detection (BFD) packets are for monitoring
the tunnel link status and consumed by ovs itself, no need to sample
them.
Refer to IETF RFC 5881, BFD control packets are the UDP packets with
destination port 3784 and BFD echo packets are the UDP packets with dst
destination port 3785.
Ipfix will skip both BFD control packets and BFD echo packets.

Signed-off-by: Wenyu Zhang <wenyuz@vmware.com>
[blp@ovn.org added check for IP]
Signed-off-by: Ben Pfaff <blp@ovn.org>
AUTHORS
ofproto/ofproto-dpif-ipfix.c