| plan 9 kernel history: overview | file list | diff list |
1991/1108/port/devip.c (diff list | history)
| 1991/1104/sys/src/9/port/devip.c:222,246 – 1991/1108/sys/src/9/port/devip.c:222,241 (short | long | prev | next) | ||
| 1991/0424 | Ipconv * ipclonecon(Chan *c) { | |
| 1991/1108 | Ipconv *new, *base; | |
| 1991/0424 | base = ipconv[c->dev]; | |
| 1991/1024 |
| |
| 1991/1023 |
| |
| 1991/1108 | new = ipincoming(base); if(new == 0) error(Enodev); | |
| 1991/1023 |
| |
| 1991/1108 | c->qid.path = CHDIR|STREAMQID(new-base, ipchanqid); devwalk(c, "ctl", 0, 0, streamgen); | |
| 1991/1023 |
| |
| 1991/1108 | streamopen(c, &ipinfo); pushq(c->stream, new->stproto); new->ref--; return new; | |
| 1991/1023 | } Ipconv * | |