Lines Matching refs:ah
49 * ah: open atp handle
55 atp_sreq( ATP ah, struct atp_block *atpb, int respcount, u_int8_t flags )
61 atp_print_bufuse( ah, "atp_sreq" );
76 if ( ah->atph_resppkt[ i ] != NULL ) {
77 atp_free_buf( ah->atph_resppkt[ i ] );
78 ah->atph_resppkt[ i ] = NULL;
91 atp_build_req_packet( req_buf, ah->atph_tid++, flags | ATP_TREQ, atpb );
105 gettimeofday( &ah->atph_reqtv, (struct timezone *)0 );
109 if ( netddp_sendto( ah->atph_socket, req_buf->atpbuf_info.atpbuf_data,
120 if ( ah->atph_reqpkt != NULL ) {
121 atp_free_buf( ah->atph_reqpkt );
123 ah->atph_reqto = atpb->atp_sreqto;
125 ah->atph_reqtries = ATP_TRIES_INFINITE;
128 ah->atph_reqtries = atpb->atp_sreqtries - 1;
130 ah->atph_reqpkt = req_buf;
131 ah->atph_rbitmap = ( 1 << respcount ) - 1;
132 ah->atph_rrespcount = respcount;
135 ah->atph_rrespcount = 0;