\hypertarget{ng__checksum_8h}{}\doxysection{netgraph/ng\+\_\+checksum.h File Reference}
\label{ng__checksum_8h}\index{netgraph/ng\_checksum.h@{netgraph/ng\_checksum.h}}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=219pt]{d8/d52/ng__checksum_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structng__checksum__config}{ng\+\_\+checksum\+\_\+config}}
\item 
struct \mbox{\hyperlink{structng__checksum__stats}{ng\+\_\+checksum\+\_\+stats}}
\item 
struct \mbox{\hyperlink{structng__checksum__vlan__header}{ng\+\_\+checksum\+\_\+vlan\+\_\+header}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_a077aa83dfbe073b054398e1c5f41eebb}{NG\+\_\+\+CHECKSUM\+\_\+\+NODE\+\_\+\+TYPE}}~\char`\"{}checksum\char`\"{}
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_a65cfbb64c85e3e67fef908ff46979a66}{NGM\+\_\+\+CHECKSUM\+\_\+\+COOKIE}}~439419912
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_a4c0fae970be0c575bfd2a66a7dd1e313}{NG\+\_\+\+CHECKSUM\+\_\+\+HOOK\+\_\+\+IN}}~\char`\"{}in\char`\"{}
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_a3349e755bacdd7f89d04799eecdeb255}{NG\+\_\+\+CHECKSUM\+\_\+\+HOOK\+\_\+\+OUT}}~\char`\"{}out\char`\"{}
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_a5e1d02664bdf26d22ad9b462de0e9567}{NG\+\_\+\+CHECKSUM\+\_\+\+CSUM\+\_\+\+IPV4}}~(CSUM\+\_\+\+IP$\vert$CSUM\+\_\+\+TCP$\vert$CSUM\+\_\+\+UDP)
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_a3cc1ed7691fcb587bbb29d26c6cf5a78}{NG\+\_\+\+CHECKSUM\+\_\+\+CSUM\+\_\+\+IPV6}}~(CSUM\+\_\+\+TCP\+\_\+\+IPV6$\vert$CSUM\+\_\+\+UDP\+\_\+\+IPV6)
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_adb3e655a68ac39ce26e48a74bf8d7026}{NG\+\_\+\+CHECKSUM\+\_\+\+CONFIG\+\_\+\+TYPE}}
\item 
\#define \mbox{\hyperlink{ng__checksum_8h_a50581e147675fc0254bcb380e02be461}{NG\+\_\+\+CHECKSUM\+\_\+\+STATS\+\_\+\+TYPE}}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ \newline
\mbox{\hyperlink{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a4f116b89c40df73d4fc25a153cedf2ec}{NGM\+\_\+\+CHECKSUM\+\_\+\+GETDLT}} = 1
, \mbox{\hyperlink{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a5ebbc81dee7930d593e7da9f2c9ef3be}{NGM\+\_\+\+CHECKSUM\+\_\+\+SETDLT}}
, \mbox{\hyperlink{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a0dd427f948be46f16b39e53802de3e5c}{NGM\+\_\+\+CHECKSUM\+\_\+\+GETCONFIG}}
, \mbox{\hyperlink{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a1ea70e101aded5e4eaf21431431c2b1f}{NGM\+\_\+\+CHECKSUM\+\_\+\+SETCONFIG}}
, \newline
\mbox{\hyperlink{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a77d9b2241852e1a02af8f712bcd01510}{NGM\+\_\+\+CHECKSUM\+\_\+\+GETCLR\+\_\+\+STATS}}
, \mbox{\hyperlink{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a42a65beb08f1ef38d87e2aa02e79609d}{NGM\+\_\+\+CHECKSUM\+\_\+\+GET\+\_\+\+STATS}}
, \mbox{\hyperlink{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a784dd5684456265688e17fba63009c07}{NGM\+\_\+\+CHECKSUM\+\_\+\+CLR\+\_\+\+STATS}}
 \}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{ng__checksum_8h_adb3e655a68ac39ce26e48a74bf8d7026}\label{ng__checksum_8h_adb3e655a68ac39ce26e48a74bf8d7026}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NG\_CHECKSUM\_CONFIG\_TYPE@{NG\_CHECKSUM\_CONFIG\_TYPE}}
