Lines Matching defs:cb
80 struct atpbuf *abuf, *pb, *cb;
193 for ( pb = NULL, cb = ah->atph_sent; cb != NULL;
194 pb = cb, cb = cb->atpbuf_next ) {
197 atp_print_addr( " examining", &cb->atpbuf_addr );
198 printf( " %hu", cb->atpbuf_info.atpbuf_xo.atpxo_tid );
202 if ( tv.tv_sec - cb->atpbuf_info.atpbuf_xo.atpxo_tv.tv_sec
203 > cb->atpbuf_info.atpbuf_xo.atpxo_reltime ) {
207 cb->atpbuf_info.atpbuf_xo.atpxo_tid );
210 ah->atph_sent = cb->atpbuf_next;
212 pb->atpbuf_next = cb->atpbuf_next;
216 if ( cb->atpbuf_info.atpbuf_xo.atpxo_packet[ i ]
218 atp_free_buf( cb->atpbuf_info.atpbuf_xo.atpxo_packet[ i ] );
221 atp_free_buf( cb );
223 if (( cb = pb ) == NULL )
226 } else if ( at_addr_eq( &saddr, &cb->atpbuf_addr )) {
227 if ( cb->atpbuf_info.atpbuf_xo.atpxo_tid == tid ) {
233 if ( cb != NULL ) {
239 cb->atpbuf_info.atpbuf_xo.atpxo_tv = tv;
241 if ( cb->atpbuf_info.atpbuf_xo.atpxo_packet[i] != NULL &&
244 cb->atpbuf_info.atpbuf_xo.atpxo_packet[i]->atpbuf_info.atpbuf_data,
245 cb->atpbuf_info.atpbuf_xo.atpxo_packet[i]->atpbuf_dlen,
251 if ( cb == NULL ) {