Turn ofp*_debug functions into ofp*_validate functions to follow a
authorreyk <reyk@openbsd.org>
Thu, 21 Jul 2016 07:58:44 +0000 (07:58 +0000)
committerreyk <reyk@openbsd.org>
Thu, 21 Jul 2016 07:58:44 +0000 (07:58 +0000)
commit925a105a3f7ed94ad0eb9477bf3575b7a34fdf46
tree7592d809618691a2c9facd2b982772eaeb8f6811
parente73b9b968e5ddf36783610e334a332759ebed584
Turn ofp*_debug functions into ofp*_validate functions to follow a
similar approach like iked: first validate the packet, then parse it,
and execute actions.  debug logging is a side effect of validation.
usr.sbin/switchd/ofp.c
usr.sbin/switchd/ofp10.c
usr.sbin/switchd/ofp13.c
usr.sbin/switchd/switchd.h