<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_system_netd/server/DummyNetwork.cpp, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/'/>
<entry>
<title>Remove Network::Type and Network::getType()</title>
<updated>2021-03-31T03:23:01+00:00</updated>
<author>
<name>Ken Chen</name>
<email>cken@google.com</email>
</author>
<published>2021-03-30T11:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=2f6615218e16e4bd7edd85b909869d6b8cc17d87'/>
<id>2f6615218e16e4bd7edd85b909869d6b8cc17d87</id>
<content type='text'>
Enumeration Network::Type and member function Network::getType() can be
removed after aosp/1657760. Specializations of each type of network are
implemented in subclass. No functionality changes.

Test: atest
Change-Id: Ib57bf26e4f0a60f7f01bec3109fb84458fb3abfb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enumeration Network::Type and member function Network::getType() can be
removed after aosp/1657760. Specializations of each type of network are
implemented in subclass. No functionality changes.

Test: atest
Change-Id: Ib57bf26e4f0a60f7f01bec3109fb84458fb3abfb
</pre>
</div>
</content>
</entry>
<entry>
<title>PANS - Support unreachable default network</title>
<updated>2021-03-26T02:32:49+00:00</updated>
<author>
<name>Ken Chen</name>
<email>cken@google.com</email>
</author>
<published>2021-03-16T17:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=4e8ef9b24e5f5c1f9760f593e2e022750c314f5e'/>
<id>4e8ef9b24e5f5c1f9760f593e2e022750c314f5e</id>
<content type='text'>
Framework provides several preferences in PANS feature. To meet those
preferences, Netd needs to support two operations for framework:

(1) Set OEM-paid network as default network for apps.
(2) Prohibit apps to use default network if it is not explicitly
selected.

The #1 is supported by previous commit already. This commit implements
the #2, which adds a new IP rule priority for unconnected socket, reuses
existing IP rule priorities in explicit and implicit network selection.
Rules are looks like:

15000:	from all fwmark 0x10034/0x1ffff iif lo uidrange x-y unreachable
...
22000:	from all fwmark 0x34/0x1ffff iif lo uidrange x-y unreachable
...
27000:	from all fwmark 0x0/0xffff iif lo uidrange x-y unreachable

An UNREACHABLE network (netId 52) is created for framework to specify
that the default network is unavailable for designated apps.

Bug: 181579204
Test: atest
Change-Id: I21530928a85870df673e2d1387fde130fe5a0104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Framework provides several preferences in PANS feature. To meet those
preferences, Netd needs to support two operations for framework:

(1) Set OEM-paid network as default network for apps.
(2) Prohibit apps to use default network if it is not explicitly
selected.

The #1 is supported by previous commit already. This commit implements
the #2, which adds a new IP rule priority for unconnected socket, reuses
existing IP rule priorities in explicit and implicit network selection.
Rules are looks like:

15000:	from all fwmark 0x10034/0x1ffff iif lo uidrange x-y unreachable
...
22000:	from all fwmark 0x34/0x1ffff iif lo uidrange x-y unreachable
...
27000:	from all fwmark 0x0/0xffff iif lo uidrange x-y unreachable

An UNREACHABLE network (netId 52) is created for framework to specify
that the default network is unavailable for designated apps.

Bug: 181579204
Test: atest
Change-Id: I21530928a85870df673e2d1387fde130fe5a0104
</pre>
</div>
</content>
</entry>
<entry>
<title>Return -EINVAL on addInterface/removeInterface by default</title>
<updated>2021-03-24T17:14:23+00:00</updated>
<author>
<name>Ken Chen</name>
<email>cken@google.com</email>
</author>
<published>2021-03-24T10:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=b573648fce613ecd94dce54a8744e6e06544856c'/>
<id>b573648fce613ecd94dce54a8744e6e06544856c</id>
<content type='text'>
Add the default implementation in base class. So we don't need to
implement it in each derived class. No functionality changes.

Test: atest
Change-Id: I895332e23ea66d2adbf5d5b54b2f1bd611ae4ed0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the default implementation in base class. So we don't need to
implement it in each derived class. No functionality changes.

