ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
Loading...
Searching...
No Matches
convert.h File Reference

Go to the source code of this file.

Functions

u_int32_t getULong (const unsigned char *)
int32_t getLong (const unsigned char *)
u_int32_t getUShort (const unsigned char *)
int32_t getShort (const unsigned char *)
u_int32_t getUChar (const unsigned char *)
void putULong (unsigned char *, u_int32_t)
void putLong (unsigned char *, int32_t)
void putUShort (unsigned char *, u_int32_t)
void putShort (unsigned char *, int32_t)
void putUChar (unsigned char *, u_int32_t)
int converted_length (const unsigned char *, unsigned int, unsigned int)
int binary_to_ascii (unsigned char *, const unsigned char *, unsigned int, unsigned int)

Function Documentation

◆ binary_to_ascii()

int binary_to_ascii ( unsigned char * outbuf,
const unsigned char * inbuf,
unsigned int base,
unsigned int width )

Definition at line 150 of file convert.c.

◆ converted_length()

int converted_length ( const unsigned char * ,
unsigned int ,
unsigned int  )

◆ getLong()

int32_t getLong ( const unsigned char * )

◆ getShort()

int32_t getShort ( const unsigned char * )

◆ getUChar()

u_int32_t getUChar ( const unsigned char * )

◆ getULong()

u_int32_t getULong ( const unsigned char * )

◆ getUShort()

u_int32_t getUShort ( const unsigned char * )

◆ putLong()

void putLong ( unsigned char * obuf,
int32_t val )

Definition at line 5672 of file parse.c.

◆ putShort()

void putShort ( unsigned char * obuf,
int32_t val )

Definition at line 5686 of file parse.c.

◆ putUChar()

void putUChar ( unsigned char * obuf,
u_int32_t val )

Definition at line 102 of file convert.c.

◆ putULong()

void putULong ( unsigned char * obuf,
u_int32_t val )

Definition at line 70 of file convert.c.

◆ putUShort()

void putUShort ( unsigned char * obuf,
u_int32_t val )

Definition at line 86 of file convert.c.