Skip to content

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manojkiraneda
Copy link
Contributor

No description provided.

@manojkiraneda manojkiraneda marked this pull request as draft April 1, 2025 11:22

typedef struct {
uint16_t payload_length;
uint8_t reserved;
Copy link
Member

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;
Copy link
Member

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.

Comment on lines +39 to +41
#define TCP_MESSAGE_TYPE_OUT_OF_SESSION 0x01
#define TCP_MESSAGE_TYPE_IN_SESSION 0x02
#define TCP_MESSAGE_TYPE_HANDSHAKE_REQUEST 0x03
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants