Searched refs:ifConfig (Results 1 – 2 of 2) sorted by relevance
65 final InterfaceConfigurationParcel ifConfig = new InterfaceConfigurationParcel(); in setInterfaceConfiguration() local66 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()
653 final InterfaceConfigurationParcel ifConfig = new InterfaceConfigurationParcel(); in clatStart() local654 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()