Linux Kernel
3.7.1
|
#include <asm/ioctls.h>
#include <net/sock.h>
#include <net/tcp.h>
#include <linux/pagemap.h>
#include <linux/file.h>
#include <linux/mutex.h>
#include <linux/sctp.h>
#include <linux/slab.h>
#include <net/sctp/sctp.h>
#include <net/sctp/user.h>
#include <net/ipv6.h>
#include "dlm_internal.h"
#include "lowcomms.h"
#include "midcomms.h"
#include "config.h"
Go to the source code of this file.
Data Structures | |
struct | cbuf |
struct | connection |
struct | writequeue_entry |
struct | dlm_node_addr |
Macros | |
#define | NEEDED_RMEM (4*1024*1024) |
#define | CONN_HASH_SIZE 32 |
#define | MAX_SEND_MSG_COUNT 25 |
#define | CF_READ_PENDING 1 |
#define | CF_WRITE_PENDING 2 |
#define | CF_CONNECT_PENDING 3 |
#define | CF_INIT_PENDING 4 |
#define | CF_IS_OTHERCON 5 |
#define | CF_CLOSE 6 |
#define | CF_APP_LIMITED 7 |
#define | MAX_CONNECT_RETRIES 3 |
#define | sock2con(x) ((struct connection *)(x)->sk_user_data) |
Functions | |
int | dlm_lowcomms_addr (int nodeid, struct sockaddr_storage *addr, int len) |
int | dlm_lowcomms_connect_node (int nodeid) |
void * | dlm_lowcomms_get_buffer (int nodeid, int len, gfp_t allocation, char **ppc) |
void | dlm_lowcomms_commit_buffer (void *mh) |
int | dlm_lowcomms_close (int nodeid) |
void | dlm_lowcomms_stop (void) |
int | dlm_lowcomms_start (void) |
void | dlm_lowcomms_exit (void) |
#define CF_APP_LIMITED 7 |
Definition at line 115 of file lowcomms.c.
#define CF_CLOSE 6 |
Definition at line 114 of file lowcomms.c.
#define CF_CONNECT_PENDING 3 |
Definition at line 111 of file lowcomms.c.
#define CF_INIT_PENDING 4 |
Definition at line 112 of file lowcomms.c.
#define CF_IS_OTHERCON 5 |
Definition at line 113 of file lowcomms.c.
#define CF_READ_PENDING 1 |
Definition at line 109 of file lowcomms.c.
#define CF_WRITE_PENDING 2 |
Definition at line 110 of file lowcomms.c.
#define CONN_HASH_SIZE 32 |
Definition at line 65 of file lowcomms.c.
#define MAX_CONNECT_RETRIES 3 |
Definition at line 123 of file lowcomms.c.
#define MAX_SEND_MSG_COUNT 25 |
Definition at line 68 of file lowcomms.c.
#define NEEDED_RMEM (4*1024*1024) |
Definition at line 64 of file lowcomms.c.
#define sock2con | ( | x | ) | ((struct connection *)(x)->sk_user_data) |
Definition at line 130 of file lowcomms.c.
int dlm_lowcomms_addr | ( | int | nodeid, |
struct sockaddr_storage * | addr, | ||
int | len | ||
) |
Definition at line 376 of file lowcomms.c.
Definition at line 1539 of file lowcomms.c.
Definition at line 1425 of file lowcomms.c.
Definition at line 457 of file lowcomms.c.
Definition at line 1718 of file lowcomms.c.
Definition at line 1383 of file lowcomms.c.
Definition at line 1666 of file lowcomms.c.
Definition at line 1645 of file lowcomms.c.