Lines Matching refs:sal_socket
52 struct sal_socket **sockets;
146 socket_table.sockets = rt_calloc(1, cn * sizeof(struct sal_socket *)); in sal_init()
349 struct sal_socket *sal_get_socket(int socket) in sal_get_socket()
438 static int socket_init(int family, int type, int protocol, struct sal_socket **res) in socket_init()
441 struct sal_socket *sock; in socket_init()
506 struct sal_socket **sockets; in socket_alloc()
512 sockets = rt_realloc(st->sockets, cnt * sizeof(struct sal_socket *)); in socket_alloc()
529 st->sockets[idx] = rt_calloc(1, sizeof(struct sal_socket)); in socket_alloc()
542 struct sal_socket *sock; in socket_free()
551 struct sal_socket *sock; in socket_new()
583 struct sal_socket *sock; in socket_delete()
604 struct sal_socket *sock; in sal_accept()
621 struct sal_socket *new_sock; in sal_accept()
636 rt_memset(new_sock, 0x00, sizeof(struct sal_socket)); in sal_accept()
670 struct sal_socket *sock; in sal_bind()
729 struct sal_socket *sock; in sal_shutdown()
764 struct sal_socket *sock; in sal_getpeername()
778 struct sal_socket *sock; in sal_getsockname()
792 struct sal_socket *sock; in sal_getsockopt()
806 struct sal_socket *sock; in sal_setsockopt()
853 struct sal_socket *sock; in sal_connect()
883 struct sal_socket *sock; in sal_listen()
897 struct sal_socket *sock; in sal_sendmsg()
930 struct sal_socket *sock; in sal_recvmsg()
964 struct sal_socket *sock; in sal_recvfrom()
998 struct sal_socket *sock; in sal_sendto()
1029 int sal_socket(int domain, int type, int protocol) in sal_socket() function
1033 struct sal_socket *sock; in sal_socket()
1087 struct sal_socket *socka; in sal_socketpair()
1088 struct sal_socket *sockb; in sal_socketpair()
1116 struct sal_socket *sock; in sal_closesocket()
1162 struct sal_socket *sock; in sal_ioctlsocket()
1494 struct sal_socket *sock; in sal_poll()