| /openbmc/qemu/net/ |
| H A D | clients.h | 29 int net_init_dump(const Netdev *netdev, const char *name, 33 int net_init_passt(const Netdev *netdev, const char *name, 37 int net_init_slirp(const Netdev *netdev, const char *name, 41 int net_init_hubport(const Netdev *netdev, const char *name, 44 int net_init_socket(const Netdev *netdev, const char *name, 47 int net_init_stream(const Netdev *netdev, const char *name, 50 int net_init_dgram(const Netdev *netdev, const char *name, 53 int net_init_tap(const Netdev *netdev, const char *name, 56 int net_init_bridge(const Netdev *netdev, const char *name, 59 int net_init_l2tpv3(const Netdev *netdev, const char *name, [all …]
|
| H A D | vmnet-shared.c | 20 static bool validate_options(const Netdev *netdev, Error **errp) in validate_options() argument 22 const NetdevVmnetSharedOptions *options = &(netdev->u.vmnet_shared); in validate_options() 40 static xpc_object_t build_if_desc(const Netdev *netdev) in build_if_desc() argument 42 const NetdevVmnetSharedOptions *options = &(netdev->u.vmnet_shared); in build_if_desc() 85 int net_init_vmnet_shared(const Netdev *netdev, const char *name, in net_init_vmnet_shared() argument 93 if (!validate_options(netdev, errp)) { in net_init_vmnet_shared() 97 if_desc = build_if_desc(netdev); in net_init_vmnet_shared()
|
| H A D | vmnet-host.c | 21 static bool validate_options(const Netdev *netdev, Error **errp) in validate_options() argument 23 const NetdevVmnetHostOptions *options = &(netdev->u.vmnet_host); in validate_options() 47 static xpc_object_t build_if_desc(const Netdev *netdev) in build_if_desc() argument 49 const NetdevVmnetHostOptions *options = &(netdev->u.vmnet_host); in build_if_desc() 90 int net_init_vmnet_host(const Netdev *netdev, const char *name, in net_init_vmnet_host() argument 98 if (!validate_options(netdev, errp)) { in net_init_vmnet_host() 102 if_desc = build_if_desc(netdev); in net_init_vmnet_host()
|
| H A D | vmnet-bridged.m | 69 static bool validate_options(const Netdev *netdev, Error **errp) 71 const NetdevVmnetBridgedOptions *options = &(netdev->u.vmnet_bridged); 95 static xpc_object_t build_if_desc(const Netdev *netdev) 97 const NetdevVmnetBridgedOptions *options = &(netdev->u.vmnet_bridged); 125 int net_init_vmnet_bridged(const Netdev *netdev, const char *name, 133 if (!validate_options(netdev, errp)) { 137 if_desc = build_if_desc(netdev);
|
| H A D | filter.c | 81 if (sender == nf->netdev) { in qemu_netfilter_pass_to_next() 169 if (nf->netdev && nfc->status_changed) { in netfilter_set_status() 273 if (position->netdev != ncs[0]) { in netfilter_complete() 283 nf->netdev = ncs[0]; in netfilter_complete() 297 QTAILQ_INSERT_AFTER(&nf->netdev->filters, position, nf, next); in netfilter_complete() 300 QTAILQ_INSERT_HEAD(&nf->netdev->filters, nf, next); in netfilter_complete() 302 QTAILQ_INSERT_TAIL(&nf->netdev->filters, nf, next); in netfilter_complete() 315 if (nf->netdev && !QTAILQ_EMPTY(&nf->netdev->filters) && in netfilter_finalize() 317 QTAILQ_REMOVE(&nf->netdev->filters, nf, next); in netfilter_finalize()
|
| H A D | vde.c | 112 int net_init_vde(const Netdev *netdev, const char *name, in net_init_vde() argument 117 assert(netdev->type == NET_CLIENT_DRIVER_VDE); in net_init_vde() 118 vde = &netdev->u.vde; in net_init_vde()
|
| /openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
| H A D | 0017-Adjust-for-musl-headers.patch | 15 src/network/netdev/bareudp.c | 2 +- 16 src/network/netdev/batadv.c | 2 +- 17 src/network/netdev/bond.c | 2 +- 18 src/network/netdev/bridge.c | 3 ++- 19 src/network/netdev/dummy.c | 2 +- 20 src/network/netdev/geneve.c | 2 +- 21 src/network/netdev/ifb.c | 2 +- 22 src/network/netdev/ipoib.c | 2 +- 23 src/network/netdev/ipvlan.c | 2 +- 24 src/network/netdev/macsec.c | 2 +- [all …]
|
| H A D | 0025-adjust-header-inclusion-order-to-avoid-redeclaration.patch | 13 src/network/netdev/l2tp-tunnel.c | 9 ++++----- 14 src/network/netdev/l2tp-tunnel.h | 6 +++--- 15 src/network/netdev/wireguard.c | 2 +- 91 diff --git a/src/network/netdev/l2tp-tunnel.c b/src/network/netdev/l2tp-tunnel.c 93 --- a/src/network/netdev/l2tp-tunnel.c 94 +++ b/src/network/netdev/l2tp-tunnel.c 117 diff --git a/src/network/netdev/l2tp-tunnel.h b/src/network/netdev/l2tp-tunnel.h 119 --- a/src/network/netdev/l2tp-tunnel.h 120 +++ b/src/network/netdev/l2tp-tunnel.h 129 #include "netdev.h" [all …]
|
| /openbmc/u-boot/drivers/net/ |
| H A D | dnet.c | 30 struct eth_device netdev; member 35 #define to_dnet(_nd) container_of(_nd, struct dnet_device, netdev) 133 static int dnet_send(struct eth_device *netdev, void *packet, int length) in dnet_send() argument 135 struct dnet_device *dnet = to_dnet(netdev); in dnet_send() 168 static int dnet_recv(struct eth_device *netdev) in dnet_recv() argument 170 struct dnet_device *dnet = to_dnet(netdev); in dnet_recv() 202 static void dnet_set_hwaddr(struct eth_device *netdev) in dnet_set_hwaddr() argument 204 struct dnet_device *dnet = to_dnet(netdev); in dnet_set_hwaddr() 207 tmp = get_unaligned_be16(netdev->enetaddr); in dnet_set_hwaddr() 209 tmp = get_unaligned_be16(&netdev->enetaddr[2]); in dnet_set_hwaddr() [all …]
|
| H A D | at91_emac.c | 155 struct eth_device *netdev; in get_emacbase_by_name() local 157 netdev = eth_get_dev_by_name(devname); in get_emacbase_by_name() 158 return (at91_emac_t *) netdev->iobase; in get_emacbase_by_name() 184 static int at91emac_phy_reset(struct eth_device *netdev) in at91emac_phy_reset() argument 190 emac = (at91_emac_t *) netdev->iobase; in at91emac_phy_reset() 195 debug_cond(VERBOSEP, "%s: Starting autonegotiation...\n", netdev->name); in at91emac_phy_reset() 209 "%s: Autonegotiation complete\n", netdev->name); in at91emac_phy_reset() 212 netdev->name, status); in at91emac_phy_reset() 218 static int at91emac_phy_init(struct eth_device *netdev) in at91emac_phy_init() argument 225 emac = (at91_emac_t *) netdev->iobase; in at91emac_phy_init() [all …]
|
| H A D | macb.c | 125 struct eth_device netdev; member 141 #define to_macb(_nd) container_of(_nd, struct macb_device, netdev) 535 macb->phydev = phy_connect(macb->bus, macb->phy_addr, &macb->netdev, in macb_phy_init() 897 static int macb_send(struct eth_device *netdev, void *packet, int length) in macb_send() argument 899 struct macb_device *macb = to_macb(netdev); in macb_send() 901 return _macb_send(macb, netdev->name, packet, length); in macb_send() 904 static int macb_recv(struct eth_device *netdev) in macb_recv() argument 906 struct macb_device *macb = to_macb(netdev); in macb_recv() 923 static int macb_init(struct eth_device *netdev, bd_t *bd) in macb_init() argument 925 struct macb_device *macb = to_macb(netdev); in macb_init() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
| H A D | 0017-Adjust-for-musl-headers.patch | 14 src/network/netdev/bareudp.c | 2 +- 15 src/network/netdev/batadv.c | 2 +- 16 src/network/netdev/bond.c | 2 +- 17 src/network/netdev/bridge.c | 2 +- 18 src/network/netdev/dummy.c | 2 +- 19 src/network/netdev/geneve.c | 2 +- 20 src/network/netdev/ifb.c | 2 +- 21 src/network/netdev/ipoib.c | 2 +- 22 src/network/netdev/ipvlan.c | 2 +- 23 src/network/netdev/macsec.c | 2 +- [all …]
|
| /openbmc/openbmc/meta-google/recipes-google/networking/ |
| H A D | gbmc-nic-rename.bb | 28 echo "[Match]" > ${UNPACKDIR}/30-netdev-${devname}.link 29 echo "Path=*-${devaddr}" >> ${UNPACKDIR}/30-netdev-${devname}.link 30 echo "[Link]" >> ${UNPACKDIR}/30-netdev-${devname}.link 31 echo "Name=${devname}" >> ${UNPACKDIR}/30-netdev-${devname}.link 32 install -m0644 ${UNPACKDIR}/30-netdev-${devname}.link ${netdir}
|
| /openbmc/qemu/docs/ |
| H A D | colo-proxy.txt | 65 …p | rx:receive packets sent to the netdev 66 … | tx:receive packets sent by the netdev 165 -netdev tap,id=hn0,vhost=off 166 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66 174 -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0 175 -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out 176 -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0 180 -netdev tap,id=hn0,vhost=off 181 -device e1000,netdev=hn0,mac=52:a4:00:12:78:66 184 -object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0 [all …]
|
| H A D | COLO-FT.txt | 163 -netdev tap,id=hn0,vhost=off,helper=/usr/lib/qemu/qemu-bridge-helper \ 164 -device rtl8139,id=e0,netdev=hn0 \ 171 -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0 \ 172 -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out \ 173 -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0 \ 194 -netdev tap,id=hn0,vhost=off,helper=/usr/lib/qemu/qemu-bridge-helper \ 195 -device rtl8139,id=e0,netdev=hn0 \ 198 -object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0 \ 199 -object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1 \ 200 -object filter-rewriter,id=rew0,netdev=hn0,queue=all \ [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openflow/openflow/ |
| H A D | 0002-lib-netdev-Adjust-header-include-sequence.patch | 4 Subject: [PATCH 2/2] lib/netdev: Adjust header include sequence 15 lib/netdev.c | 11 +++++------ 18 diff --git a/lib/netdev.c b/lib/netdev.c 20 --- a/lib/netdev.c 21 +++ b/lib/netdev.c
|
| /openbmc/openbmc/meta-yadro/meta-nicole/recipes-core/systemd/ |
| H A D | systemd-conf_%.bbappend | 8 file://eth0.4004.netdev \ 17 ${UNPACKDIR}/eth0.4004.netdev \ 26 ${sysconfdir}/systemd/network/eth0.4004.netdev \
|
| /openbmc/openbmc/meta-facebook/recipes-phosphor/network/ |
| H A D | phosphor-network_%.bbappend | 10 file://20-eth0.4088.netdev \ 25 install -m 0644 ${UNPACKDIR}/20-eth0.4088.netdev ${D}${systemd_unitdir}/network/ 34 ${systemd_unitdir}/network/20-eth0.4088.netdev \
|
| /openbmc/qemu/qapi/ |
| H A D | common.json | 168 # Indicates whether a netfilter is attached to a netdev's transmit 172 # queue of the netdev (default). 174 # @rx: the filter is attached to the receive queue of the netdev, 175 # where it will receive packets sent to the netdev. 177 # @tx: the filter is attached to the transmit queue of the netdev, 178 # where it will receive packets sent by the netdev.
|
| /openbmc/qemu/tests/functional/ |
| H A D | test_netdev_ethtool.py | |
| /openbmc/openbmc/meta-quanta/meta-s6q/recipes-core/systemd/ |
| H A D | systemd-conf_%.bbappend | 5 file://10-bmc-bond0.netdev \ 19 ${sysconfdir}/systemd/network/10-bmc-bond0.netdev \ 39 install -m 0644 ${UNPACKDIR}/10-bmc-bond0.netdev \
|
| /openbmc/openbmc/meta-aspeed/conf/machine/include/ |
| H A D | aspeed.inc | 34 # Specify netdev to align with default QB_SLIRP_OPT 35 QB_NETWORK_DEVICE = "-net nic,netdev=net0"
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | ether.c | 143 struct eth_device netdev; member 145 struct udevice *netdev; member 2011 struct eth_pdata *pdata = dev_get_platdata(l_priv->netdev); in eth_bind() 2201 dev->net = &l_priv->netdev; in eth_bind() 2203 dev->net = l_priv->netdev; in eth_bind() 2525 static int usb_eth_init(struct eth_device *netdev, bd_t *bd) in usb_eth_init() argument 2527 struct ether_priv *priv = (struct ether_priv *)netdev->priv; in usb_eth_init() 2532 static int usb_eth_send(struct eth_device *netdev, void *packet, int length) in usb_eth_send() argument 2534 struct ether_priv *priv = (struct ether_priv *)netdev->priv; in usb_eth_send() 2539 static int usb_eth_recv(struct eth_device *netdev) in usb_eth_recv() argument [all …]
|
| /openbmc/openbmc-build-scripts/scripts/ |
| H A D | boot-qemu.sh | 99 NIC="-net nic,model=ftgmac100,netdev=netdev1 -netdev user,id=netdev1,$NET_FORWARDING" 103 NIC="-net nic,model=ftgmac100,netdev=netdev1 -netdev user,id=netdev1 " 104 NIC+="-net nic,model=ftgmac100,netdev=netdev2 -netdev user,id=netdev2 " 105 NIC+="-net nic,model=ftgmac100,netdev=netdev3 -netdev user,id=netdev3,$NET_FORWARDING " 106 NIC+="-net nic,model=ftgmac100,netdev=netdev4 -netdev use [all...] |
| /openbmc/openbmc/poky/meta/conf/machine/include/loongarch/ |
| H A D | qemuloongarch.inc | 29 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" 30 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
|