\hypertarget{if__cc_8c_source}{}\doxysection{if\+\_\+cc.\+c}
\label{if__cc_8c_source}\index{dev/cxgbe/if\_cc.c@{dev/cxgbe/if\_cc.c}}
\mbox{\hyperlink{if__cc_8c}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2016 Chelsio Communications, Inc.}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00003}00003 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00004}00004 \textcolor{comment}{ * Written by: Navdeep Parhar <np@FreeBSD.org>}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00005}00005 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00006}00006 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00007}00007 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00008}00008 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00009}00009 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00010}00010 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00011}00011 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00012}00012 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00013}00013 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00014}00014 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00015}00015 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00016}00016 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00017}00017 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00018}00018 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00019}00019 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00020}00020 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00021}00021 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00022}00022 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00023}00023 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00024}00024 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00025}00025 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00026}00026 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00028}00028 \textcolor{preprocessor}{\#include <sys/cdefs.h>}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00029}\mbox{\hyperlink{if__cc_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{00029}} \mbox{\hyperlink{if__cc_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\_\_FBSDID}}(\textcolor{stringliteral}{"{}\$FreeBSD\$"{}});}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00030}00030 }
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00031}00031 \textcolor{preprocessor}{\#include <sys/param.h>}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00032}00032 \textcolor{preprocessor}{\#include <sys/kernel.h>}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00033}00033 \textcolor{preprocessor}{\#include <sys/module.h>}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00035}00035 \textcolor{keyword}{static} \textcolor{keywordtype}{int}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00036}\mbox{\hyperlink{if__cc_8c_a317b8c878d25561278deb753317e7f47}{00036}} \mbox{\hyperlink{if__cc_8c_a317b8c878d25561278deb753317e7f47}{mod\_event}}(module\_t mod, \textcolor{keywordtype}{int} cmd, \textcolor{keywordtype}{void} *arg)}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00037}00037 \{}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00038}00038 }
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00039}00039         \textcolor{keywordflow}{return} (0);}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00040}00040 \}}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00041}\mbox{\hyperlink{if__cc_8c_afbda31660df2b41f203f70f308863cdf}{00041}} \textcolor{keyword}{static} moduledata\_t \mbox{\hyperlink{if__cc_8c_afbda31660df2b41f203f70f308863cdf}{if\_cc\_mod}} = \{\textcolor{stringliteral}{"{}if\_cc"{}}, \mbox{\hyperlink{if__cc_8c_a317b8c878d25561278deb753317e7f47}{mod\_event}}\};}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00042}\mbox{\hyperlink{if__cc_8c_a5aa73c6f1c6d08767b0d4042b78b0282}{00042}} \mbox{\hyperlink{if__cc_8c_a5aa73c6f1c6d08767b0d4042b78b0282}{DECLARE\_MODULE}}(if\_cc, \mbox{\hyperlink{if__cc_8c_afbda31660df2b41f203f70f308863cdf}{if\_cc\_mod}}, SI\_SUB\_EXEC, SI\_ORDER\_ANY);}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00043}\mbox{\hyperlink{if__cc_8c_a4cea9932cda3b715041e1ea736ef4cfc}{00043}} \mbox{\hyperlink{if__cc_8c_a4cea9932cda3b715041e1ea736ef4cfc}{MODULE\_VERSION}}(if\_cc, 1);}
\DoxyCodeLine{\Hypertarget{if__cc_8c_source_l00044}\mbox{\hyperlink{if__cc_8c_aa00ddb1e5e2bce25e893cf5b0dcdea5d}{00044}} \mbox{\hyperlink{if__cc_8c_aa00ddb1e5e2bce25e893cf5b0dcdea5d}{MODULE\_DEPEND}}(if\_cc, cc, 1, 1, 1);}

\end{DoxyCode}
