Home
last modified time | relevance | path

Searched refs:index_str (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/net/lib/shell/
Dnet_shell.c26 int get_iface_idx(const struct shell *sh, char *index_str) in get_iface_idx() argument
31 if (!index_str) { in get_iface_idx()
36 idx = strtol(index_str, &endptr, 10); in get_iface_idx()
38 PR_WARNING("Invalid index %s\n", index_str); in get_iface_idx()
Dnet_shell_private.h94 int get_iface_idx(const struct shell *sh, char *index_str);
/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge_shell.c14 static int get_idx(const struct shell *sh, char *index_str) in get_idx() argument
19 idx = strtol(index_str, &endptr, 10); in get_idx()
21 shell_warn(sh, "Invalid index %s\n", index_str); in get_idx()