Lines Matching defs:eager
731 * If we are an eager connection hanging off a listener that hasn't
744 /* Remove the eager tcp from q0 */
771 * is only one eager in the
792 * Reset any eager connection hanging off this listener
798 tcp_t *eager;
802 while ((eager = listener->tcp_eager_next_q) != NULL) {
805 eager, NULL, eager->tcp_snxt, 0, TH_RST, 0,
807 tcp_close_detached(eager);
812 while ((eager = listener->tcp_eager_next_q0) != listener) {
814 eager, NULL, eager->tcp_snxt, 0, TH_RST, 0, sock_id);
815 tcp_close_detached(eager);
1053 tcp_t *eager;
1080 /* If there is an eager, don't timeout... */
1101 /* Dequeue the eager and attach it to the socket. */
1102 eager = listener->tcp_eager_next_q;
1103 listener->tcp_eager_next_q = eager->tcp_eager_next_q;
1104 if (listener->tcp_eager_last_q == eager)
1106 eager->tcp_eager_next_q = NULL;
1107 sockets[new_sock_id].pcb = eager;
1111 bcopy(&eager->tcp_remote, &new_addr->sin_addr.s_addr,
1113 bcopy(&eager->tcp_fport, &new_addr->sin_port, sizeof (in_port_t));
1573 tcp_t *eager;
1582 eager = tcp->tcp_eager_prev_q0;
1583 while (eager->tcp_dontdrop || eager->tcp_conn_def_q0) {
1584 /* XXX should move the eager to the head */
1585 eager = eager->tcp_eager_prev_q0;
1586 if (eager == tcp) {
1587 eager = tcp->tcp_eager_prev_q0;
1597 bkmem_free((caddr_t)eager, sizeof (tcp_t));
1605 tcp_t *eager;
1655 * the eager queue. When an accept happens, it will be
1658 if ((eager = (tcp_t *)bkmem_alloc(sizeof (tcp_t))) == NULL) {
1663 if ((errno = tcp_init_values(eager, NULL)) != 0) {
1665 bkmem_free((caddr_t)eager, sizeof (tcp_t));
1674 eager->tcp_family = tcp->tcp_family;
1676 err = tcp_accept_comm(tcp, eager, mp, ip_hdr_len);
1678 bkmem_free((caddr_t)eager, sizeof (tcp_t));
1682 tcp->tcp_eager_next_q0->tcp_eager_prev_q0 = eager;
1683 eager->tcp_eager_next_q0 = tcp->tcp_eager_next_q0;
1684 tcp->tcp_eager_next_q0 = eager;
1685 eager->tcp_eager_prev_q0 = tcp;
1688 eager->tcp_listener = tcp;
1691 return (eager);
1884 /* To find a TCP eager matching the incoming segment. */
1913 printf("No eager found\n");
2695 * give it to the eager. If not, listener should take care
2705 /* No eager... sent to listener */
2715 printf("found the eager: %s\n",
3320 printf("Done with eager 3-way handshake\n");