Searched refs:hardwareAddressType (Results 1 – 5 of 5) sorted by relevance
39 ASSERT_EQ(-ENODEV, hardwareAddressType("not_existing_if")); in TEST_F()43 ASSERT_EQ(ARPHRD_LOOPBACK, hardwareAddressType("lo")); in TEST_F()48 int type = hardwareAddressType("wlan0"); in TEST_F()57 int type = hardwareAddressType("rmnet_data0"); in TEST_F()
66 int hardwareAddressType(const std::string& interface) { in hardwareAddressType() function75 int rv = hardwareAddressType(interface); in isEthernet()
43 int hardwareAddressType(const std::string& interface);
135 jint hardwareAddressType) { in network_stack_utils_attachRaFilter() argument136 if (hardwareAddressType != ARPHRD_ETHER) { in network_stack_utils_attachRaFilter()169 JNIEnv *env, jobject clazz, jobject javaFd, jint hardwareAddressType) { in network_stack_utils_attachControlPacketFilter() argument170 if (hardwareAddressType != ARPHRD_ETHER) { in network_stack_utils_attachControlPacketFilter()
141 static int hardwareAddressType(const char* interface) { in hardwareAddressType() function169 int rv = hardwareAddressType(interface.c_str()); in com_android_networkstack_tethering_BpfUtils_isEthernet()