Subversion Repositories HelenOS

Rev

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

Rev 4578 Rev 4589
Line 52... Line 52...
52
    NET_SOCKET_RECV,
52
    NET_SOCKET_RECV,
53
    NET_SOCKET_RECVFROM,
53
    NET_SOCKET_RECVFROM,
54
    NET_SOCKET_GETSOCKOPT,
54
    NET_SOCKET_GETSOCKOPT,
55
    NET_SOCKET_SETSOCKOPT,
55
    NET_SOCKET_SETSOCKOPT,
56
    NET_SOCKET_ACCEPTED,
56
    NET_SOCKET_ACCEPTED,
57
    NET_SOCKET_RECEIVED
57
    NET_SOCKET_RECEIVED,
-
 
58
    NET_SOCKET_DATA_FRAGMENT_SIZE
58
} socket_messages;
59
} socket_messages;
59
 
60
 
-
 
61
#define SOCKET_SET_SOCKET_ID( call )        ( int * ) & IPC_GET_ARG1( * call )
60
#define SOCKET_GET_SOCKET_ID( call )        ( int ) IPC_GET_ARG1( * call )
62
#define SOCKET_GET_SOCKET_ID( call )        ( int ) IPC_GET_ARG1( * call )
-
 
63
#define SOCKET_SET_READ_DATA_LENGTH( call ) ( int * ) & IPC_GET_ARG1( * call )
-
 
64
#define SOCKET_GET_READ_DATA_LENGTH( call ) ( int ) IPC_GET_ARG1( * call )
61
 
65
 
-
 
66
#define SOCKET_SET_HEADER_SIZE( call )      ( int * ) & IPC_GET_ARG2( * call )
62
#define SOCKET_GET_NEW_SOCKET_ID( call )    ( int ) IPC_GET_ARG2( * call )
67
#define SOCKET_GET_HEADER_SIZE( call )      ( int ) IPC_GET_ARG2( * call )
63
#define SOCKET_GET_BACKLOG( call )          ( int ) IPC_GET_ARG2( * call )
68
#define SOCKET_GET_BACKLOG( call )          ( int ) IPC_GET_ARG2( * call )
64
//#define SOCKET_GET_OPT_LEVEL( call )      ( int ) IPC_GET_ARG2( * call )
69
#define SOCKET_GET_OPT_LEVEL( call )        ( int ) IPC_GET_ARG2( * call )
-
 
70
#define SOCKET_SET_DATA_FRAGMENTS( call )   ( int * ) & IPC_GET_ARG2( * call )
65
#define SOCKET_GET_OPT_NAME( call )         ( int ) IPC_GET_ARG2( * call )
71
#define SOCKET_GET_DATA_FRAGMENTS( call )   ( int ) IPC_GET_ARG2( * call )
-
 
72
 
-
 
73
#define SOCKET_SET_DATA_FRAGMENT_SIZE( call )   ( int * ) & IPC_GET_ARG3( * call )
-
 
74
#define SOCKET_GET_DATA_FRAGMENT_SIZE( call )   ( int ) IPC_GET_ARG3( * call )
-
 
75
 
66
#define SOCKET_GET_FLAGS( call )            ( int ) IPC_GET_ARG2( * call )
76
#define SOCKET_GET_FLAGS( call )            ( int ) IPC_GET_ARG4( * call )
-
 
77
 
-
 
78
#define SOCKET_GET_OPT_NAME( call )         ( int ) IPC_GET_ARG4( * call )
-
 
79
 
-
 
80
 
67
 
81
 
68
#endif
82
#endif
69
 
83
 
70
/** @}
84
/** @}
71
 */
85
 */