netd ResponseCode
class ResponseCode {
// Keep in sync with
// frameworks/base/services/java/com/android/server/NetworkManagementService.java
public:
// 100 series - Requestion action was initiated; expect another reply
// before proceeding with a new command.
static const int ActionInitiated = 100;
static const int InterfaceListResult = 110;
static const int TetherInterfaceListResult = 111;
static const int TetherDnsFwdTgtListResult = 112;
static const int TtyListResult = 113;
static const int TetheringStatsListResult = 114;
// 200 series - Requested action has been successfully completed
static const int CommandOkay = 200;
static const int TetherStatusResult = 210;
static const int IpFwdStatusResult = 211;
static const int InterfaceGetCfgResult = 213;
static const int SoftapStatusResult = 214;
static const int UsbRNDISStatusResult = 215;
static const int InterfaceRxCounterResult = 216;
static const int InterfaceTxCounterResult = 217;
static const int InterfaceRxThrottleResult = 218;
static const int InterfaceTxThrottleResult = 219;
static const int QuotaCounterResult = 220;
static const int TetheringStatsResult = 221;
static const int DnsProxyQueryResult = 222;
static const int ClatdStatusResult = 223;
static const int InterfaceGetMtuResult = 224;
static const int GetMarkResult = 225;
static const int RouteConfigurationResult = 226;
static const int V6RtrAdvResult = 227;
// 400 series - The command was accepted but the requested action
// did not take place.
static const int OperationFailed = 400;
static const int DnsProxyOperationFailed = 401;
static const int ServiceStartFailed = 402;
static const int ServiceStopFailed = 403;
// 500 series - The command was not accepted and the requested
// action did not take place.
static const int CommandSyntaxError = 500;
static const int CommandParameterError = 501;
// 600 series - Unsolicited broadcasts
static const int InterfaceChange = 600;
static const int BandwidthControl = 601;
static const int ServiceDiscoveryFailed = 602;
static const int ServiceDiscoveryServiceAdded = 603;
static const int ServiceDiscoveryServiceRemoved = 604;
static const int ServiceRegistrationFailed = 605;
static const int ServiceRegistrationSucceeded = 606;
static const int ServiceResolveFailed = 607;
static const int ServiceResolveSuccess = 608;
static const int ServiceSetHostnameFailed = 609;
static const int ServiceSetHostnameSuccess = 610;
static const int ServiceGetAddrInfoFailed = 611;
static const int ServiceGetAddrInfoSuccess = 612;
static const int InterfaceClassActivity = 613;
static const int InterfaceAddressChange = 614;
};
最新文章
- IOS开发之TabBarItem&;NavigationBarItem
- 【ELK Stack】ELK+KafKa开发集群环境搭建
- Codeforces Round #350 (Div. 2) F. Restore a Number 模拟构造题
- centos下添加环境变量和启动apache
- liux之我用过的zip解压命令
- select框的text与value值的获取(实用版)
- NGUI自适应分辨率,黑边自动填充, 无黑边,等比例缩放
- Codevs 1069 关押罪犯 2010年NOIP全国联赛提高组
- 使用getGenericSuperclass()和getActualTypeArguments()将DAO做成泛型
- poj 3466 A Simple Problem with Integers
- [转]Debugging the Mac OS X kernel with VMware and GDB
- 基于Nginx+redis的Asp.net站点搭建
- c++(排序二叉树)
- PTA L2-011 玩转二叉树 二叉树+bfs
- Database学习 - mysql 视图/触发器/函数
- nginx 配置两个域名
- 利用htmlparser读取html文档的内容
- 专访UI中国认证设计师卤大湿 | 一位UI大师关于UI设计的思考
- 用于文本分类的RNN-Attention网络
- jquery 插件和后台模板搜集