Skip to content
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

[ICMP] replace ICMP offsets by struct IcmpHeader #357

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ArnaudD-FR
Copy link
Contributor

Same as previous commits, use structures when ever possible

Arnaud added 4 commits February 11, 2019 20:52
 * keep MAC/IP relations into an ARP 'store'.
 * fix issue when IP packet is received from local network: answer is
   no more broadcasted
 * define ETHERCARD_ARP_STORE_SIZE to set cache size
 * less error prone

 * decrease code size to flash

 * introduce ethernet_header(), ethernet_payload(), ip_header(),
   ip_payload().... basic functions to retrieve headers and payloads

 * use ntoh and hton instead of manual multibytes adaptations.
   getBigEndianLong has been replaced by standard function ntohl.
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.

None yet

1 participant