5 int pap_sendstatus(PAP pap)
8 u_int8_t buf[PAP_HDRSIZ];
11 buf[ 1 ] = PAP_SENDSTATUS;
12 buf[ 2 ] = buf[ 3 ] = 0;
13 atpb.atp_saddr =&pap->pap_sat;
14 atpb.atp_sreqdata = buf;
15 atpb.atp_sreqdlen = 4; /* bytes in SendStatus request */
16 atpb.atp_sreqto = 2; /* retry timer */
17 atpb.atp_sreqtries = 5; /* retry count */
18 if ( atp_sreq( satp, &atpb, 1, 0 ) < 0 ) {