| plan 9 kernel history: overview | file list | diff list |
2000/1111/ip/tripmedium.c (diff list | history)
| 1998/0630/sys/src/9/ip/tripmedium.c:21,48 – 1999/0731/sys/src/9/ip/tripmedium.c:21,38 (short | long) | ||
| 1998/0630 | Medium tripmedium = { | |
| 1999/0731 | .name= "trip", .minmtu= 20, .maxmtu= 64*1024, .maclen= LCIMACSIZE, .bind= tripbind, .unbind= tripunbind, .bwrite= tripbwrite, .addmulti= tripaddmulti, .remmulti= tripremmulti, .addroute= tripaddroute, .remroute= tripremroute, .ares= tripares, | |
| 1998/0630 | }; typedef struct Tripinfo Tripinfo; | |
| 1999/0731/sys/src/9/ip/tripmedium.c:7,13 – 2000/1111/sys/src/9/ip/tripmedium.c:7,12 (short | long) | ||
| 1998/0630 | #include "ip.h" #include "trip.h" | |
| 2000/1111/sys/src/9/ip/tripmedium.c:142,148 – 2001/0623/sys/src/9/ip/tripmedium.c:142,148 (short | long) | ||
| 1998/0630 | for(;;) { bp = devtab[er->mchan->type]->bread(er->mchan, ifc->maxmtu, 0); ifc->in++; | |
| 2001/0623 | ipiput(er->fs, ifc, bp); | |
| 1998/0630 | } pexit("hangup", 1); | |
| 2001/0623/sys/src/9/ip/tripmedium.c:142,148 – 2002/0507/sys/src/9/ip/tripmedium.c:142,148 (short | long) | ||
| 1998/0630 | for(;;) { bp = devtab[er->mchan->type]->bread(er->mchan, ifc->maxmtu, 0); ifc->in++; | |
| 2001/0623 |
| |
| 2002/0507 | ipiput4(er->fs, ifc, bp); | |
| 1998/0630 | } pexit("hangup", 1); | |
| 2002/0507/sys/src/9/ip/tripmedium.c:21,28 – 2003/0209/sys/src/9/ip/tripmedium.c:21,28 (short | long) | ||
| 1998/0630 | Medium tripmedium = { | |
| 1999/0731 | .name= "trip", | |
| 2003/0209 | .mintu= 20, .maxtu= 64*1024, | |
| 1999/0731 | .maclen= LCIMACSIZE, .bind= tripbind, .unbind= tripunbind, | |
| 2002/0507/sys/src/9/ip/tripmedium.c:140,146 – 2003/0209/sys/src/9/ip/tripmedium.c:140,146 | ||
| 1998/0630 | er->readp = up; /* hide identity under a rock for unbind */ for(;;) { | |
| 2003/0209 | bp = devtab[er->mchan->type]->bread(er->mchan, ifc->maxtu, 0); | |
| 1998/0630 | ifc->in++; | |
| 2002/0507 | ipiput4(er->fs, ifc, bp); | |
| 1998/0630 | } | |
| 2002/0507/sys/src/9/ip/tripmedium.c:255,262 – 2003/0209/sys/src/9/ip/tripmedium.c:255,262 | ||
| 1998/0630 | continue; mtc.type = T_CTLIFADMIN; | |
| 2003/0209 | mtc.maxtu = ifc->maxtu; mtc.mintu = ifc->mintu; | |
| 1998/0630 | mtc.port = 0; if(ifc->m == &tripmedium) { | |