Home
last modified time | relevance | path

Searched refs:ifConfig (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DInterfaceController.java65 final InterfaceConfigurationParcel ifConfig = new InterfaceConfigurationParcel(); in setInterfaceConfiguration() local
66 ifConfig.ifName = mIfName; in setInterfaceConfiguration()
67 ifConfig.ipv4Addr = ipv4Addr.getAddress().getHostAddress(); in setInterfaceConfiguration()
68 ifConfig.prefixLength = ipv4Addr.getPrefixLength(); in setInterfaceConfiguration()
70 ifConfig.hwAddr = ""; in setInterfaceConfiguration()
73 ifConfig.flags = new String[0]; in setInterfaceConfiguration()
76 ifConfig.flags = setIfaceUp.booleanValue() in setInterfaceConfiguration()
80 mNetd.interfaceSetCfg(ifConfig); in setInterfaceConfiguration()
83 ifConfig.ipv4Addr, ifConfig.prefixLength, e); in setInterfaceConfiguration()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java653 final InterfaceConfigurationParcel ifConfig = new InterfaceConfigurationParcel(); in clatStart() local
654 ifConfig.ifName = tunIface; in clatStart()
655 ifConfig.ipv4Addr = v4Str; in clatStart()
656 ifConfig.prefixLength = 32; in clatStart()
657 ifConfig.hwAddr = ""; in clatStart()
658 ifConfig.flags = new String[] {IF_STATE_UP}; in clatStart()
659 mNetd.interfaceSetCfg(ifConfig); in clatStart()