Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge_shell.c30 int ret = 0, br_idx, if_idx; in cmd_bridge_addif() local
34 br_idx = get_idx(sh, argv[1]); in cmd_bridge_addif()
35 if (br_idx < 0) { in cmd_bridge_addif()
36 return br_idx; in cmd_bridge_addif()
39 br = eth_bridge_get_by_index(br_idx); in cmd_bridge_addif()
41 shell_warn(sh, "Bridge %d not found\n", br_idx); in cmd_bridge_addif()
78 int ret = 0, br_idx, if_idx; in cmd_bridge_delif() local
82 br_idx = get_idx(sh, argv[1]); in cmd_bridge_delif()
83 if (br_idx < 0) { in cmd_bridge_delif()
84 return br_idx; in cmd_bridge_delif()
[all …]