Searched refs:if_name (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.6.0/drivers/ethernet/ |
D | eth_native_posix_priv.h | 14 int eth_iface_create(const char *dev_name, const char *if_name, bool tun_only); 18 int eth_promisc_mode(const char *if_name, bool enable);
|
D | eth_native_posix_adapt.c | 41 int eth_iface_create(const char *dev_name, const char *if_name, bool tun_only) in eth_iface_create() argument 56 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in eth_iface_create() 135 int eth_promisc_mode(const char *if_name, bool enable) in eth_promisc_mode() argument 138 if_name, enable ? "on" : "off"); in eth_promisc_mode()
|
D | eth_native_posix.c | 55 const char *if_name; member 407 ctx->if_name); in create_rx_handler() 468 ctx->if_name = CONFIG_ETH_NATIVE_POSIX_DRV_NAME; in eth_iface_init() 471 LOG_DBG("Interface %p using \"%s\"", iface, ctx->if_name); in eth_iface_init() 476 ctx->dev_fd = eth_iface_create(CONFIG_ETH_NATIVE_POSIX_DEV_NAME, ctx->if_name, false); in eth_iface_init() 478 LOG_ERR("Cannot create %s (%d)", ctx->if_name, -errno); in eth_iface_init() 551 ret = eth_promisc_mode(context->if_name, in set_config() 597 .if_name = CONFIG_ETH_NATIVE_POSIX_DRV_NAME #x, \
|
/Zephyr-Core-3.6.0/drivers/can/ |
D | can_native_linux_adapt.h | 14 int linux_socketcan_iface_open(const char *if_name);
|
D | can_native_linux_adapt.c | 44 int linux_socketcan_iface_open(const char *if_name) in linux_socketcan_iface_open() argument 58 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in linux_socketcan_iface_open()
|
D | can_native_linux.c | 46 const char *if_name; member 472 data->dev_fd = linux_socketcan_iface_open(cfg->if_name); in can_native_linux_init() 474 LOG_ERR("Cannot open %s (%d)", cfg->if_name, data->dev_fd); in can_native_linux_init() 493 .if_name = DT_INST_PROP(inst, host_interface), \
|
/Zephyr-Core-3.6.0/samples/net/dsa/src/ |
D | main.h | 37 char *if_name; member 91 data.if_name = "lan"#ID; \
|
/Zephyr-Core-3.6.0/modules/hostap/src/ |
D | supp_api.c | 81 char if_name[CONFIG_NET_INTERFACE_NAME_LEN + 1]; in get_wpa_s_handle() local 90 ret = net_if_get_name(iface, if_name, sizeof(if_name)); in get_wpa_s_handle() 96 wpa_s = zephyr_get_handle_by_ifname(if_name); in get_wpa_s_handle() 98 wpa_printf(MSG_ERROR, "Interface %s not found", if_name); in get_wpa_s_handle()
|
D | supp_main.c | 63 char if_name[CONFIG_NET_INTERFACE_NAME_LEN + 1]; member 207 net_if_get_name(iface, ctx->if_name, CONFIG_NET_INTERFACE_NAME_LEN); in add_interface() 508 supplicant_generate_state_event(ctx->if_name, NET_EVENT_SUPPLICANT_CMD_NOT_READY, 0); in handler()
|