-
Notifications
You must be signed in to change notification settings - Fork 2k
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
gnrc_tcp: Prepare for sock integration. #13026
gnrc_tcp: Prepare for sock integration. #13026
Conversation
1cb01fe
to
65db70d
Compare
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.
Except for a naming problem (see above) and a parameter problem (resolved), this PR mostly only has documentation issues.
The Documentation related Issues should be solved. The Naming / Semantics of the Endpoint construction function are still open. |
f1c049a
to
99d6ff0
Compare
Yepp, still waiting for a comment of yours there ;-). |
I know, I'll address this as soon as I find some spare time. |
@miri64 - The remaining task is done. |
Murdock is not happy yet. |
Nope, that's not the sole reason for it's unhappiness. |
@benpicco - Ah I see. I'll fix that right away. |
6e052d7
to
a823b0a
Compare
@miri64 - Ping |
@miri64 - Ping Ping |
Sorry, this somehow fell under the rug. I have another look! |
@miri64 - Are the remaining issues resolved by now or is there something left todo? |
There are some vera++ warnings, but you may ignore them (the 80 char limit anyway, see #13400). I successfully tested on native
but still like to test on samr21-xpro
tomorrow. Other than that, you may squash
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.
Tests succeed also on samr21-xpro
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.
Minor remaining nit. You may squash that immediately.
sys/include/net/gnrc/tcp.h
Outdated
uint8_t ipv6[sizeof(ipv6_addr_t)]; /**< IPv6 address storage */ | ||
} addr; /**< IP address storage */ | ||
#else |
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.
#else | |
#endif |
This way it is better extensible ;-) (of course the #endif
below needs to be removed)
9b8a755
to
10872d9
Compare
Feel free to hit the friendly green button, once its their. Not sure I will look at Github again 'til next Tuesday ;-) |
I'm afraid @brummer-simon has no button-clicking powers yet. |
Enjoy your vacation and thanks for the review. |
This PR changes required for a later sock integration.
This PR introduces a dedicated struct called Endpoint storing all Information required to specify one end of a TCP connection. Additionally all IP-Address parsing/Interface ID handling is moved out of the core TCP functions into the initialization function of an Endpoint. Beware, this PR contains API changes for gnrc_tcp.