short p_state
; /* line state */
short p_bits
; /* mask for getepack */
short p_psize
; /* packet size */
short p_icount
; /* input byte count */
char p_ostate
; /* output state */
char p_istate
; /* input state */
char p_msgs
; /* # cntl msgs sent */
char p_window
; /* window size */
char p_iseq
; /* input SEQ byte */
char p_oseq
; /* output SEQ byte */
char p_msg
; /* control msg */
char p_msg2
; /* extra msg bits */
char p_ps
,p_pr
; /* last packet sent, recv'd */
char p_rps
,p_rpr
; /* remote (received) ps and pr */
char p_nxtps
; /* next output seq number */
char p_nxtpr
; /* expected input seq number */
char p_prcopy
; /* oldest received packet in kernel */
char p_pscopy
; /* newest output packet */
char *p_input
; /* points into input buffer */
char p_iobuf
[6]; /* cntl packet buffer */
char *p_ob
[8]; /* output buffers */
char *p_ib
[8]; /* input buffers */
char p_bstate
[8]; /* output buffer status */
char p_cstate
[8]; /* input buffer status */
#define NPSTRUCT (1+(sizeof(struct pack))/64)
#define NPERBUF (8/NPSTRUCT)