Changes in uspace/lib/c/include/device/nic.h [9d58539:609243f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/device/nic.h
r9d58539 r609243f4 37 37 38 38 #include <async.h> 39 #include <nic/nic.h> 40 #include <ipc/common.h> 39 #include <net/device.h> 40 #include <net/packet.h> 41 #include <ipc/services.h> 41 42 42 43 typedef enum { 43 44 NIC_SEND_MESSAGE = 0, 44 NIC_C ALLBACK_CREATE,45 NIC_CONNECT_TO_NIL, 45 46 NIC_GET_STATE, 46 47 NIC_SET_STATE, … … 84 85 } nic_funcs_t; 85 86 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 92 extern int nic_send_frame(async_sess_t *, void *, size_t); 93 extern int nic_callback_create(async_sess_t *, async_client_conn_t, void *); 87 extern int nic_send_message(async_sess_t *, packet_id_t); 88 extern int nic_connect_to_nil(async_sess_t *, services_t, nic_device_id_t); 94 89 extern int nic_get_state(async_sess_t *, nic_device_state_t *); 95 90 extern int nic_set_state(async_sess_t *, nic_device_state_t); … … 132 127 extern int nic_vlan_get_mask(async_sess_t *, nic_vlan_mask_t *); 133 128 extern int nic_vlan_set_mask(async_sess_t *, const nic_vlan_mask_t *); 134 extern int nic_vlan_set_tag(async_sess_t *, uint16_t, bool, bool);129 extern int nic_vlan_set_tag(async_sess_t *, uint16_t, int, int); 135 130 136 131 extern int nic_wol_virtue_add(async_sess_t *, nic_wv_type_t, const void *,
Note:
See TracChangeset
for help on using the changeset viewer.