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

Add support for IP mediums, v2 #346

Closed
wants to merge 6 commits into from

Commits on Sep 21, 2020

  1. Configuration menu
    Copy the full SHA
    1303525 View commit details
    Browse the repository at this point in the history
  2. Split Packet into EthernetPacket and IpPacket.

    Functions that only deal with IP packets take/return IpPacket's. IpPacket's
    are wrapped into EthernetPacket's as late as possible.
    
    This will later allow generalizing Interface to handle both Ethernet
    and pure-IP mediums.
    Dirbaio committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    8c4e426 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2020

  1. Add support for IP mediums.

    - Add `medium` in `DeviceCapabilities`.
    - Rename EthernetInterface to Interface.
    - Add support to Interface for both Ethernet and IP mediums. The medium to use is detected from `device.capabilities().medium`.
    - Ethernet-only features are gated behind the "ethernet" feature, as before.
    - IP features are always enabled for now.
    Dirbaio committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    d7630fa View commit details
    Browse the repository at this point in the history
  2. Add tun support for linux

    lattice0 authored and Dirbaio committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    6f33355 View commit details
    Browse the repository at this point in the history
  3. Add linux tun example

    lattice0 authored and Dirbaio committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    f7fc639 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eeab246 View commit details
    Browse the repository at this point in the history