mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
Prototype | void Eth_Get_Hdr_Chksum(void); |
Description Loads and returns the header checksum of the received IP packet.
Requires The card (NIC) must be properly initialized. See Eth_Init. Also, a proper sequence of calls must be obeyed (see the Ip_Event function in the supplied Ethernet example).
Example Eth_Get_Hdr_Chksum();
Eth_Get_Source_Ip_AddressPrototype | void Eth_Get_Source_Ip_Address(void); |
Description Loads and returns the IP address of the sender of the received IP packet.
Requires The card (NIC) must be properly initialized. See Eth_Init. Also, a proper sequence of calls must be obeyed (see the Ip_Event function in the supplied Ethernet example).
Example Eth_Get_Source_Ip_Address();
Eth_Get_Dest_Ip_AddressPrototype | void Eth_Get_Dest_Ip_Address(void); |
Description Loads the IP address of the received IP packet for which the packet is designated.
Requires The card (NIC) must be properly initialized. See Eth_Init. Also, a proper sequence of calls must be obeyed (see the Ip_Event function in the supplied Ethernet example).
Example Eth_Get_Dest_Ip_Address();
page |
|
178 | MikroElektronika: Development tools - Books - Compilers |
|