History log of /system/netd/CommandListener.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0b02d05f1e2968643c42d10841dccedb63d33c48 19-Sep-2012 Zhihai Xu <zhihaixu@google.com> remove Pan service which is not used anymore.

because we replaced bluez bluetooth stack with bluedroid bluetooth stack.
This is multiple project check-in for ISSUE 6849488 Bluedroid stack, remove system/bluetooth.
Pan service depend on system/bluetooth. So both Pan service and system/bluetooth should be removed.

bug 6849488

Change-Id: I7a5a828b9b4327dbd6b6a13ec7ff4a9129ba0ca5
5c4faf7602de0268aa09a3a525b427f83d617b5c 27-Jul-2012 Haoyu Bai <bhy@google.com> Fix idletimer iptable rules.

Now idletimer should be triggered by every packet.

Cherry-picked from commit 8c54ec5de3818ff0c0cfc735c817be2516454415 in
master. DO NOT MERGE

Change-Id: I48e6fed5cb48edc51b5fbe87091e5dbb3f862cb7
2eab1f762badb7ba46b95716e62ea4548a979903 27-Jul-2012 Dmitry Shmidt <dimitrysh@google.com> netd: Add initial interface driver command support

Change-Id: I1d34e43fc6a3336d0cd06e9db1069467382f210f
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
72779ad68ae5d2151d15a30791ca7203f3cb3026 17-Jul-2012 Jeff Sharkey <jsharkey@android.com> Merge "Introduce basic firewall controls."
d8c64026aaae5a9987151b719bd840ec7d68747a 14-Jul-2012 Jeff Sharkey <jsharkey@android.com> Introduce basic firewall controls.

Creates a separate firewall chain that can be used to allow/deny
traffic based on rules.

Firewall is disabled by default. When enabled, it supports four
types of rules: allowing traffic based on iface name, based on egress
source IP, based on egress destination IP and port, and based on
local UID.

Bug: 5756357
Change-Id: I97f894dca6bddb93b3c56478c5297f79d727cdab
9caaa44f635f86200e2b9b4cd36d1471ce910a6a 21-Jun-2012 Matthew Xie <mattx@google.com> change logx to alogx

Change-Id: Ib535b04a6b18d5d35012795b07a705c6483f343d
9589a4c6e0b6a5ec60c65b248e7deff2805749b2 15-Apr-2012 zzy <zhenye@broadcom.com> Added bluetooth reverse tether start/stop cmd
8e188ed5c989ddcc07f0f5e9839493c22d17e7b6 13-Jul-2012 Jeff Sharkey <jsharkey@android.com> Consolidate iptables chain management.

Move creation and management of module iptables chains up into
CommandListener, which gives better visibility into ordering.

Change-Id: If0c94187c6e59a20840b035d7241057f45a0f74b
90f374a7f4b111eeb1ed19feb52350c8f32c169d 30-Jun-2012 Haoyu Bai <bhy@google.com> Merge "Add a class lable parameter to idletimer."
98f65d32b1530b4da6050e38d52f955710577efb 29-Jun-2012 Haoyu Bai <bhy@google.com> Add a class lable parameter to idletimer.

Now the idletimer should be setup by this command:
ndc idletimer add <interface> <timeout> <class label>

Class label can be a number or string to identify device type, such as
mobile or wifi. Idletimer will send label in the netd message instead
of the actual interface name.

Change-Id: Ic8b69dc5e38a4436c74723697905643a1214aa2a
778ffe4d3dcab5453b57a0d960ea7f066374b953 20-Jun-2012 Dmitry Shmidt <dimitrysh@google.com> netd: interface: Allow setcfg command without addresses

Change-Id: I47ebe05b2f3daf9754b4baf2e62d46dea76f67b1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
7e9eb7b48345af69283afa7ca58d3be0a329931b 16-Jun-2012 Irfan Sheriff <isheriff@google.com> Clean up softap interface

Remove old IOCTL based interface

