Changeset 6843a9c in mainline for uspace/lib/drv/include/ops/nic.h
- Timestamp:
- 2012-06-29T13:02:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 722912e
- Parents:
- ba72f2b (diff), 0bbd13e (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/drv/include/ops/nic.h
rba72f2b r6843a9c 37 37 #define LIBDRV_OPS_NIC_H_ 38 38 39 #include <net/packet.h>40 39 #include <ipc/services.h> 41 #include <n et/device.h>40 #include <nic/nic.h> 42 41 #include <sys/time.h> 43 44 42 #include "../ddf/driver.h" 45 43 46 44 typedef struct nic_iface { 47 45 /** Mandatory methods */ 48 int (*send_ message)(ddf_fun_t *, packet_id_t);49 int (*c onnect_to_nil)(ddf_fun_t *, services_t, nic_device_id_t);46 int (*send_frame)(ddf_fun_t *, void *, size_t); 47 int (*callback_create)(ddf_fun_t *); 50 48 int (*get_state)(ddf_fun_t *, nic_device_state_t *); 51 49 int (*set_state)(ddf_fun_t *, nic_device_state_t); … … 89 87 int (*vlan_get_mask)(ddf_fun_t *, nic_vlan_mask_t *); 90 88 int (*vlan_set_mask)(ddf_fun_t *, const nic_vlan_mask_t *); 91 int (*vlan_set_tag)(ddf_fun_t *, uint16_t, int, int);89 int (*vlan_set_tag)(ddf_fun_t *, uint16_t, bool, bool); 92 90 93 91 int (*wol_virtue_add)(ddf_fun_t *, nic_wv_type_t, const void *,
Note:
See TracChangeset
for help on using the changeset viewer.