Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
dn.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  dn_naddr
 
struct  sockaddr_dn
 
struct  optdata_dn
 
struct  accessdata_dn
 
struct  linkinfo_dn
 
union  etheraddress
 
struct  dn_addr
 

Macros

#define DNPROTO_NSP   2 /* NSP protocol number */
 
#define DNPROTO_ROU   3 /* Routing protocol number */
 
#define DNPROTO_NML   4 /* Net mgt protocol number */
 
#define DNPROTO_EVL   5 /* Evl protocol number (usr) */
 
#define DNPROTO_EVR   6 /* Evl protocol number (evl) */
 
#define DNPROTO_NSPT   7 /* NSP trace protocol number */
 
#define DN_ADDL   2
 
#define DN_MAXADDL   2 /* ULTRIX headers have 20 here, but pathworks has 2 */
 
#define DN_MAXOPTL   16
 
#define DN_MAXOBJL   16
 
#define DN_MAXACCL   40
 
#define DN_MAXALIASL   128
 
#define DN_MAXNODEL   256
 
#define DNBUFSIZE   65023
 
#define SO_CONDATA   1
 
#define SO_CONACCESS   2
 
#define SO_PROXYUSR   3
 
#define SO_LINKINFO   7
 
#define DSO_CONDATA   1 /* Set/Get connect data */
 
#define DSO_DISDATA   10 /* Set/Get disconnect data */
 
#define DSO_CONACCESS   2 /* Set/Get connect access data */
 
#define DSO_ACCEPTMODE   4 /* Set/Get accept mode */
 
#define DSO_CONACCEPT   5 /* Accept deferred connection */
 
#define DSO_CONREJECT   6 /* Reject deferred connection */
 
#define DSO_LINKINFO   7 /* Set/Get link information */
 
#define DSO_STREAM   8 /* Set socket type to stream */
 
#define DSO_SEQPACKET   9 /* Set socket type to sequenced packet */
 
#define DSO_MAXWINDOW   11 /* Maximum window size allowed */
 
#define DSO_NODELAY   12 /* Turn off nagle */
 
#define DSO_CORK   13 /* Wait for more data! */
 
#define DSO_SERVICES   14 /* NSP Services field */
 
#define DSO_INFO   15 /* NSP Info field */
 
#define DSO_MAX   15 /* Maximum option number */
 
#define LL_INACTIVE   0
 
#define LL_CONNECTING   1
 
#define LL_RUNNING   2
 
#define LL_DISCONNECTING   3
 
#define ACC_IMMED   0
 
#define ACC_DEFER   1
 
#define SDF_WILD   1 /* Wild card object */
 
#define SDF_PROXY   2 /* Addr eligible for proxy */
 
#define SDF_UICPROXY   4 /* Use uic-based proxy */
 
#define sdn_nodeaddrl   sdn_add.a_len /* Node address length */
 
#define sdn_nodeaddr   sdn_add.a_addr /* Node address */
 
#define opt_sts   opt_status
 
#define DECNET_IOCTL_BASE   0x89 /* PROTOPRIVATE range */
 
#define SIOCSNETADDR   _IOW(DECNET_IOCTL_BASE, 0xe0, struct dn_naddr)
 
#define SIOCGNETADDR   _IOR(DECNET_IOCTL_BASE, 0xe1, struct dn_naddr)
 
#define OSIOCSNETADDR   _IOW(DECNET_IOCTL_BASE, 0xe0, int)
 
#define OSIOCGNETADDR   _IOR(DECNET_IOCTL_BASE, 0xe1, int)
 

Macro Definition Documentation

#define ACC_DEFER   1

Definition at line 65 of file dn.h.

#define ACC_IMMED   0

Definition at line 64 of file dn.h.

#define DECNET_IOCTL_BASE   0x89 /* PROTOPRIVATE range */

Definition at line 139 of file dn.h.

#define DN_ADDL   2

Definition at line 24 of file dn.h.

#define DN_MAXACCL   40

Definition at line 28 of file dn.h.

#define DN_MAXADDL   2 /* ULTRIX headers have 20 here, but pathworks has 2 */

Definition at line 25 of file dn.h.

#define DN_MAXALIASL   128

Definition at line 29 of file dn.h.

#define DN_MAXNODEL   256

Definition at line 30 of file dn.h.

#define DN_MAXOBJL   16

