X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=module%2Fp2pkp_sock.h;h=1d95bfa3a53a390cbcfb5938621d74279d1c4a9b;hb=71246fb0c8dead16cc33caf83020961c33f8efda;hp=ae5e78ac7d721995c1f0d8386bc2cf0f0c081577;hpb=e66f5918ff3a9448be9deec760600ff5f48111f0;p=p2p-kernel-protocol.git diff --git a/module/p2pkp_sock.h b/module/p2pkp_sock.h index ae5e78a..1d95bfa 100644 --- a/module/p2pkp_sock.h +++ b/module/p2pkp_sock.h @@ -3,7 +3,7 @@ #include -#define P2PKP_DEFAULT_BUF_LEN 256 +#define P2PKP_DEFAULT_BUF_LEN 8196 #define P2PKP_DEFAULT_MODE 0644 struct p2pkp_conn_info { @@ -16,6 +16,7 @@ struct p2pkp_sock { spinlock_t conn_lock; struct list_head conn_list; struct socket *net_sock; + struct file * file; unsigned int buffer_len; unsigned char buffer[P2PKP_DEFAULT_BUF_LEN]; int bind_ifindex; /* bound interface index; 0 for any interface */