Subversion Repositories HelenOS

Rev

Rev 3912 | Rev 4243 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3912 Rev 3991
Line 34... Line 34...
34
 */
34
 */
35
 
35
 
36
#ifndef __NET_MESSAGES_H__
36
#ifndef __NET_MESSAGES_H__
37
#define __NET_MESSAGES_H__
37
#define __NET_MESSAGES_H__
38
 
38
 
39
#define NET_NETIF_COUNT     6
39
#define NET_NETIF_COUNT     8
40
#define NET_NET_COUNT       9
40
#define NET_NET_COUNT       9
41
#define NET_NIL_COUNT       8
41
#define NET_NIL_COUNT       8
42
#define NET_ETH_COUNT       0
42
#define NET_ETH_COUNT       0
43
#define NET_IL_COUNT        3
43
#define NET_IL_COUNT        3
44
#define NET_IP_COUNT        2
44
#define NET_IP_COUNT        2
Line 115... Line 115...
115
    NET_NETIF_START,
115
    NET_NETIF_START,
116
    /* ( device_id ), ipc_data_read( stats ) */
116
    /* ( device_id ), ipc_data_read( stats ) */
117
    NET_NETIF_STATS,
117
    NET_NETIF_STATS,
118
    /* ( device_id ) */
118
    /* ( device_id ) */
119
    NET_NETIF_STOP,
119
    NET_NETIF_STOP,
-
 
120
    /* */
-
 
121
    NET_NETIF_SET_ADDR,
-
 
122
    /* */
-
 
123
    NET_NETIF_GET_ADDR,
120
    /* () not supported, registers new device */
124
    /* () not supported, registers new device */
121
    NET_NET_DEVICE = NET_NET_FIRST,
125
    NET_NET_DEVICE = NET_NET_FIRST,
122
    /* ( NULL, count ), measured_strings_send( names ), measured_strings_return( values ) */
126
    /* ( NULL, count ), measured_strings_send( names ), measured_strings_return( values ) */
123
    NET_NET_GET_CONF,
127
    NET_NET_GET_CONF,
124
    /* ( device_id, count ), measured_strings_send( names ), measured_strings_return( values ) */
128
    /* ( device_id, count ), measured_strings_send( names ), measured_strings_return( values ) */
Line 133... Line 137...
133
    NET_NET_START,
137
    NET_NET_START,
134
    /* ( device_id ) */
138
    /* ( device_id ) */
135
    NET_NET_STOP,
139
    NET_NET_STOP,
136
    /* ( device_id ) ipc_data_read( stats ) */
140
    /* ( device_id ) ipc_data_read( stats ) */
137
    NET_NET_STATS,
141
    NET_NET_STATS,
138
    /* ( device_id, driver_service ) */
142
    /* ( device_id, driver_service, mtu ) */
139
    NET_NIL_DEVICE = NET_NIL_FIRST,
143
    NET_NIL_DEVICE = NET_NIL_FIRST,
140
    /* ( device_id, state ) */
144
    /* ( device_id, state ) */
141
    NET_NIL_DEVICE_STATE,
145
    NET_NIL_DEVICE_STATE,
142
    /* ( device_id, mtu ) */
-
 
143
    NET_NIL_MTU,
-
 
144
    /* ( device_id ), packet_send */
146
    /* ( device_id ), packet_send */
145
    NET_NIL_RECEIVED,
147
    NET_NIL_RECEIVED,
146
    /* ( device_id ), packet_send */
148
    /* ( device_id ), packet_send */
147
    NET_NIL_SEND,
149
    NET_NIL_SEND,
148
    /* ( device_id ) -> prefix, content, suffix */
150
    /* ( device_id ) -> addr, prefix, content, suffix */
149
    NET_NIL_PACKET_SPACE,
151
    NET_NIL_PACKET_SPACE,
150
    /* ( device_id ), measured_strings_return( hardware address ) */
152
    /* ( device_id ), measured_strings_return( hardware address ) */
151
    NET_NIL_ADDR,
153
    NET_NIL_ADDR,
152
    /* ( device_id ), measured_strings_return( broadcast address ) */
154
    /* ( device_id ), measured_strings_return( broadcast address ) */
153
    NET_NIL_BROADCAST_ADDR,
155
    NET_NIL_BROADCAST_ADDR,
154
    /* ( service ), protocol */
-
 
155
//  NET_NIL_PROTOCOL,
-
 
156
    /* ( device_id, nil_service ) */
156
    /* ( device_id, nil_service ) */
157
    NET_IL_DEVICE = NET_IL_FIRST,
157
    NET_IL_DEVICE = NET_IL_FIRST,
158
    /* ( device_id, state ) */
158
    /* ( device_id, state ) */
159
    NET_IL_DEVICE_STATE,
159
    NET_IL_DEVICE_STATE,
160
    /* ( device_id ), packet_send */
160
    /* ( device_id ), packet_send */
Line 171... Line 171...
171
    /* ( device_id ) */
171
    /* ( device_id ) */
172
    NET_ARP_CLEAR_DEVICE,
172
    NET_ARP_CLEAR_DEVICE,
173
    /* () */
173
    /* () */
174
    NET_ARP_CLEAN_CACHE,
174
    NET_ARP_CLEAN_CACHE,
175
    NET_PACKET_CREATE_1 = NET_PACKET_FIRST,
175
    NET_PACKET_CREATE_1 = NET_PACKET_FIRST,
176
    NET_PACKET_CREATE_5,
176
    NET_PACKET_CREATE_4,
177
    NET_PACKET_GET,
177
    NET_PACKET_GET,
178
    NET_PACKET_GET_SIZE,
178
    NET_PACKET_GET_SIZE,
179
    NET_PACKET_RELEASE
179
    NET_PACKET_RELEASE
180
} net_messages;
180
} net_messages;
181
 
181