Lines Matching refs:at_socket
56 static void at_connect_notice_cb(struct at_socket *sock, at_socket_evt_t event, const char *buff, s…
64 struct at_socket *at_get_socket(int socket) in at_get_socket()
68 struct at_socket *at_sock = RT_NULL; in at_get_socket()
74 at_sock = rt_slist_entry(node, struct at_socket, list); in at_get_socket()
91 struct at_socket *at_get_base_socket(int base_socket) in at_get_base_socket()
95 struct at_socket *at_sock = RT_NULL; in at_get_base_socket()
101 at_sock = rt_slist_entry(node, struct at_socket, list); in at_get_base_socket()
241 static void at_do_event_changes(struct at_socket *sock, at_event_t event, rt_bool_t is_plus) in at_do_event_changes()
298 static void at_do_event_clean(struct at_socket *sock, at_event_t event) in at_do_event_clean()
322 static int free_socket(struct at_socket *sock) in free_socket()
355 struct at_socket *at_sock = RT_NULL; in free_socket()
361 at_sock = rt_slist_entry(node, struct at_socket, list); in free_socket()
375 rt_memset(sock, RT_NULL, sizeof(struct at_socket)); in free_socket()
380 static struct at_socket *alloc_socket_by_device(struct at_device *device, enum at_socket_type type) in alloc_socket_by_device()
383 struct at_socket *sock = RT_NULL; in alloc_socket_by_device()
401 if (device->class->socket_ops->at_socket != RT_NULL) in alloc_socket_by_device()
403 idx = device->class->socket_ops->at_socket(device, type); in alloc_socket_by_device()
471 static struct at_socket *alloc_socket(enum at_socket_type type) in alloc_socket()
501 static void at_recv_notice_cb(struct at_socket *sock, at_socket_evt_t event, const char *buff, size…
502 static void at_closed_notice_cb(struct at_socket *sock, at_socket_evt_t event, const char *buff, si…
504 int at_socket(int domain, int type, int protocol) in at_socket() function
506 struct at_socket *sock = RT_NULL; in at_socket()
557 struct at_socket *sock = RT_NULL; in at_closesocket()
591 struct at_socket *sock = RT_NULL; in at_shutdown()
661 struct at_socket *sock = RT_NULL; in at_bind()
689 struct at_socket *new_sock = RT_NULL; in at_bind()
740 static void at_connect_notice_cb(struct at_socket *sock, at_socket_evt_t event, const char *buff, s… in at_connect_notice_cb()
747 struct at_socket *new_sock = RT_NULL; in at_connect_notice_cb()
750 struct at_socket *at_sock = RT_NULL; in at_connect_notice_cb()
755 new_socket = at_socket(AF_AT, SOCK_STREAM, 0); in at_connect_notice_cb()
770 at_sock = rt_slist_entry(node, struct at_socket, list); in at_connect_notice_cb()
806 static void at_recv_notice_cb(struct at_socket *sock, at_socket_evt_t event, const char *buff, size… in at_recv_notice_cb()
833 static void at_closed_notice_cb(struct at_socket *sock, at_socket_evt_t event, const char *buff, si… in at_closed_notice_cb()
853 struct at_socket *sock = RT_NULL; in at_listen()
893 struct at_socket *sock = RT_NULL; in at_connect()
949 struct at_socket *sock = RT_NULL; in at_accept()
950 struct at_socket *new_sock = RT_NULL; in at_accept()
1006 struct at_socket *sock = RT_NULL; in at_recvfrom()
1130 struct at_socket *sock = RT_NULL; in at_sendto()
1247 struct at_socket *sock; in at_getsockopt()
1299 struct at_socket *sock; in at_setsockopt()