Change-Id: I5c46964d025848ce8a0e0195ff213ccd8b33d508
1fb02dfc26e06b83e756ab3538b7ebc2136f535d 25-Apr-2012 JP Abgrall <jpa@google.com> bandwidthcontroller: hide iptables errors when they don't matter

Some commands are run to be able to recover after failures.
Those cleanup commands are generally allowed to fail.
But the lower level system commands would log an error.
Now that error is hidden if nobody will care about the result.
A "#define LOG_NDEBUG 0" will show those failing commands.

Removed leftover LOG_NDEBUG in CommandListener.

Bug: 6377175
Change-Id: I1205fb077f7d0496969bd2a0b5da42025bc5a8dc
0031cead820149e2fe3ccb3cc2fe05758a3cb5c2 18-Apr-2012 JP Abgrall <jpa@google.com> netd: Idletimer vs Nat vs Bandwidth controllers

* modified iptables users to work in controller specific custom chains.
- each controller only works withing his own custom chains and not the
- CommandListener now invokes setupIptablesHooks() for each controller
once. That is the only time they are allowed to access the top-level

* Added idletimer controller.
From https://android-git.corp.google.com/g/#/c/180769/2
- supported commands
. ndc idletimer enable
. ndc idletimer add <iface> <timeout>
. ndc idletimer remove <iface> <timeout_used_during_add>
There is a framework change elsewhere that receives netlink messages.

Signed-off-by: Ashish Sharma <ashishsharma@google.com>
Signed-off-by: JP Abgrall <jpa@google.com>
Change-Id: Ia57450c09166ce20f21d1e3b49047ef1e98f2a3d
a8e59f8c50aed3f91dead377b8ae21646978506c 16-Feb-2012 Robert Greenwalt <rgreenwalt@google.com> Use the new command numbering scheme.

Support multiple commands on a single socket via command numbers.
Native DaemonConnector has been changed, so we need to use it here

Change-Id: I084a284db38b996e7965bb9dd18440636eff9801
5ea0c05a1e7d8e664b808aa1bb1efd08fdb2fb13 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I8ab66debe4d0c3857a4b80f6f7b6925a352cda87
0e76b761a1514d5182675dd7b7d33725f62d6bc5 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: Ic9a12b3bc322d1fa60de50725b5ca18341d64b91
7b984e3f7e724f8a3547a707210319f3d479f261 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I85b946663d5a0e7606140282bf758c27b8c6f68f
7c2ddd84ec501aaedb806a3ecec5de00d618a036 02-Dec-2011 Jeff Sharkey <jsharkey@android.com> Allow additional interface flags.

Bug: 5686458
Change-Id: I9c5147446636d32bb3a420a05199870cca5f013d
31ea0b03afeedd17f703b7a6d1e5c9feb2d6000d 30-Nov-2011 Jeff Sharkey <jsharkey@android.com> Remove square brackets from interface flags.

All trailing arguments are treated as now treated as flags, instead
of mixing argument formats.

Change-Id: Iab80ed47ce2c8a1e7bc0fc5a46d391638fe282c8
a2a64f004f1677daf16b0b03d589d6572ec547c2 12-Nov-2011 JP Abgrall <jpa@google.com> netd: BandwidthController: return extra info on gettetherstats failure

Use the error message string to report the raw parsed data in case of

Change-Id: If9f3bcea09fd3ab8a506955d8153b3430bfd239c
29563474fd66b03d5bc5b11bc54cd4001e2327a7 05-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> am fc97b82e: Start using IP tool for advanced routing.

* commit 'fc97b82e02979f246d56a4bfd60e4aab8686d3f6':
Start using IP tool for advanced routing.
fc97b82e02979f246d56a4bfd60e4aab8686d3f6 03-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> Start using IP tool for advanced routing.

Change-Id: I51f21060947f57e63b18c4d35e9d49fac488d48a
47441ce12d8ac4e7f3c3fb1354a3ae50b802c2bd 02-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> am f7bf29c8: When un-natting try to do all we can

