Searched refs:if_idx (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | bridge_shell.c | 30 int ret = 0, br_idx, if_idx; in cmd_bridge_addif() local 46 if_idx = get_idx(sh, argv[i]); in cmd_bridge_addif() 47 if (if_idx < 0) { in cmd_bridge_addif() 51 iface = net_if_get_by_index(if_idx); in cmd_bridge_addif() 53 shell_warn(sh, "Interface %d not found\n", if_idx); in cmd_bridge_addif() 58 shell_warn(sh, "Interface %d is not Ethernet\n", if_idx); in cmd_bridge_addif() 63 shell_warn(sh, "Interface %d cannot do promiscuous mode\n", if_idx); in cmd_bridge_addif() 78 int ret = 0, br_idx, if_idx; in cmd_bridge_delif() local 94 if_idx = get_idx(sh, argv[i]); in cmd_bridge_delif() 95 if (if_idx < 0) { in cmd_bridge_delif() [all …]
|