Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."

Today's Topics:

   1. Re: IP Accounting for WiFi Clients (Daniel Wagner)
   2. Re: [tethering.c][lease_added]why to check whether MAC is already present 
in the hash table
      (Daniel Wagner)


----------------------------------------------------------------------

Date: Mon, 9 Mar 2020 09:43:54 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: IP Accounting for WiFi Clients
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi Guna,

On Mon, Mar 09, 2020 at 03:59:12AM -0000, [email protected] wrote:
> Currently i don't see the IP accounting feature is conman for WiFi Clients.
> I like to contribute the implementation for IP Accounting for WiFi Clients. 
> Can somebody provide the procedure to contribute.

We use the kernel contirbution approach. That is you send the patches
to this mailing list and I'll review/apply them.

There is also doc/coding-style.txt which has some pointers.

Thanks,
Daniel

------------------------------

Date: Mon, 9 Mar 2020 09:47:20 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: [tethering.c][lease_added]why to check whether MAC is
        already present in the hash table
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi Guna,

On Mon, Mar 09, 2020 at 04:18:24AM -0000, [email protected] wrote:
> /**********tethering.c(lease_added)******************************/
>         DBG("ip address for lease added:%s",ip_addr);
>       struct tether_client * teth_cli = NULL;
>       if(true == g_hash_table_lookup_extended(clients_table, mac_addr, NULL, 
> &teth_cli))
>       {
>               DBG("modifying ip address for %s mac address from hash 
> table",mac_addr);
>               g_free(teth_cli->ip);
>               teth_cli->ip = g_strdup(ip_addr);
>       }
>       else
>       {
>               DBG("no entry present for %s mac address",mac_addr);
>               teth_cli = tether_client_create(ip_addr);
>               if (teth_cli)
>               {
>                       char * mac;
>                       mac = g_strdup(mac_addr);
>                       g_hash_table_insert(clients_table, mac, teth_cli);
>         }
>       }
> /*********************************************************************************/

I don't see this code in our repository. Are you sure you are looking
at the code from

  git://git.kernel.org/pub/scm/network/connman/connman.git

?

Thanks,
Daniel

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


------------------------------

End of connman Digest, Vol 53, Issue 10
***************************************

Reply via email to