Skip to content
forked from afett/ubridge

Userspace network bridge for linux

License

Notifications You must be signed in to change notification settings

kdp1965/ubridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UBridge

This is an example of a userspace network bridge for linux that uses the new packet mmap interface.

Even though it runs in userspace, the packet switching is quite fast.

The main switching boils down to a single memcpy() in src/ring.c:266.

Supports TP_STATUS_CSUMNOTREAD for checksum offloading on virtual interfaces.

Author

Benjamin Kittridge

bysin@bysin.net

http://byteworm.com

Usage

Usage: ubridge [OPTIONS]...
  --debug     Run in foreground and print packets
  --src [if]  Source interface
  --dst [if]  Destination interface
  --help      Displays this help screen
  --version   Displays version information

Example: ubridge --debug --src vif1.0 --dst eth0

About

Userspace network bridge for linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Makefile 2.3%