[PATCH 0/5] net: preparations for integrating a network stack

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 10 00:51:00 PDT 2024


This series has some preparation patches to better integrate a network
stack in the future.

Sascha Hauer (5):
  net: virtio-net: allow to set current MAC address
  net: ifup: use accessor to set network device ip/netmask
  net: add edev argument to net_set_gateway()
  net: establish single code path for setting edev parameters
  net: host command: move to commands/

 commands/Makefile    |  2 +-
 commands/host.c      | 40 ++++++++++++++++++++++++++++++++++++++++
 drivers/net/virtio.c | 34 ++++++++++++++++++++++------------
 include/net.h        |  2 +-
 net/dhcp.c           |  2 +-
 net/dns.c            | 37 -------------------------------------
 net/eth.c            | 33 ++++++++++++++++++++++++++++++---
 net/ifup.c           |  6 +++---
 net/net.c            |  2 +-
 9 files changed, 99 insertions(+), 59 deletions(-)
 create mode 100644 commands/host.c

-- 
2.39.2




More information about the barebox mailing list