Lines Matching defs:atpb
50 * atpb: parameter block
55 atp_sreq( ATP ah, struct atp_block *atpb, int respcount, u_int8_t flags )
66 if ( atpb->atp_sreqdlen < 4 || atpb->atp_sreqdlen > ATP_MAXDATA
68 || ( atpb->atp_sreqto < 0 ) || (( atpb->atp_sreqtries < 1 )
69 && ( atpb->atp_sreqtries != ATP_TRIES_INFINITE ))) {
84 atpb->atp_bitmap = ( 1 << respcount ) - 1;
91 atp_build_req_packet( req_buf, ah->atph_tid++, flags | ATP_TREQ, atpb );
92 memcpy( &req_buf->atpbuf_addr, atpb->atp_saddr,
100 atp_print_addr( " to", atpb->atp_saddr );
110 req_buf->atpbuf_dlen, 0, (struct sockaddr *) atpb->atp_saddr,
119 if ( atpb->atp_sreqto != 0 ) {
123 ah->atph_reqto = atpb->atp_sreqto;
124 if ( atpb->atp_sreqtries == ATP_TRIES_INFINITE ) {
128 ah->atph_reqtries = atpb->atp_sreqtries - 1;