[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New Source-Route patch for 2.0.33



I have taken Paul Norton's sr-patch-v2.0.28 and updated the
/proc/net/tr_rif code so that it performs the same way /proc/net/tr_rif
does in the current development kernels. The ring/bridge pairs are printed
more nicely, and with the right byte order.

You can use this patch instead of sr-patch-v2.0.28. Paul, feel free to put
this on your FTP site. Your site seems to be the place for all things
Token-Ring.

Your /proc/net/tr_rif will look something like this:

if     TR address        TTL   rcf   routing segments

eth0 00:02:16:19:77:7B   59003 0610  013-9-C02
eth0 00:06:29:B2:DC:A7   59746 local
eth0 00:00:F6:77:17:A1   44308 local
eth0 68:00:19:C9:0E:8D   59995 local
eth0 00:06:29:85:08:0A   59212 local
eth0 00:02:16:1E:9D:B5   57222 0610  013-9-C02
eth0 00:06:29:B3:BB:0C   59212 local

--gilbert

begin 644 sr-patch.v2.0.33.gz
M'XL("$U:8C4  W-R+7!A=&-H+G8R+C N,S, O1II=]NX\3/U*Q#O6U4':9/4
M:2ORBZ+(675];&VE+]W4Y9,ER&(LD7HDE76:N+^],S@H@H?B='?+.#0!S P&
M<P/&W%TLB+$-+LDG^] \;#2.7&^VVL[IT<KUMH]'[L*)@L,E$:V\L9)A&/NQ
MM9NM1RZF ;&;Q&R>F,<GC0ZQCH_;I7J]OH^T-ME20/P,P,1NG)CM$ZN!B-W2
MJU?$.&[J75)G[U>O2N2'.5VX'B63:^=Z/";F8]=4.X=GSIOQM?-Z/,D?/!]=
M.A>#FY]AU%J89LE(C;^^OAJ\&0YN.'H.P/GX8CP9O5$ !PA8_P8E(I^C&IFN
M5D;@;R,:DKO G\YGTS BM:,,C;S)AD@+:(2N=[^BG(Q*);WFL^O!Q<C&)=M9
M@<2DI5B0?HF4YM\PFDW@SYQ%6& V\>@>PXEATA;0/+$[W **3*<0534>R^[H
M;5+'7QUF/MHOUU=#YV9X,W;^=G[U=CP\&]SH.=WCFU_4[IO1X.U@,M)+==YY
M.9HXS ;/5+B)97?5GC?#QK$Y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T6 LA^88B.BN7'.C\#(:97++VU/]$
M2>]FS UZ1GZ&$&5ZPL#9*0A$!Q8T<-4]D6/B8B]1"\8U!YNW2&H,0?AFZIAJ
MG\$WWQ_H)'/(*(A U<T#$]0XSSO5/#WM5@U;8K/-$J=0%5TQQ=-3N?O0N!]_
M9-L1\A'\7<! @WNZ0$5R'_M]*]&EB<#25YE#$_QH6+? 3[,7PZ84H.4K8:_ 
M")AF T0FIHWE),[K]C.DLB-B?!'G9?/1-!<Q=);W?-8+.3=^-*WW!N=>3)U9
MA5Q$9K+<N0JGVEDAVU@FR9$L,7XKHF&UL<YKM.,Z3V)#X048ISPWUT7:Y_73
M74"G#SS!<MZ?Q-E" 8* )Z*2:M@=W3)ATDY;M_FL_,'DSO%8<0K;RY''SF["
ME;^16TM^\$#X&IYVQY*EW=]>7<^-9#V'MQ0V@1_YI+;U>.'(#PT+JB2CL*[1
MV)^QD5X 4@PCQ)2S\#L ;N#$ARMX1I>^!43:.CG@H8N%45S.C3,^NQZ])5_Q
MZ_K=VRN=6#HQ\4= F/*.@<<**G].'7]# ]@1PI9' B4+KEW]_U3ML?V E-$3
M_A4S]:_HILGNEH=R42'9G;FLD!S4+GR/_'7K$=+ NWY-&W[R;I0H.'MODC3;
M>($'WF \:#3B/LCNSL==X,[OJ;SWD3@QVW.;)._&R.ZPNYZ\KX+R3UU7D5>8
M=!#SP0RV @<ZESS_2R^JL=5JZ02'..Z3+K=;\F%$WEV.WS,B6\]]+"""0Y((
M$TB[B0)I=\6%)KE:=:U _?KJ0C++6V"&_+(3GRDU#Q^*9XIED96AO%2#9AU?
E@<JE*84+] KX'+RW6Y)+_&;2P$M7!=+ H9CF?P%R/ D)OBH  )6A
 
end
-- 
Gilbert Ramirez                Voice:  +1 210 358 4032
Technical Services             Fax:    +1 210 358 1122
University Health System       San Antonio, Texas, USA