* commit 'f7bf29c8a37d65e132a4dceb7c5a4200ed5c3d79':
When un-natting try to do all we can
f7bf29c8a37d65e132a4dceb7c5a4200ed5c3d79 02-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> When un-natting try to do all we can

Regardless of errors we should try to do as much as possible. Sometimes
some steps may fail if interfaces are taken down before we can un-nat them.

Change-Id: I9c9b0123198dba890565e0a6e4e15add16b369c2
3fb42e026ffebab2c8f282e42501040121e32d83 20-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: Iaf07eecf106fda89c464723661976f4570638558
c6c673496184bed6d62cf92a6fc7ed43fd94acd5 08-Oct-2011 JP Abgrall <jpa@google.com> netd: bandwidth: tethering global alert support

Now, when nat is enabled/disabled it will let the bandwidthcontroller
know that it might need to add/remove the matching global alert into
the tethering rules in the FORWARD chain of iptables.

Bug: 5336638
Change-Id: I1843f3f6601f371537f754a31db792e054b36a1d
c1b3870147acd0dd42e2e767df08b4d64d5d2423 30-Sep-2011 repo sync <isheriff@google.com> Add support to disable/enable ipv6

Bug: 5388757
Change-Id: I0506254948477cbff05603faed625cc73d94d777
1ed47c4a016e420a855ee46922e512150245ff61 27-Sep-2011 Lorenzo Colitti <lorenzo@google.com> Move the code to delete IP addresses to ifc_utils.

Change-Id: I04c8de503229d1dce6bd08c286b7017eaea11039
db7da58e8d2aa021060098057f944ef754be06e3 18-Sep-2011 JP Abgrall <jpa@google.com> netd: BandwidthController: support reading out tethering stats

* Add
ndc bandwidth gettetherstats <ifaceIn> <ifaceOut>
which returns
221 ifaceIn ifaceOut rx_bytes rx_packets tx_bytes tx_packets
If the iface pair is not found it will fail.

221 is the new response code for TetheringStatsResult.
It gets the stats by looking at the iptables FORWARD chain's counters.

* Fixed return handling after some of the responses.
- no need for errorno
- after ResponseCode >= 200, don't return another.

* Correctly initialize the alert values on "bandwidth enable"

Bug: 5244846,5230066
Change-Id: I81c941441525fa4055ae270d5cad05e6c42b8f72
32a9dc6f484deb3462d11084caca21e3f1f662b2 14-Sep-2011 Irfan Sheriff <isheriff@google.com> Netd comand to change IPv6 privacy extensions

Bug: 3360737
Change-Id: Ifa13c425c6168acdd01600d49c1fb52288c60d3c
ab374f426a0d1d8598f3eb4b0339440dcb313a1a 03-Sep-2011 Irfan Sheriff <isheriff@google.com> Avoid setting prefix length for address

The ioctl to set netmask fails when the interface address is
The kernel always keeps the netmask as 0 when the address is
Avoid making a call to prefix length when address is

Bug: 5255172
Change-Id: Id32f7823b2230fb9ac7cd45b0df1951f11338112
8a93272255f1b7e3083a97e1e28ddf675c0c7fb0 14-Jul-2011 JP Abgrall <jpa@google.com> netd: bandwidthcontroler: add support for alerts via iptables' quota2 log messages

* Fix quota2 updating. The old insert-new/delete-old scheme doesn't work as the kernel
keeps the old counter assigned to the new rule.

* Add support for setting dummy quotas used only for alerts.

This needs:
- new kernel with quota2 changes that support logging via NETLINK's
- NetlinkManager support for receiving the events.
- java land handler for these new events.

