-
- Downloads
sandbox: eth: Add a bridge to a real network for sandbox
Implement a bridge between U-Boot's network stack and Linux's raw packet API allowing the sandbox to send and receive packets using the host machine's network interface. This raw Ethernet API requires elevated privileges. You can either run as root, or you can add the capability needed like so: sudo /sbin/setcap "CAP_NET_RAW+ep" /path/to/u-boot Signed-off-by:Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/sandbox/Kconfig 3 additions, 0 deletionsarch/sandbox/Kconfig
- arch/sandbox/cpu/Makefile 10 additions, 0 deletionsarch/sandbox/cpu/Makefile
- arch/sandbox/cpu/eth-raw-os.c 140 additions, 0 deletionsarch/sandbox/cpu/eth-raw-os.c
- arch/sandbox/dts/sandbox.dts 6 additions, 0 deletionsarch/sandbox/dts/sandbox.dts
- arch/sandbox/include/asm/eth-raw-os.h 32 additions, 0 deletionsarch/sandbox/include/asm/eth-raw-os.h
- board/sandbox/README.sandbox 52 additions, 0 deletionsboard/sandbox/README.sandbox
- drivers/net/Kconfig 10 additions, 0 deletionsdrivers/net/Kconfig
- drivers/net/Makefile 1 addition, 0 deletionsdrivers/net/Makefile
- drivers/net/sandbox-raw.c 98 additions, 0 deletionsdrivers/net/sandbox-raw.c
Loading
Please register or sign in to comment