From 3c137c4f70f5e37e48ab31a2ba5cfc5d6c2120f2 Mon Sep 17 00:00:00 2001 From: reyk Date: Thu, 25 Aug 2016 11:00:44 +0000 Subject: [PATCH] goda@ contributed most of the OpenFlow 1.3.5 parts in ofp.h (for the "still-unreleased" switch(4) driver), so it is only fair to add his copyright. This header file will eventually move to net/ofp.h. --- usr.sbin/switchd/ofp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/switchd/ofp.h b/usr.sbin/switchd/ofp.h index 4b75752b779..7b01b9f323b 100644 --- a/usr.sbin/switchd/ofp.h +++ b/usr.sbin/switchd/ofp.h @@ -1,7 +1,8 @@ -/* $OpenBSD: ofp.h,v 1.2 2016/07/20 19:57:54 reyk Exp $ */ +/* $OpenBSD: ofp.h,v 1.3 2016/08/25 11:00:44 reyk Exp $ */ /* * Copyright (c) 2013-2016 Reyk Floeter + * Copyright (c) 2016 Kazuya GODA * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -487,6 +488,7 @@ struct ofp_error { uint8_t err_data[0]; /* Followed by optional data */ } __packed; +#define OFP_ERRDATA_MAX 64 /* Error types */ #define OFP_ERRTYPE_HELLO_FAILED 0 /* Hello protocol failed */ -- 2.20.1