Changeset 858fc90 in mainline for uspace/srv/net/nil/eth/eth.h


Ignore:
Timestamp:
2010-03-15T19:35:25Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6092b56e
Parents:
92307f1 (diff), 4684368 (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 from bzr://bzr.helenos.org/head.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.h

    r92307f1 r858fc90  
    7373 *  @see device.h
    7474 */
    75 DEVICE_MAP_DECLARE( eth_devices, eth_device_t )
     75DEVICE_MAP_DECLARE(eth_devices, eth_device_t)
    7676
    7777/** Ethernet protocol map.
     
    7979 *  @see int_map.h
    8080 */
    81 INT_MAP_DECLARE( eth_protos, eth_proto_t )
     81INT_MAP_DECLARE(eth_protos, eth_proto_t)
    8282
    8383/** Ethernet device specific data.
     
    8686        /** Device identifier.
    8787         */
    88         device_id_t                     device_id;
     88        device_id_t device_id;
    8989        /** Device driver service.
    9090         */
    91         services_t                      service;
     91        services_t service;
    9292        /** Driver phone.
    9393         */
    94         int                                     phone;
     94        int phone;
    9595        /** Maximal transmission unit.
    9696         */
    97         size_t                          mtu;
     97        size_t mtu;
    9898        /** Various device flags.
    9999         *  @see ETH_DUMMY
    100100         *  @see ETH_MODE_MASK
    101101         */
    102         int                                     flags;
     102        int flags;
    103103        /** Actual device hardware address.
    104104         */
    105         measured_string_ref     addr;
     105        measured_string_ref addr;
    106106        /** Actual device hardware address data.
    107107         */
    108         char *                          addr_data;
     108        char * addr_data;
    109109};
    110110
     
    114114        /** Protocol service.
    115115         */
    116         services_t      service;
     116        services_t service;
    117117        /** Protocol identifier.
    118118         */
    119         int                     protocol;
     119        int protocol;
    120120        /** Protocol module phone.
    121121         */
    122         int                     phone;
     122        int phone;
    123123};
    124124
     
    128128        /** Networking module phone.
    129129         */
    130         int                             net_phone;
     130        int net_phone;
    131131        /** Safety lock for devices.
    132132         */
    133         fibril_rwlock_t         devices_lock;
     133        fibril_rwlock_t devices_lock;
    134134        /** All known Ethernet devices.
    135135         */
    136         eth_devices_t   devices;
     136        eth_devices_t devices;
    137137        /** Safety lock for protocols.
    138138         */
    139         fibril_rwlock_t         protos_lock;
     139        fibril_rwlock_t protos_lock;
    140140        /** Protocol map.
    141141         *  Service phone map for each protocol.
    142142         */
    143         eth_protos_t    protos;
     143        eth_protos_t protos;
    144144        /** Broadcast device hardware address.
    145145         */
    146         measured_string_ref     broadcast_addr;
     146        measured_string_ref broadcast_addr;
    147147};
    148148
Note: See TracChangeset for help on using the changeset viewer.