Lines Matching defs:ifaceId
1098 uint32_t ifaceId;
1109 ifaceId = if_nametoindex(networkInfo.infos[0].name);
1110 if (ifaceId == 0) {
1111 HILOG_ERROR(LOG_CORE, "%s: get iface id(%u) failed", __FUNCTION__, ifaceId);
1123 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
1135 uint32_t ifaceId;
1146 ifaceId = if_nametoindex(networkInfo.infos[0].name);
1147 if (ifaceId == 0) {
1148 HILOG_ERROR(LOG_CORE, "%s: get iface id(%u) failed", __FUNCTION__, ifaceId);
1159 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
1282 uint32_t ifaceId;
1296 ifaceId = if_nametoindex(ifName);
1297 if (ifaceId == 0) {
1298 HILOG_ERROR(LOG_CORE, "%s: get iface id(%u) failed", __FUNCTION__, ifaceId);
1310 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
1329 uint32_t ifaceId;
1333 ifaceId = if_nametoindex(ifName);
1334 if (ifaceId == 0) {
1335 HILOG_ERROR(LOG_CORE, "%s: get iface id(%d) failed", __FUNCTION__, ifaceId);
1346 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
1371 uint32_t ifaceId = if_nametoindex(ifName);
1376 if (ifaceId == 0) {
1388 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
1415 uint32_t ifaceId = if_nametoindex(ifName);
1423 if (ifaceId == 0) {
1429 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
1455 uint32_t ifaceId;
1463 ifaceId = if_nametoindex(ifName);
1464 if (ifaceId == 0) {
1477 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
1707 uint32_t ifaceId = if_nametoindex(ifName);
1711 if (ifaceId == 0) {
1723 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId);
2458 uint32_t ifaceId = if_nametoindex(ifName);
2462 if (ifaceId == 0) {
2477 if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifaceId) != RET_CODE_SUCCESS) {
2478 HILOG_ERROR(LOG_CORE, "%s: nla_put_u32 ifaceId faile", __FUNCTION__);