File nut/net/ipcsum.c


Included Files


Type struct pseudo_hdr

struct pseudo_hdr
struct pseudo_hdr  
   {  
      uint32_t ph_src_addr;  
      uint32_t ph_dest_addr;  
      uint8_t ph_zero;  
      uint8_t ph_protocol;  
      uint16_t ph_len;  
   }  

Global Function NutIpChkSum()

uint16_t NutIpChkSum ( uint16_t ics, const void* buf, int len )
Prototyped in: nut/include/netinet/ipcsum.h
Calls: NutIpChkSumPartial() nut/net/ipcsum.c
Called by: NutIcmpOutput() nut/net/icmpout.c
  NutIgmpOutput() nut/net/igmpout.c

Global Function NutIpChkSumPartial()

uint16_t NutIpChkSumPartial ( uint16_t ics, const void* buf, int len )
Prototyped in: nut/include/netinet/ipcsum.h
Called by: NutIcmpOutput() nut/net/icmpout.c
  NutIpChkSum() nut/net/ipcsum.c
  NutIpPseudoChkSumPartial() nut/net/ipcsum.c

Global Function NutIpPseudoChkSumPartial()

uint32_t NutIpPseudoChkSumPartial ( uint32_t src_addr, uint32_t dest_addr, uint8_t protocol, int len )
Prototyped in: nut/include/netinet/ipcsum.h
Calls: NutIpChkSumPartial() nut/net/ipcsum.c