\hypertarget{group__ipv6}{
\section{ipv6: IPv6 Address Handling}
\label{group__ipv6}\index{ipv6: IPv6 Address Handling@{ipv6: IPv6 Address Handling}}
}
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct \hyperlink{structipv6addr}{ipv6addr}
\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef uint16 \hyperlink{group__ipv6_ga71ffb8f46cd4fa830090d23eb752847}{ipv6port}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
const char $\ast$ \hyperlink{group__ipv6_ge6b6644458f3e4ac3443b4fa88829c2d}{ipv6\_\-scan} (const char $\ast$s, \hyperlink{structipv6addr}{ipv6addr} $\ast$addr)
\item 
const char $\ast$ \hyperlink{group__ipv6_g683855a6d2d7d00e6ecf40d31012ee67}{ipv6\_\-format} (const \hyperlink{structipv6addr}{ipv6addr} $\ast$addr)
\item 
unsigned \hyperlink{group__ipv6_gaa6f5339fb79b2791ff30c46e78be373}{fmt\_\-ipv6addr} (char $\ast$buffer, const \hyperlink{structipv6addr}{ipv6addr} $\ast$addr)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
const \hyperlink{structipv6addr}{ipv6addr} \hyperlink{group__ipv6_gc24ae37b02435529dc159f137cecb438}{IPV6ADDR\_\-ANY}
\item 
const \hyperlink{structipv6addr}{ipv6addr} \hyperlink{group__ipv6_g81cb63b2c6a88dc751ee66ddb9a41ae8}{IPV6ADDR\_\-LOOPBACK}
\end{CompactItemize}


\subsection{Typedef Documentation}
\hypertarget{group__ipv6_ga71ffb8f46cd4fa830090d23eb752847}{
\index{ipv6@{ipv6}!ipv6port@{ipv6port}}
\index{ipv6port@{ipv6port}!ipv6@{ipv6}}
\subsubsection[ipv6port]{\setlength{\rightskip}{0pt plus 5cm}typedef uint16 \hyperlink{group__ipv6_ga71ffb8f46cd4fa830090d23eb752847}{ipv6port}}}
\label{group__ipv6_ga71ffb8f46cd4fa830090d23eb752847}


IPv6 port number. 

\subsection{Function Documentation}
\hypertarget{group__ipv6_gaa6f5339fb79b2791ff30c46e78be373}{
\index{ipv6@{ipv6}!fmt_ipv6addr@{fmt\_\-ipv6addr}}
\index{fmt_ipv6addr@{fmt\_\-ipv6addr}!ipv6@{ipv6}}
\subsubsection[fmt\_\-ipv6addr]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ipv6addr (char $\ast$ {\em buffer}, const \hyperlink{structipv6addr}{ipv6addr} $\ast$ {\em addr})}}
\label{group__ipv6_gaa6f5339fb79b2791ff30c46e78be373}


Produce a formatted string from an IPv6 address.

The given buffer must be at least 39 bytes long, or 40 bytes if it needs to contain the standard trailing {\tt NUL} byte.

\begin{Desc}
\item[Returns:]The number of bytes written to the buffer.\end{Desc}
\begin{Desc}
\item[Note:]This routine is thread and recursion safe. \end{Desc}
\hypertarget{group__ipv6_g683855a6d2d7d00e6ecf40d31012ee67}{
\index{ipv6@{ipv6}!ipv6_format@{ipv6\_\-format}}
\index{ipv6_format@{ipv6\_\-format}!ipv6@{ipv6}}
\subsubsection[ipv6\_\-format]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ ipv6\_\-format (const \hyperlink{structipv6addr}{ipv6addr} $\ast$ {\em addr})}}
\label{group__ipv6_g683855a6d2d7d00e6ecf40d31012ee67}


Produce a formatted C string from an IPv6 address.

\begin{Desc}
\item[Note:]The return value is statically allocated. Multiple calls to this function will return pointers to the same string. \end{Desc}
\hypertarget{group__ipv6_ge6b6644458f3e4ac3443b4fa88829c2d}{
\index{ipv6@{ipv6}!ipv6_scan@{ipv6\_\-scan}}
\index{ipv6_scan@{ipv6\_\-scan}!ipv6@{ipv6}}
\subsubsection[ipv6\_\-scan]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ ipv6\_\-scan (const char $\ast$ {\em s}, \hyperlink{structipv6addr}{ipv6addr} $\ast$ {\em addr})}}
\label{group__ipv6_ge6b6644458f3e4ac3443b4fa88829c2d}


Scan a C string for an IPv6 address.

\begin{Desc}
\item[Returns:]{\tt NULL} if parsing failed, otherwise a pointer to the first character after the end of the address. \end{Desc}


\subsection{Variable Documentation}
\hypertarget{group__ipv6_gc24ae37b02435529dc159f137cecb438}{
\index{ipv6@{ipv6}!IPV6ADDR_ANY@{IPV6ADDR\_\-ANY}}
\index{IPV6ADDR_ANY@{IPV6ADDR\_\-ANY}!ipv6@{ipv6}}
\subsubsection[IPV6ADDR\_\-ANY]{\setlength{\rightskip}{0pt plus 5cm}const \hyperlink{structipv6addr}{ipv6addr} \hyperlink{group__ipv6_gc24ae37b02435529dc159f137cecb438}{IPV6ADDR\_\-ANY}}}
\label{group__ipv6_gc24ae37b02435529dc159f137cecb438}


IPv6 \char`\"{}any\char`\"{} address constant. \hypertarget{group__ipv6_g81cb63b2c6a88dc751ee66ddb9a41ae8}{
\index{ipv6@{ipv6}!IPV6ADDR_LOOPBACK@{IPV6ADDR\_\-LOOPBACK}}
\index{IPV6ADDR_LOOPBACK@{IPV6ADDR\_\-LOOPBACK}!ipv6@{ipv6}}
\subsubsection[IPV6ADDR\_\-LOOPBACK]{\setlength{\rightskip}{0pt plus 5cm}const \hyperlink{structipv6addr}{ipv6addr} \hyperlink{group__ipv6_g81cb63b2c6a88dc751ee66ddb9a41ae8}{IPV6ADDR\_\-LOOPBACK}}}
\label{group__ipv6_g81cb63b2c6a88dc751ee66ddb9a41ae8}


IPv6 loopback address constant. 