ISC DHCP  4.3.6
A reference DHCPv4 and DHCPv6 implementation
packet.c File Reference
#include "dhcpd.h"

Go to the source code of this file.

Functions

u_int32_t checksum (unsigned char *buf, unsigned nbytes, u_int32_t sum)
 
u_int32_t wrapsum (u_int32_t sum)
 

Function Documentation

§ checksum()

u_int32_t checksum ( unsigned char *  buf,
unsigned  nbytes,
u_int32_t  sum 
)

Definition at line 44 of file packet.c.

§ wrapsum()

u_int32_t wrapsum ( u_int32_t  sum)

Definition at line 83 of file packet.c.