Home
last modified time | relevance | path

Searched refs:ifa_name (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/common_modules/newip/src/linux-5.10/drivers/net/bt/
Dbtdev.c542 memcpy(vp.ifa_name, ndev_name(vnet), sizeof(vp.ifa_name)); in bt_cmd_create_virnet()
584 vnet = bt_table_find(bt_mng->devices_table, vp.ifa_name); in bt_cmd_delete_virnet()
586 btdev_dbg_err("virnet: %s cannot be found in bt table", vp.ifa_name); in bt_cmd_delete_virnet()
744 static struct bt_virnet *bt_table_find(struct bt_table *tbl, const char *ifa_name) in bt_table_find() argument
748 if (unlikely(!tbl) || unlikely(!ifa_name)) { in bt_table_find()
754 if (!strcmp(ndev_name(vnet), ifa_name)) in bt_table_find()
1144 char ifa_name[IFNAMSIZ]; in bt_net_device_create() local
1150 err = snprintf(ifa_name, sizeof(ifa_name), "%s%d", BT_VIRNET_NAME_PREFIX, id); in bt_net_device_create()
1155 ndev = alloc_netdev(0, ifa_name, NET_NAME_UNKNOWN, ether_setup); in bt_net_device_create()
1157 btdev_dbg_err("%s ndev alloc failed", ifa_name); in bt_net_device_create()
[all …]
Dbtdev_user.h44 char ifa_name[IFNAMSIZ]; member
Dbtdev.h257 static struct bt_virnet *bt_table_find(struct bt_table *tbl, const char *ifa_name);
/kernel/liteos_m/components/net/lwip-2.1/enhancement/src/
Dlwip_ifaddrs.c92 ifaddr->ifa_name = if_storage->name; in new_ifaddrs_storage()
107 … ret = snprintf_s(ifaddr->ifa_name, NETIF_NAMESIZE, (NETIF_NAMESIZE - 1), "%.2s", netif->name); in get_ifa_name()
109 …ret = snprintf_s(ifaddr->ifa_name, NETIF_NAMESIZE, (NETIF_NAMESIZE - 1), "%s", netif_get_name(neti… in get_ifa_name()
/kernel/uniproton/src/net/lwip-2.1/enhancement/src/
Dlwip_ifaddrs.c80 ifaddr->ifa_name = ifStorage->name; in OsNewIfaddrsStorage()
93 … ret = snprintf_s(ifaddr->ifa_name, NETIF_NAMESIZE, (NETIF_NAMESIZE - 1), "%.2s", netif->name); in OsGetIfaName()
95 …ret = snprintf_s(ifaddr->ifa_name, NETIF_NAMESIZE, (NETIF_NAMESIZE - 1), "%s", netif_get_name(neti… in OsGetIfaName()
/kernel/liteos_m/kal/libc/newlib/porting/include/
Difaddrs.h44 char *ifa_name; member
/kernel/linux/linux-5.10/tools/hv/
Dhv_kvp_daemon.c845 (strncmp(curp->ifa_name, if_name, strlen(if_name)))) { in kvp_get_ip_info()