]> The Tcpdump Group git mirrors - tcpdump/blobdiff - openflow.h
CDP: fix "Unchecked return value" found by Coverity
[tcpdump] / openflow.h
index 07ba685e23a5f53235b6842ae220bc201e7336af..d330f1ecf0a9b12cef74002fcb3395a1d397aaed 100644 (file)
 
 /* OpenFlow: protocol between controller and datapath. */
 
+/* for netdissect_options */
+#include "netdissect.h"
+
 #define OF_HEADER_LEN 8
 
 /*
  * Routines to print packets for various versions of OpenFlow.
  */
-extern const u_char *of10_header_body_print(const u_char *, const u_char *,
+extern const u_char *of10_header_body_print(netdissect_options *ndo,
+       const u_char *, const u_char *,
        const uint8_t, const uint16_t, const uint32_t);