| plan 9 kernel history: overview | file list | diff list |
1992/0322/port/tcpif.c (diff list | history)
| 1992/0321/sys/src/9/port/tcpif.c:42,51 – 1992/0322/sys/src/9/port/tcpif.c:42,56 (short | long | prev | next) | ||
| 1991/1120 | bp->flags |= S_DELIM; bp->type = M_HANGUP; | |
| 1992/0223 | qlock(s); | |
| 1992/0322 | if(waserror()) { qunlock(s); nexterror(); } | |
| 1992/0223 | if(s->readq == 0) freeb(bp); else PUTNEXT(s->readq, bp); | |
| 1992/0322 | poperror(); | |
| 1992/0223 | qunlock(s); | |
| 1991/1120 | break; | |
| 1991/0424 | } | |
| 1992/0321/sys/src/9/port/tcpif.c:81,89 – 1992/0322/sys/src/9/port/tcpif.c:86,99 | ||
| 1991/0424 | /* Send SYN, go into SYN_SENT state */ tcb->flags |= ACTIVE; qlock(tcb); | |
| 1992/0322 | if(waserror()) { qunlock(tcb); nexterror(); } | |
| 1991/0424 | send_syn(tcb); | |
| 1991/12171 | setstate(s, Syn_sent); | |
| 1991/0424 | tcp_output(s); | |
| 1992/0322 | poperror(); | |
| 1991/0424 | qunlock(tcb); | |
| 1992/0303 | sleep(&tcb->syner, notsyner, tcb); if(tcb->state != Established && tcb->state != Syn_received) | |