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