| plan 9 kernel history: overview | file list | diff list |
1997/0808/pc/devether.c (diff list | history)
| 1997/0418/sys/src/9/pc/devether.c:117,123 – 1997/0808/sys/src/9/pc/devether.c:117,123 (short | long | prev | next) | ||
| 1997/0327 | if(bp == 0) return; memmove(bp->wp, pkt->d, n); | |
| 1997/0808 | i = TK2MS(MACHP(0)->ticks); | |
| 1997/0327 | bp->wp[58] = len>>8; bp->wp[59] = len; bp->wp[60] = i>>24; | |
| 1997/0418/sys/src/9/pc/devether.c:146,152 – 1997/0808/sys/src/9/pc/devether.c:146,152 | ||
| 1997/0327 | ep = ðer->f[Ntypes]; | |
| 1997/0404 | /* check for valid multcast addresses */ | |
| 1997/0808 | if((pkt->d[0] & 1) && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) && ether->prom == 0){ | |
| 1997/0404 | if(!activemulti(ether, pkt->d, sizeof(pkt->d))){ if(freebp){ freeb(bp); | |
| 1997/0418/sys/src/9/pc/devether.c:209,216 – 1997/0808/sys/src/9/pc/devether.c:209,216 | ||
| 1997/0327 | */ pkt = (Etherpkt*)bp->rp; len = BLEN(bp); | |
| 1997/0808 | loopback = (memcmp(pkt->d, ether->ea, sizeof(pkt->d)) == 0); if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ | |
| 1997/0327 | s = splhi(); etheriq(ether, bp, loopback); splx(s); | |