Subversion Repositories HelenOS

Rev

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

Rev 3991 Rev 4243
Line 102... Line 102...
102
#define IS_NET_UDP_MESSAGE( call )      IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_UDP_FIRST, NET_UDP_LAST )
102
#define IS_NET_UDP_MESSAGE( call )      IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_UDP_FIRST, NET_UDP_LAST )
103
#define IS_NET_TCP_MESSAGE( call )      IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_TCP_FIRST, NET_TCP_LAST )
103
#define IS_NET_TCP_MESSAGE( call )      IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_TCP_FIRST, NET_TCP_LAST )
104
#define IS_NET_SOCKET_MESSAGE( call )   IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_SOCKET_FIRST, NET_SOCKET_LAST )
104
#define IS_NET_SOCKET_MESSAGE( call )   IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_SOCKET_FIRST, NET_SOCKET_LAST )
105
#define IS_NET_PACKET_MESSAGE( call )   IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_PACKET_FIRST, NET_PACKET_LAST )
105
#define IS_NET_PACKET_MESSAGE( call )   IS_IN_INTERVAL( IPC_GET_METHOD( * call ), NET_PACKET_FIRST, NET_PACKET_LAST )
106
 
106
 
-
 
107
#define IPC_GET_PHONE( call )       ( int ) IPC_GET_ARG5( * call )
-
 
108
 
107
typedef enum {
109
typedef enum {
108
    /* ( device_id, irq, io ) */
-
 
109
    NET_NETIF_PROBE = NET_NETIF_FIRST,
-
 
110
    /* () not supported, should ask networking for a name and register device */
-
 
111
    NET_NETIF_PROBE_AUTO,
-
 
112
    /* ( device_id, packet_id ) */
-
 
113
    NET_NETIF_SEND,
-
 
114
    /* ( device_id ) */
-
 
115
    NET_NETIF_START,
-
 
116
    /* ( device_id ), ipc_data_read( stats ) */
-
 
117
    NET_NETIF_STATS,
-
 
118
    /* ( device_id ) */
-
 
119
    NET_NETIF_STOP,
-
 
120
    /* */
-
 
121
    NET_NETIF_SET_ADDR,
-
 
122
    /* */
-
 
123
    NET_NETIF_GET_ADDR,
-
 
124
    /* () not supported, registers new device */
110
    /* () not supported, registers new device */
125
    NET_NET_DEVICE = NET_NET_FIRST,
111
    NET_NET_DEVICE = NET_NET_FIRST,
126
    /* ( NULL, count ), measured_strings_send( names ), measured_strings_return( values ) */
112
    /* ( NULL, count ), measured_strings_send( names ), measured_strings_return( values ) */
127
    NET_NET_GET_CONF,
113
    NET_NET_GET_CONF,
128
    /* ( device_id, count ), measured_strings_send( names ), measured_strings_return( values ) */
114
    /* ( device_id, count ), measured_strings_send( names ), measured_strings_return( values ) */