~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/srv/net/il/ip/ip.h

  • Committer: Martin Sucha
  • Date: 2011-07-08 17:01:01 UTC
  • mfrom: (1095 main-clone)
  • mto: This revision was merged to the branch mainline in revision 1123.
  • Revision ID: sucha14@st.fmph.uniba.sk-20110708170101-eosjw1koauuvmzkz
MergeĀ mainlineĀ changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#ifndef NET_IP_H_
38
38
#define NET_IP_H_
39
39
 
 
40
#include <async.h>
40
41
#include <fibril_synch.h>
41
42
#include <ipc/services.h>
42
43
#include <net/device.h>
97
98
        int ipv;
98
99
        /** Packet dimension. */
99
100
        packet_dimension_t packet_dimension;
100
 
        /** Netif module phone. */
101
 
        int phone;
 
101
        /** Netif module session. */
 
102
        async_sess_t *sess;
102
103
        /** Routing table. */
103
104
        ip_routes_t routes;
104
105
        /** Indicates whether IP routing is enabled. */
111
112
 
112
113
/** IP protocol specific data. */
113
114
struct ip_proto {
114
 
        /** Protocol module phone. */
115
 
        int phone;
 
115
        /** Protocol module session. */
 
116
        async_sess_t *sess;
116
117
        /** Protocol number. */
117
118
        int protocol;
118
119
        /** Protocol packet receiving function. */
141
142
        fibril_rwlock_t lock;
142
143
        /** Known support modules. */
143
144
        modules_t modules;
144
 
        /** Networking module phone. */
145
 
        int net_phone;
 
145
        /** Networking module session. */
 
146
        async_sess_t *net_sess;
146
147
        /** Registered network interfaces. */
147
148
        ip_netifs_t netifs;
148
149
        /** Netifs safeyt lock. */