- 1. [PATCH] dummy -- support hardware address (score: 1)
- Author: Stephen Hemminger <shemminger@xxxxxxxx>
- Date: Thu, 8 Apr 2004 11:08:34 -0700
- Dummy device comes in handy for testing, but it always has address of all zero's which isn't a valid ethernet address. This generates a simple fake address and allows changing the address. diff -Nru
- /archives/netdev/2004-04/msg00132.html (8,981 bytes)
- 2. Re: [PATCH] dummy -- support hardware address (score: 1)
- Author: "David S. Miller" <davem@xxxxxxxxxx>
- Date: Thu, 8 Apr 2004 14:54:03 -0700
- Stephen, why don't you do what usbnet does? Look at usbnet_init() where it goes: get_random_bytes (node_id, sizeof node_id); node_id [0] &= 0xfe; // clear multicast bit node_id [0] |= 0x02; // set lo
- /archives/netdev/2004-04/msg00139.html (8,371 bytes)
- 3. Re: [PATCH] dummy -- support hardware address (score: 1)
- Author: Stephen Hemminger <shemminger@xxxxxxxx>
- Date: Thu, 8 Apr 2004 15:09:01 -0700
- That would work better, just worried about draining the entropy pool when I create 1000 dummies in a test script.
- /archives/netdev/2004-04/msg00140.html (9,009 bytes)
- 4. [PATCH] dummy -- support hardware address (score: 1)
- Author: Stephen Hemminger <shemminger@xxxxxxxx>
- Date: Thu, 8 Apr 2004 11:08:34 -0700
- Dummy device comes in handy for testing, but it always has address of all zero's which isn't a valid ethernet address. This generates a simple fake address and allows changing the address. diff -Nru
- /archives/netdev/2004-04/msg00666.html (8,981 bytes)
- 5. Re: [PATCH] dummy -- support hardware address (score: 1)
- Author: "David S. Miller" <davem@xxxxxxxxxx>
- Date: Thu, 8 Apr 2004 14:54:03 -0700
- Stephen, why don't you do what usbnet does? Look at usbnet_init() where it goes: get_random_bytes (node_id, sizeof node_id); node_id [0] &= 0xfe; // clear multicast bit node_id [0] |= 0x02; // set lo
- /archives/netdev/2004-04/msg00673.html (8,433 bytes)
- 6. Re: [PATCH] dummy -- support hardware address (score: 1)
- Author: Stephen Hemminger <shemminger@xxxxxxxx>
- Date: Thu, 8 Apr 2004 15:09:01 -0700
- That would work better, just worried about draining the entropy pool when I create 1000 dummies in a test script.
- /archives/netdev/2004-04/msg00674.html (9,114 bytes)
This search system is powered by
Namazu