ucspi-ssl 0.13.00
ucspi-ssl
Loading...
Searching...
No Matches
Macros | Functions
ip6_bit.c File Reference
#include "ip.h"
#include "byte.h"
#include "str.h"
#include "fmt.h"
#include "stralloc.h"
#include "ip_bit.h"
Include dependency graph for ip6_bit.c:

Go to the source code of this file.

Macros

#define BITSUBSTITUTION
 

Functions

void bytetohex (unsigned char decimal, char hex[3])
 
int ip6_bitstring (stralloc *ip6string, char *ip6addr, unsigned int prefix)
 
int bitstring_ip6 (stralloc *ip6addr, stralloc *ip6string)
 
unsigned int ip6_fmt_str (stralloc *dest, char *src)
 

Detailed Description

Author
Li Minh Bui, feh @funcs bytetohex, ip6_bitstring, bitstring_ip6, ip6_fmt_str

Definition in file ip6_bit.c.

Macro Definition Documentation

◆ BITSUBSTITUTION

#define BITSUBSTITUTION

Definition at line 13 of file ip6_bit.c.

Function Documentation

◆ bitstring_ip6()

int bitstring_ip6 ( stralloc *  ip6addr,
stralloc *  ip6string 
)

Definition at line 102 of file ip6_bit.c.

◆ bytetohex()

void bytetohex ( unsigned char  decimal,
char  hex[3] 
)

Definition at line 22 of file ip6_bit.c.

Here is the caller graph for this function:

◆ ip6_bitstring()

int ip6_bitstring ( stralloc *  ip6string,
char *  ip6addr,
unsigned int  prefix 
)

Definition at line 48 of file ip6_bit.c.

◆ ip6_fmt_str()

unsigned int ip6_fmt_str ( stralloc *  dest,
char *  src 
)

Definition at line 160 of file ip6_bit.c.

Here is the call graph for this function: