Searched refs:req_dev_type (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/wpa/src/wps/ |
| H A D | wps_attr_parse.h | 98 const u8 *req_dev_type[MAX_REQ_DEV_TYPE_COUNT]; member
|
| H A D | wps_attr_parse.c | 561 attr->req_dev_type[attr->num_req_dev_type] = pos; in wps_set_attr()
|
| H A D | wps_validate.c | 425 static int wps_validate_req_dev_type(const u8 *req_dev_type[], size_t num, in wps_validate_req_dev_type() argument 1216 wps_validate_req_dev_type(attr.req_dev_type, attr.num_req_dev_type, in wps_validate_probe_req()
|
| /freebsd/contrib/wpa/src/p2p/ |
| H A D | p2p_group.c | 739 if (dev_type_list_match(pos, attr.req_dev_type, attr.num_req_dev_type)) in p2p_match_dev_type_member() 748 if (dev_type_list_match(pos, attr.req_dev_type, in p2p_match_dev_type_member()
|
| H A D | p2p.c | 2171 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) in dev_type_match() argument 2173 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) in dev_type_match() 2175 if (os_memcmp(dev_type, req_dev_type, 2) == 0 && in dev_type_match() 2176 WPA_GET_BE32(&req_dev_type[2]) == 0 && in dev_type_match() 2177 WPA_GET_BE16(&req_dev_type[6]) == 0) in dev_type_match() 2183 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], in dev_type_list_match() argument 2188 if (dev_type_match(dev_type, req_dev_type[i])) in dev_type_list_match() 2216 if (dev_type_list_match(p2p->cfg->pri_dev_type, attr.req_dev_type, in p2p_match_dev_type() 2222 attr.req_dev_type, in p2p_match_dev_type()
|
| H A D | p2p_i.h | 882 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
|