-
Notifications
You must be signed in to change notification settings - Fork 116
Add TCP transport support in libspdm #3024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Manojkiran Eda <[email protected]>
eeb74d6
to
ece63af
Compare
|
||
typedef struct { | ||
uint16_t payload_length; | ||
uint8_t reserved; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be binding version.
uint16_t payload_length; | ||
uint8_t reserved; | ||
uint8_t message_type; | ||
} tcp_spdm_binding_header_t; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is defined in spec. please move to industry standard header file.
Not here.
#define TCP_MESSAGE_TYPE_OUT_OF_SESSION 0x01 | ||
#define TCP_MESSAGE_TYPE_IN_SESSION 0x02 | ||
#define TCP_MESSAGE_TYPE_HANDSHAKE_REQUEST 0x03 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The definition is incorrect according to the spec.
No description provided.