| plan 9 kernel history: overview | file list | diff list |
1999/0302/ip/ip.c (diff list | history)
| 1998/1209/sys/src/9/ip/ip.c:85,91 – 1999/0302/sys/src/9/ip/ip.c:85,91 (short | long | prev | next) | ||
| 1998/0313 | Fragment* flisthead; Fragment* fragfree; | |
| 1999/0302 | Ref id; | |
| 1998/0313 | int iprouting; /* true if we route like a gateway */ void (*ipextprotoiput)(Block*); }; | |
| 1998/1209/sys/src/9/ip/ip.c:186,196 – 1999/0302/sys/src/9/ip/ip.c:186,197 | ||
| 1997/0327 | eh->ttl = ttl; } | |
| 1999/0302 | if(!canrlock(ifc)) goto free; | |
| 1998/0307 | if(waserror()){ runlock(ifc); nexterror(); } | |
| 1998/0630 |
| |
| 1998/0307 | if(ifc->m == nil) goto raise; | |
| 1998/1209/sys/src/9/ip/ip.c:198,204 – 1999/0302/sys/src/9/ip/ip.c:199,205 | ||
| 1998/0306 | medialen = ifc->m->maxmtu - ifc->m->hsize; | |
| 1997/0327 | if(len <= medialen) { if(!gating) | |
| 1998/0313 |
| |
| 1999/0302 | hnputs(eh->id, incref(&ip->id)); | |
| 1997/0327 | hnputs(eh->length, len); eh->frag[0] = 0; eh->frag[1] = 0; | |
| 1998/1209/sys/src/9/ip/ip.c:231,237 – 1999/0302/sys/src/9/ip/ip.c:232,238 | ||
| 1997/0327 | if(gating) lid = nhgets(eh->id); else | |
| 1998/0313 |
| |
| 1999/0302 | lid = incref(&ip->id); | |
| 1997/0327 | offset = IPHDR; while(xp != nil && offset && offset >= BLEN(xp)) { | |