Changeset c028b22 in mainline for uspace/lib/net/include/netif_skel.h


Ignore:
Timestamp:
2011-07-08T17:01:01Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc1a727
Parents:
4e36219 (diff), 026793d (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/net/include/netif_skel.h

    r4e36219 rc028b22  
    3939#define NET_NETIF_SKEL_H_
    4040
    41 #include <async.h>
    4241#include <fibril_synch.h>
    4342#include <ipc/services.h>
    44 
    4543#include <adt/measured_strings.h>
    4644#include <net/device.h>
    4745#include <net/packet.h>
     46#include <async.h>
    4847
    4948/** Network interface device specific data. */
    5049typedef struct {
    51         device_id_t device_id;  /**< Device identifier. */
    52         int nil_phone;          /**< Receiving network interface layer phone. */
    53         device_state_t state;   /**< Actual device state. */
    54         void *specific;         /**< Driver specific data. */
     50        device_id_t device_id;   /**< Device identifier. */
     51        device_state_t state;    /**< Actual device state. */
     52        void *specific;          /**< Driver specific data. */
    5553} netif_device_t;
    5654
     
    6563/** Network interface module skeleton global data. */
    6664typedef struct {
    67         int net_phone;                  /**< Networking module phone. */
     65        async_sess_t *sess;             /**< Networking module session. */
     66        async_sess_t *nil_sess;         /**< Network interface layer session. */
    6867        netif_device_map_t device_map;  /**< Device map. */
    6968        fibril_rwlock_t lock;           /**< Safety lock. */
     
    127126 * @return Other error codes as defined for the specific module
    128127 *         message implementation.
    129  
    130128 *
    131129 */
Note: See TracChangeset for help on using the changeset viewer.