* new commands
- add/remove a dummy quota to generate an alert after <bytes> are seen including loopback.
alerts are only triggered once.
. ndc bandwidth setglobalalert <bytes>
calling it multiple times, just re-arms the alert for the specified number of bytes.
Use "ndc bandwidth getiquota singleAlert" to get what is left.
. ndc bandwidth removeglobalalert
- add/remove alert on a shared quota (similar accounting as shared quota)
. ndc bandwidth setsharedalert <bytes>
Requires that a shared quota already exist.
. ndc bandwidth removesharedalert
Removing the last of the shared quotas will remove the matching alert.
- add/remove alert on an interface (similar accounting as interface quota)
. ndc bandwidth setinterfacealert <iface> <bytes>
Requires that a interface quota already exist.
. ndc bandwidth removeinterfacealert <iface>
Removing the interface quota will remove the matching alert.
- get the quotas and alert leftovers
. ndc bandwidth getquota
shared quota leftover
. ndc bandwidth getiquota <quota_name_or_iface>
iface specific quota leftover
Can be used to read-out alerts. E.g.
setglobalalert 12345 -> getiquota globalAlert
setsharedalert 12345 -> getiquota sharedAlert
setinterfacealert iface0 12345 -> getiquota iface0Alert

Change-Id: Iea9698b9d20e713281755dac32b4772a6cf0e84e
3c8cc74f81d0f81204bd827076889bb51143dff8 27-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of 80adaddf to master

Change-Id: I53c036b229352430c3faf57ce1d02fa889827690
0dad7c2f1f6994fbe5e85b9e1fc72d29d6453211 24-Jun-2011 JP Abgrall <jpa@google.com> BandwidthController: cleanup ipv4/v6, set/remove multiple quotas.

Regroup the ipv4/ipv6 choice deeper down to avoid copypasted code.
Shared quota accross ifaces.
Single quota per ifaces.

Nothing preventing an iface from have a single and shared quota.
Might be close to having a working combination.

Added commands:
- shared quota
ndc bandwidth setquotas <quotaBytes> <iface> ...
ndc bandwidth setquota <iface> <quotaBytes>
ndc bandwidth removequota <iface>
ndc bandwidth removequotas <iface> ...

- quota per iface
ndc bandwidth setiquota <iface> <quotaBytes>
ndc bandwidth removeiquota <iface>

Change-Id: I370d223da3c8b6e16e8d0a455309ae9e0756a721
fa6f46d3370ae5475fc3bc8273bbe04ee7348d60 18-Jun-2011 JP Abgrall <jpa@google.com> netd:bandwidth: initial pass at app-rules, and some ipv6.

Adds initial per-app penalty box rules, and prepares for
handling per iface quota.

The following commands work:

* penalty box

ndc bandwidth addnaughtyapps <uid> ...
ndc bandwidth removenaughtyapps <uid> ...

* Shared quota

- add (updates the bytes, if they differ from last time)

ndc bandwidth setquota <iface> <bytes>
ndc bandwidth setquota <iface1> <bytes>
ndc bandwidth setquota <iface2> <bytes>

- remove
ndc bandwidth removequota <iface>
[ oldschool: ndc bandwidth setquota <iface> -1 ]

Change-Id: Ibefc16e81c7713feb47577a9687dcd032dedf06e
80adaddfe0a997d7c9f45fafbd6f8b05e14d119c 23-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> am d41806cb: Merge "Add ResolverController class"

* commit 'd41806cb55874d0eaf82fe11ffc62cf50a227313':
Add ResolverController class
786d1122d6a0a7b4bf16fdafe3b710759acc5094 31-May-2011 Mike Lockwood <lockwood@android.com> Remove obsolete support for controlling RNDIS USB networking

Change-Id: I1a49dc2c96998e9a44729b4b0303dbe9eb8c6569
Signed-off-by: Mike Lockwood <lockwood@android.com>
e734edd35d8d02da96330d77420650c044a12527 16-Jun-2011 Irfan Sheriff <isheriff@google.com> Add netd command to clean up IP addresses

Bug: 4676254
Change-Id: Ifb0b573750504f5daeb8db038d13dddd553797de
4a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11 16-Jun-2011 JP Abgrall <jpa@google.com> system/netd: bandwidth management initial support (uid+tag stats)

This is a minimalistic version to get accounting of data going
through tagged socket per uid.

When netd starts up the BandwidthController, it will look at the
properties for
and enabled it.

