100
Requestion action was initiated; expect another reply before proceeding with a new command.
200
Requested action has been successfully completed
400
The command was accepted but the requested action did not take place.
500
The command was not accepted and the requested action did not take place.
600
Unsolicited broadcasts

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;
};

最新文章

  1. IOS开发之TabBarItem&NavigationBarItem
  2. 【ELK Stack】ELK+KafKa开发集群环境搭建
  3. Codeforces Round #350 (Div. 2) F. Restore a Number 模拟构造题
  4. centos下添加环境变量和启动apache
  5. liux之我用过的zip解压命令
  6. select框的text与value值的获取(实用版)
  7. NGUI自适应分辨率,黑边自动填充, 无黑边,等比例缩放
  8. Codevs 1069 关押罪犯 2010年NOIP全国联赛提高组
  9. 使用getGenericSuperclass()和getActualTypeArguments()将DAO做成泛型
  10. poj 3466 A Simple Problem with Integers
  11. [转]Debugging the Mac OS X kernel with VMware and GDB
  12. 基于Nginx+redis的Asp.net站点搭建
  13. c++(排序二叉树)
  14. PTA L2-011 玩转二叉树 二叉树+bfs
  15. Database学习 - mysql 视图/触发器/函数
  16. nginx 配置两个域名
  17. 利用htmlparser读取html文档的内容
  18. 专访UI中国认证设计师卤大湿 | 一位UI大师关于UI设计的思考
  19. 用于文本分类的RNN-Attention网络
  20. jquery 插件和后台模板搜集

热门文章

  1. bzoj3262陌上花开 三维数点 cdq+树状数组
  2. asp.net多线程在web页面中简单使用
  3. Xpath - Xpath定位
  4. JQUERY杂技
  5. hibernate缓存详解
  6. bzoj 1572: [Usaco2009 Open]工作安排Job
  7. Vmware Linux虚拟机磁盘扩容方法
  8. bzoj 2801 [Poi2012]Minimalist Security 设一个,求出所有
  9. C语言实验报告二
  10. iframe平铺到浏览器