Created
September 3, 2011 11:19
-
-
Save oshothebig/1191031 to your computer and use it in GitHub Desktop.
ofp_header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ofp_header { | |
uint8_t version; /* OFP_VERSION. */ | |
uint8_t type; /* One of the OFPT_ constants. */ | |
uint16_t length; /* Length including this ofp_header. */ | |
uint32_t xid; /* Transaction id associated with this packet. | |
Replies use the same id as was in the request | |
to facilitate pairing. */ | |
} | |
OFP_ASSERT(sizeof(struct ofp_header) == 8); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment