-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Network stack cleanup: IPv4 #8720
Labels
Milestone
Comments
tbursztyka
pushed a commit
to tbursztyka/zephyr
that referenced
this issue
Jul 24, 2018
Reduces the logic as well as the ipv4 header checksum needs to be computed either way. Fixes zephyrproject-rtos#8720 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Merged
tbursztyka
pushed a commit
to tbursztyka/zephyr
that referenced
this issue
Jul 24, 2018
Avoiding to re-create the IPv4 header into ICMPv4 code directly. Fixes zephyrproject-rtos#8720 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
tbursztyka
pushed a commit
to tbursztyka/zephyr
that referenced
this issue
Jul 24, 2018
net if core code will do it. Fixes zephyrproject-rtos#8720 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
tbursztyka
pushed a commit
to tbursztyka/zephyr
that referenced
this issue
Jul 24, 2018
Static ones with that prefix, exported ones with net_icmpv4_ prefix. Fixes zephyrproject-rtos#8720 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
jukkar
pushed a commit
that referenced
this issue
Jul 24, 2018
Avoiding to re-create the IPv4 header into ICMPv4 code directly. Fixes #8720 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
jukkar
pushed a commit
that referenced
this issue
Jul 24, 2018
net if core code will do it. Fixes #8720 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
jukkar
pushed a commit
that referenced
this issue
Jul 24, 2018
Static ones with that prefix, exported ones with net_icmpv4_ prefix. Fixes #8720 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ipv4.c has been reworked already.
icmpv4.c should be reworked:
. all ipv4 headers must be filled-in through net_ipv4_create (get rid of setup_ipv4_header)
. icmpv4 code should be using macro (or enum) so it's more readable than hard-coded numbers
. net_pkt_ll_src lines 317/318 should not be set here (net_if already handles the case, and set's current iface's ll address)
declutter using #8723 rules
The text was updated successfully, but these errors were encountered: