2 * $Id: pap_tickle.c,v 1.3 2001-06-29 14:14:47 rufustfirefly Exp $
9 #endif /* HAVE_CONFIG_H */
11 void pap_tickle(PAP pap, const u_int8_t connid, struct sockaddr_at *sat)
13 struct atp_block atpb;
14 u_int8_t buf[PAP_HDRSIZ];
17 buf[ 1 ] = PAP_TICKLE;
18 buf[ 2 ] = buf[ 3 ] = 0;
21 atpb.atp_sreqdata = buf;
22 atpb.atp_sreqdlen = sizeof(buf); /* bytes in Tickle request */
23 atpb.atp_sreqto = 0; /* retry timer */
24 atpb.atp_sreqtries = 1; /* retry count */
25 if ( atp_sreq( pap->pap_atp, &atpb, 0, 0 ) < 0 ) {
26 syslog(LOG_ERR, "atp_sreq: %m");