| plan 9 kernel history: overview | file list | diff list |
1995/0801/pc/devether.c (diff list | history)
| 1995/0731/sys/src/9/pc/devether.c:104,110 – 1995/0801/sys/src/9/pc/devether.c:104,110 (short | long | prev | next) | ||
| 1993/1120 | { | |
| 1995/0713 | Block *bp; | |
| 1993/1120 | ushort type; | |
| 1995/0713 |
| |
| 1995/0801 | int i, n; | |
| 1993/1120 | Netfile *f, **fp, **ep; type = (pkt->type[0]<<8)|pkt->type[1]; | |
| 1995/0731/sys/src/9/pc/devether.c:117,128 – 1995/0801/sys/src/9/pc/devether.c:117,130 | ||
| 1995/0713 | } else { if(qwindow(f->in) <= 0) continue; | |
| 1995/0801 | if(len > 64) n = 64; else n = len; bp = iallocb(n); | |
| 1995/0713 | if(bp == 0) continue; | |
| 1995/0801 | memmove(bp->wp, pkt->d, n); | |
| 1995/0713 | i = TK2MS(m->ticks); | |
| 1995/0731 | bp->wp[58] = len>>8; bp->wp[59] = len; | |