Lines Matching refs:ip6addr
22 struct ip6addr { struct
43 struct ip6addr *ip6addr; in sta_ip6addr_add() argument
45 ip6addr = os_zalloc(sizeof(*ip6addr)); in sta_ip6addr_add()
46 if (!ip6addr) in sta_ip6addr_add()
49 os_memcpy(&ip6addr->addr, addr, sizeof(*addr)); in sta_ip6addr_add()
51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list); in sta_ip6addr_add()
59 struct ip6addr *ip6addr, *prev; in sta_ip6addr_del() local
61 dl_list_for_each_safe(ip6addr, prev, &sta->ip6addr, struct ip6addr, in sta_ip6addr_del()
63 hostapd_drv_br_delete_ip_neigh(hapd, 6, (u8 *) &ip6addr->addr); in sta_ip6addr_del()
64 os_free(ip6addr); in sta_ip6addr_del()
71 struct ip6addr *ip6addr; in sta_has_ip6addr() local
73 dl_list_for_each(ip6addr, &sta->ip6addr, struct ip6addr, list) { in sta_has_ip6addr()
74 if (ip6addr->addr.s6_addr32[0] == addr->s6_addr32[0] && in sta_has_ip6addr()
75 ip6addr->addr.s6_addr32[1] == addr->s6_addr32[1] && in sta_has_ip6addr()
76 ip6addr->addr.s6_addr32[2] == addr->s6_addr32[2] && in sta_has_ip6addr()
77 ip6addr->addr.s6_addr32[3] == addr->s6_addr32[3]) in sta_has_ip6addr()