Module name: teredo Committed by: lacombar Date: Fri Aug 29 01:38:50 UTC 2008
Modified Files: teredo/src/sys/net: if_trd.c if_trd.h if_trdpkt.c teredo/src/usr.sbin/trdd: client.c server.c util.c util.h Log Message: Import code fixes It solves a lot of bugs and add a few missing things: - fix ioctl() macro definition: we want _IOW() here, not _IOR() - forbid the call to the device ioctl if the interface doesn't exist. - client prefixlen is 64, not 32 - fix a crash when only one server address is specified. - include the failing filename in open(2) error message - Always reset the packet info at create time - add check against UDP packet origin - fix server bahaviour - fix broken logic in some part of the code - Close the socket after having finished the QP - improuve the pseudo interface code based on: b5d31ae67f2ebc2e9cb7c572bcfb3bd2d0d50bae To generate a diff of this commit: cvs -z3 rdiff -u -r1.1 -r1.2 teredo/src/sys/net/if_trd.c \ teredo/src/sys/net/if_trd.h teredo/src/sys/net/if_trdpkt.c \ teredo/src/usr.sbin/trdd/client.c teredo/src/usr.sbin/trdd/server.c \ teredo/src/usr.sbin/trdd/util.c teredo/src/usr.sbin/trdd/util.h To view a diff of this commit: http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/teredo/src/sys/net/if_trd.c?r1=1.1&r2=1.2 http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/teredo/src/sys/net/if_trd.h?r1=1.1&r2=1.2 http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/teredo/src/sys/net/if_trdpkt.c?r1=1.1&r2=1.2 http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/teredo/src/usr.sbin/trdd/client.c?r1=1.1&r2=1.2 http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/teredo/src/usr.sbin/trdd/server.c?r1=1.1&r2=1.2 http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/teredo/src/usr.sbin/trdd/util.c?r1=1.1&r2=1.2 http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/teredo/src/usr.sbin/trdd/util.h?r1=1.1&r2=1.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NetBSD-SoC-cvs mailing list NetBSD-SoC-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/netbsd-soc-cvs