It needs the kernel with the xt_qtaguid + iptables/netfilter goodness.
stlport is ok to use.

The "owner" netfilter module used is actually our xt_qtaguid that acts as it
(just until we get around to talking directly the to kernel).

"ndc bandwidth enable"
is invoked all traffic is counted against the UIDs receiving/sending it.
This allows BlockGuard.java to "tag" sockets and see stats for the tags.

Data shows up in

There is no <uid>/...

Supported commands:
- "ndc bandwidth enable"
will setup the needed iptable entries to track tag/uid.
- "ndc bandwidth disable"
will remove the iptable entries.
- "ndc bandwidth setquota <iface> <value>"
will set a quota on the iface.
Once quota is reached, packets are rejected.
With the correct kernel, rejects are turned in socket errors.

* make bandwidth controller cooperate with tethering.
- they both manipulate the iptables.

Change-Id: Ieb9e7c60ef8c974e99828f7833065d59b2922bf3
2beda2d6ec8a5b36a1d36a104521b95845a3a955 19-May-2011 Robert Greenwalt <rgreenwalt@google.com> am 442017ef: am e019b659: Add v4/v6 route add/remove to netd.

* commit '442017eff8f783a2ea86d73c2ee9d88aef175327':
Add v4/v6 route add/remove to netd.
e019b65925217bcc3ad9b662aa3125f0593057af 10-May-2011 Robert Greenwalt <rgreenwalt@google.com> Add v4/v6 route add/remove to netd.

Now we can move this out of the framework.
Also adds v6 support and explicit route removal (rather than the big hammer of "remove all").

Change-Id: Ia7f1b12b2175c566c4906064796131a2f7e81466
89c1e975f0c03997808d35c7be10b244c5309f9f 29-Apr-2011 Mattias Falk <mattias.falk@sonyericsson.com> Add ResolverController class

Added a ResolverController class that handles
the communication with the dns resolver in

Change-Id: I0f71bd516109fd942e68b3400666c7a859228372
666fe255fa581965d2835bd581cd5a8959411067 08-Mar-2011 Dmitry Shmidt <dimitrysh@google.com> Softap: Add 'clients' command

Change-Id: I3694a0b2b570e0925b7f807f133e6fa5d95c3ac2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
1d93e170f13b221362ee268fdc94b25db06c21c9 01-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Stop using netmask in the framework.

Use prefixlength instead.

Change-Id: I4cc0d9a84a5b043da7f8cb19a42cc6aaae3f9584
ff2c0d8c13457e43f0d4bf06d3177271aac104c1 17-Nov-2010 Olivier Bailly <olivier@google.com> Add missing include headers for compilation on x86 targets.

Change-Id: I99f7b79bfb5b6305a0772f418a54ace50cac1bbe
651417c7c8662572de761c3b9260b1241ff21a79 23-Apr-2010 Robert Greenwalt <robdroid@android.com> Fix the reading of /proc/net/dev

When the bytes received counter gets too big it changes format from
name: 10 ...
name: 100 ...
name:1000 ...

The last one means sscanf can't parse a string and a long seperately - you
just get a string. Fixed by detecting a char after ':', splitting the name
and reparsing the long.

Change-Id: I84e41da1e38d24ea61f996ede9c87769abba5d22
31c61c80a013bd1a050f0f4103e13fba62bf1717 14-Apr-2010 Robert Greenwalt <robdroid@android.com> Don't make such noise when ppp0 is unavailable.

On sholes ppp0 comes and goes with wifi and net availability. We don't want our traffic
poller to have to care (and deal with race conditions) so just don't make so much noise
if we try to read the traffic data for a non-existing iface.

Change-Id: I8c1d721e7afc288b08cffb79f8f52f6cab55c88b
a1992c9ff3e0d180c1f3042658ab9671d61a2fb8 08-Apr-2010 San Mehat <san@google.com> netd: Plumb interface throttling