\index{NG\_CHECKSUM\_CONFIG\_TYPE@{NG\_CHECKSUM\_CONFIG\_TYPE}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NG\_CHECKSUM\_CONFIG\_TYPE}{NG\_CHECKSUM\_CONFIG\_TYPE}}
{\footnotesize\ttfamily \#define NG\+\_\+\+CHECKSUM\+\_\+\+CONFIG\+\_\+\+TYPE}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{        \{                               \(\backslash\)}
\DoxyCodeLine{        \{ \textcolor{stringliteral}{"{}csum\_flags"{}},         \&\mbox{\hyperlink{ng__parse_8c_a2efc35331c0407f6367763b8bb9fda94}{ng\_parse\_uint64\_type}}       \},      \(\backslash\)}
\DoxyCodeLine{        \{ \textcolor{stringliteral}{"{}csum\_offload"{}},       \&\mbox{\hyperlink{ng__parse_8c_a2efc35331c0407f6367763b8bb9fda94}{ng\_parse\_uint64\_type}}       \},      \(\backslash\)}
\DoxyCodeLine{        \{ NULL \}                                                \(\backslash\)}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00059}{59}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

\mbox{\Hypertarget{ng__checksum_8h_a5e1d02664bdf26d22ad9b462de0e9567}\label{ng__checksum_8h_a5e1d02664bdf26d22ad9b462de0e9567}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NG\_CHECKSUM\_CSUM\_IPV4@{NG\_CHECKSUM\_CSUM\_IPV4}}
\index{NG\_CHECKSUM\_CSUM\_IPV4@{NG\_CHECKSUM\_CSUM\_IPV4}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NG\_CHECKSUM\_CSUM\_IPV4}{NG\_CHECKSUM\_CSUM\_IPV4}}
{\footnotesize\ttfamily \#define NG\+\_\+\+CHECKSUM\+\_\+\+CSUM\+\_\+\+IPV4~(CSUM\+\_\+\+IP$\vert$CSUM\+\_\+\+TCP$\vert$CSUM\+\_\+\+UDP)}



Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00043}{43}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

\mbox{\Hypertarget{ng__checksum_8h_a3cc1ed7691fcb587bbb29d26c6cf5a78}\label{ng__checksum_8h_a3cc1ed7691fcb587bbb29d26c6cf5a78}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NG\_CHECKSUM\_CSUM\_IPV6@{NG\_CHECKSUM\_CSUM\_IPV6}}
\index{NG\_CHECKSUM\_CSUM\_IPV6@{NG\_CHECKSUM\_CSUM\_IPV6}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NG\_CHECKSUM\_CSUM\_IPV6}{NG\_CHECKSUM\_CSUM\_IPV6}}
{\footnotesize\ttfamily \#define NG\+\_\+\+CHECKSUM\+\_\+\+CSUM\+\_\+\+IPV6~(CSUM\+\_\+\+TCP\+\_\+\+IPV6$\vert$CSUM\+\_\+\+UDP\+\_\+\+IPV6)}



Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00044}{44}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

\mbox{\Hypertarget{ng__checksum_8h_a4c0fae970be0c575bfd2a66a7dd1e313}\label{ng__checksum_8h_a4c0fae970be0c575bfd2a66a7dd1e313}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NG\_CHECKSUM\_HOOK\_IN@{NG\_CHECKSUM\_HOOK\_IN}}
\index{NG\_CHECKSUM\_HOOK\_IN@{NG\_CHECKSUM\_HOOK\_IN}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NG\_CHECKSUM\_HOOK\_IN}{NG\_CHECKSUM\_HOOK\_IN}}
{\footnotesize\ttfamily \#define NG\+\_\+\+CHECKSUM\+\_\+\+HOOK\+\_\+\+IN~\char`\"{}in\char`\"{}}



Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00039}{39}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

