Changes in uspace/lib/nic/include/nic.h [c6ae4c2:6d8455d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/include/nic.h
rc6ae4c2 r6d8455d 77 77 * 78 78 * @param nic_data 79 * @param packet Pointer to the packet to be sent 80 */ 81 typedef void (*write_packet_handler)(nic_t *, packet_t *); 79 * @param data Pointer to frame data 80 * @param size Size of frame data in bytes 81 */ 82 typedef void (*send_frame_handler)(nic_t *, void *, size_t); 82 83 /** 83 84 * The handler for transitions between driver states. … … 206 207 extern int nic_get_resources(nic_t *, hw_res_list_parsed_t *); 207 208 extern void nic_set_specific(nic_t *, void *); 208 extern void nic_set_ write_packet_handler(nic_t *, write_packet_handler);209 extern void nic_set_send_frame_handler(nic_t *, send_frame_handler); 209 210 extern void nic_set_state_change_handlers(nic_t *, 210 211 state_change_handler, state_change_handler, state_change_handler);
Note:
See TracChangeset
for help on using the changeset viewer.