Skip to content

ethernet.h could include defines for magic numbers, for common Ethernet frame types #178

@humphrey-xmos

Description

@humphrey-xmos

The app-note code often includes things like,

  cfg.add_ethertype_filter(index, 0x0806);
  cfg.add_ethertype_filter(index, 0x0800);

Where ideally there should be the following defines, or similar,

#define ETH_FRAME_TYPE_ARP 0x0806
#define ETH_FRAME_TYPE_IP  0x0800

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions