summaryrefslogtreecommitdiff
path: root/common/networkstackclient/aidl_api
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-03-30 04:23:55 +0000
committerMark Chien <markchien@google.com>2020-04-10 10:05:01 +0000
commitfd1649fc1801a201af30ef03f7bf33c43085ee8b (patch)
tree3adc8be7c44b54bc1af74a4969d17eb75fa2d024 /common/networkstackclient/aidl_api
parent6fb2a069f996e86c31998e0e0088cba5d311c7db (diff)
Support specific client address configuration
If specific config "clientAddr" is set, the DHCP server will only offer "clientAddr". This is for peer-to-peer use case. If there are multiple clients for which "clientAddr" is already in use, dhcp server will not offer other addresses to clients. Bug: 141256482 Test: manual atest NetworkStackNextTests Merged-In: I96bc24a9c30bfc48dff38c3c4456085694fd381c Change-Id: I96bc24a9c30bfc48dff38c3c4456085694fd381c
Diffstat (limited to 'common/networkstackclient/aidl_api')
-rw-r--r--common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/DhcpServingParamsParcel.aidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/DhcpServingParamsParcel.aidl b/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/DhcpServingParamsParcel.aidl
index a802e41..eb780a2 100644
--- a/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/DhcpServingParamsParcel.aidl
+++ b/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/DhcpServingParamsParcel.aidl
@@ -25,4 +25,5 @@ parcelable DhcpServingParamsParcel {
long dhcpLeaseTimeSecs;
int linkMtu;
boolean metered;
+ int clientAddr;
}