Home
last modified time | relevance | path

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

/subsys/net/l2/ethernet/
A Dbridge_shell.c14 static int get_idx(const struct shell *sh, char *index_str) in get_idx() function
34 br_idx = get_idx(sh, argv[1]); in cmd_bridge_addif()
46 if_idx = get_idx(sh, argv[i]); in cmd_bridge_addif()
82 br_idx = get_idx(sh, argv[1]); in cmd_bridge_delif()
94 if_idx = get_idx(sh, argv[i]); in cmd_bridge_delif()
158 br_idx = get_idx(sh, argv[1]); in cmd_bridge_show()
/subsys/net/lib/sockets/
A Dsockets_service.c36 #define get_idx(svc) (*(svc->idx)) macro
189 get_idx(svc) = count + 1; in socket_service_thread()
228 ctx.events[get_idx(svc) + j] = svc->pev[j].event; in socket_service_thread()
/subsys/bluetooth/mesh/
A Dcfg_srv.c382 uint16_t get_idx; in app_key_get() local
386 get_idx = net_buf_simple_pull_le16(buf); in app_key_get()
387 if (get_idx > 0xfff) { in app_key_get()
388 LOG_ERR("Invalid NetKeyIndex 0x%04x", get_idx); in app_key_get()
392 LOG_DBG("idx 0x%04x", get_idx); in app_key_get()
396 if (!bt_mesh_subnet_exists(get_idx)) { in app_key_get()
403 net_buf_simple_add_le16(&msg, get_idx); in app_key_get()
409 count = bt_mesh_app_keys_get(get_idx, app_idx, ARRAY_SIZE(app_idx), 0); in app_key_get()

Completed in 16 milliseconds