\doxysection{src/ss7\+\_\+qos\+\_\+class.h File Reference}
\label{ss7__qos__class_8h}\index{src/ss7\_qos\_class.h@{src/ss7\_qos\_class.h}}
{\ttfamily \#include \char`\"{}ss7\+\_\+instance.\+h\char`\"{}}\newline
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ss7\+\_\+qos\+\_\+class}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$ \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+find} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, uint8\+\_\+t qos\+\_\+class)
\begin{DoxyCompactList}\small\item\em Find QoS Class. \end{DoxyCompactList}\item 
struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$ \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+create} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, uint8\+\_\+t qos\+\_\+class, uint8\+\_\+t ip\+\_\+dscp)
\begin{DoxyCompactList}\small\item\em Create QoS Class. \end{DoxyCompactList}\item 
void \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+destroy} (struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$qos)
\begin{DoxyCompactList}\small\item\em Delete QoS Class. \end{DoxyCompactList}\item 
struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$ \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+find\+\_\+or\+\_\+create} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, uint8\+\_\+t qos\+\_\+class, uint8\+\_\+t ip\+\_\+dscp)
\begin{DoxyCompactList}\small\item\em Find or Create QoS Class. \end{DoxyCompactList}\item 
void \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+update} (struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$qos)
\begin{DoxyCompactList}\small\item\em Update sockets of all ASPs and x\+UA Servers that use this QoS class. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\label{ss7__qos__class_8h_ad7c49f9bd523990e52d98e7b70d8cfe2}} 
\index{ss7\_qos\_class.h@{ss7\_qos\_class.h}!ss7\_qos\_class\_create@{ss7\_qos\_class\_create}}
\index{ss7\_qos\_class\_create@{ss7\_qos\_class\_create}!ss7\_qos\_class.h@{ss7\_qos\_class.h}}
\doxysubsubsection{ss7\_qos\_class\_create()}
{\footnotesize\ttfamily struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$ ss7\+\_\+qos\+\_\+class\+\_\+create (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst,  }\item[{uint8\+\_\+t}]{qos\+\_\+class,  }\item[{uint8\+\_\+t}]{ip\+\_\+dscp }\end{DoxyParamCaption})}



Create QoS Class. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SS7 Instance on which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em qos\+\_\+class} & Id of QoS class \\
\hline
\mbox{\texttt{ in}}  & {\em ip\+\_\+dscp} & IP DSCP \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to a QoS class instance on success; NULL otherwise 
\end{DoxyReturn}


References \textbf{ ss7\+\_\+qos\+\_\+class\+::inst}, \textbf{ ss7\+\_\+qos\+\_\+class\+::ip\+\_\+dscp}, \textbf{ ss7\+\_\+qos\+\_\+class\+::list}, \textbf{ NULL}, \textbf{ ss7\+\_\+qos\+\_\+class\+::qos\+\_\+class}, and \textbf{ osmo\+\_\+ss7\+\_\+instance\+::qos\+\_\+class\+\_\+list}.



Referenced by \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+find\+\_\+or\+\_\+create()}.

\mbox{\label{ss7__qos__class_8h_aed0de26eefabaec9fd910e3d7d4a58fc}} 
\index{ss7\_qos\_class.h@{ss7\_qos\_class.h}!ss7\_qos\_class\_destroy@{ss7\_qos\_class\_destroy}}
\index{ss7\_qos\_class\_destroy@{ss7\_qos\_class\_destroy}!ss7\_qos\_class.h@{ss7\_qos\_class.h}}
\doxysubsubsection{ss7\_qos\_class\_destroy()}
{\footnotesize\ttfamily void ss7\+\_\+qos\+\_\+class\+\_\+destroy (\begin{DoxyParamCaption}\item[{struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$}]{qos }\end{DoxyParamCaption})}



Delete QoS Class. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em QoS} & class instance to delete \\
\hline
\end{DoxyParams}


References \textbf{ osmo\+\_\+ss7\+\_\+instance\+::asp\+\_\+list}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::cfg}, \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}, \textbf{ ss7\+\_\+qos\+\_\+class\+::inst}, \textbf{ osmo\+\_\+xua\+\_\+server\+::inst}, \textbf{ ss7\+\_\+qos\+\_\+class\+::list}, \textbf{ osmo\+\_\+xua\+\_\+server\+::list}, \textbf{ NULL}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::qos}, \textbf{ osmo\+\_\+xua\+\_\+server\+::qos}, \textbf{ ss7\+\_\+asp\+\_\+apply\+\_\+qos\+\_\+class()}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+ip\+\_\+dscp()}, and \textbf{ osmo\+\_\+ss7\+\_\+instance\+::xua\+\_\+servers}.



Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}, and \textbf{ osmo\+\_\+ss7\+\_\+instance\+\_\+destroy()}.

