Expand description

Link-layer sockets (analogous to Linux’s AF_PACKET sockets).

Structs

Enums

Traits

Functions

  • Creates an packet socket with no protocol set configured for all devices.
  • Gets the bound info for a socket.
  • Removes a bound socket.
  • Sends a datagram with system-determined framing.
  • Sends a frame for the specified socket without any additional framing.
  • Sets the device for which a packet socket will receive packets.
  • Sets the device and protocol for which a socket will receive packets.