diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2020-10-05 00:54:33 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2020-10-08 15:55:29 +0100 |
commit | e379a5690f6db797179fa5e0845ff731db2a7af7 (patch) | |
tree | 34e1dd0bcd653494e5c7a711c65f2e569eb405bb /ipproto.c | |
parent | 140fac9cf1cc24d15f47d8edf06277781301e8cd (diff) | |
download | tcpdump-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