Changeset cfb79747 in mainline for uspace/lib/c/include/device/nic.h
- Timestamp:
- 2012-02-14T22:06:15Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a31aad1
- Parents:
- 199112e4 (diff), e10d41a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/device/nic.h
r199112e4 rcfb79747 37 37 38 38 #include <async.h> 39 #include <net/device.h> 40 #include <net/packet.h> 41 #include <ipc/services.h> 39 #include <nic/nic.h> 40 #include <ipc/common.h> 42 41 43 42 typedef enum { 44 43 NIC_SEND_MESSAGE = 0, 45 NIC_C ONNECT_TO_NIL,44 NIC_CALLBACK_CREATE, 46 45 NIC_GET_STATE, 47 46 NIC_SET_STATE, … … 85 84 } nic_funcs_t; 86 85 86 typedef enum { 87 NIC_EV_ADDR_CHANGED = IPC_FIRST_USER_METHOD, 88 NIC_EV_RECEIVED, 89 NIC_EV_DEVICE_STATE 90 } nic_event_t; 91 87 92 extern int nic_send_frame(async_sess_t *, void *, size_t); 88 extern int nic_c onnect_to_nil(async_sess_t *, services_t, nic_device_id_t);93 extern int nic_callback_create(async_sess_t *, async_client_conn_t, void *); 89 94 extern int nic_get_state(async_sess_t *, nic_device_state_t *); 90 95 extern int nic_set_state(async_sess_t *, nic_device_state_t);
Note:
See TracChangeset
for help on using the changeset viewer.