| Line No. | Rev | Author | Line |
|---|---|---|---|
| 1 | 32 | kaklik | /********************************************************************* |
| 2 | * |
||
| 3 | * ICMP Module Defs for Microchip TCP/IP Stack |
||
| 4 | * |
||
| 5 | ********************************************************************* |
||
| 6 | * FileName: ICMP.h |
||
| 7 | * Dependencies: StackTsk.h |
||
| 8 | * IP.h |
||
| 9 | * MAC.h |
||
| 10 | * Processor: PIC18, PIC24F, PIC24H, dsPIC30F, dsPIC33F, PIC32 |
||
| 11 | * Compiler: Microchip C32 v1.05 or higher |
||
| 12 | * Microchip C30 v3.12 or higher |
||
| 13 | * Microchip C18 v3.30 or higher |
||
| 14 | * HI-TECH PICC-18 PRO 9.63PL2 or higher |
||
| 15 | * Company: Microchip Technology, Inc. |
||
| 16 | * |
||
| 17 | * Software License Agreement |
||
| 18 | * |
||
| 19 | * Copyright (C) 2002-2009 Microchip Technology Inc. All rights |
||
| 20 | * reserved. |
||
| 21 | * |
||
| 22 | * Microchip licenses to you the right to use, modify, copy, and |
||
| 23 | * distribute: |
||
| 24 | * (i) the Software when embedded on a Microchip microcontroller or |
||
| 25 | * digital signal controller product ("Device") which is |
||
| 26 | * integrated into Licensee's product; or |
||
| 27 | * (ii) ONLY the Software driver source files ENC28J60.c, ENC28J60.h, |
||
| 28 | * ENCX24J600.c and ENCX24J600.h ported to a non-Microchip device |
||
| 29 | * used in conjunction with a Microchip ethernet controller for |
||
| 30 | * the sole purpose of interfacing with the ethernet controller. |
||
| 31 | * |
||
| 32 | * You should refer to the license agreement accompanying this |
||
| 33 | * Software for additional information regarding your rights and |
||
| 34 | * obligations. |
||
| 35 | * |
||
| 36 | * THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT |
||
| 37 | * WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT |
||
| 38 | * LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A |
||
| 39 | * PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL |
||
| 40 | * MICROCHIP BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR |
||
| 41 | * CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF |
||
| 42 | * PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS |
||
| 43 | * BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE |
||
| 44 | * THEREOF), ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER |
||
| 45 | * SIMILAR COSTS, WHETHER ASSERTED ON THE BASIS OF CONTRACT, TORT |
||
| 46 | * (INCLUDING NEGLIGENCE), BREACH OF WARRANTY, OR OTHERWISE. |
||
| 47 | * |
||
| 48 | * |
||
| 49 | * Author Date Comment |
||
| 50 | *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
| 51 | * Howard Schlunder 03/16/07 Original |
||
| 52 | ********************************************************************/ |
||
| 53 | #ifndef __ICMP_H |
||
| 54 | #define __ICMP_H |
||
| 55 | |||
| 56 | void ICMPProcess(NODE_INFO *remote, WORD len); |
||
| 57 | |||
| 58 | BOOL ICMPBeginUsage(void); |
||
| 59 | void ICMPSendPing(DWORD dwRemoteIP); |
||
| 60 | void ICMPSendPingToHost(BYTE * szRemoteHost); |
||
| 61 | LONG ICMPGetReply(void); |
||
| 62 | void ICMPEndUsage(void); |
||
| 63 | |||
| 64 | #if defined(__18CXX) |
||
| 65 | void ICMPSendPingToHostROM(ROM BYTE * szRemoteHost); |
||
| 66 | #else |
||
| 67 | #define ICMPSendPingToHostROM(a) ICMPSendPingToHost((BYTE*)(a)) |
||
| 68 | #endif |
||
| 69 | |||
| 70 | |||
| 71 | #endif |
Powered by WebSVN v2.8.3