| /plan9/sys/src/cmd/ip/ |
| H A D | rip.c | 88 int bcast; member 367 ip->bcast = 0; in readifcs() 378 ip->bcast = 1; in readifcs() 381 ip->bcast = 1; in readifcs() 680 if(ialloc.ifc[i].bcast) in broadcast()
|
| /plan9/sys/src/9/ip/ |
| H A D | ipifc.c | 370 uchar bcast[IPaddrlen], net[IPaddrlen]; in ipifcadd() local 481 bcast[i] = (ip[i] & mask[i]) | ~mask[i]; in ipifcadd() 482 addselfcache(f, ifc, lifc, bcast, Rbcast); in ipifcadd() 486 bcast[i] = (ip[i] & mask[i]) & mask[i]; in ipifcadd() 487 addselfcache(f, ifc, lifc, bcast, Rbcast); in ipifcadd() 492 bcast[i] = (ip[i] & mask[i]) | ~mask[i]; in ipifcadd() 493 addselfcache(f, ifc, lifc, bcast, Rbcast); in ipifcadd() 498 bcast[i] = (ip[i] & mask[i]) & mask[i]; in ipifcadd() 499 addselfcache(f, ifc, lifc, bcast, Rbcast); in ipifcadd() 521 ipv62smcast(bcast, ip); in ipifcadd() [all …]
|
| /plan9/sys/src/9/mtx/ |
| H A D | devether.c | 146 if(multi && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) && ether->prom == 0){ in etheriq() 222 if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ in etheroq() 422 memset(ether->bcast, 0xFF, Eaddrlen); in etherreset()
|
| /plan9/sys/src/9/ppc/ |
| H A D | devether.c | 147 if(multi && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) && ether->prom == 0){ in etheriq() 222 if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ in etheroq() 420 memset(ether->bcast, 0xFF, Eaddrlen); in etherreset()
|
| /plan9/sys/src/cmd/unix/drawterm/kern/ |
| H A D | netif.h | 79 uchar bcast[Nmaxaddr]; member
|
| /plan9/sys/src/9/port/ |
| H A D | netif.h | 84 uchar bcast[Nmaxaddr]; member
|
| /plan9/sys/src/9/pc/ |
| H A D | devether.c | 152 if(multi && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) != 0 && ether->prom == 0){ in etheriq() 235 if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ in etheroq() 478 memset(ether->bcast, 0xFF, Eaddrlen); in etherprobe()
|
| /plan9/sys/src/9/omap/ |
| H A D | devether.c | 154 if(multi && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) != 0 && in etheriq() 229 if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ in etheroq() 436 memset(ether->bcast, 0xFF, Eaddrlen); in etherreset()
|
| /plan9/sys/src/9/teg2/ |
| H A D | devether.c | 152 if(multi && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) != 0 && in etheriq() 227 if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ in etheroq() 434 memset(ether->bcast, 0xFF, Eaddrlen); in etherreset()
|
| /plan9/sys/src/9/kw/ |
| H A D | devether.c | 154 if(multi && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) != 0 && ether->prom == 0){ in etheriq() 231 if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ in etheroq() 437 memset(ether->bcast, 0xFF, Eaddrlen); in etherreset()
|
| /plan9/sys/src/cmd/cec/ |
| H A D | cec.c | 51 uchar bcast[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; variable 496 memcmp(spk.dst, bcast, Eaddrlen) != 0) { in doloop()
|
| /plan9/sys/src/9/rb/ |
| H A D | devether.c | 584 if(multi && memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) != 0 && in etheriq() 1233 memset(ether->bcast, 0xFF, Eaddrlen); in etherprobe() 1371 if(loopback || memcmp(pkt->d, ether->bcast, sizeof(pkt->d)) == 0 || ether->prom){ in etheroq()
|