ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
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.