Deprecated fork of old network stack source from github. Please use official library instead: https://mbed.org/users/mbed_official/code/EthernetInterface/
lwip-sys/arch/perf.h@1:eadc868c2acf, 2013-10-26 (annotated)
- Committer:
- AdamGreen
- Date:
- Sat Oct 26 08:51:36 2013 +0000
- Revision:
- 1:eadc868c2acf
- Parent:
- 0:3b00827bb0b7
Fix TCP checksum bug and stranded large TCP segments.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AdamGreen | 0:3b00827bb0b7 | 1 | /* |
AdamGreen | 0:3b00827bb0b7 | 2 | * Copyright (c) 2001-2003 Swedish Institute of Computer Science. |
AdamGreen | 0:3b00827bb0b7 | 3 | * All rights reserved. |
AdamGreen | 0:3b00827bb0b7 | 4 | * |
AdamGreen | 0:3b00827bb0b7 | 5 | * Redistribution and use in source and binary forms, with or without modification, |
AdamGreen | 0:3b00827bb0b7 | 6 | * are permitted provided that the following conditions are met: |
AdamGreen | 0:3b00827bb0b7 | 7 | * |
AdamGreen | 0:3b00827bb0b7 | 8 | * 1. Redistributions of source code must retain the above copyright notice, |
AdamGreen | 0:3b00827bb0b7 | 9 | * this list of conditions and the following disclaimer. |
AdamGreen | 0:3b00827bb0b7 | 10 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
AdamGreen | 0:3b00827bb0b7 | 11 | * this list of conditions and the following disclaimer in the documentation |
AdamGreen | 0:3b00827bb0b7 | 12 | * and/or other materials provided with the distribution. |
AdamGreen | 0:3b00827bb0b7 | 13 | * 3. The name of the author may not be used to endorse or promote products |
AdamGreen | 0:3b00827bb0b7 | 14 | * derived from this software without specific prior written permission. |
AdamGreen | 0:3b00827bb0b7 | 15 | * |
AdamGreen | 0:3b00827bb0b7 | 16 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
AdamGreen | 0:3b00827bb0b7 | 17 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
AdamGreen | 0:3b00827bb0b7 | 18 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT |
AdamGreen | 0:3b00827bb0b7 | 19 | * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
AdamGreen | 0:3b00827bb0b7 | 20 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT |
AdamGreen | 0:3b00827bb0b7 | 21 | * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
AdamGreen | 0:3b00827bb0b7 | 22 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
AdamGreen | 0:3b00827bb0b7 | 23 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
AdamGreen | 0:3b00827bb0b7 | 24 | * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY |
AdamGreen | 0:3b00827bb0b7 | 25 | * OF SUCH DAMAGE. |
AdamGreen | 0:3b00827bb0b7 | 26 | * |
AdamGreen | 0:3b00827bb0b7 | 27 | * This file is part of the lwIP TCP/IP stack. |
AdamGreen | 0:3b00827bb0b7 | 28 | * |
AdamGreen | 0:3b00827bb0b7 | 29 | * Author: Adam Dunkels <adam@sics.se> |
AdamGreen | 0:3b00827bb0b7 | 30 | * |
AdamGreen | 0:3b00827bb0b7 | 31 | */ |
AdamGreen | 0:3b00827bb0b7 | 32 | #ifndef __PERF_H__ |
AdamGreen | 0:3b00827bb0b7 | 33 | #define __PERF_H__ |
AdamGreen | 0:3b00827bb0b7 | 34 | |
AdamGreen | 0:3b00827bb0b7 | 35 | #define PERF_START /* null definition */ |
AdamGreen | 0:3b00827bb0b7 | 36 | #define PERF_STOP(x) /* null definition */ |
AdamGreen | 0:3b00827bb0b7 | 37 | |
AdamGreen | 0:3b00827bb0b7 | 38 | #endif /* __PERF_H__ */ |