Searched refs:host_ifname (Results 1 – 4 of 4) sorted by relevance
/u-boot/arch/sandbox/cpu/ |
A D | eth-raw-os.c | 62 if (!if_indextoname(priv->host_ifindex, priv->host_ifname)) in sandbox_eth_raw_os_idx_to_name() 82 device->sll_ifindex = if_nametoindex(priv->host_ifname); in _raw_packet_start() 97 priv->host_ifname, strlen(priv->host_ifname) + 1); in _raw_packet_start() 99 printf("Failed to bind to '%s': %d %s\n", priv->host_ifname, in _raw_packet_start() 119 if (strlen(priv->host_ifname) >= IFNAMSIZ) { in _raw_packet_start() 121 priv->host_ifname); in _raw_packet_start() 124 strncpy(ifr.ifr_name, priv->host_ifname, IFNAMSIZ); in _raw_packet_start()
|
/u-boot/drivers/net/ |
A D | sandbox-raw.c | 164 strncpy(priv->host_ifname, ifname, IFNAMSIZ); in sb_eth_raw_of_to_plat() 165 printf(": Using %s from DT\n", priv->host_ifname); in sb_eth_raw_of_to_plat() 175 priv->host_ifindex, priv->host_ifname); in sb_eth_raw_of_to_plat() 178 ret = sandbox_eth_raw_os_is_local(priv->host_ifname); in sb_eth_raw_of_to_plat()
|
A D | sandbox-raw-bus.c | 46 strcpy(priv->host_ifname, i->if_name); in eth_raw_bus_post_bind()
|
/u-boot/arch/sandbox/include/asm/ |
A D | eth-raw-os.h | 29 char host_ifname[IFNAMSIZ]; member
|
Completed in 5 milliseconds