blob: 0918f9376489f956aafb7975f6667c52ac9dc451 [file] [log] [blame]
Thomas Gleixner2522fe42019-05-28 09:57:20 -07001/* SPDX-License-Identifier: GPL-2.0-only */
David Teiglande7fd4172006-01-18 09:30:29 +00002/******************************************************************************
3*******************************************************************************
4**
5** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
Christine Caulfield391fbdc2009-05-07 10:54:16 -05006** Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
David Teiglande7fd4172006-01-18 09:30:29 +00007**
David Teiglande7fd4172006-01-18 09:30:29 +00008**
9*******************************************************************************
10******************************************************************************/
11
12#ifndef __LOWCOMMS_DOT_H__
13#define __LOWCOMMS_DOT_H__
14
Alexander Aring9f8f9c72020-11-02 20:04:17 -050015#define LOWCOMMS_MAX_TX_BUFFER_LEN 4096
16
David Teiglande7fd4172006-01-18 09:30:29 +000017int dlm_lowcomms_start(void);
18void dlm_lowcomms_stop(void);
David Teigland36b71a82012-07-26 12:44:30 -050019void dlm_lowcomms_exit(void);
David Teigland1c032c02006-04-28 10:50:41 -040020int dlm_lowcomms_close(int nodeid);
Al Viro38d6fd22006-10-09 20:27:30 +010021void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
David Teiglande7fd4172006-01-18 09:30:29 +000022void dlm_lowcomms_commit_buffer(void *mh);
Christine Caulfield391fbdc2009-05-07 10:54:16 -050023int dlm_lowcomms_connect_node(int nodeid);
David Teigland36b71a82012-07-26 12:44:30 -050024int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
David Teiglande7fd4172006-01-18 09:30:29 +000025
26#endif /* __LOWCOMMS_DOT_H__ */
27