2 * $Id: pap_sendstatus.c,v 1.3 2001-06-29 14:14:47 rufustfirefly Exp $
7 #endif /* HAVE_CONFIG_H */
9 int pap_sendstatus(PAP pap)
11 struct atp_block atpb;
12 u_int8_t buf[PAP_HDRSIZ];
15 buf[ 1 ] = PAP_SENDSTATUS;
16 buf[ 2 ] = buf[ 3 ] = 0;
17 atpb.atp_saddr =&pap->pap_sat;
18 atpb.atp_sreqdata = buf;
19 atpb.atp_sreqdlen = 4; /* bytes in SendStatus request */
20 atpb.atp_sreqto = 2; /* retry timer */
21 atpb.atp_sreqtries = 5; /* retry count */
22 if ( atp_sreq( satp, &atpb, 1, 0 ) < 0 ) {