Changeset 183 for trunk/src/emx/include/netnb
- Timestamp:
- May 19, 2003, 4:41:00 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/netnb/nb.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r182 r183 12 12 13 13 #define NBPROTO_NB 1 14 #define NB_FAMILY AF_NETBIOS14 #define NB_FAMILY 18 /* temporary hack? */ 15 15 #define NB_ADDRSIZE sizeof(struct sockaddr_nb) 16 16 #define NB_UNIQUE 0 … … 20 20 #define NB_NETIDLEN 8 21 21 #define NB_HOSTLEN 12 22 #define NB_PORTLEN 422 #define NB_PORTLEN (NB_NAMELEN - NB_HOSTLEN) 23 23 /* 1234567890123456 */ 24 24 #define NB_BCAST_NAME "* " … … 26 26 #define NB_NULL_NAME "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" 27 27 28 #define NBPORT_RESERVED IPPORT_RESERVED 29 #define NBPORT_USERRESERVED IPPORT_USERRESERVED 28 /* must match IOPORT_* constants in netinet/in.h! */ 29 #ifdef TCPV40HDRS 30 #define NBPORT_RESERVED "1024" 31 #define NBPORT_USERRESERVED "5000" 32 #else 33 #define NBPORT_RESERVED "49152" 34 #define NBPORT_USERRESERVED "65535" 35 #endif 30 36 31 37 /* address format for netbios */ 38 #pragma pack(1) 32 39 struct sockaddr_nb { 40 #ifdef TCPV40HDRS 33 41 short snb_family; /* protocol family */ 42 #else 43 u_char snb_len; 44 u_char snb_family; /* netbios protocol family */ 45 #endif 34 46 short snb_type; /* unique/multicast */ 35 47 char snb_netid[NB_NETIDLEN]; /* netid */ 36 48 char snb_name[NB_NAMELEN]; /* name */ 37 49 }; 50 #pragma pack() 38 51 39 52 #endif /* !_NETNB_NB_H_ */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.