\mbox{\Hypertarget{ng__checksum_8h_a3349e755bacdd7f89d04799eecdeb255}\label{ng__checksum_8h_a3349e755bacdd7f89d04799eecdeb255}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NG\_CHECKSUM\_HOOK\_OUT@{NG\_CHECKSUM\_HOOK\_OUT}}
\index{NG\_CHECKSUM\_HOOK\_OUT@{NG\_CHECKSUM\_HOOK\_OUT}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NG\_CHECKSUM\_HOOK\_OUT}{NG\_CHECKSUM\_HOOK\_OUT}}
{\footnotesize\ttfamily \#define NG\+\_\+\+CHECKSUM\+\_\+\+HOOK\+\_\+\+OUT~\char`\"{}out\char`\"{}}



Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00040}{40}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

\mbox{\Hypertarget{ng__checksum_8h_a077aa83dfbe073b054398e1c5f41eebb}\label{ng__checksum_8h_a077aa83dfbe073b054398e1c5f41eebb}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NG\_CHECKSUM\_NODE\_TYPE@{NG\_CHECKSUM\_NODE\_TYPE}}
\index{NG\_CHECKSUM\_NODE\_TYPE@{NG\_CHECKSUM\_NODE\_TYPE}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NG\_CHECKSUM\_NODE\_TYPE}{NG\_CHECKSUM\_NODE\_TYPE}}
{\footnotesize\ttfamily \#define NG\+\_\+\+CHECKSUM\+\_\+\+NODE\+\_\+\+TYPE~\char`\"{}checksum\char`\"{}}



Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00033}{33}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

\mbox{\Hypertarget{ng__checksum_8h_a50581e147675fc0254bcb380e02be461}\label{ng__checksum_8h_a50581e147675fc0254bcb380e02be461}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NG\_CHECKSUM\_STATS\_TYPE@{NG\_CHECKSUM\_STATS\_TYPE}}
\index{NG\_CHECKSUM\_STATS\_TYPE@{NG\_CHECKSUM\_STATS\_TYPE}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NG\_CHECKSUM\_STATS\_TYPE}{NG\_CHECKSUM\_STATS\_TYPE}}
{\footnotesize\ttfamily \#define NG\+\_\+\+CHECKSUM\+\_\+\+STATS\+\_\+\+TYPE}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{        \{                               \(\backslash\)}
\DoxyCodeLine{        \{ \textcolor{stringliteral}{"{}Received"{}},           \&\mbox{\hyperlink{ng__parse_8c_a2efc35331c0407f6367763b8bb9fda94}{ng\_parse\_uint64\_type}}       \},      \(\backslash\)}
\DoxyCodeLine{        \{ \textcolor{stringliteral}{"{}Processed"{}},          \&\mbox{\hyperlink{ng__parse_8c_a2efc35331c0407f6367763b8bb9fda94}{ng\_parse\_uint64\_type}}       \},      \(\backslash\)}
\DoxyCodeLine{        \{ \textcolor{stringliteral}{"{}Dropped"{}},            \&\mbox{\hyperlink{ng__parse_8c_a2efc35331c0407f6367763b8bb9fda94}{ng\_parse\_uint64\_type}}       \},      \(\backslash\)}
\DoxyCodeLine{        \{ NULL \}                                        \(\backslash\)}
\DoxyCodeLine{\}}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00065}{65}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

\mbox{\Hypertarget{ng__checksum_8h_a65cfbb64c85e3e67fef908ff46979a66}\label{ng__checksum_8h_a65cfbb64c85e3e67fef908ff46979a66}} 
\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_COOKIE@{NGM\_CHECKSUM\_COOKIE}}
\index{NGM\_CHECKSUM\_COOKIE@{NGM\_CHECKSUM\_COOKIE}!ng\_checksum.h@{ng\_checksum.h}}
\doxysubsubsection{\texorpdfstring{NGM\_CHECKSUM\_COOKIE}{NGM\_CHECKSUM\_COOKIE}}
{\footnotesize\ttfamily \#define NGM\+\_\+\+CHECKSUM\+\_\+\+COOKIE~439419912}



Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00036}{36}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.



