![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
no working tcp
EthernetNetIf/LPC2368/lwip/netif/ppp/magic.h@0:39a067b5ae32, 2010-12-24 (annotated)
- Committer:
- brleme
- Date:
- Fri Dec 24 00:37:51 2010 +0000
- Revision:
- 0:39a067b5ae32
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
brleme | 0:39a067b5ae32 | 1 | /***************************************************************************** |
brleme | 0:39a067b5ae32 | 2 | * magic.h - Network Random Number Generator header file. |
brleme | 0:39a067b5ae32 | 3 | * |
brleme | 0:39a067b5ae32 | 4 | * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. |
brleme | 0:39a067b5ae32 | 5 | * portions Copyright (c) 1997 Global Election Systems Inc. |
brleme | 0:39a067b5ae32 | 6 | * |
brleme | 0:39a067b5ae32 | 7 | * The authors hereby grant permission to use, copy, modify, distribute, |
brleme | 0:39a067b5ae32 | 8 | * and license this software and its documentation for any purpose, provided |
brleme | 0:39a067b5ae32 | 9 | * that existing copyright notices are retained in all copies and that this |
brleme | 0:39a067b5ae32 | 10 | * notice and the following disclaimer are included verbatim in any |
brleme | 0:39a067b5ae32 | 11 | * distributions. No written agreement, license, or royalty fee is required |
brleme | 0:39a067b5ae32 | 12 | * for any of the authorized uses. |
brleme | 0:39a067b5ae32 | 13 | * |
brleme | 0:39a067b5ae32 | 14 | * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR |
brleme | 0:39a067b5ae32 | 15 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
brleme | 0:39a067b5ae32 | 16 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
brleme | 0:39a067b5ae32 | 17 | * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
brleme | 0:39a067b5ae32 | 18 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
brleme | 0:39a067b5ae32 | 19 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
brleme | 0:39a067b5ae32 | 20 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
brleme | 0:39a067b5ae32 | 21 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
brleme | 0:39a067b5ae32 | 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
brleme | 0:39a067b5ae32 | 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
brleme | 0:39a067b5ae32 | 24 | * |
brleme | 0:39a067b5ae32 | 25 | ****************************************************************************** |
brleme | 0:39a067b5ae32 | 26 | * REVISION HISTORY |
brleme | 0:39a067b5ae32 | 27 | * |
brleme | 0:39a067b5ae32 | 28 | * 03-01-01 Marc Boucher <marc@mbsi.ca> |
brleme | 0:39a067b5ae32 | 29 | * Ported to lwIP. |
brleme | 0:39a067b5ae32 | 30 | * 97-12-04 Guy Lancaster <glanca@gesn.com>, Global Election Systems Inc. |
brleme | 0:39a067b5ae32 | 31 | * Original derived from BSD codes. |
brleme | 0:39a067b5ae32 | 32 | *****************************************************************************/ |
brleme | 0:39a067b5ae32 | 33 | /* |
brleme | 0:39a067b5ae32 | 34 | * magic.h - PPP Magic Number definitions. |
brleme | 0:39a067b5ae32 | 35 | * |
brleme | 0:39a067b5ae32 | 36 | * Copyright (c) 1989 Carnegie Mellon University. |
brleme | 0:39a067b5ae32 | 37 | * All rights reserved. |
brleme | 0:39a067b5ae32 | 38 | * |
brleme | 0:39a067b5ae32 | 39 | * Redistribution and use in source and binary forms are permitted |
brleme | 0:39a067b5ae32 | 40 | * provided that the above copyright notice and this paragraph are |
brleme | 0:39a067b5ae32 | 41 | * duplicated in all such forms and that any documentation, |
brleme | 0:39a067b5ae32 | 42 | * advertising materials, and other materials related to such |
brleme | 0:39a067b5ae32 | 43 | * distribution and use acknowledge that the software was developed |
brleme | 0:39a067b5ae32 | 44 | * by Carnegie Mellon University. The name of the |
brleme | 0:39a067b5ae32 | 45 | * University may not be used to endorse or promote products derived |
brleme | 0:39a067b5ae32 | 46 | * from this software without specific prior written permission. |
brleme | 0:39a067b5ae32 | 47 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
brleme | 0:39a067b5ae32 | 48 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
brleme | 0:39a067b5ae32 | 49 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
brleme | 0:39a067b5ae32 | 50 | * |
brleme | 0:39a067b5ae32 | 51 | * $Id: magic.h,v 1.3 2010/01/18 20:49:43 goldsimon Exp $ |
brleme | 0:39a067b5ae32 | 52 | */ |
brleme | 0:39a067b5ae32 | 53 | |
brleme | 0:39a067b5ae32 | 54 | #ifndef MAGIC_H |
brleme | 0:39a067b5ae32 | 55 | #define MAGIC_H |
brleme | 0:39a067b5ae32 | 56 | |
brleme | 0:39a067b5ae32 | 57 | /* Initialize the magic number generator */ |
brleme | 0:39a067b5ae32 | 58 | void magicInit(void); |
brleme | 0:39a067b5ae32 | 59 | |
brleme | 0:39a067b5ae32 | 60 | /* Returns the next magic number */ |
brleme | 0:39a067b5ae32 | 61 | u32_t magic(void); |
brleme | 0:39a067b5ae32 | 62 | |
brleme | 0:39a067b5ae32 | 63 | #endif /* MAGIC_H */ |