Lines Matching refs:arg0
147 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet()
173 p->msg.arg0 = local; in send_ready()
183 p->msg.arg0 = local; in send_close()
219 cp->msg.arg0 = A_VERSION; in send_connect()
295 t->update_version(p->msg.arg0, p->msg.arg1); in handle_new_connection()
328 switch (p->msg.arg0) { in handle_packet()
366 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 == 0) { in handle_packet()
376 send_close(0, p->msg.arg0, t); in handle_packet()
378 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet()
387 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 != 0) { in handle_packet()
392 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet()
395 } else if (s->peer->id == p->msg.arg0) { in handle_packet()
399 D("Invalid A_OKAY(%d,%d), expected A_OKAY(%d,%d) on transport %s", p->msg.arg0, in handle_packet()
406 send_close(p->msg.arg1, p->msg.arg0, t); in handle_packet()
413 asocket* s = find_local_socket(p->msg.arg1, p->msg.arg0); in handle_packet()
425 if (p->msg.arg0 == 0 && s->peer && s->peer->transport != t) { in handle_packet()
436 if (t->online && p->msg.arg0 != 0 && p->msg.arg1 != 0) { in handle_packet()
437 asocket* s = find_local_socket(p->msg.arg1, p->msg.arg0); in handle_packet()
439 unsigned rid = p->msg.arg0; in handle_packet()