New applet: brctl

Denys Vlasenko vda.linux at googlemail.com
Wed Jan 9 14:03:33 PST 2008


On Tuesday 08 January 2008 21:36, Vladimir Dronnikov wrote:
> Hi, Denis!
> 
> Attached is the patch that adds to BB ability to manage Ethernet bridges.
> It's a stripped down version of brctl utility from GPL bridge-utils.
> It just helped me to have finished tuning of a linux gate which I want to be
> controlled by only BB utilities.

You really are going to port entire linux distro to bbox, yes? ;)

> Please, take a look.

+       if (br_get_bridge_info(name, &info)) {
+               fprintf(stderr, "can't get info %s\n",
+                               strerror(errno));
+               return 1;
+       }
+
+       br_dump_bridge_id((unsigned char *)&info.bridge_id);

Hmm... where are br_get_bridge_info() and br_dump_bridge_id()
bodies?

--
vda


More information about the busybox mailing list