Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/ip/ip.h

    r88a1bb9 re8199d77  
    5959typedef struct ip_netif ip_netif_t;
    6060
     61/** Type definition of the IP network interface specific data pointer.
     62 * @see ip_netif
     63 */
     64typedef ip_netif_t *ip_netif_ref;
     65
    6166/** Type definition of the IP protocol specific data.
    6267 * @see ip_proto
     
    6469typedef struct ip_proto ip_proto_t;
    6570
     71/** Type definition of the IP protocol specific data pointer.
     72 * @see ip_proto
     73 */
     74typedef ip_proto_t *ip_proto_ref;
     75
    6676/** Type definition of the IP route specific data.
    6777 *  @see ip_route
    6878 */
    6979typedef struct ip_route ip_route_t;
     80
     81/** Type definition of the IP route specific data pointer.
     82 *  @see ip_route
     83 */
     84typedef ip_route_t *ip_route_ref;
    7085
    7186/** IP network interfaces.
     
    89104struct ip_netif {
    90105        /** ARP module. Assigned if using ARP. */
    91         module_t *arp;
     106        module_ref arp;
    92107        /** Broadcast address. */
    93108        in_addr_t broadcast;
     
    131146        in_addr_t gateway;
    132147        /** Parent netif. */
    133         ip_netif_t *netif;
     148        ip_netif_ref netif;
    134149        /** Target network mask. */
    135150        in_addr_t netmask;
Note: See TracChangeset for help on using the changeset viewer.