Changes in uspace/lib/nic/include/nic_driver.h [9cd8165:00d7e1b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/include/nic_driver.h
r9cd8165 r00d7e1b 44 44 45 45 #include <fibril_synch.h> 46 #include <n ic/nic.h>46 #include <net/device.h> 47 47 #include <async.h> 48 48 … … 50 50 #include "nic_rx_control.h" 51 51 #include "nic_wol_virtues.h" 52 53 #define DEVICE_CATEGORY_NIC "nic" 52 54 53 55 struct sw_poll_info { … … 70 72 */ 71 73 ddf_fun_t *fun; 74 /** Identifier for higher network stack layers */ 75 nic_device_id_t device_id; 72 76 /** Current state of the device */ 73 77 nic_device_state_t state; … … 78 82 /** Device's default MAC address (assigned the first time, used in STOP) */ 79 83 nic_address_t default_mac; 80 /** Client callback session */ 81 async_sess_t *client_session; 84 /** Session to SERVICE_NETWORKING */ 85 async_sess_t *net_session; 86 /** Session to SERVICE_ETHERNET or SERVICE_NILDUMMY */ 87 async_sess_t *nil_session; 82 88 /** Phone to APIC or i8259 */ 83 89 async_sess_t *irc_session; … … 128 134 * Called with the main_lock locked for reading. 129 135 */ 130 send_frame_handler send_frame;136 write_packet_handler write_packet; 131 137 /** 132 138 * Event handler called when device goes to the ACTIVE state.
Note:
See TracChangeset
for help on using the changeset viewer.