Lines Matching refs:ah
25 int atp_close(ATP ah)
33 print_bufuse( ah, "atp_close");
36 while ( ah->atph_queue != NULL ) {
37 cq = ah->atph_queue;
38 ah->atph_queue = cq->atpbuf_next;
42 while ( ah->atph_sent != NULL ) {
43 cq = ah->atph_sent;
49 ah->atph_sent = cq->atpbuf_next;
53 if ( ah->atph_reqpkt != NULL ) {
54 atp_free_buf( ah->atph_reqpkt );
55 ah->atph_reqpkt = NULL;
59 if ( ah->atph_resppkt[ i ] != NULL ) {
60 atp_free_buf( ah->atph_resppkt[ i ] );
61 ah->atph_resppkt[ i ] = NULL;
66 print_bufuse( ah, "atp_close end");
69 i = ah->atph_socket;
70 atp_free_buf( (struct atpbuf *) ah );