Change-Id: I9092a37b3d5f2bfa4f49ddc473d0a5490abaae8f
Signed-off-by: San Mehat <san@google.com>
321efa7340e327b25b4ea4e49d86817070a301c9 03-Apr-2010 Robert Greenwalt <robdroid@android.com> Fix network byte-count reading.

Some networks iface names are too long to fit in a 6-char string.

Change-Id: I571c9871db424d349bc47b4d15c6015a33be6f2a
8e46896b4c4be5deaef651a12b17314f63ae9070 01-Apr-2010 San Mehat <san@google.com> netd: Add skelaton support for throttling

Change-Id: I361f3c4ac30f7bb6efe4ed703405f0e843b075b4
Signed-off-by: San Mehat <san@google.com>
3208ea0b6cce28e7aef8459d548fd86df329e34f 25-Mar-2010 Robert Greenwalt <robdroid@android.com> Add support for multiple dhcp ranges.

We need multiple dhcp ranges to support dhcp on different interfaces.

Change-Id: I3b568e81c048c6aff1a752ac4a81669034104413
c3539e22bd7a59a12542b9ad961f7d7f0db9a8df 12-Mar-2010 Dmitry Shmidt <dimitrysh@google.com> netd: softap: Add softap start / stop driver commands

Change-Id: I2081e4943b6b93109288e8d764ce25a55f3b6198
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
31fd6c5f3e9c39a13b028718dba5921a4300988c 12-Mar-2010 Dmitry Shmidt <dimitrysh@google.com> netd: softap: Add FW reload processing

Change-Id: I731c2e390187c0fa5f69779cd25d8f2388ee511e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
e7b9422f0dc7a18041536c63efe74c7095496258 18-Feb-2010 Robert Greenwalt <robdroid@android.com> Add enable/disable control of USB networking

Also fix some errors in the interface control code (if we pass out all flags like so:
[up broadcast multicast]
we should probably accept that back)
3e6ba3ce1abda6071d5b01f53ca6039bb7b5e2d3 18-Feb-2010 Robert Greenwalt <robdroid@android.com> Add enable/disable control of USB networking
5af38c360587ca2eef0badf6137ccf018f8cd4aa 10-Feb-2010 Dmitry Shmidt <dimitrysh@google.com> netd: Add Softap controller skeleton functions

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
74d8fdd307275bfdf95dcf61d9e6366e87da24ec 01-Feb-2010 Robert Greenwalt <robdroid@android.com> Add specification of ms-dns arg to pppd.

This lets us tell the pc to use the tethered android as their dns server.

01fed783828b592cda3b774deea4099a9e690e3d 23-Jan-2010 San Mehat <san@google.com> netd: Rename InterfaceGetInfoResult

Signed-off-by: San Mehat <san@google.com>
5c1b8af16dbbc20c89aaca2f93e725e12b16d055 22-Jan-2010 San Mehat <san@google.com> netd: Add Flush out enumerating/configuring interfaces

Signed-off-by: San Mehat <san@google.com>
1bdac9e98c1ef37ba568b6cf23bfbc09cfe6bf15 21-Jan-2010 San Mehat <san@google.com> netd: Add preliminary support for BT PAN

Signed-off-by: San Mehat <san@google.com>
d5573d34c8fac49e16b20cf144486125bf940086 20-Jan-2010 San Mehat <san@google.com> netd: Add support for attaching/detaching PPP daemons

Signed-off-by: San Mehat <san@google.com>
9ff78fb7da7158f5bd7c86d89a842691820259cf 19-Jan-2010 San Mehat <san@google.com> netd: Add primitive NAT control

Update: Add stub function to validate interface existance

Signed-off-by: San Mehat <san@google.com>
9d10b341a0ba46f108cb96e46691197d778cbc06 18-Jan-2010 San Mehat <san@google.com> netd: Plumb in the tethering interfaces

Signed-off-by: San Mehat <san@google.com>
d18304287dbabc7835be771400b85d4ae8b63de6 15-Jan-2010 San Mehat <san@google.com> netd: Initial skelaton for netd

Signed-off-by: San Mehat <san@google.com>