Lines Matching defs:event

343 /* IW event code */
447 * Main event dispatcher. Called from other parts and drivers.
448 * Send the event on the appropriate channels.
458 struct iw_event *event; /* Mallocated whole event */
460 int hdr_len; /* Size of the event header */
475 * This is necessary because we cannot fix up scan event data
478 * and no data is included in the event, this codifies that
498 * return an error to the user, because the event is not
528 /* Total length of the event */
535 * On 64-bit, a regular event is laid out as follows:
537 * | event.len | event.cmd | p a d d i n g |
540 * This padding exists because we manipulate event->u,
541 * and 'event' is not packed.
543 * An iw_point event is laid out like this instead:
545 * | event.len | event.cmd | p a d d i n g |
559 /* Send via the RtNetlink event channel */
572 event = nla_data(nla);
574 /* Fill event - first clear to avoid data leaking */
575 memset(event, 0, hdr_len);
576 event->len = event_len;
577 event->cmd = cmd;
578 memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN);
580 memcpy(((char *) event) + hdr_len, extra, extra_len);
593 /* Send via the RtNetlink event channel */
865 /* Generate an event to notify listeners of the change */
871 /* If the event is restricted, don't
1025 /* Generate an event to notify listeners of the change */
1038 /* Here, we will generate the appropriate event if needed */
1174 char *iwe_stream_add_value(struct iw_request_info *info, char *event,
1189 iwe->len = value - event;
1190 memcpy(event, (char *) iwe, lcp_len);