IP.c File Reference


Detailed Description

Internet Protocol (IP) Version 4 Communications Layer Module for Microchip TCP/IP Stack.

Dependencies: Ethernet (ETH97J60.c) Processor: PIC18, PIC24F, PIC24H, dsPIC30F, dsPIC33F, PIC32 Compiler: Microchip C32 v1.00 or higher Microchip C30 v3.01 or higher Microchip C18 v3.13 or higher HI-TECH PICC-18 STD 9.50PL3 or higher Company: Microchip Technology, Inc.

See the Microchip License Agreement for more details.


Modifications to the original file
  • Search for "MODIFIX" in the code !
  • Added the function IPConvertSubnetToMask
  • Added the function IPConvertMaskToSubnet


Functions

DWORD IPConvertSubnetToMask (BYTE Subnet)
 This function converts the CIDR subnet expression to the long IP expression.
BYTE IPConvertMaskToSubnet (BYTE *MaskArray)
 This function converts the long IP subnet expression to the CIDR expression.


Generated on Fri Mar 29 10:34:27 2013 for Netzer by  doxygen 1.5.5