Searched refs:req_dev_type (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/external/bsd/wpa/dist/src/wps/
H A Dwps_attr_parse.h98 const u8 *req_dev_type[MAX_REQ_DEV_TYPE_COUNT]; member in struct:wps_parse_attr
H A Dwps_attr_parse.c561 attr->req_dev_type[attr->num_req_dev_type] = pos;
H A Dwps_validate.c425 static int wps_validate_req_dev_type(const u8 *req_dev_type[], size_t num, argument
1216 wps_validate_req_dev_type(attr.req_dev_type, attr.num_req_dev_type,
/netbsd-current/external/bsd/wpa/dist/src/p2p/
H A Dp2p_group.c739 if (dev_type_list_match(pos, attr.req_dev_type, attr.num_req_dev_type))
748 if (dev_type_list_match(pos, attr.req_dev_type,
H A Dp2p.c2115 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) argument
2117 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0)
2119 if (os_memcmp(dev_type, req_dev_type, 2) == 0 &&
2120 WPA_GET_BE32(&req_dev_type[2]) == 0 &&
2121 WPA_GET_BE16(&req_dev_type[6]) == 0)
2127 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], argument
2132 if (dev_type_match(dev_type, req_dev_type[i]))
2160 if (dev_type_list_match(p2p->cfg->pri_dev_type, attr.req_dev_type,
2166 attr.req_dev_type,
H A Dp2p_i.h872 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],

Completed in 224 milliseconds