]> The Tcpdump Group git mirrors - tcpdump/commit
OpenFlow: Subtract OF_HEADER_FIXLEN in #defines.
authorDenis Ovsienko <[email protected]>
Sun, 4 Oct 2020 21:49:44 +0000 (22:49 +0100)
committerDenis Ovsienko <[email protected]>
Thu, 8 Oct 2020 14:55:29 +0000 (15:55 +0100)
commit5d01017f16edfbeeaa41e3a73fe9ad056b3015e0
tree39cc854bb17ac8a6c122c5d831638ee80bf1907d
parent10ac80fdecfa9b9b7d259d8f50d0b72ef1b18f12
OpenFlow: Subtract OF_HEADER_FIXLEN in #defines.

Take the repetitive subtractions out of the main message printing
functions and make it obvious that all constants specific to message body
length include the header length. For OpenFlow 1.0 define the modified
lengths in unsigned terms in the same go.
print-openflow-1.0.c
print-openflow-1.3.c