ISC DHCP  4.3.3
A reference DHCPv4 and DHCPv6 implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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

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

Definition at line 150 of file convert.c.

int converted_length ( const unsigned char *  ,
unsigned  int,
unsigned  int 
)
int32_t getLong ( const unsigned char *  )
int32_t getShort ( const unsigned char *  )
u_int32_t getUChar ( const unsigned char *  )
u_int32_t getULong ( const unsigned char *  )
u_int32_t getUShort ( const unsigned char *  )
void putLong ( unsigned char *  ,
int32_t   
)

Definition at line 78 of file convert.c.

void putShort ( unsigned char *  ,
int32_t   
)

Definition at line 94 of file convert.c.

void putUChar ( unsigned char *  ,
u_int32_t   
)

Definition at line 102 of file convert.c.

void putULong ( unsigned char *  ,
u_int32_t   
)

Definition at line 70 of file convert.c.

void putUShort ( unsigned char *  ,
u_int32_t   
)

Definition at line 86 of file convert.c.