Clean-up: run format-cpp on the tree
[lttng-tools.git] / src / common / sessiond-comm / inet6.hpp
1 /*
2 * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef _LTTCOMM_INET6_H
9 #define _LTTCOMM_INET6_H
10
11 #include "sessiond-comm.hpp"
12
13 #include <limits.h>
14 #include <sys/types.h>
15
16 /* Stub */
17 struct lttcomm_sock;
18
19 /* Net family callback */
20 extern int lttcomm_create_inet6_sock(struct lttcomm_sock *sock, int type, int proto);
21
22 extern struct lttcomm_sock *lttcomm_accept_inet6_sock(struct lttcomm_sock *sock);
23 extern int lttcomm_bind_inet6_sock(struct lttcomm_sock *sock);
24 extern int lttcomm_close_inet6_sock(struct lttcomm_sock *sock);
25 extern int lttcomm_connect_inet6_sock(struct lttcomm_sock *sock);
26 extern int lttcomm_listen_inet6_sock(struct lttcomm_sock *sock, int backlog);
27
28 extern ssize_t
29 lttcomm_recvmsg_inet6_sock(struct lttcomm_sock *sock, void *buf, size_t len, int flags);
30 extern ssize_t
31 lttcomm_sendmsg_inet6_sock(struct lttcomm_sock *sock, const void *buf, size_t len, int flags);
32
33 #endif /* _LTTCOMM_INET6_H */
This page took 0.030558 seconds and 5 git commands to generate.