Change-Id: I92d6c7bac6d2c49fc138f0d19174b2ec7603ffe7
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
error_e NetStat::GetWifiTotalTxBytes(void)
{
error_e NetStat::GetWifiTotalTxBytes(void)
{
+ unsigned long long tx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
GVariant *message = NULL;
error_e error = ERROR_NONE;
error_e NetStat::GetWifiTotalRxBytes(void)
{
error_e NetStat::GetWifiTotalRxBytes(void)
{
+ unsigned long long rx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
GVariant *message = NULL;
error_e error = ERROR_NONE;
error_e NetStat::GetWifiLastTxBytes(void)
{
error_e NetStat::GetWifiLastTxBytes(void)
{
+ unsigned long long tx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
GVariant *message = NULL;
error_e error = ERROR_NONE;
error_e NetStat::GetWifiLastRxBytes(void)
{
error_e NetStat::GetWifiLastRxBytes(void)
{
+ unsigned long long rx_bytes = 0;
GVariant *message = NULL;
error_e error = ERROR_NONE;
GVariant *message = NULL;
error_e error = ERROR_NONE;
Name: net-config
Summary: TIZEN Network Configuration service
Name: net-config
Summary: TIZEN Network Configuration service
Release: 3
Group: System/Network
License: Apache-2.0
Release: 3
Group: System/Network
License: Apache-2.0
- DBG("write mptcp parameter. len: %d, value: %s", strlen(value), value);
+ DBG("write mptcp parameter. len: %zd, value: %s", strlen(value), value);
if (write(fd, value, strlen(value)) < 0) {
ERR("Fail to write %s to %s", value, path);
close(fd);
if (write(fd, value, strlen(value)) < 0) {
ERR("Fail to write %s to %s", value, path);
close(fd);
if (g_strcmp0(key, "SSID") == 0) {
const char *t_key = NULL;
t_key = g_variant_get_fixed_array(variant, &ssid_len, sizeof(guchar));
if (g_strcmp0(key, "SSID") == 0) {
const char *t_key = NULL;
t_key = g_variant_get_fixed_array(variant, &ssid_len, sizeof(guchar));
- INFO("wps ssid_len is %d ", ssid_len);
+ INFO("wps ssid_len is %zd ", ssid_len);
if (t_key == NULL) {
g_free(key);
g_variant_unref(variant);
if (t_key == NULL) {
g_free(key);
g_variant_unref(variant);
const char *t_key = NULL;
key_len = g_variant_get_size(variant);
const char *t_key = NULL;
key_len = g_variant_get_size(variant);
- INFO("wps password len %d ", key_len);
+ INFO("wps password len %zd ", key_len);
if (key_len > 0) {
t_key = g_variant_get_fixed_array(variant, &key_len,
sizeof(guchar));
if (key_len > 0) {
t_key = g_variant_get_fixed_array(variant, &key_len,
sizeof(guchar));
const char *t_key = NULL;
t_key = g_variant_get_fixed_array(variant, &ssid_len,
sizeof(guchar));
const char *t_key = NULL;
t_key = g_variant_get_fixed_array(variant, &ssid_len,
sizeof(guchar));
- INFO("wps ssid_len is %d ", ssid_len);
+ INFO("wps ssid_len is %zd ", ssid_len);
if (!t_key) {
g_free(key);
g_variant_unref(variant);
if (!t_key) {
g_free(key);
g_variant_unref(variant);
struct ifreq ifr;
char buf[BUF_SIZE_FOR_ERR] = { 0 };
struct ifreq ifr;
char buf[BUF_SIZE_FOR_ERR] = { 0 };
- DBG("enter vpn_daemon_init, iface_name : %s, iface_name_len : %d, fd : %d\n", iface_name, iface_name_len, fd);
+ DBG("enter vpn_daemon_init, iface_name : %s, iface_name_len : %zd, fd : %d\n", iface_name, iface_name_len, fd);
memset(&ifr, 0, sizeof(ifr));
memset(&ifr, 0, sizeof(ifr));
- INFO("Successfully installed[%d]", length);
+ INFO("Successfully installed[%zd]", length);
g_free(buf);
if (remove(src) != 0)
g_free(buf);
if (remove(src) != 0)
close(fd);
return -1;
} else {
close(fd);
return -1;
} else {
- DBG("read size = %d", count);
+ DBG("read size = %zd", count);
close(fd);
return -1;
} else {
close(fd);
return -1;
} else {
- DBG("write size = %d", count);
+ DBG("write size = %zd", count);