\hypertarget{namespacetestupnpigd}{
\section{testupnpigd Namespace Reference}
\label{d2/d2c/namespacetestupnpigd}\index{testupnpigd@{testupnpigd}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classtestupnpigd_1_1handler__class}{handler\_\-class}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{namespacetestupnpigd_a900188679e6d59d377233784f1647ff6}{list\_\-redirections}
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
tuple \hyperlink{namespacetestupnpigd_ac978ac4ae05030f192df4c007f938762}{u} = miniupnpc.UPnP()
\item 
tuple \hyperlink{namespacetestupnpigd_add08197a033387c4cff46837ba22d358}{ndevices} = u.discover()
\item 
tuple \hyperlink{namespacetestupnpigd_a1279231523e64348c9f6089728c22329}{externalipaddress} = u.externalipaddress()
\item 
tuple \hyperlink{namespacetestupnpigd_a52bbab243192a23fd8fa1f1e2be6af13}{httpd} = BaseHTTPServer.HTTPServer((u.lanaddr, 0), \hyperlink{classtestupnpigd_1_1handler__class}{handler\_\-class})
\item 
\hyperlink{namespacetestupnpigd_a486bd4efa81b37943d5895087164cfb6}{eport} = httpd.server\_\-port
\item 
tuple \hyperlink{namespacetestupnpigd_abca197cce4460cc670b70734cb383d93}{r} = u.getspecificportmapping(\hyperlink{namespacetestupnpigd_a486bd4efa81b37943d5895087164cfb6}{eport}, 'TCP')
\item 
tuple \hyperlink{namespacetestupnpigd_a6f13179ea25ebaf086bd5e63e0e6dfde}{b}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{namespacetestupnpigd_a900188679e6d59d377233784f1647ff6}{
\index{testupnpigd@{testupnpigd}!list\_\-redirections@{list\_\-redirections}}
\index{list\_\-redirections@{list\_\-redirections}!testupnpigd@{testupnpigd}}
\subsubsection[{list\_\-redirections}]{\setlength{\rightskip}{0pt plus 5cm}def testupnpigd::list\_\-redirections (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{d2/d2c/namespacetestupnpigd_a900188679e6d59d377233784f1647ff6}


\subsection{Variable Documentation}
\hypertarget{namespacetestupnpigd_a6f13179ea25ebaf086bd5e63e0e6dfde}{
\index{testupnpigd@{testupnpigd}!b@{b}}
\index{b@{b}!testupnpigd@{testupnpigd}}
\subsubsection[{b}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf testupnpigd::b}}}
\label{d2/d2c/namespacetestupnpigd_a6f13179ea25ebaf086bd5e63e0e6dfde}
{\bfseries Initial value:}
\begin{DoxyCode}
1 u.addportmapping(eport, 'TCP', u.lanaddr, httpd.server_port,
2                             'UPnP IGD Tester port %u' % eport, '')
\end{DoxyCode}
\hypertarget{namespacetestupnpigd_a486bd4efa81b37943d5895087164cfb6}{
\index{testupnpigd@{testupnpigd}!eport@{eport}}
\index{eport@{eport}!testupnpigd@{testupnpigd}}
\subsubsection[{eport}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf testupnpigd::eport} = httpd.server\_\-port}}
\label{d2/d2c/namespacetestupnpigd_a486bd4efa81b37943d5895087164cfb6}
\hypertarget{namespacetestupnpigd_a1279231523e64348c9f6089728c22329}{
\index{testupnpigd@{testupnpigd}!externalipaddress@{externalipaddress}}
\index{externalipaddress@{externalipaddress}!testupnpigd@{testupnpigd}}
\subsubsection[{externalipaddress}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf testupnpigd::externalipaddress} = u.externalipaddress()}}
\label{d2/d2c/namespacetestupnpigd_a1279231523e64348c9f6089728c22329}
\hypertarget{namespacetestupnpigd_a52bbab243192a23fd8fa1f1e2be6af13}{
\index{testupnpigd@{testupnpigd}!httpd@{httpd}}
\index{httpd@{httpd}!testupnpigd@{testupnpigd}}
\subsubsection[{httpd}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf testupnpigd::httpd} = BaseHTTPServer.HTTPServer((u.lanaddr, 0), {\bf handler\_\-class})}}
\label{d2/d2c/namespacetestupnpigd_a52bbab243192a23fd8fa1f1e2be6af13}
\hypertarget{namespacetestupnpigd_add08197a033387c4cff46837ba22d358}{
\index{testupnpigd@{testupnpigd}!ndevices@{ndevices}}
\index{ndevices@{ndevices}!testupnpigd@{testupnpigd}}
\subsubsection[{ndevices}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf testupnpigd::ndevices} = u.discover()}}
\label{d2/d2c/namespacetestupnpigd_add08197a033387c4cff46837ba22d358}
\hypertarget{namespacetestupnpigd_abca197cce4460cc670b70734cb383d93}{
\index{testupnpigd@{testupnpigd}!r@{r}}
\index{r@{r}!testupnpigd@{testupnpigd}}
\subsubsection[{r}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf testupnpigd::r} = u.getspecificportmapping({\bf eport}, 'TCP')}}
\label{d2/d2c/namespacetestupnpigd_abca197cce4460cc670b70734cb383d93}
\hypertarget{namespacetestupnpigd_ac978ac4ae05030f192df4c007f938762}{
\index{testupnpigd@{testupnpigd}!u@{u}}
\index{u@{u}!testupnpigd@{testupnpigd}}
\subsubsection[{u}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf testupnpigd::u} = miniupnpc.UPnP()}}
\label{d2/d2c/namespacetestupnpigd_ac978ac4ae05030f192df4c007f938762}
