switch->netjig patch 5
Jeff, this patch ( also http://www.sandelman.ca/tmp/jig5.patch ) just adds GPL headers and CVS log history to some of the files that were created.
Binary files uml_tools.jig4/uml_router/hash.o and uml_tools.jig5/uml_router/hash.o differ
uml_router/nethub.c +21 -0
@@ -1,3 +1,24 @@ +/* +* @(#) jig to exercise a UML/FreeSWAN kernel with two interfaces +* +* Copyright (C) 2001 Michael Richardson <[email protected]> +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +* +* This program is distributed in the hope that it will be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +* for more details. +* +* RCSID $Id: nethub.c,v 1.10 2002/08/30 01:37:35 mcr Exp $ +* +* @(#) based upon uml_router from User-Mode-Linux tools package by Jeff Dike. +* +*/ +#include <sys/stat.h> #include <sys/types.h> #include <sys/time.h>
uml_router/nethub.h +28 -0
@@ -195,6 +195,34 @@/* * $Log: nethub.h,v $ +* Revision 1.7 2003/04/02 20:25:53 mcr +* quiet down uml_netjig unless -v or $NETJIGVERBOSE is set. +* +* Revision 1.6 2003/04/02 02:15:59 mcr +* added option to set packet replay rate. +* +* Revision 1.5 2002/11/07 22:18:09 mcr +* use proper #define for ethernet length. +* +* Revision 1.4 2002/08/30 01:37:35 mcr +* double buffered the poll(2) structures so that changes during +* use would not affect the system. +* changed fd_array to be indirect references so that the poll(2) +* loop could more easily double buffer the structures. +* +* Revision 1.3 2002/07/21 16:40:34 mcr +* clean pid file upon exit, so that directories can be removed +* properly. Free up memory that was allocated for the hub. +* switch to using mkstemp instead of tmpname for directory +* creation - append .d to the generated name. (still not race safe!) +* when freeing the hubs, take care not to reference free'ed memory. +* +* Revision 1.2 2002/07/17 03:59:46 mcr +* debugged uml_switch - added "-name" option. +* +* Revision 1.1 2002/07/14 02:48:48 mcr +* first version of merged uml_switch/uml_netjig that compiles. +* * * Local variables: * c-file-style: "linux"
Binary files uml_tools.jig4/uml_router/nethub.o and uml_tools.jig5/uml_router/nethub.o differ
uml_router/netjig.h +32 -0
@@ -1,3 +1,24 @@ +/* +* @(#) jig to exercise a UML/FreeSWAN kernel with two interfaces +* +* Copyright (C) 2001 Michael Richardson <[email protected]> +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +* +* This program is distributed in the hope that it will be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +* for more details. +* +* RCSID $Id: netjig.h,v 1.3 2002/07/17 03:59:46 mcr Exp $ +* +* @(#) based upon uml_router from User-Mode-Linux tools package +* +*/ +extern char *progname;extern jmp_buf getMeOut;
@@ -20,6 +41,17 @@/* * $Log: netjig.h,v $ +* Revision 1.3 2002/07/17 03:59:46 mcr +* debugged uml_switch - added "-name" option. +* +* Revision 1.2 2002/07/14 02:48:48 mcr +* first version of merged uml_switch/uml_netjig that compiles. +* +* Revision 1.1 2002/06/16 23:51:16 mcr +* revised uml_netjig - cmd mode has vastly improved, and it +* now can run a single UML in cmd mode. +* man page still missing. +* * * Local variables: * c-file-style: "linux"
uml_router/port.c +22 -0
@@ -1,3 +1,25 @@ +/* +* @(#) jig to exercise a UML/FreeSWAN kernel with two interfaces +* +* Copyright (C) 2001 Jeff Dike Jeff Dike <[email protected]> +* Copyright (C) 2001 Michael Richardson <[email protected]> +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +* +* This program is distributed in the hope that it will be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +* for more details. +* +* RCSID $Id: port.c,v 1.16 2003/04/07 02:43:22 mcr Exp $ +* +* @(#) based upon uml_router from User-Mode-Linux tools package by Jeff Dike. +* +*/ +#include <stdio.h> #include <stdlib.h> #include <unistd.h>
Binary files uml_tools.jig4/uml_router/port.o and uml_tools.jig5/uml_router/port.o differ Binary files uml_tools.jig4/uml_router/tuntap.o and uml_tools.jig5/uml_router/tuntap.o differ Binary files uml_tools.jig4/uml_router/uml_switch and uml_tools.jig5/uml_router/uml_switch differ Binary files uml_tools.jig4/uml_router/uml_switch.o and uml_tools.jig5/uml_router/uml_switch.o differ
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel