2 * Copyright (C) 2012 - David Goulet <dgoulet@efficios.com>
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License, version 2 only, as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 51
15 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 #ifndef _LTTCOMM_INET6_H
19 #define _LTTCOMM_INET6_H
23 #include "sessiond-comm.h"
28 /* Net family callback */
29 extern int lttcomm_create_inet6_sock(struct lttcomm_sock
*sock
, int type
,
32 extern struct lttcomm_sock
*lttcomm_accept_inet6_sock(
33 struct lttcomm_sock
*sock
);
34 extern int lttcomm_bind_inet6_sock(struct lttcomm_sock
*sock
);
35 extern int lttcomm_close_inet6_sock(struct lttcomm_sock
*sock
);
36 extern int lttcomm_connect_inet6_sock(struct lttcomm_sock
*sock
);
37 extern int lttcomm_listen_inet6_sock(struct lttcomm_sock
*sock
, int backlog
);
39 extern ssize_t
lttcomm_recvmsg_inet6_sock(struct lttcomm_sock
*sock
, void *buf
,
40 size_t len
, int flags
);
41 extern ssize_t
lttcomm_sendmsg_inet6_sock(struct lttcomm_sock
*sock
,
42 const void *buf
, size_t len
, int flags
);
44 #endif /* _LTTCOMM_INET6_H */
This page took 0.037761 seconds and 5 git commands to generate.