Go to the source code of this file.
Classes | |
struct | redirect_addr |
struct | RFCNB_Con |
Macros | |
#define | GLOBAL extern |
#define | RFCNB_Default_Port 139 |
#define | RFCNB_MAX_STATS 1 |
#define | RFCNB_SESSION_MESSAGE 0 |
#define | RFCNB_SESSION_REQUEST 0x81 |
#define | RFCNB_SESSION_ACK 0x82 |
#define | RFCNB_SESSION_REJ 0x83 |
#define | RFCNB_SESSION_RETARGET 0x84 |
#define | RFCNB_SESSION_KEEP_ALIVE 0x85 |
#define | RFCNB_Pkt_Hdr_Len 4 |
#define | RFCNB_Pkt_Sess_Len 72 |
#define | RFCNB_Pkt_Retarg_Len 10 |
#define | RFCNB_Pkt_Nack_Len 5 |
#define | RFCNB_Pkt_Type_Offset 0 |
#define | RFCNB_Pkt_Flags_Offset 1 |
#define | RFCNB_Pkt_Len_Offset 2 /* Length is 2 bytes plus a flag bit */ |
#define | RFCNB_Pkt_N1Len_Offset 4 |
#define | RFCNB_Pkt_Called_Offset 5 |
#define | RFCNB_Pkt_N2Len_Offset 38 |
#define | RFCNB_Pkt_Calling_Offset 39 |
#define | RFCNB_Pkt_Error_Offset 4 |
#define | RFCNB_Pkt_IP_Offset 4 |
#define | RFCNB_Pkt_Port_Offset 8 |
#define | RFCNB_Pkt_Len(p) |
#define | RFCNB_Put_Pkt_Len(p, v) |
#define | RFCNB_Pkt_Type(p) (CVAL((p), RFCNB_Pkt_Type_Offset)) |
Typedefs | |
typedef unsigned short | uint16 |
typedef struct redirect_addr * | redirect_ptr |
typedef struct RFCNB_Con | RFCNB_Con |
typedef char | RFCNB_Hdr[4] |
Variables | |
int | RFCNB_errno |
int | RFCNB_saved_errno |
Macro Definition Documentation
◆ GLOBAL
#define GLOBAL extern |
Definition at line 40 of file rfcnb-priv.h.
◆ RFCNB_Default_Port
#define RFCNB_Default_Port 139 |
Definition at line 53 of file rfcnb-priv.h.
◆ RFCNB_MAX_STATS
#define RFCNB_MAX_STATS 1 |
Definition at line 56 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Called_Offset
#define RFCNB_Pkt_Called_Offset 5 |
Definition at line 105 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Calling_Offset
#define RFCNB_Pkt_Calling_Offset 39 |
Definition at line 107 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Error_Offset
#define RFCNB_Pkt_Error_Offset 4 |
Definition at line 108 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Flags_Offset
#define RFCNB_Pkt_Flags_Offset 1 |
Definition at line 102 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Hdr_Len
#define RFCNB_Pkt_Hdr_Len 4 |
Definition at line 97 of file rfcnb-priv.h.
◆ RFCNB_Pkt_IP_Offset
#define RFCNB_Pkt_IP_Offset 4 |
Definition at line 109 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Len
#define RFCNB_Pkt_Len | ( | p | ) |
Definition at line 115 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Len_Offset
#define RFCNB_Pkt_Len_Offset 2 /* Length is 2 bytes plus a flag bit */ |
Definition at line 103 of file rfcnb-priv.h.
◆ RFCNB_Pkt_N1Len_Offset
#define RFCNB_Pkt_N1Len_Offset 4 |
Definition at line 104 of file rfcnb-priv.h.
◆ RFCNB_Pkt_N2Len_Offset
#define RFCNB_Pkt_N2Len_Offset 38 |
Definition at line 106 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Nack_Len
#define RFCNB_Pkt_Nack_Len 5 |
Definition at line 100 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Port_Offset
#define RFCNB_Pkt_Port_Offset 8 |
Definition at line 110 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Retarg_Len
#define RFCNB_Pkt_Retarg_Len 10 |
Definition at line 99 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Sess_Len
#define RFCNB_Pkt_Sess_Len 72 |
Definition at line 98 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Type
#define RFCNB_Pkt_Type | ( | p | ) | (CVAL((p), RFCNB_Pkt_Type_Offset)) |
Definition at line 122 of file rfcnb-priv.h.
◆ RFCNB_Pkt_Type_Offset
#define RFCNB_Pkt_Type_Offset 0 |
Definition at line 101 of file rfcnb-priv.h.
◆ RFCNB_Put_Pkt_Len
#define RFCNB_Put_Pkt_Len | ( | p, | |
v | |||
) |
Definition at line 118 of file rfcnb-priv.h.
◆ RFCNB_SESSION_ACK
#define RFCNB_SESSION_ACK 0x82 |
Definition at line 62 of file rfcnb-priv.h.
◆ RFCNB_SESSION_KEEP_ALIVE
#define RFCNB_SESSION_KEEP_ALIVE 0x85 |
Definition at line 65 of file rfcnb-priv.h.
◆ RFCNB_SESSION_MESSAGE
#define RFCNB_SESSION_MESSAGE 0 |
Definition at line 60 of file rfcnb-priv.h.
◆ RFCNB_SESSION_REJ
#define RFCNB_SESSION_REJ 0x83 |
Definition at line 63 of file rfcnb-priv.h.
◆ RFCNB_SESSION_REQUEST
#define RFCNB_SESSION_REQUEST 0x81 |
Definition at line 61 of file rfcnb-priv.h.
◆ RFCNB_SESSION_RETARGET
#define RFCNB_SESSION_RETARGET 0x84 |
Definition at line 64 of file rfcnb-priv.h.
Typedef Documentation
◆ redirect_ptr
typedef struct redirect_addr* redirect_ptr |
Definition at line 69 of file rfcnb-priv.h.
◆ RFCNB_Con
◆ RFCNB_Hdr
typedef char RFCNB_Hdr[4] |
Definition at line 90 of file rfcnb-priv.h.
◆ uint16
typedef unsigned short uint16 |
Definition at line 38 of file rfcnb-priv.h.
Variable Documentation
◆ RFCNB_errno
|
extern |
Definition at line 35 of file session.c.
Referenced by RFCNB_Alloc_Pkt(), RFCNB_Call(), RFCNB_Discard_Rest(), RFCNB_Get_Error(), RFCNB_Get_Last_Error(), RFCNB_Get_Pkt(), RFCNB_IP_Connect(), RFCNB_Name_To_IP(), RFCNB_Put_Pkt(), RFCNB_Recv(), RFCNB_Send(), and RFCNB_Session_Req().
◆ RFCNB_saved_errno
|
extern |
Definition at line 36 of file session.c.
Referenced by RFCNB_Alloc_Pkt(), RFCNB_Call(), RFCNB_Discard_Rest(), RFCNB_Get_Error(), RFCNB_Get_Pkt(), RFCNB_IP_Connect(), RFCNB_Name_To_IP(), RFCNB_Put_Pkt(), RFCNB_Recv(), and RFCNB_Send().