Definition at line 27 of file dn.h.

#define DN_MAXOPTL   16

Definition at line 26 of file dn.h.

#define DNBUFSIZE   65023

Definition at line 31 of file dn.h.

#define DNPROTO_EVL   5 /* Evl protocol number (usr) */

Definition at line 19 of file dn.h.

#define DNPROTO_EVR   6 /* Evl protocol number (evl) */

Definition at line 20 of file dn.h.

#define DNPROTO_NML   4 /* Net mgt protocol number */

Definition at line 18 of file dn.h.

#define DNPROTO_NSP   2 /* NSP protocol number */

Definition at line 16 of file dn.h.

#define DNPROTO_NSPT   7 /* NSP trace protocol number */

Definition at line 21 of file dn.h.

#define DNPROTO_ROU   3 /* Routing protocol number */

Definition at line 17 of file dn.h.

#define DSO_ACCEPTMODE   4 /* Set/Get accept mode */

Definition at line 44 of file dn.h.

#define DSO_CONACCEPT   5 /* Accept deferred connection */

Definition at line 45 of file dn.h.

#define DSO_CONACCESS   2 /* Set/Get connect access data */

Definition at line 43 of file dn.h.

#define DSO_CONDATA   1 /* Set/Get connect data */

Definition at line 41 of file dn.h.

#define DSO_CONREJECT   6 /* Reject deferred connection */

Definition at line 46 of file dn.h.

#define DSO_CORK   13 /* Wait for more data! */

Definition at line 52 of file dn.h.

#define DSO_DISDATA   10 /* Set/Get disconnect data */

Definition at line 42 of file dn.h.

#define DSO_INFO   15 /* NSP Info field */

Definition at line 54 of file dn.h.

#define DSO_LINKINFO   7 /* Set/Get link information */

Definition at line 47 of file dn.h.

#define DSO_MAX   15 /* Maximum option number */

Definition at line 55 of file dn.h.

#define DSO_MAXWINDOW   11 /* Maximum window size allowed */

Definition at line 50 of file dn.h.

#define DSO_NODELAY   12 /* Turn off nagle */

Definition at line 51 of file dn.h.

#define DSO_SEQPACKET   9 /* Set socket type to sequenced packet */

Definition at line 49 of file dn.h.

#define DSO_SERVICES   14 /* NSP Services field */

Definition at line 53 of file dn.h.

#define DSO_STREAM   8 /* Set socket type to stream */

Definition at line 48 of file dn.h.

#define LL_CONNECTING   1

Definition at line 60 of file dn.h.

#define LL_DISCONNECTING   3

Definition at line 62 of file dn.h.

#define LL_INACTIVE   0

Definition at line 59 of file dn.h.

#define LL_RUNNING   2

Definition at line 61 of file dn.h.

#define opt_sts   opt_status

Definition at line 97 of file dn.h.

#define OSIOCGNETADDR   _IOR(DECNET_IOCTL_BASE, 0xe1, int)

Definition at line 144 of file dn.h.

#define OSIOCSNETADDR   _IOW(DECNET_IOCTL_BASE, 0xe0, int)

Definition at line 143 of file dn.h.

#define SDF_PROXY   2 /* Addr eligible for proxy */

Definition at line 68 of file dn.h.

#define SDF_UICPROXY   4 /* Use uic-based proxy */

Definition at line 69 of file dn.h.

#define SDF_WILD   1 /* Wild card object */

Definition at line 67 of file dn.h.

#define sdn_nodeaddr   sdn_add.a_addr /* Node address */

Definition at line 88 of file dn.h.

#define sdn_nodeaddrl   sdn_add.a_len /* Node address length */

Definition at line 87 of file dn.h.

#define SIOCGNETADDR   _IOR(DECNET_IOCTL_BASE, 0xe1, struct dn_naddr)

Definition at line 142 of file dn.h.

#define SIOCSNETADDR   _IOW(DECNET_IOCTL_BASE, 0xe0, struct dn_naddr)

Definition at line 141 of file dn.h.

#define SO_CONACCESS   2

Definition at line 37 of file dn.h.

#define SO_CONDATA   1

Definition at line 36 of file dn.h.

#define SO_LINKINFO   7

Definition at line 39 of file dn.h.

#define SO_PROXYUSR   3

Definition at line 38 of file dn.h.