Test: atest
Change-Id: I895332e23ea66d2adbf5d5b54b2f1bd611ae4ed0
</pre>
</div>
</content>
</entry>
<entry>
<title>Move DUMMY_NET_ID to Aidl.</title>
<updated>2021-01-28T08:49:00+00:00</updated>
<author>
<name>Chalard Jean</name>
<email>jchalard@google.com</email>
</author>
<published>2021-01-20T05:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=d96b0f2548308ae4231e6a4462a568e7096004e7'/>
<id>d96b0f2548308ae4231e6a4462a568e7096004e7</id>
<content type='text'>
This constant will have to be used from Java too,
so make sure it stays in sync by declaring it in
AIDL.

Test: netd_integration_test
      new test for this
Change-Id: I6c6a0323ea4a604441ede1ee5d9f51c918a35319
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This constant will have to be used from Java too,
so make sure it stays in sync by declaring it in
AIDL.

Test: netd_integration_test
      new test for this
Change-Id: I6c6a0323ea4a604441ede1ee5d9f51c918a35319
</pre>
</div>
</content>
</entry>
<entry>
<title>Move appliesToUser() from VirtualNetwork to Network</title>
<updated>2020-12-08T23:55:03+00:00</updated>
<author>
<name>Ken Chen</name>
<email>cken@google.com</email>
</author>
<published>2020-12-03T16:08:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=d15bcfcd60943db076f997985ca39dcb6165b6f1'/>
<id>d15bcfcd60943db076f997985ca39dcb6165b6f1</id>
<content type='text'>
Make funtion generic for followed physical network use case.

Test: atest
Change-Id: I30f61815a2626068a99c4b4bd77bea8b2c16bd47
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make funtion generic for followed physical network use case.

Test: atest
Change-Id: I30f61815a2626068a99c4b4bd77bea8b2c16bd47
</pre>
</div>
</content>
</entry>
<entry>
<title>Put most of netd into the android::net namespace.</title>
<updated>2017-02-14T03:46:43+00:00</updated>
<author>
<name>Lorenzo Colitti</name>
<email>lorenzo@google.com</email>
</author>
<published>2017-02-13T09:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=7035f228d17e925116b1b64a7c917b3196ab8818'/>
<id>7035f228d17e925116b1b64a7c917b3196ab8818</id>
<content type='text'>
Test: netd_{unit,integration}_test pass
Test: bullhead builds, boots
Bug: 34873832
Change-Id: I0a252328041b342f9c03cd08c11a69d452b045b3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: netd_{unit,integration}_test pass
Test: bullhead builds, boots
Bug: 34873832
Change-Id: I0a252328041b342f9c03cd08c11a69d452b045b3
</pre>
</div>
</content>
</entry>
<entry>
<title>Forgot this in merge resolution.</title>
<updated>2015-03-16T11:58:06+00:00</updated>
<author>
<name>Nicolas Geoffray</name>
<email>ngeoffray@google.com</email>
</author>
<published>2015-03-16T11:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=afd4037d7d7802d2ecc0494901ac17134a27aa1f'/>
<id>afd4037d7d7802d2ecc0494901ac17134a27aa1f</id>
<content type='text'>
Change-Id: Ieb26ec5fc333743b86d414ee558c978334647853
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ieb26ec5fc333743b86d414ee558c978334647853
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a dummy network that discards all packets.</title>
<updated>2015-02-25T04:50:49+00:00</updated>
<author>
<name>Lorenzo Colitti</name>
<email>lorenzo@google.com</email>
</author>
<published>2015-02-25T01:26:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_netd/commit/?id=3667936aadcabddc708797ac38ce1ffb2f992cb3'/>
<id>3667936aadcabddc708797ac38ce1ffb2f992cb3</id>
<content type='text'>
Bug: 19500693
Change-Id: Ic25f2d8c481f1528e887e43ca3fa868189582110
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 19500693
Change-Id: Ic25f2d8c481f1528e887e43ca3fa868189582110
</pre>
</div>
</content>
</entry>
</feed>
