2019-05-29 00:57:20 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2006-01-18 17:30:29 +08:00
|
|
|
/******************************************************************************
|
|
|
|
*******************************************************************************
|
|
|
|
**
|
|
|
|
** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
|
2009-05-07 23:54:16 +08:00
|
|
|
** Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
|
2006-01-18 17:30:29 +08:00
|
|
|
**
|
|
|
|
**
|
|
|
|
*******************************************************************************
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __LOWCOMMS_DOT_H__
|
|
|
|
#define __LOWCOMMS_DOT_H__
|
|
|
|
|
2020-11-03 09:04:17 +08:00
|
|
|
#define LOWCOMMS_MAX_TX_BUFFER_LEN 4096
|
|
|
|
|
2006-01-18 17:30:29 +08:00
|
|
|
int dlm_lowcomms_start(void);
|
|
|
|
void dlm_lowcomms_stop(void);
|
2012-07-27 01:44:30 +08:00
|
|
|
void dlm_lowcomms_exit(void);
|
2006-04-28 22:50:41 +08:00
|
|
|
int dlm_lowcomms_close(int nodeid);
|
2006-10-10 03:27:30 +08:00
|
|
|
void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
|
2006-01-18 17:30:29 +08:00
|
|
|
void dlm_lowcomms_commit_buffer(void *mh);
|
2009-05-07 23:54:16 +08:00
|
|
|
int dlm_lowcomms_connect_node(int nodeid);
|
2012-07-27 01:44:30 +08:00
|
|
|
int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
|
2006-01-18 17:30:29 +08:00
|
|
|
|
|
|
|
#endif /* __LOWCOMMS_DOT_H__ */
|
|
|
|
|