1 /* rx_pkt.xg,v 1.3 1994/12/27 03:37:04 assar Exp */
3 /* header of a RPC packet */
16 /* For flags in header */
19 HF_CLIENT_INITIATED = 1,
27 %#define CALL_MASK (MAXCALLS-1)
28 %#define CONNID_MASK (~(MAXCALLS-1))
30 const RX_HEADER_SIZE=28;
34 unsigned connid; /* And channel ID */
42 u_short reserved; /* ??? verifier? */
44 /* This should be the other way around according to everything but */
51 RX_ACK_OUT_OF_SEQUENCE = 3,
52 RX_ACK_EXEEDS_WINDOW = 4,
55 RX_ACK_PING_RESPONSE = 7,
66 struct rx_ack_header {
67 u_short bufferspace; /* # of packet buffers available */
69 u_long firstpacket; /* First packet in acks below */
71 u_long serial; /* Packet that prompted this one */
72 u_char reason; /* rx_ack_reason */
73 /* u_char nacks;*/ /* # of acks */
75 /* u_char acks[RXMAXACKS];*/ /* acks (rx_ack_type) */