\mbox{\label{ss7__qos__class_8h_a8744bbcb2be85ffdca0347ba17f69b5b}} 
\index{ss7\_qos\_class.h@{ss7\_qos\_class.h}!ss7\_qos\_class\_find@{ss7\_qos\_class\_find}}
\index{ss7\_qos\_class\_find@{ss7\_qos\_class\_find}!ss7\_qos\_class.h@{ss7\_qos\_class.h}}
\doxysubsubsection{ss7\_qos\_class\_find()}
{\footnotesize\ttfamily struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$ ss7\+\_\+qos\+\_\+class\+\_\+find (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst,  }\item[{uint8\+\_\+t}]{qos\+\_\+class }\end{DoxyParamCaption})}



Find QoS Class. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SS7 Instance on which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em qos\+\_\+class} & Id of QoS class \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to a QoS class instance on success; NULL otherwise 
\end{DoxyReturn}


References \textbf{ ss7\+\_\+qos\+\_\+class\+::inst}, \textbf{ ss7\+\_\+qos\+\_\+class\+::list}, \textbf{ NULL}, \textbf{ ss7\+\_\+qos\+\_\+class\+::qos\+\_\+class}, and \textbf{ osmo\+\_\+ss7\+\_\+instance\+::qos\+\_\+class\+\_\+list}.



Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}, and \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+find\+\_\+or\+\_\+create()}.

\mbox{\label{ss7__qos__class_8h_a12cfcc933008d5619349e0e3780a1a55}} 
\index{ss7\_qos\_class.h@{ss7\_qos\_class.h}!ss7\_qos\_class\_find\_or\_create@{ss7\_qos\_class\_find\_or\_create}}
\index{ss7\_qos\_class\_find\_or\_create@{ss7\_qos\_class\_find\_or\_create}!ss7\_qos\_class.h@{ss7\_qos\_class.h}}
\doxysubsubsection{ss7\_qos\_class\_find\_or\_create()}
{\footnotesize\ttfamily struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$ ss7\+\_\+qos\+\_\+class\+\_\+find\+\_\+or\+\_\+create (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst,  }\item[{uint8\+\_\+t}]{qos\+\_\+class,  }\item[{uint8\+\_\+t}]{ip\+\_\+dscp }\end{DoxyParamCaption})}



Find or Create QoS Class. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SS7 Instance on which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em qos\+\_\+class} & Id of QoS class \\
\hline
\mbox{\texttt{ in}}  & {\em ip\+\_\+dscp} & IP DSCP \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to a QoS class instance on success; NULL otherwise 
\end{DoxyReturn}


References \textbf{ ss7\+\_\+qos\+\_\+class\+::inst}, \textbf{ ss7\+\_\+qos\+\_\+class\+::ip\+\_\+dscp}, \textbf{ ss7\+\_\+qos\+\_\+class\+::qos\+\_\+class}, \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+create()}, and \textbf{ ss7\+\_\+qos\+\_\+class\+\_\+find()}.



Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}.

\mbox{\label{ss7__qos__class_8h_af284e7384e59f946bf53a391329fce94}} 
\index{ss7\_qos\_class.h@{ss7\_qos\_class.h}!ss7\_qos\_class\_update@{ss7\_qos\_class\_update}}
\index{ss7\_qos\_class\_update@{ss7\_qos\_class\_update}!ss7\_qos\_class.h@{ss7\_qos\_class.h}}
\doxysubsubsection{ss7\_qos\_class\_update()}
{\footnotesize\ttfamily void ss7\+\_\+qos\+\_\+class\+\_\+update (\begin{DoxyParamCaption}\item[{struct \textbf{ ss7\+\_\+qos\+\_\+class} $\ast$}]{qos }\end{DoxyParamCaption})}



Update sockets of all ASPs and x\+UA Servers that use this QoS class. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em QoS} & class instance to update \\
\hline
\end{DoxyParams}


References \textbf{ osmo\+\_\+ss7\+\_\+instance\+::asp\+\_\+list}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::cfg}, \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}, \textbf{ ss7\+\_\+qos\+\_\+class\+::inst}, \textbf{ osmo\+\_\+xua\+\_\+server\+::inst}, \textbf{ osmo\+\_\+xua\+\_\+server\+::list}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::qos}, \textbf{ osmo\+\_\+xua\+\_\+server\+::qos}, \textbf{ ss7\+\_\+asp\+\_\+apply\+\_\+qos\+\_\+class()}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+ip\+\_\+dscp()}, and \textbf{ osmo\+\_\+ss7\+\_\+instance\+::xua\+\_\+servers}.



Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}.

