Changeset 8d7ec69d in mainline for uspace/lib/c/include/device/nic.h
- Timestamp:
- 2012-01-22T10:40:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c38e417, cf9cb36
- Parents:
- e98fe28c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/device/nic.h
re98fe28c r8d7ec69d 39 39 #include <net/device.h> 40 40 #include <net/packet.h> 41 #include <ipc/common.h> 41 42 #include <ipc/services.h> 42 43 43 44 typedef enum { 44 45 NIC_SEND_MESSAGE = 0, 45 NIC_C ONNECT_TO_NIL,46 NIC_CALLBACK_CREATE, 46 47 NIC_GET_STATE, 47 48 NIC_SET_STATE, … … 85 86 } nic_funcs_t; 86 87 88 typedef enum { 89 NIC_EV_ADDR_CHANGED = IPC_FIRST_USER_METHOD, 90 NIC_EV_RECEIVED, 91 NIC_EV_DEVICE_STATE 92 } nic_event_t; 93 87 94 extern int nic_send_frame(async_sess_t *, void *, size_t); 88 extern int nic_connect_to_nil(async_sess_t *, services_t, nic_device_id_t); 95 extern int nic_callback_create(async_sess_t *, nic_device_id_t, 96 async_client_conn_t, void *); 89 97 extern int nic_get_state(async_sess_t *, nic_device_state_t *); 90 98 extern int nic_set_state(async_sess_t *, nic_device_state_t);
Note:
See TracChangeset
for help on using the changeset viewer.