Skip to content

Added support for L3, non-ethernet interfaces#70

Open
danielinux wants to merge 6 commits intowolfSSL:masterfrom
danielinux:l3_dev
Open

Added support for L3, non-ethernet interfaces#70
danielinux wants to merge 6 commits intowolfSSL:masterfrom
danielinux:l3_dev

Conversation

@danielinux
Copy link
Member

Added the possibility to bind new network interfaces with non_ethernet=1 extra field, that skip L2 addressing and communicate solely via IP packets.

Added new posix port interface linux_tun.c, equivalent to tap, but point-to-point. Added functional test (evloop) using the tun device to demonstrate L3 interfaces.

Added unit tests (case: forwarding between interfaces of mixed types).

Copilot AI review requested due to automatic review settings March 5, 2026 17:06
@gasbytes gasbytes mentioned this pull request Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI review requested due to automatic review settings March 5, 2026 23:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings March 6, 2026 09:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
#include <arpa/inet.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing docs


/* Client side test: server is closing the connection */
/* Excluded for now because binding twice on port 8 is not supported */
#if 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe mark this as todo (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants