search for: libbridg

Displaying 20 results from an estimated 27 matches for "libbridg".

Did you mean: libbridge
2007 Nov 22
1
[Bridge] Conflict between net/if.h and linux/if.h
Hi, I use the libbridge and an other lib (libnl) in a same project. I include the headers files of the two lib (libnl first and libbridgge after) and I've a conflict with the inclusion of linux/if.h (in libnl headers) and net/if.h (in libbridge.h), I've this error : /usr/include/net/if.h:45: error: parse error b...
2007 Jul 31
1
[Bridge] brctl uses incorrect sysfs path
Hi, I noticed that brctl (or more accurately, libbridge) is using the wrong path when doing various lookups in sysfs: e.g. /sys/class/net/brXXX/stp_state when it should use /sys/class/net/brXXX/bridge/stp_state. This doesn't cause any problems on most systems as it falls back to the ioctl when the sysfs attempt fails; however the ioctl method...
2007 Apr 18
0
[Bridge] libbridge<->sysfs interface - some bugs
Hi, I think I detected some bugs in libbridge 1.2. Probably none detected them so far because of the fallback to ioctl() whenever anything fails. On my system (user 32 bits, kernel 64 bits) the fallback doesn't work. It would be nice BTW to have a compile time option that leaves the ioctl fallback out... Here's what I've found (...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...airpin' port forwarding mode' is provided for this. Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 38 ++++++++++++++++++++++++++++++++++++++ brctl/brctl_disp.c | 2 ++ libbridge/libbridge.h | 3 +++ libbridge/libbridge_devif.c | 24 ++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c index c93dd55..d37e99c 100644 --- a/brctl/brctl_cmd.c +++ b/brctl/brctl_cmd.c @@ -395,6 +395,42 @@ static...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...airpin' port forwarding mode' is provided for this. Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 38 ++++++++++++++++++++++++++++++++++++++ brctl/brctl_disp.c | 2 ++ libbridge/libbridge.h | 3 +++ libbridge/libbridge_devif.c | 24 ++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c index c93dd55..d37e99c 100644 --- a/brctl/brctl_cmd.c +++ b/brctl/brctl_cmd.c @@ -395,6 +395,42 @@ static...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...airpin' port forwarding mode' is provided for this. Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 38 ++++++++++++++++++++++++++++++++++++++ brctl/brctl_disp.c | 2 ++ libbridge/libbridge.h | 3 +++ libbridge/libbridge_devif.c | 24 ++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c index c93dd55..d37e99c 100644 --- a/brctl/brctl_cmd.c +++ b/brctl/brctl_cmd.c @@ -395,6 +395,42 @@ static...
2009 Jun 15
0
[Bridge] [PATCH] bridge-utils: fix sysfs path for setting bridge configuration parameters
...ge-utils code is trying to access them under /sys/class/net/$bridgename/$param. This patch fixes this issue in the bridge-utils code and so allows setting of bridge configuration parameters using sysfs under newer kernel versions. Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- libbridge/libbridge_devif.c | 25 +++++++++++++++++++++---- libbridge/libbridge_private.h | 1 + 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/libbridge/libbridge_devif.c b/libbridge/libbridge_devif.c index 34e3cc8..547bb86 100644 --- a/libbridge/libbridge_devif.c +++ b/libbridge/li...
2009 Jun 15
0
[Bridge] [PATCH] bridge-utils: fix sysfs path for setting bridge configuration parameters
...ge-utils code is trying to access them under /sys/class/net/$bridgename/$param. This patch fixes this issue in the bridge-utils code and so allows setting of bridge configuration parameters using sysfs under newer kernel versions. Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- libbridge/libbridge_devif.c | 25 +++++++++++++++++++++---- libbridge/libbridge_private.h | 1 + 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/libbridge/libbridge_devif.c b/libbridge/libbridge_devif.c index 34e3cc8..547bb86 100644 --- a/libbridge/libbridge_devif.c +++ b/libbridge/li...
2009 Jun 15
0
[Bridge] [PATCH] bridge-utils: fix sysfs path for setting bridge configuration parameters
...ge-utils code is trying to access them under /sys/class/net/$bridgename/$param. This patch fixes this issue in the bridge-utils code and so allows setting of bridge configuration parameters using sysfs under newer kernel versions. Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- libbridge/libbridge_devif.c | 25 +++++++++++++++++++++---- libbridge/libbridge_private.h | 1 + 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/libbridge/libbridge_devif.c b/libbridge/libbridge_devif.c index 34e3cc8..547bb86 100644 --- a/libbridge/libbridge_devif.c +++ b/libbridge/li...
2013 Mar 05
0
[Bridge] [PATCH] bridge-utils: Fix compile against linux-3.8.x
...The problem was discussed on mailing lists in January 2013. The final suggestion I found was here: http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html This is intended to implement that suggestion. Signed-off-by: Russell Senior <russell at personaltelco.net> --- libbridge/libbridge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h index 39964f2..dd14bae 100644 --- a/libbridge/libbridge.h +++ b/libbridge/libbridge.h @@ -20,6 +20,7 @@ #define _LIBBRIDGE_H #include <sys/socket.h> +#include <netinet/in.h...
2007 Apr 18
1
[Bridge] two fields are missing in brctl output when using /sys
...owing items got printed in hexadecimal, and brctl code was parsing for decimal only doug:/sys/class/net/eth0/brport# cat port_id 0x8001 doug:/sys/class/net/eth0/brport# cat port_no 0x1 The following patch to bridge-utils (git and 1.2 release) lets it do the right thing: diff -ur bridge-utils-1.2/libbridge/libbridge_devif.c bridge-utils/libbridge/lib bridge_devif.c --- bridge-utils-1.2/libbridge/libbridge_devif.c 2007-04-05 16:02:58.2870 22220 -0400 +++ bridge-utils/libbridge/libbridge_devif.c 2007-04-05 14:51:19.362040447 -0 400 @@ -56,7 +56,7 @@ if (!f) fprintf(s...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
.../public/docs2009/new-hudson-vepa_seminar-20090514d.pdf Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 108 ++++++++++++++++++++++++++++++++++++++++--- brctl/brctl_disp.c | 6 ++ libbridge/libbridge.h | 7 +++ libbridge/libbridge_devif.c | 90 ++++++++++++++++++++++++++++++++++- 4 files changed, 201 insertions(+), 10 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c index c93dd55..77eaf1e 100644 --- a/brctl/brctl_cmd.c +++ b/brctl/brctl_cmd.c @@ -280,17 +28...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
.../public/docs2009/new-hudson-vepa_seminar-20090514d.pdf Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 108 ++++++++++++++++++++++++++++++++++++++++--- brctl/brctl_disp.c | 6 ++ libbridge/libbridge.h | 7 +++ libbridge/libbridge_devif.c | 90 ++++++++++++++++++++++++++++++++++- 4 files changed, 201 insertions(+), 10 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c index c93dd55..77eaf1e 100644 --- a/brctl/brctl_cmd.c +++ b/brctl/brctl_cmd.c @@ -280,17 +28...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
.../public/docs2009/new-hudson-vepa_seminar-20090514d.pdf Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 108 ++++++++++++++++++++++++++++++++++++++++--- brctl/brctl_disp.c | 6 ++ libbridge/libbridge.h | 7 +++ libbridge/libbridge_devif.c | 90 ++++++++++++++++++++++++++++++++++- 4 files changed, 201 insertions(+), 10 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c index c93dd55..77eaf1e 100644 --- a/brctl/brctl_cmd.c +++ b/brctl/brctl_cmd.c @@ -280,17 +28...
2002 Sep 17
1
Problems compiling patched bridge-utils
...don''t lose the netfilter capabilities, the patch applies with no error messages, which makes me supose everything is working fine. But when i try to recompile the bridge-utils utilities i get the message transcript below: esteban@inercia:~/devel/nexusbm/bridge-utils-0.9.5$ make make -C libbridge make[1]: Entering directory `/home/esteban/devel/bridge-shaper/bridge-utils-0.9.5/libbridge'' gcc -Wall -g -c libbridge_devif.c libbridge_devif.c: In function `br_set_bridge_ip_mode'': libbridge_devif.c:151: `BRCTL_SET_BRIDGE_IP_MODE'' undeclared (first use in this function...
2007 Apr 18
1
[Bridge] Building 1.1 ?
...needed libsysfs.h and it was not on my server. Went to the libsysfs website and downloaded 2.0 and built it with no obvious issues. The .h file is now there. Back to brctl and building it. ./configure --prefix=/usr Works like a champ. No errors. make (errors - looks like one big one) for x in libbridge brctl doc; do make -C $x ; done make[1]: Entering directory `/software/bridge/bridge-utils-1.1/libbridge' gcc -Wall -g -I/usr/src/linux/include -c libbridge_devif.c In file included from libbridge_devif.c:28: libbridge_private.h:39:2: error: #error Using wrong kernel headers if_bridge.h libb...
2007 Apr 18
1
[Bridge] bridge-utils compilation bug
Hi, I tried to cross-compile bridge-utils, and think I have found a bug in Makefile.in: --- /cygdrive/d/sources/bridge-utils-1.1/libbridge/Makefile.in 2004-06-02 20:38:20.000000000 +0300 +++ libbridge/Makefile.in 2006-12-28 11:56:56.576468700 +0200 @@ -5,7 +5,8 @@ RANLIB=@RANLIB@ CC=@CC@ -CFLAGS = -Wall -g $(KERNEL_HEADERS) +CFLAGS = -Wall @CFLAGS@ +INCLUDE=$(KERNEL_HEADERS) prefix=@prefix@ exec_prefix=@exec_prefix@...
2007 Apr 18
1
[Bridge] brctl insmod
I noticed that when I type brctl - it does insmod when the bridge module is not loaded. Where can I find the code (in the brctl or libbridge code) which does that? Thanks, Abhijit
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
Hi, The attached patches enables the bridge to filter and forward packets according to their IEEE 802.1q headers. The goals behind this change include : - Enable running STP on 802.1q tagged networks. STP packets must be untagged. It isn't obvious how else to enable STP with the current bridge and vlan code. - Add native support for an untagged vlan. Currently an untagged vlan can
2007 Apr 18
0
[Bridge] Cross compiling bridge utils 1.2
...on my host x86 development for my target ARM board. I have recently downloaded bridge utils 1.2 version and fascing some compilation porblem. Can anyone tell me how can I cross compile ? > I tried using autoconf and ./configure but got some error messages like undefined macro AC_CONFIG_HEADERS (libbridge/configh.h) and can not find sources .in or .. and make throws No more target specified etc. > > Sample autoconf and ./configure and make for arm target would be very helpful . > > Thanks > Sara If cross compiling, I wouldn't bother trying to make autoconf work. Just use con...