aboutsummaryrefslogtreecommitdiff
path: root/networking/nbd-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/nbd-client.c')
-rw-r--r--networking/nbd-client.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/networking/nbd-client.c b/networking/nbd-client.c
index cf1857231..bedb01a1c 100644
--- a/networking/nbd-client.c
+++ b/networking/nbd-client.c
@@ -3,20 +3,20 @@
3 * 3 *
4 * Licensed under GPLv2, see file LICENSE in this source tree. 4 * Licensed under GPLv2, see file LICENSE in this source tree.
5 */ 5 */
6#include "libbb.h"
7#include <netinet/tcp.h>
8#include <linux/fs.h>
9
10//applet:IF_NBDCLIENT(APPLET_NOEXEC(nbd-client, nbdclient, BB_DIR_USR_SBIN, BB_SUID_DROP, nbdclient))
11
12//kbuild:lib-$(CONFIG_NBDCLIENT) += nbd-client.o
13
14//config:config NBDCLIENT 6//config:config NBDCLIENT
15//config: bool "nbd-client (4.6 kb)" 7//config: bool "nbd-client (4.6 kb)"
16//config: default y 8//config: default y
17//config: help 9//config: help
18//config: Network block device client 10//config: Network block device client
19 11
12//applet:IF_NBDCLIENT(APPLET_NOEXEC(nbd-client, nbdclient, BB_DIR_USR_SBIN, BB_SUID_DROP, nbdclient))
13
14//kbuild:lib-$(CONFIG_NBDCLIENT) += nbd-client.o
15
16#include "libbb.h"
17#include <netinet/tcp.h>
18#include <linux/fs.h>
19
20#define NBD_SET_SOCK _IO(0xab, 0) 20#define NBD_SET_SOCK _IO(0xab, 0)
21#define NBD_SET_BLKSIZE _IO(0xab, 1) 21#define NBD_SET_BLKSIZE _IO(0xab, 1)
22#define NBD_SET_SIZE _IO(0xab, 2) 22#define NBD_SET_SIZE _IO(0xab, 2)