ucspi-ssl  0.99e
TLS encryption for IPv6 communication
Functions
ip6_compactaddr.c File Reference
#include "fmt.h"
#include "byte.h"
#include "ip4.h"
#include "ip6.h"
#include "hexconversion.h"
Include dependency graph for ip6_compactaddr.c:

Go to the source code of this file.

Functions

unsigned int ip6_compactaddr (char *s, char ip[16])
 

Function Documentation

◆ ip6_compactaddr()

unsigned int ip6_compactaddr ( char *  s,
char  ip[16] 
)

This function converts a IPv6 address as 16 bytes char array into a compactified string.

Author
Felix von Leitner
Parameters
sDestination address.
ipSource address as 16 bytes char array.
Returns
0: failure, else: the number of characters of the return value.

Definition at line 15 of file ip6_compactaddr.c.

Here is the caller graph for this function: