bfd: Add forwarding flag to struct bfd.
authorAlex Wang <alexw@nicira.com>
Wed, 20 Nov 2013 19:15:54 +0000 (11:15 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 20 Nov 2013 23:36:15 +0000 (15:36 -0800)
commit9cdc68a1e60aedad459f0d6b23b57c602517b586
treea5be1577a9836173af8eeaec036425ca1f5a2098
parentbc0d88eece4d6f0a5703d59102a7cf8f1f8c7372
bfd: Add forwarding flag to struct bfd.

This commit adds a forwarding flag to "struct bfd".  This flag
is for indicating the interface's capability of packet I/O.
Also, this flag makes it possible to count the number of interface
state flapping.  bfd_forwarding__() will update this flag at
each invocation.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/bfd.c
lib/bfd.h