Skip to content

gnu_linux: MMAP cannot handle properly VLANs (including MTU) #9

@msune

Description

@msune

There seems to be two different issues with PF_PACKET TX/RX rings:

  • There is no proper way to recover the ether_type of the original frame from the struct tpacket2_hdr, so only 0x8100 can be assumed
  • TX ring does not handle properly MTU with VLANs; e.g. with an MTU of 1500, only up to 1514 packets are accepted instead of 1518.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions