Lines Matching refs:kev_msg
188 static int dlil_event_internal(struct ifnet *ifp, struct kev_msg *msg);
457 struct kev_msg ev_msg;
1132 dlil_event_internal(struct ifnet *ifp, struct kev_msg *event)
1179 struct kev_msg kev_msg;
1184 kev_msg.vendor_code = event->vendor_code;
1185 kev_msg.kev_class = event->kev_class;
1186 kev_msg.kev_subclass = event->kev_subclass;
1187 kev_msg.event_code = event->event_code;
1188 kev_msg.dv[0].data_ptr = &event->event_data[0];
1189 kev_msg.dv[0].data_length = event->total_size - KEV_MSG_HEADER_SIZE;
1190 kev_msg.dv[1].data_length = 0;
1192 result = dlil_event_internal(ifp, &kev_msg);