search for: libbridge

Displaying 20 results from an estimated 24 matches for "libbridge".

2007 Nov 22
2
[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&...
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...
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'&...
2009 Aug 13
0
[PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...39; 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/...
2009 Aug 13
0
[PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...39; 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/...
2009 Aug 13
0
[PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...39; 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/...
2009 Jun 15
0
[PATCH] bridge-utils: fix sysfs path for setting bridge configuration parameters
...ing 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/libbr...
2009 Jun 15
0
[PATCH] bridge-utils: fix sysfs path for setting bridge configuration parameters
...ing 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/libbr...
2009 Jun 15
0
[PATCH] bridge-utils: fix sysfs path for setting bridge configuration parameters
...ing 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/libbr...
2013 Mar 05
0
[Bridge] [PATCH] bridge-utils: Fix compile against linux-3.8.x
...sed 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/...
2009 Jun 15
0
[PATCH][RFC] bridge-utils: add basic VEPA support
...2009/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...
2009 Jun 15
0
[PATCH][RFC] bridge-utils: add basic VEPA support
...2009/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...
2009 Jun 15
0
[PATCH][RFC] bridge-utils: add basic VEPA support
...2009/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...
2007 Apr 18
1
[Bridge] two fields are missing in brctl output when using /sys
...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)...
2002 Sep 17
1
Problems compiling patched bridge-utils
...9;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 (fir...
2007 Apr 18
1
[Bridge] Building 1.1 ?
...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 w...
2007 Apr 18
0
[Bridge] Cross compiling bridge utils 1.2
...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....
2007 Apr 18
0
[Bridge] setting STP values via brctl
...nd saw something strange. I was setting the hello time, so I executed the following: # brctl sethello br0 30 Then I had a look at the value that was set: # cat /sys/class/net/br0/bridge/hello_time 2999 Much bigger than expected. I started looking at the source. In the libbridge/libbridge_devif.c file of brctl, we have the following routine: int br_set_bridge_hello_time(const char *br, struct timeval *tv) { return br_set(br, "hello_time", __tv_to_jiffies(tv), BRCTL_SET_BRIDGE_HELLO_TIME); } Note the tv_to_jiffies() call. Then,...
2007 Apr 18
9
[Bridge] Monitor the status of two ethernet interface
Hi everybody, Just have myself added into the maillist. I have a few linux boxes with Kernel 2.6.9. Each box has 2 ethernet interfaces, one 3COM, one Intel. I connected one with Power Line Modem, and one with Wifi Modem. They form a nice network with bridge. I have a few questions here. Suppose I have two path from box A to box D, which path will packets go through? If I want to monitor the
2007 Apr 18
10
[Bridge] (no subject)
Dear Sir, I was trying to install bridge as we are installing scps gateway in our testbed.This requires us to install the bridge. Our Linux version is 2.4.18 ~3 and we are using redhat 7.2 Please let me know which is the bridge I should install and how to configure it. Before configuring the bridge what I should check in my configuration. Thanks for your time, Sincerely Rama ===== I hear