File nut/net/ipcsum.c


Included Files


Type struct pseudo_hdr

struct pseudo_hdr
struct pseudo_hdr  
   {  
      u_long ph_src_addr;  
      u_long ph_dest_addr;  
      u_char ph_zero;  
      u_char ph_protocol;  
      u_short ph_len;  
   }  

Global Function NutIpChkSum()

u_short NutIpChkSum ( u_short ics, const void* buf, size_t 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()

u_short NutIpChkSumPartial ( u_short ics, const void* buf, size_t 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()

u_long NutIpPseudoChkSumPartial ( u_long src_addr, u_long dest_addr, u_char protocol, u_short len )
Prototyped in: nut/include/netinet/ipcsum.h
Calls: NutIpChkSumPartial() nut/net/ipcsum.c