X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Fobd_rpc.h;h=af0f878c5d5727fa65213495eb449b13c049c642;hb=059b081ae9e55b4d040ab459727f600b47c15797;hp=b103bd11eb251a30142e438f8406def04851347f;hpb=17eaf7c18899a5fc9027b57d84240cbd2349a6db;p=fs%2Flustre-release.git diff --git a/lustre/include/linux/obd_rpc.h b/lustre/include/linux/obd_rpc.h index b103bd1..af0f878 100644 --- a/lustre/include/linux/obd_rpc.h +++ b/lustre/include/linux/obd_rpc.h @@ -1,6 +1,13 @@ #ifndef __OBD_RPC_H #define __OBD_RPC_H - +/* + * Copyright (C) 2001 Cluster File Systems, Inc. + * + * This code is issued under the GNU General Public License. + * See the file COPYING in this distribution + */ + +#include #define OBD_TGT_VERSION 001 #define OBD_TGT_TCP 0x1 @@ -35,42 +42,42 @@ extern struct rpc_program obd_program; struct obd_target { - struct sockaddr_in tgt_addr; - int tgt_flags; - int tgt_timeo; - int tgt_retrans; - int tgt_hostnamelen; - char tgt_hostname[0]; - + struct sockaddr_in tgt_addr; + int tgt_flags; + int tgt_timeo; + int tgt_retrans; + int tgt_hostnamelen; + char tgt_hostname[0]; + }; struct rpc_obd { - struct rpc_clnt * handle; /* RPC client handle */ - struct sockaddr_in addr; - int flags; /* various flags */ - int timeo; - int retrans; - int rsize; /* read size */ - int wsize; /* write size */ - unsigned int bsize; /* server block size */ - char * hostname; /* remote hostname */ + struct rpc_clnt * handle; /* RPC client handle */ + struct sockaddr_in addr; + int flags; /* various flags */ + int timeo; + int retrans; + int rsize; /* read size */ + int wsize; /* write size */ + unsigned int bsize; /* server block size */ + char * hostname; /* remote hostname */ }; -#define OBD_PROGRAM 300001 -#define OBD_VERSION 1 -#define OBDPROC_NULL 0 -#define OBDPROC_ECHOINT 1 +#define OBD_PROGRAM 300001 +#define OBD_VERSION 1 +#define OBDPROC_NULL 0 +#define OBDPROC_ECHOINT 1 #ifdef OBD_NEED_XDR_TYPES struct obd_echoint_in { - __u32 in; + __u32 in; }; struct obd_echoint_out { - __u32 out; + __u32 out; };