Changeset b7068da in mainline for uspace/lib/drv/include/ops/nic.h


Ignore:
Timestamp:
2012-02-09T20:35:12Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
591762c6
Parents:
7cede12c (diff), 3d4750f (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.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r7cede12c rb7068da  
    3737#define LIBDRV_OPS_NIC_H_
    3838
    39 #include <net/packet.h>
    4039#include <ipc/services.h>
    41 #include <net/device.h>
     40#include <nic/nic.h>
    4241#include <sys/time.h>
    4342
     
    4645typedef struct nic_iface {
    4746        /** Mandatory methods */
    48         int (*send_message)(ddf_fun_t *, packet_id_t);
    49         int (*connect_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 *);
    5049        int (*get_state)(ddf_fun_t *, nic_device_state_t *);
    5150        int (*set_state)(ddf_fun_t *, nic_device_state_t);
     
    8988        int (*vlan_get_mask)(ddf_fun_t *, nic_vlan_mask_t *);
    9089        int (*vlan_set_mask)(ddf_fun_t *, const nic_vlan_mask_t *);
    91         int (*vlan_set_tag)(ddf_fun_t *, uint16_t, int, int);
     90        int (*vlan_set_tag)(ddf_fun_t *, uint16_t, bool, bool);
    9291       
    9392        int (*wol_virtue_add)(ddf_fun_t *, nic_wv_type_t, const void *,
Note: See TracChangeset for help on using the changeset viewer.