summaryrefslogtreecommitdiffstats
path: root/fs/dlm/config.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2020-06-26 13:26:50 -0400
committerDavid Teigland <teigland@redhat.com>2020-08-06 10:30:52 -0500
commit9c9f168f5b145986535f727d259ef75f6ea26990 (patch)
treee205fd0735aedc66ff81a585c79d216011da2e30 /fs/dlm/config.h
parenta5b7ab6352bfaab6eec4df6618a135341d72c247 (diff)
downloadlinux-9c9f168f5b145986535f727d259ef75f6ea26990.tar.bz2
fs: dlm: set skb mark per peer socket
This patch adds support to set the skb mark value for the DLM tcp and sctp socket per peer. The mark value will be offered as per comm value of configfs. At creation time of the peer socket it will be set as socket option. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/config.h')
-rw-r--r--fs/dlm/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/config.h b/fs/dlm/config.h
index 13508ec3ff5e..f62996cad561 100644
--- a/fs/dlm/config.h
+++ b/fs/dlm/config.h
@@ -46,6 +46,7 @@ void dlm_config_exit(void);
int dlm_config_nodes(char *lsname, struct dlm_config_node **nodes_out,
int *count_out);
int dlm_comm_seq(int nodeid, uint32_t *seq);
+int dlm_comm_mark(int nodeid, unsigned int *mark);
int dlm_our_nodeid(void);
int dlm_our_addr(struct sockaddr_storage *addr, int num);