Changes in uspace/lib/drv/include/ops/nic.h [fd6bd6d:cf9cb36] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ops/nic.h
rfd6bd6d rcf9cb36 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 42 … … 46 45 typedef struct nic_iface { 47 46 /** 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);47 int (*send_frame)(ddf_fun_t *, void *, size_t); 48 int (*callback_create)(ddf_fun_t *, nic_device_id_t); 50 49 int (*get_state)(ddf_fun_t *, nic_device_state_t *); 51 50 int (*set_state)(ddf_fun_t *, nic_device_state_t);
Note:
See TracChangeset
for help on using the changeset viewer.