RFC3542 support on DragonFly BSD.

Dashu Huang hds719 at gmail.com
Sat Jul 26 11:23:03 PDT 2008


Hi All:

This patch is for the Google summer code project of "RFC3542 support
on DragonFlyBSD", for more detail please see the document "The Design
and implementation of RFC3542 support on DragonFly BSD.pdf" in
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/.
In this patch I have modify below eighteen files:
       sys/netinet     in_pcb.h ip6.h icmp6.h
       sys/netinet6    in6.h ip6_output.c ip6_var.h raw_ip6.c
udp6_output.c ip6_input.c route6.c in6_pcb.c
       lib/libc/net    Makefile.inc rthdr.c
       crypto/telnet/telnet    commands.c
       sys/net/pf      pf_norm.c
       sbin/ping6      ping6.c
       lib/libcompat/4.3       rexec.c
       usr.bin/telnet  commands.c

And add below two files:
      lib/libc/net     inet6_rth_space.3 inet6_opt_init.3

Below are the related links to the codes.
Modified files:
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/in_pcb.h.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/ip6.h.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/icmp6.h.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/in6.h.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/ip6_output.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/ip6_var.h.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/raw_ip6.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/udp6_output.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/ip6_input.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/route6.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/in6_pcb.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/Makefile.inc.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/rthdr.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/crypto.commands.c.diff
(This is the diff file for src/crypto/telnet/telnet/commands.c)
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/pf_norm.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/ping6.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/rexec.c.diff
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/usr.bin.commands.c.diff
(This is the diff file for src/usr.bin/telnet/commands.c)

Added new files:
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/inet6_rth_space.3
http://leaf.dragonflybsd.org/~dhuang2/rfc3542/codes/inet6_opt_init.3

I have do some test on the codes, the detail test method is described
in the document "The Design and implementation of RFC3542 support on
DragonFly BSD.pdf"

Thanks!
Looking foreword to receive more advice on the project.
Best Wishes!
Huang Dashu





More information about the Submit mailing list