Ethereal-dev: [ethereal-dev] ripng decode + IPv6 enhancement

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 13 Oct 1999 07:41:46 +0900
	Attached please find:
	- IPv6 extension header decoding
	- RIPng decoding
	- compilation stabilization for IPv6 library
	packet-ripng.[ch] are added.

itojun


begin 644 ripng.tar.gz
M'XL(`-RX`S@``^T\;7O:1K;]*G[%,6VSQ@8L@<$)Q.EB@VVU&+@(DN;)S</*
MD@!M0&(E8<?MD_]^SYD9O?$2IZF=[MYE&MN:F3-GSON<&8WJV0MG<O3=DQ8X
MED\J%?@.0#FI*/07BRS^B@J<R+)\4CXNETX03#XI5;Z#RM.2Q<O2#W0/X#L[
M</^Y=+;#W4TM:_8M"/JVQ6/Z7^C&!RLHL$K1>.PY%%FN'A]OU7_EI)30OZ(@
M6+ER?/(=R(]-R*;R7Z[_HP-(*S\#!]!WEX'M6#Z,70_Z:L^9@&G[NN];\YO9
M/4'L&SDX=Q?WGCV9!O#STBG8QM3V7.!BA"M]8CLNO.35O_,_1=>;O*+1IN79
MMY8)8\^=)Z9GDU/_#ZI92[7G;T$I*B507KQX<20_/RI503ZIE8]KQS),EO?0
M^KB`'\3@5C"U/$N?00$Z5G#G>A\@\/3QV#9`=_39_6^61V!G]W!I>?K,1#[F
M-SZ\G+#:WW^S40HAH3&+.//SU`#J#G\&4]N'A>=./'T.^#CV+`M\=QS<Z9Y5
MAWMW"8;N@&>A%`//OED&%@H*R3&/7$;,W#7M\3VU+1T4#B`+$%C>W`=WS"J7
MG2'.[M#\T%O>S)"9MFU8CF_1<!UGIT9_BD*]N6<C+H@&3=``%RXBU@/;=>I@
MV20AN+4\'^M0(@QB&H$S#ZCW?3T@RCUP%S0NA^3>PTP/XJ'%;?S';)I@.PSS
MU%T@2U/$B4S>V;,9W%BP]*WQ<I8G%`@,;]3!57<X@$;G+;QI]/N-SN!M'8&#
M*=HC6+<61V7/%S,;,2-CGNX$]T@\8;AN]<^O<$CC3&VK@[?$PH4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