To facilitates the code review, I break the original libbfd patch into series. Also, the ofproto-dpif-monitor logic is abstracted into a generic monitor library module. This marks a step forward in making Open Vswitch library functions easily applicable outside the project.
Alex Wang (4): bfd: Split bfd module. bfd: Remove the inclusion of Open Vswitch specific library. bfd: Add logging function to BFD state machine. monitor: Add generic monitor library. lib/automake.mk | 5 + lib/bfd-aux.h | 95 +++ lib/bfd-ovs.c | 635 ++++++++++++++++++ lib/bfd-ovs.h | 48 ++ lib/bfd.c | 1388 ++++++++++++---------------------------- lib/bfd.h | 241 +++++-- lib/monitor.c | 150 +++++ lib/monitor.h | 29 + ofproto/ofproto-dpif-monitor.c | 238 ++----- ofproto/ofproto-dpif-monitor.h | 7 +- ofproto/ofproto-dpif-xlate.c | 22 +- ofproto/ofproto-dpif.c | 54 +- ofproto/ofproto-dpif.h | 9 + ofproto/ofproto.c | 4 + 14 files changed, 1709 insertions(+), 1216 deletions(-) create mode 100644 lib/bfd-aux.h create mode 100644 lib/bfd-ovs.c create mode 100644 lib/bfd-ovs.h create mode 100644 lib/monitor.c create mode 100644 lib/monitor.h -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev