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