\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4}} 
\doxysubsubsection{\texorpdfstring{anonymous enum}{anonymous enum}}
{\footnotesize\ttfamily anonymous enum}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{NGM\_CHECKSUM\_GETDLT@{NGM\_CHECKSUM\_GETDLT}!ng\_checksum.h@{ng\_checksum.h}}\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_GETDLT@{NGM\_CHECKSUM\_GETDLT}}}\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a4f116b89c40df73d4fc25a153cedf2ec}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a4f116b89c40df73d4fc25a153cedf2ec}} 
NGM\+\_\+\+CHECKSUM\+\_\+\+GETDLT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NGM\_CHECKSUM\_SETDLT@{NGM\_CHECKSUM\_SETDLT}!ng\_checksum.h@{ng\_checksum.h}}\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_SETDLT@{NGM\_CHECKSUM\_SETDLT}}}\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a5ebbc81dee7930d593e7da9f2c9ef3be}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a5ebbc81dee7930d593e7da9f2c9ef3be}} 
NGM\+\_\+\+CHECKSUM\+\_\+\+SETDLT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NGM\_CHECKSUM\_GETCONFIG@{NGM\_CHECKSUM\_GETCONFIG}!ng\_checksum.h@{ng\_checksum.h}}\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_GETCONFIG@{NGM\_CHECKSUM\_GETCONFIG}}}\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a0dd427f948be46f16b39e53802de3e5c}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a0dd427f948be46f16b39e53802de3e5c}} 
NGM\+\_\+\+CHECKSUM\+\_\+\+GETCONFIG&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NGM\_CHECKSUM\_SETCONFIG@{NGM\_CHECKSUM\_SETCONFIG}!ng\_checksum.h@{ng\_checksum.h}}\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_SETCONFIG@{NGM\_CHECKSUM\_SETCONFIG}}}\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a1ea70e101aded5e4eaf21431431c2b1f}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a1ea70e101aded5e4eaf21431431c2b1f}} 
NGM\+\_\+\+CHECKSUM\+\_\+\+SETCONFIG&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NGM\_CHECKSUM\_GETCLR\_STATS@{NGM\_CHECKSUM\_GETCLR\_STATS}!ng\_checksum.h@{ng\_checksum.h}}\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_GETCLR\_STATS@{NGM\_CHECKSUM\_GETCLR\_STATS}}}\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a77d9b2241852e1a02af8f712bcd01510}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a77d9b2241852e1a02af8f712bcd01510}} 
NGM\+\_\+\+CHECKSUM\+\_\+\+GETCLR\+\_\+\+STATS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NGM\_CHECKSUM\_GET\_STATS@{NGM\_CHECKSUM\_GET\_STATS}!ng\_checksum.h@{ng\_checksum.h}}\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_GET\_STATS@{NGM\_CHECKSUM\_GET\_STATS}}}\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a42a65beb08f1ef38d87e2aa02e79609d}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a42a65beb08f1ef38d87e2aa02e79609d}} 
NGM\+\_\+\+CHECKSUM\+\_\+\+GET\+\_\+\+STATS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NGM\_CHECKSUM\_CLR\_STATS@{NGM\_CHECKSUM\_CLR\_STATS}!ng\_checksum.h@{ng\_checksum.h}}\index{ng\_checksum.h@{ng\_checksum.h}!NGM\_CHECKSUM\_CLR\_STATS@{NGM\_CHECKSUM\_CLR\_STATS}}}\mbox{\Hypertarget{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a784dd5684456265688e17fba63009c07}\label{ng__checksum_8h_a4caf8d8f829279fba122163d961608a4a784dd5684456265688e17fba63009c07}} 
NGM\+\_\+\+CHECKSUM\+\_\+\+CLR\+\_\+\+STATS&\\
\hline

\end{DoxyEnumFields}


Definition at line \mbox{\hyperlink{ng__checksum_8h_source_l00047}{47}} of file \mbox{\hyperlink{ng__checksum_8h_source}{ng\+\_\+checksum.\+h}}.

