Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ops/nic.h

    r9cd8165 r609243f4  
    3737#define LIBDRV_OPS_NIC_H_
    3838
     39#include <net/packet.h>
    3940#include <ipc/services.h>
    40 #include <nic/nic.h>
     41#include <net/device.h>
    4142#include <sys/time.h>
    4243
     
    4546typedef struct nic_iface {
    4647        /** Mandatory methods */
    47         int (*send_frame)(ddf_fun_t *, void *, size_t);
    48         int (*callback_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);
    4950        int (*get_state)(ddf_fun_t *, nic_device_state_t *);
    5051        int (*set_state)(ddf_fun_t *, nic_device_state_t);
     
    8889        int (*vlan_get_mask)(ddf_fun_t *, nic_vlan_mask_t *);
    8990        int (*vlan_set_mask)(ddf_fun_t *, const nic_vlan_mask_t *);
    90         int (*vlan_set_tag)(ddf_fun_t *, uint16_t, bool, bool);
     91        int (*vlan_set_tag)(ddf_fun_t *, uint16_t, int, int);
    9192       
    9293        int (*wol_virtue_add)(ddf_fun_t *, nic_wv_type_t, const void *,
Note: See TracChangeset for help on using the changeset viewer.