Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef re8199d77  
    3939
    4040#include <fibril_synch.h>
     41#include <ipc/ipc.h>
    4142#include <ipc/services.h>
     43
    4244#include <net/device.h>
    4345#include <net/inet.h>
     
    5759typedef struct ip_netif ip_netif_t;
    5860
     61/** Type definition of the IP network interface specific data pointer.
     62 * @see ip_netif
     63 */
     64typedef ip_netif_t *ip_netif_ref;
     65
    5966/** Type definition of the IP protocol specific data.
    6067 * @see ip_proto
     
    6269typedef struct ip_proto ip_proto_t;
    6370
     71/** Type definition of the IP protocol specific data pointer.
     72 * @see ip_proto
     73 */
     74typedef ip_proto_t *ip_proto_ref;
     75
    6476/** Type definition of the IP route specific data.
    6577 *  @see ip_route
    6678 */
    6779typedef 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;
    6885
    6986/** IP network interfaces.
     
    87104struct ip_netif {
    88105        /** ARP module. Assigned if using ARP. */
    89         module_t *arp;
     106        module_ref arp;
    90107        /** Broadcast address. */
    91108        in_addr_t broadcast;
     
    129146        in_addr_t gateway;
    130147        /** Parent netif. */
    131         ip_netif_t *netif;
     148        ip_netif_ref netif;
    132149        /** Target network mask. */
    133150        in_addr_t netmask;
     
    136153/** IP global data. */
    137154struct ip_globals {
     155        /** Default client connection function for support modules. */
     156        async_client_conn_t client_connection;
    138157        /** Default gateway. */
    139158        ip_route_t gateway;
Note: See TracChangeset for help on using the changeset viewer.