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

[UDP] replace UDP offsets by struct UdpHeader #356

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

Commits on Feb 11, 2019

  1. Add support for ARP cache

     * 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
    Arnaud authored and Arnaud committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    e4deb74 View commit details
    Browse the repository at this point in the history
  2. [IP] use IP header instead of array offsets

     * 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.
    Arnaud authored and Arnaud committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    b6c47e1 View commit details
    Browse the repository at this point in the history
  3. [UDP] replace UDP offsets by struct UdpHeader

    Arnaud authored and Arnaud committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    ae8fa71 View commit details
    Browse the repository at this point in the history