Lines Matching full:int
18 int zsock_close_ctx(struct net_context *ctx, int sock);
19 int zsock_poll_internal(struct zsock_pollfd *fds, int nfds, k_timeout_t timeout);
21 int zsock_wait_data(struct net_context *ctx, k_timeout_t *timeout);
58 int (*shutdown)(void *obj, int how);
59 int (*bind)(void *obj, const struct sockaddr *addr, socklen_t addrlen);
60 int (*connect)(void *obj, const struct sockaddr *addr,
62 int (*listen)(void *obj, int backlog);
63 int (*accept)(void *obj, struct sockaddr *addr, socklen_t *addrlen);
64 ssize_t (*sendto)(void *obj, const void *buf, size_t len, int flags,
66 ssize_t (*recvfrom)(void *obj, void *buf, size_t max_len, int flags,
68 int (*getsockopt)(void *obj, int level, int optname,
70 int (*setsockopt)(void *obj, int level, int optname,
72 ssize_t (*sendmsg)(void *obj, const struct msghdr *msg, int flags);
73 ssize_t (*recvmsg)(void *obj, struct msghdr *msg, int flags);
74 int (*getpeername)(void *obj, struct sockaddr *addr,
76 int (*getsockname)(void *obj, struct sockaddr *addr,
83 int sock_obj_core_alloc(int sock, struct net_socket_register *reg,
84 int family, int type, int proto);
85 int sock_obj_core_alloc_find(int sock, int new_sock, int type);
86 int sock_obj_core_dealloc(int sock);
87 void sock_obj_core_update_send_stats(int sock, int bytes);
88 void sock_obj_core_update_recv_stats(int sock, int bytes);
90 static inline int sock_obj_core_alloc(int sock, in sock_obj_core_alloc()
92 int family, int type, int proto) in sock_obj_core_alloc()
103 static inline int sock_obj_core_alloc_find(int sock, int new_sock, int type) in sock_obj_core_alloc_find()
112 static inline int sock_obj_core_dealloc(int sock) in sock_obj_core_dealloc()
119 static inline void sock_obj_core_update_send_stats(int sock, int bytes) in sock_obj_core_update_send_stats()
125 static inline void sock_obj_core_update_recv_stats(int sock, int bytes) in sock_obj_core_update_recv_stats()