ISC DHCP  4.3.6
A reference DHCPv4 and DHCPv6 implementation
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 *  ,
const unsigned char *  ,
unsigned  int,
unsigned  int 
)

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 *  ,
int32_t   
)

Definition at line 78 of file convert.c.

§ putShort()

void putShort ( unsigned char *  ,
int32_t   
)

Definition at line 94 of file convert.c.

§ putUChar()

void putUChar ( unsigned char *  ,
u_int32_t   
)

Definition at line 102 of file convert.c.

§ putULong()

void putULong ( unsigned char *  ,
u_int32_t   
)

Definition at line 70 of file convert.c.

§ putUShort()

void putUShort ( unsigned char *  ,
u_int32_t   
)

Definition at line 86 of file convert.c.