Lines Matching defs:custom

1238 				       char *custom, char *end)
1241 wpa_printf(MSG_DEBUG, "Custom wireless event: '%s'", custom);
1243 if (os_strncmp(custom, "MLME-MICHAELMICFAILURE.indication", 33) == 0) {
1246 pos = os_strstr(custom, "addr=");
1266 } else if (strncmp(custom, "STA-TRAFFIC-STAT", 16) == 0) {
1269 key = custom;
1290 } else if (os_strncmp(custom, "PUSH-BUTTON.indication", 22) == 0) {
1296 } else if (os_strncmp(custom, "Manage.prob_req ", 16) == 0) {
1299 * binary data in the custom wireless event. The old way (using
1303 int len = atoi(custom + 16);
1304 if (len < 0 || MGMT_FRAM_TAG_SIZE + len > end - custom) {
1310 (u8 *) custom + MGMT_FRAM_TAG_SIZE, len);
1312 } else if (os_strncmp(custom, "Manage.assoc_req ", 17) == 0) {
1315 int len = atoi(custom + 17);
1316 if (len < 0 || MGMT_FRAM_TAG_SIZE + len > end - custom) {
1323 (u8 *) custom + MGMT_FRAM_TAG_SIZE, len);
1324 } else if (os_strncmp(custom, "Manage.auth ", 12) == 0) {
1326 int len = atoi(custom + 12);
1328 MGMT_FRAM_TAG_SIZE + len > end - custom) {
1334 (u8 *) custom + MGMT_FRAM_TAG_SIZE, len);
1335 } else if (os_strncmp(custom, "Manage.action ", 14) == 0) {
1338 int len = atoi(custom + 14);
1339 if (len < 0 || MGMT_FRAM_TAG_SIZE + len > end - custom) {
1346 (u8 *) custom + MGMT_FRAM_TAG_SIZE, len);
1385 * Handle size of data problem. WEXT only allows data of 256 bytes for custom
1484 char *pos, *end, *custom, *buf;
1498 custom = pos + IW_EV_POINT_LEN;
1510 custom += IW_EV_POINT_OFF;
1527 if (iwe->u.data.length > end - custom)
1532 os_memcpy(buf, custom, iwe->u.data.length);