Changes in uspace/lib/drv/include/ops/nic.h [77ad86c:609243f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ops/nic.h
r77ad86c r609243f4 37 37 #define LIBDRV_OPS_NIC_H_ 38 38 39 #include <net/packet.h> 39 40 #include <ipc/services.h> 40 #include <n ic/nic.h>41 #include <net/device.h> 41 42 #include <sys/time.h> 43 42 44 #include "../ddf/driver.h" 43 45 44 46 typedef struct nic_iface { 45 47 /** Mandatory methods */ 46 int (*send_ frame)(ddf_fun_t *, void *, size_t);47 int (*c allback_create)(ddf_fun_t *);48 int (*send_message)(ddf_fun_t *, packet_id_t); 49 int (*connect_to_nil)(ddf_fun_t *, services_t, nic_device_id_t); 48 50 int (*get_state)(ddf_fun_t *, nic_device_state_t *); 49 51 int (*set_state)(ddf_fun_t *, nic_device_state_t); … … 87 89 int (*vlan_get_mask)(ddf_fun_t *, nic_vlan_mask_t *); 88 90 int (*vlan_set_mask)(ddf_fun_t *, const nic_vlan_mask_t *); 89 int (*vlan_set_tag)(ddf_fun_t *, uint16_t, bool, bool);91 int (*vlan_set_tag)(ddf_fun_t *, uint16_t, int, int); 90 92 91 93 int (*wol_virtue_add)(ddf_fun_t *, nic_wv_type_t, const void *,
Note:
See TracChangeset
for help on using the changeset viewer.