summaryrefslogtreecommitdiff
path: root/ipproto.c
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-10-05 00:54:33 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-10-08 15:55:29 +0100
commite379a5690f6db797179fa5e0845ff731db2a7af7 (patch)
tree34e1dd0bcd653494e5c7a711c65f2e569eb405bb /ipproto.c
parent140fac9cf1cc24d15f47d8edf06277781301e8cd (diff)
downloadtcpdump-e379a5690f6db797179fa5e0845ff731db2a7af7.tar.gz
OpenFlow: Process message types via declarations.
Introduce struct of_msgtypeinfo and convert all the case blocks in of10_message_print() and of13_message_print() together with ofpt_str[] and the associated wrapper functions into array elements of this type. Convert the code remaining of both functions into a short generic of_message_print() function. Refer to the latest OpenFlow 1.3 PDF and update comments to use section numbers from that document.
Diffstat (limited to 'ipproto.c')
0 files changed, 0 insertions, 0 deletions