Subversion Repositories HelenOS

Rev

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

Rev 4589 Rev 4700
Line 67... Line 67...
67
 
67
 
68
INT_MAP_DECLARE( socket_cores, socket_core_t );
68
INT_MAP_DECLARE( socket_cores, socket_core_t );
69
 
69
 
70
INT_MAP_DECLARE( socket_ports, socket_core_ref );
70
INT_MAP_DECLARE( socket_ports, socket_core_ref );
71
 
71
 
72
int socket_bind( socket_cores_ref local_sockets, socket_ports_ref global_sockets, int socket_id, void * addr, size_t addrlen );
72
int socket_bind( socket_cores_ref local_sockets, socket_ports_ref global_sockets, int socket_id, void * addr, size_t addrlen, int free_ports_start, int free_ports_end, int last_used_port );
-
 
73
int socket_bind_free_port( socket_ports_ref global_sockets, socket_core_ref socket, int free_ports_start, int free_ports_end, int last_used_port );
73
int socket_create( socket_cores_ref local_sockets, int app_phone, int * socket_id );
74
int socket_create( socket_cores_ref local_sockets, int app_phone, int * socket_id );
74
int socket_destroy( int packet_phone, int socket_id, socket_cores_ref local_sockets, socket_ports_ref global_sockets );
75
int socket_destroy( int packet_phone, int socket_id, socket_cores_ref local_sockets, socket_ports_ref global_sockets );
75
 
76
 
76
#endif
77
#endif
77
 
78