有些场景我们需要获取当前手机上的网卡信息(如双卡双待、Wifi等)。本文准备研究一下这块的原理,以便更好的掌握相关技术原理。
1、底层系统接口 getifaddrs
使用 getifaddrs 接口可以达到我们的目的,该接口会返回本地所有网卡的信息,结果保存在 ifaddrs 结构的链表中,详细介绍可以查阅官方文档:https://man7.org/linux/man-pages/man3/getifaddrs.3.html。
2、存在的问题-虚拟网卡
虚拟网卡是什么, 指名称(ifa_name)中包含 vmnet、vnic 的网卡;
3、关于网卡的常识
3.1 网卡名称,对应 ifaddrs 中的 ifa_name 成员,
ifa_name | 用途 |
---|---|
awdl0 | 在iOS中,ifa_name 值为 awdl0 的网络接口代表的是“Apple Wireless Direct Link”(AWDL)。AWDL是苹果开发的一种专用于设备间直接通信的网络协议,利用该协议,苹果设备能够进行点对点的连接,从而支持AirDrop、AirPlay、游戏连接和其他形式的设备间通信。 |
enX | 在 iOS 中,ifa_name 为 en0、en1、en2 等表示的是 Ethernet 接口,通常用于连接到本地网络或者互联网。这些接口代表设备上的不同网络接口,例如 Wi-Fi、以太网(Ethernet)、蓝牙网络等。 |
pdp_ipX | 在iOS设备中,ifa_name 值为 pdp_ip0, pdp_ip1, pdp_ip2, pdp_ip5 等都代表蜂窝数据网络接口。这些接口用于管理设备通过蜂窝网络(例如3G、4G LTE或5G)进行的数据通信。每个 pdp_ipX 接口代表一个蜂窝数据通道,这些通道可以用于不同的数据服务或应用。 |
utunX | 在 iOS 中,ifa_name 为 utun0、utun1、utun2、utun3 等表示的是 UTUN 接口,是一种虚拟网络接口,通常用于建立 VPN(Virtual Private Network,虚拟专用网络)连接。每个 utunX 接口代表一个不同的 VPN 连接,其中 X 是一个数字标识符,用于区分不同的接口。这些接口可以用于实现安全的通信,例如连接到公司内部网络或者使用特定的安全服务。 |
ipsecX | 在 iOS 中,ifa_name 为 ipsec0、ipsec1、ipsec2 等表示的是 IPsec(Internet Protocol Security,互联网协议安全)接口。IPsec 是一种用于保护 IP 数据包的协议,通常用于建立安全的通信连接,例如 VPN(Virtual Private Network,虚拟专用网络)连接。这些接口通常用于实现 IPsec VPN 连接,以提供加密和认证功能,确保通信的安全性和完整性。 |
anpi0 | 当ifa_name为anpi0时,代表使用了自定义的网络插件接口(Apple Network Plug-in Interface)。这种接口的应用场景可能是通过自定义的网络插件实现特定的网络功能或协议。例如,某些企业可能需要定制化的网络连接方式,以满足其特定的安全要求或者与特定的网络设备进行通信。 |
llw0 | 在 iOS 中,ifa_name 为 llw0 的接口通常与需要低延迟通信( Low Latency Wireless)的应用相关联。一个实际的应用例子是实时音频或视频通话应用,比如视频会议软件或者语音通话应用。这些应用需要保持低延迟的数据传输,以确保用户之间的通信流畅、自然,而不会出现明显的延迟或者延迟。 |
3.2 检测网卡是否运行
怎样算是运行?域 IFF_UP 的区别是什么?
(IFF_RUNNING & interface->ifa_flags) // 这里 interface 是 ifaddrs 结构的变量
3.2 检测网卡是否是本地回环地址
怎样算是回环地址?
(IFF_LOOPBACK & interface->ifa_flags)
3.2 检测网卡是否已被分配 ip 地址
(nullptr == interface->ifa_addr)
struct ifaddrs {
struct ifaddrs *ifa_next; /* Next item in list */
char *ifa_name; /* Name of interface */
unsigned int ifa_flags; /* Flags from SIOCGIFFLAGS */
struct sockaddr *ifa_addr; /* Address of interface */
struct sockaddr *ifa_netmask; /* Netmask of interface */
union {
struct sockaddr *ifu_broadaddr;
/* Broadcast address of interface */
struct sockaddr *ifu_dstaddr;
/* Point-to-point destination address */
} ifa_ifu;
#define ifa_broadaddr ifa_ifu.ifu_broadaddr
#define ifa_dstaddr ifa_ifu.ifu_dstaddr
void *ifa_data; /* Address-specific data */
};
4、真机测试结果
分别有以下五种情况:1、wifi 功能关闭,移动关闭
;2、wifi 功能开启但未连接任何网络,移动关闭;3、wifi 功能开启且连接网络,移动关闭;4、wifi 功能开启且连接网络,移动开启;5、wifi 功能开启且连接网络,移动开启且是双卡双待,但不允许移动蜂窝切换
// 1. wifi 功能关闭,移动关闭
[0415/131450.241257:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131450.241441:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131450.241581:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131450.241721:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131450.241859:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: XHC0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.241995:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.242136:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.242269:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.242402:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.242545:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip4, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.242766:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip6, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.243223:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.243651:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip7, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.244174:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ap1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.244639:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.245094:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.245559:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.245980:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, connection_type: CONNECTION_UNKNOWN
[0415/131450.246951:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.247401:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.247652:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, connection_type: CONNECTION_UNKNOWN
[0415/131450.247964:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.248127:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.248271:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, connection_type: CONNECTION_UNKNOWN
[0415/131450.248519:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.248664:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.248797:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, connection_type: CONNECTION_UNKNOWN
[0415/131450.249030:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.249164:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.249297:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, connection_type: CONNECTION_UNKNOWN
[0415/131450.249532:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.249667:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.249799:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.249932:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/131450.250164:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.250297:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/131450.250528:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.250662:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131450.250901:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.251167:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.251433:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, connection_type: CONNECTION_UNKNOWN
[0415/131450.251909:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.252179:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.252533:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/131450.253064:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.253344:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/131450.253841:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.254166:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.254441:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, connection_type: CONNECTION_UNKNOWN
[0415/131450.255008:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.255220:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131450.255426:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, connection_type: CONNECTION_UNKNOWN
[0415/131450.255795:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun0
[0415/131450.255992:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun1
[0415/131450.256253:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun2
[0415/131450.256474:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun3
[0415/131450.256731:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: anpi0
[0415/131450.256939:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
[0415/131450.257138:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
[0415/131450.257340:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: llw0
[0415/131450.257571:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
[0415/131450.257798:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
[0415/131450.258004:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun5
[0415/131450.258199:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun6
// 2. wifi 功能开启但未连接任何网络,移动关闭
[0415/131612.187954:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131612.188116:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131612.188253:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131612.188395:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131612.188532:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: XHC0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.188673:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.188809:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.189041:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.189189:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.189328:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip4, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.189462:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip6, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.189604:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.189799:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip7, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.189978:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ap1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.190118:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.190253:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.190397:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.190550:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, connection_type: CONNECTION_UNKNOWN
[0415/131612.190857:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.191012:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.191151:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, connection_type: CONNECTION_UNKNOWN
[0415/131612.191390:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.191527:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.191856:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, connection_type: CONNECTION_UNKNOWN
[0415/131612.192596:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.193361:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.193794:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, connection_type: CONNECTION_UNKNOWN
[0415/131612.194588:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.195023:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.195446:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, connection_type: CONNECTION_UNKNOWN
[0415/131612.196065:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131612.196237:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.196376:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.196593:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/131612.196890:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.197068:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/131612.197390:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.197553:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.198714:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, connection_type: CONNECTION_UNKNOWN
[0415/131612.199167:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.199323:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.199462:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, connection_type: CONNECTION_UNKNOWN
[0415/131612.199983:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.201431:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.201725:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/131612.202215:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.202427:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/131612.202779:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.202985:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.203185:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, connection_type: CONNECTION_UNKNOWN
[0415/131612.203532:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.203734:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131612.204134:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, connection_type: CONNECTION_UNKNOWN
[0415/131612.204528:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun0
[0415/131612.204741:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun1
[0415/131612.204941:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun2
[0415/131612.205137:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun3
[0415/131612.205335:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: anpi0
[0415/131612.205533:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
[0415/131612.210631:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
[0415/131612.210835:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: awdl0
[0415/131612.211225:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: llw0
[0415/131612.211537:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
[0415/131612.215879:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
[0415/131612.215972:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun5
[0415/131612.216024:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun6
// 3. wifi 功能开启且连接网络,移动关闭
[0415/131658.551153:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131658.551336:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131658.551468:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131658.551896:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/131658.552038:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: XHC0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.552211:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.552488:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.552685:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.552875:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.553748:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip4, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.553889:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip6, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.554373:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.554585:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip7, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.557143:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ap1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.557398:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.558376:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.558531:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/131658.558777:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.558910:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/131658.559172:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.559320:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/131658.559564:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.563458:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/131658.563694:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.563837:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/131658.564069:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.564205:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.564336:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, connection_type: CONNECTION_UNKNOWN
[0415/131658.564564:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.564695:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.564822:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, connection_type: CONNECTION_UNKNOWN
[0415/131658.565051:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.568124:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.569396:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, connection_type: CONNECTION_UNKNOWN
[0415/131658.570127:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.570445:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.570597:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, connection_type: CONNECTION_UNKNOWN
[0415/131658.571335:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.571512:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.572281:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, connection_type: CONNECTION_UNKNOWN
[0415/131658.572566:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/131658.572717:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.572840:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.572961:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/131658.573182:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.573305:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/131658.575260:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.575560:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.575789:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, connection_type: CONNECTION_UNKNOWN
[0415/131658.576119:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.576264:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.576463:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, connection_type: CONNECTION_UNKNOWN
[0415/131658.583649:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.583934:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.586511:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/131658.587972:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.588466:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/131658.589038:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.589852:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.590120:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, connection_type: CONNECTION_UNKNOWN
[0415/131658.590455:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.590610:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/131658.590744:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, connection_type: CONNECTION_UNKNOWN
[0415/131658.591000:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
[0415/131658.591140:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
[0415/131658.591290:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
[0415/131658.591420:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
[0415/131658.591550:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
[0415/131658.591675:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun0
[0415/131658.591801:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun1
[0415/131658.591930:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun2
[0415/131658.592055:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun3
[0415/131658.592186:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: anpi0
[0415/131658.592314:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
[0415/131658.592436:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
[0415/131658.592562:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: awdl0
[0415/131658.592691:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: llw0
[0415/131658.592816:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
[0415/131658.592945:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
[0415/131658.593073:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun5
[0415/131658.593203:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun6
// 4. wifi 功能开启且连接网络,移动开启
[0415/141731.764753:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/141731.764812:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/141731.764869:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/141731.764940:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/141731.764992:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: XHC0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.765038:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.765257:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.765437:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/141731.765766:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.765930:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/141731.766246:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.766429:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/141731.766782:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.766929:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/141731.767199:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.767387:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.767536:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/141731.767886:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.768064:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/141731.768411:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.768510:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/141731.768647:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.768701:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.768752:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip4, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.769542:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip6, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.769670:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.769741:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip7, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.769805:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ap1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.769869:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.769925:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.769987:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/141731.770120:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.770193:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/141731.770306:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.770374:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/141731.770472:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.770539:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/141731.770637:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.770707:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/141731.770805:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.770868:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.770922:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, connection_type: CONNECTION_UNKNOWN
[0415/141731.771037:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771091:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771150:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, connection_type: CONNECTION_UNKNOWN
[0415/141731.771256:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771319:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771373:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, connection_type: CONNECTION_UNKNOWN
[0415/141731.771483:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771545:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771605:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, connection_type: CONNECTION_UNKNOWN
[0415/141731.771704:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771767:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.771825:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, connection_type: CONNECTION_UNKNOWN
[0415/141731.771911:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/141731.771957:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.772004:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.772653:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/141731.772757:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.772808:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/141731.773017:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773075:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773120:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, connection_type: CONNECTION_UNKNOWN
[0415/141731.773210:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773491:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773544:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, connection_type: CONNECTION_UNKNOWN
[0415/141731.773631:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773679:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773726:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773771:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
[0415/141731.773855:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.773904:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
[0415/141731.773988:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.774037:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.774084:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
[0415/141731.774171:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.774218:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
[0415/141731.774302:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.774350:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.774397:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/141731.774484:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/141731.774533:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/141731.774754:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: pdp_ip0
// 5. wifi 功能开启且连接网络,移动开启且是双卡双待,但不允许移动蜂窝切换
[0415/142036.652225:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142036.652867:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142036.653452:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142036.653684:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142036.653898:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: XHC0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142036.654098:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.654198:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.654295:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142036.654588:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.654706:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142036.654913:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.655022:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142036.655260:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.655361:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142036.655553:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.655650:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.655745:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/142036.655936:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.656037:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/142036.656224:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.656322:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/142036.656514:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.656617:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.656717:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142036.656900:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.656996:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142036.657417:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.657536:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142036.657751:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.657852:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142036.658039:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.658139:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.658238:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
[0415/142036.658420:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.658535:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
[0415/142036.658727:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.658829:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
[0415/142036.659027:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip4, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142036.659125:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip6, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142036.659219:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142036.659318:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip7, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142036.659417:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ap1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142036.659518:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.659614:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.659709:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142036.659896:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.659990:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142036.660174:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.660294:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142036.660509:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.660610:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142036.660842:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.660948:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142036.661132:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.661233:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.661329:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, connection_type: CONNECTION_UNKNOWN
[0415/142036.661518:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.661614:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.661707:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, connection_type: CONNECTION_UNKNOWN
[0415/142036.661886:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.661981:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.662072:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, connection_type: CONNECTION_UNKNOWN
[0415/142036.662262:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.662356:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.662783:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, connection_type: CONNECTION_UNKNOWN
[0415/142036.663431:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.663944:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.664122:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, connection_type: CONNECTION_UNKNOWN
[0415/142036.664554:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142036.664733:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.664871:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.665064:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/142036.665390:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.665530:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/142036.665816:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.665970:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.666110:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, connection_type: CONNECTION_UNKNOWN
[0415/142036.666397:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.666563:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.666694:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, connection_type: CONNECTION_UNKNOWN
[0415/142036.666960:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.667092:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.667221:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.667347:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/142036.667852:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.668124:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/142036.668690:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.668982:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.669320:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, connection_type: CONNECTION_UNKNOWN
[0415/142036.669613:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.669748:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.669876:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, connection_type: CONNECTION_UNKNOWN
[0415/142036.670136:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.670268:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.670400:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
[0415/142036.670671:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.670834:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
[0415/142036.671146:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.671311:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.671447:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
[0415/142036.671713:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.671847:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
[0415/142036.672103:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.672238:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.672370:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.672500:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, connection_type: CONNECTION_UNKNOWN
[0415/142036.673196:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.673449:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, connection_type: CONNECTION_UNKNOWN
[0415/142036.673858:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.674056:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.674239:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, connection_type: CONNECTION_UNKNOWN
[0415/142036.674731:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142036.675046:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, connection_type: CONNECTION_UNKNOWN
[0415/142036.675407:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: pdp_ip0
// 5. wifi 功能开启且连接网络,移动开启且是双卡双待,且允许移动蜂窝切换
[0415/142228.009511:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142228.009642:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142228.009738:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142228.009847:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: lo0, IFF_RUNNING: 0, IFF_LOOPBACK: 0
[0415/142228.009956:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: XHC0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142228.010053:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.010149:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.010244:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142228.010458:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.010564:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142228.010791:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.011177:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142228.011743:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.011838:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
[0415/142228.012024:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.012117:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.012208:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/142228.012390:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.012491:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/142228.012681:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.012775:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
[0415/142228.012962:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.013054:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.013148:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142228.013337:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.013431:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142228.013618:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.013710:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142228.013897:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.013989:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
[0415/142228.014176:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.014314:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.014770:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
[0415/142228.015246:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.015923:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
[0415/142228.016169:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.016274:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
[0415/142228.016468:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip4, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142228.016564:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip6, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142228.016657:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142228.016751:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip7, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142228.016838:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ap1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142228.016926:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.017017:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.017110:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142228.017301:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.017396:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142228.017582:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.017675:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142228.017860:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.017955:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142228.018149:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.018244:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
[0415/142228.018432:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.018533:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.018629:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun0, connection_type: CONNECTION_UNKNOWN
[0415/142228.018814:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.018910:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.018997:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun1, connection_type: CONNECTION_UNKNOWN
[0415/142228.019186:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.019280:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.019396:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun2, connection_type: CONNECTION_UNKNOWN
[0415/142228.019655:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.019758:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.019949:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun3, connection_type: CONNECTION_UNKNOWN
[0415/142228.020513:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.020608:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.020695:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: anpi0, connection_type: CONNECTION_UNKNOWN
[0415/142228.021372:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
[0415/142228.021482:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.021574:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.021662:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/142228.021848:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.021942:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en2, connection_type: CONNECTION_UNKNOWN
[0415/142228.022437:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.022580:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.022676:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, connection_type: CONNECTION_UNKNOWN
[0415/142228.023160:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.023357:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.023451:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: llw0, connection_type: CONNECTION_UNKNOWN
[0415/142228.023702:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.024068:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.024171:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.024262:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/142228.024476:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.024691:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
[0415/142228.024894:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.024991:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.025147:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, connection_type: CONNECTION_UNKNOWN
[0415/142228.025357:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.025462:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.025554:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, connection_type: CONNECTION_UNKNOWN
[0415/142228.025740:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.026142:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.026245:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
[0415/142228.026449:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.026546:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
[0415/142228.026786:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.026888:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.027029:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
[0415/142228.027212:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.027305:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
[0415/142228.027497:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.027598:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.027694:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.027780:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, connection_type: CONNECTION_UNKNOWN
[0415/142228.027984:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.028350:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, connection_type: CONNECTION_UNKNOWN
[0415/142228.028578:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.029458:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.029569:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, connection_type: CONNECTION_UNKNOWN
[0415/142228.029767:INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
[0415/142228.029863:INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, connection_type: CONNECTION_UNKNOWN
[0415/142228.030062:INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: pdp_ip0
日志diff 点:文章来源:https://www.toymoban.com/news/detail-853215.html
// diff 1 2
37,38c37,39
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
---
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: awdl0, connection_type: CONNECTION_UNKNOWN
59a61
> INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: awdl0
// diff 2 3
15a16,25
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: en0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: en0, connection_type: CONNECTION_UNKNOWN
53a64,68
> INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
> INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
> INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
> INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
> INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
// diff 3 4
6,8c6,21
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 1, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 1, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
---
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip0, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip1, connection_type: CONNECTION_UNKNOWN
9a23
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 1, IFF_LOOPBACK: 1
12c26
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 1, IFF_LOOPBACK: 1
---
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip5, IFF_RUNNING: 1, IFF_LOOPBACK: 1
52a67,77
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec0, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec1, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec2, connection_type: CONNECTION_UNKNOWN
58,81c83
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, connection_type: CONNECTION_UNKNOWN
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, connection_type: CONNECTION_UNKNOWN
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun1
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun2
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun3
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: anpi0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: en2
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: awdl0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: llw0
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun4
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun5
< INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: utun6
---
> INFO:wifi_detect.cc(38)] IfaddrsToNetworkInterfaceList, filtered ok ifa_name: pdp_ip0
// diff 4 5
22,23c22,37
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 1, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 1, IFF_LOOPBACK: 1
---
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip3, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: pdp_ip2, connection_type: CONNECTION_UNKNOWN
67a82,92
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun5, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun6, connection_type: CONNECTION_UNKNOWN
78,82c103,113
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
< INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
< INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: utun4, connection_type: CONNECTION_UNKNOWN
---
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec3, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec4, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, connection_type: CONNECTION_UNKNOWN
> INFO:network_interfaces_getifaddrs.cc(144)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, IFF_RUNNING: 0, IFF_LOOPBACK: 1
> INFO:network_interfaces_getifaddrs.cc(193)] IfaddrsToNetworkInterfaceList, ifa_name: ipsec5, connection_type: CONNECTION_UNKNOWN
6、在哪里新增双链路代码,为什么在该处
在连接建立阶段,因为 Wifi或者蜂窝必须是二选一,Wifi 弱时不要再做无谓建连尝试了,避免增加网络成本,而是直接使用蜂窝网络即可。文章来源地址https://www.toymoban.com/news/detail-853215.html
到了这里,关于手机移动端网卡信息获取原理分析的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!