Changeset 6b82009 in mainline for uspace/srv/net/il/ip/ip.h


Ignore:
Timestamp:
2011-06-22T20:41:41Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef09a7a
Parents:
55091847
Message:

networking stack: convert to the new async framework

File:
1 edited

Legend:

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

    r55091847 r6b82009  
    3838#define NET_IP_H_
    3939
     40#include <async.h>
    4041#include <fibril_synch.h>
    4142#include <ipc/services.h>
     
    9899        /** Packet dimension. */
    99100        packet_dimension_t packet_dimension;
    100         /** Netif module phone. */
    101         int phone;
     101        /** Netif module session. */
     102        async_sess_t *sess;
    102103        /** Routing table. */
    103104        ip_routes_t routes;
     
    112113/** IP protocol specific data. */
    113114struct ip_proto {
    114         /** Protocol module phone. */
    115         int phone;
     115        /** Protocol module session. */
     116        async_sess_t *sess;
    116117        /** Protocol number. */
    117118        int protocol;
     
    142143        /** Known support modules. */
    143144        modules_t modules;
    144         /** Networking module phone. */
    145         int net_phone;
     145        /** Networking module session. */
     146        async_sess_t *net_sess;
    146147        /** Registered network interfaces. */
    147148        ip_netifs_t netifs;
Note: See TracChangeset for help on using the changeset viewer.