Skip to contentSkip to conversation

TC on bridge

LARTC Christian Worm Mortensen 2 participants 3 messages Apr 27, 2001 – Apr 28, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 4 lines

Christian: i get this error message when trying to compile the kernel 2.2.18 modules with wrr and bridge patch:
sch_wrr.c: In function 'mac_classify':
sch_wrr.c:600: structure has no member named 'pkt_bridged'

Hmm, it seems like wrr is not compatible with this bridge patch.

To fix the problem you can replace "skb->pkt_bridged" with "0" in sch_wrr.c.

You will not be able to use mac classifying mode, then, though.

Christian

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw

Christian,

Just for my information, what is mac classifying mode, what functionality does it provide?

Ramin

Quoted 22 lines · Christian Worm Mortensen

Hi,

Quoted 4 lines

Christian: i get this error message when trying to compile the kernel 2.2.18 modules with wrr and bridge patch:
sch_wrr.c: In function 'mac_classify':
sch_wrr.c:600: structure has no member named 'pkt_bridged'

Hmm, it seems like wrr is not compatible with this bridge patch.

To fix the problem you can replace "skb->pkt_bridged" with "0" in sch_wrr.c.

You will not be able to use mac classifying mode, then, though.

Christian

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

Signature · 7 lines
Ramin Alidousti                                         [email protected]
Advanced Development                             tel +1 703 886 2640
UUNET, A WorldCom Company                        fax +1 703 886 0536

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#2 lore raw
In reply to Christian Worm Mortensen

Hi,

Quoted 2 lines

Just for my information, what is mac classifying mode, what functionality does it provide?

WRR classifies packets on a pr-machine basis. Normally it will use IP addresses to distinguish each machine but on 2.2 kernels it is possible to use MAC addresses on bridged packets.

If anyone knows a way to get the MAC address of packets on 2.4 kernels/with the bridge patch for 2.2/for non-bridged packets I would like to know how.

Christian

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/