Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007,2012 The Flex Project. 6: 7: Copyright (c) 1990,1993,1997 The Regents of the University of California. 8: All rights reserved. 9: 10: This code is derived from software contributed to Berkeley by 11: Vern Paxson. 12: 13: The United States Government has rights in this work pursuant 14: to contract no. DE-AC03-76SF00098 between the United States 15: Department of Energy and the University of California. 16: 17: Redistribution and use in source and binary forms, with or without 18: modification, are permitted provided that the following conditions 19: are met: 20: 21: 1. Redistributions of source code must retain the above copyright 22: notice, this list of conditions and the following disclaimer. 23: 2. Redistributions in binary form must reproduce the above copyright 24: notice, this list of conditions and the following disclaimer in the 25: documentation and/or other materials provided with the distribution. 26: 27: Neither the name of the University nor the names of its contributors 28: may be used to endorse or promote products derived from this software 29: without specific prior written permission. 30: 31: THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 32: IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 33: WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 34: PURPOSE.