/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | ip_addr.h | 170 #define ip_addr_netcmp(addr1, addr2, mask) ((IP_IS_V6(addr1) && IP_IS_V6(addr2)) ? \ argument 172 ip4_addr_netcmp(ip_2_ip4(addr1), ip_2_ip4(addr2), mask)) 174 #define ip_addr_cmp(addr1, addr2) ((IP_GET_TYPE(addr1) != IP_GET_TYPE(addr2)) ? 0 : (IP_IS_V6_VA… argument 175 ip6_addr_cmp(ip_2_ip6(addr1), ip_2_ip6(addr2)) : \ 176 ip4_addr_cmp(ip_2_ip4(addr1), ip_2_ip4(addr2)))) 250 #define ip_addr_netcmp(addr1, addr2, mask) ip4_addr_netcmp(addr1, addr2, mask) argument 251 #define ip_addr_cmp(addr1, addr2) ip4_addr_cmp(addr1, addr2) argument 291 #define ip_addr_netcmp(addr1, addr2, mask) 0 argument 292 #define ip_addr_cmp(addr1, addr2) ip6_addr_cmp(addr1, addr2) argument
|
A D | ip6_addr.h | 161 #define ip6_addr_netcmp(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ argument 162 ((addr1)->addr[1] == (addr2)->addr[1])) 164 #define ip6_addr_cmp(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ argument 165 ((addr1)->addr[1] == (addr2)->addr[1]) && \ 166 ((addr1)->addr[2] == (addr2)->addr[2]) && \ 167 ((addr1)->addr[3] == (addr2)->addr[3]))
|
A D | ip4_addr.h | 196 #define ip4_addr_netcmp(addr1, addr2, mask) (((addr1)->addr & \ argument 198 ((addr2)->addr & \ 200 #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr) argument
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | ip_addr.h | 170 #define ip_addr_netcmp(addr1, addr2, mask) ((IP_IS_V6(addr1) && IP_IS_V6(addr2)) ? \ argument 172 ip4_addr_netcmp(ip_2_ip4(addr1), ip_2_ip4(addr2), mask)) 174 #define ip_addr_cmp(addr1, addr2) ((IP_GET_TYPE(addr1) != IP_GET_TYPE(addr2)) ? 0 : (IP_IS_V6_VA… argument 175 ip6_addr_cmp(ip_2_ip6(addr1), ip_2_ip6(addr2)) : \ 176 ip4_addr_cmp(ip_2_ip4(addr1), ip_2_ip4(addr2)))) 250 #define ip_addr_netcmp(addr1, addr2, mask) ip4_addr_netcmp(addr1, addr2, mask) argument 251 #define ip_addr_cmp(addr1, addr2) ip4_addr_cmp(addr1, addr2) argument 291 #define ip_addr_netcmp(addr1, addr2, mask) 0 argument 292 #define ip_addr_cmp(addr1, addr2) ip6_addr_cmp(addr1, addr2) argument
|
A D | ip6_addr.h | 161 #define ip6_addr_netcmp(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ argument 162 ((addr1)->addr[1] == (addr2)->addr[1])) 164 #define ip6_addr_cmp(addr1, addr2) (((addr1)->addr[0] == (addr2)->addr[0]) && \ argument 165 ((addr1)->addr[1] == (addr2)->addr[1]) && \ 166 ((addr1)->addr[2] == (addr2)->addr[2]) && \ 167 ((addr1)->addr[3] == (addr2)->addr[3]))
|
A D | ip4_addr.h | 194 #define ip4_addr_netcmp(addr1, addr2, mask) (((addr1)->addr & \ argument 196 ((addr2)->addr & \ 198 #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr) argument
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/prot/ |
A D | ethernet.h | 164 #define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETH_HWADDR_LEN) == 0) argument
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/prot/ |
A D | ethernet.h | 165 #define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETH_HWADDR_LEN) == 0) argument
|
/AliOS-Things-master/components/linkkit/dev_model/alcs/ |
A D | alcs_api.c | 303 bool is_networkadd_same(NetworkAddr *addr1, NetworkAddr *addr2) in is_networkadd_same() argument 305 if (!addr1 || !addr2) { in is_networkadd_same() 308 COAP_DEBUG("compare addr1:%s,addr2:%s", addr1->addr, addr2->addr); in is_networkadd_same() 309 return addr1->port == addr2->port && in is_networkadd_same() 310 !strcmp((const char *)addr1->addr, (const char *)addr2->addr); in is_networkadd_same()
|
A D | alcs_api_internal.h | 164 bool is_networkadd_same(NetworkAddr *addr1, NetworkAddr *addr2);
|
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/ |
A D | bt.c | 519 dev_addr_t addr2 = {DEV_ADDR_LE_RANDOM, DEV_ADDR}; in cmd_init() local 522 .dev_addr = &addr2, in cmd_init() 529 init.dev_addr = &addr2; in cmd_init() 538 init.dev_addr = &addr2; in cmd_init() 545 addr2.type = i; in cmd_init() 546 demo.dev_addr = &addr2; in cmd_init() 552 addr2.type = DEV_ADDR_LE_RANDOM; in cmd_init() 553 demo.dev_addr = &addr2; in cmd_init()
|
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/ieee80211/ |
A D | zconfig_ieee80211.c | 153 return hdr->addr2; in ieee80211_get_SA() 183 return hdr->addr2; in ieee80211_get_BSSID()
|
A D | zconfig_ieee80211.h | 143 uint8_t addr2[ETH_ALEN]; member
|