\hypertarget{vmci__driver_8h_source}{}\doxysection{vmci\+\_\+driver.\+h}
\label{vmci__driver_8h_source}\index{dev/vmware/vmci/vmci\_driver.h@{dev/vmware/vmci/vmci\_driver.h}}
\mbox{\hyperlink{vmci__driver_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2018 VMware, Inc.}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00004}00004 \textcolor{comment}{ * SPDX-\/License-\/Identifier: (BSD-\/2-\/Clause OR GPL-\/2.0)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00005}00005 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00006}00006 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00007}00007 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00008}00008 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00009}00009 \textcolor{comment}{/* VMCI driver interface. */}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00010}00010 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00011}00011 \textcolor{preprocessor}{\#ifndef \_VMCI\_DRIVER\_H\_}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00012}00012 \textcolor{preprocessor}{\#define \_VMCI\_DRIVER\_H\_}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00013}00013 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00014}00014 \textcolor{preprocessor}{\#include <sys/types.h>}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00015}00015 \textcolor{preprocessor}{\#include <sys/syslog.h>}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00016}00016 \textcolor{preprocessor}{\#include <sys/systm.h>}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00017}00017 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00018}00018 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{vmci__call__defs_8h}{vmci\_call\_defs.h}}"{}}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00019}00019 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{vmci__kernel__if_8h}{vmci\_kernel\_if.h}}"{}}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00020}00020 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00021}00021 \textcolor{preprocessor}{\#ifndef VMCI\_DEBUG\_LOGGING}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00022}\mbox{\hyperlink{vmci__driver_8h_a8e60ca0470e688672776d78a9ba22697}{00022}} \textcolor{preprocessor}{\#define VMCI\_LOG\_DEBUG(\_args, ...)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00023}00023 \textcolor{preprocessor}{\#else }\textcolor{comment}{/* VMCI\_DEBUG\_LOGGING */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00024}00024 \textcolor{preprocessor}{\#define VMCI\_LOG\_DEBUG(\_args, ...)                                      \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00025}00025 \textcolor{preprocessor}{        log(LOG\_DEBUG, \_args, \#\#\_\_VA\_ARGS\_\_)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00026}00026 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* !VMCI\_DEBUG\_LOGGING */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00027}\mbox{\hyperlink{vmci__driver_8h_ade38bdd262f83637d6bacaec257ce731}{00027}} \textcolor{preprocessor}{\#define VMCI\_LOG\_INFO(\_args, ...)                                       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00028}00028 \textcolor{preprocessor}{        log(LOG\_INFO, \_args, \#\#\_\_VA\_ARGS\_\_)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00029}\mbox{\hyperlink{vmci__driver_8h_a49def32978800979f556907bcdd3a746}{00029}} \textcolor{preprocessor}{\#define VMCI\_LOG\_WARNING(\_args, ...)                                    \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00030}00030 \textcolor{preprocessor}{        log(LOG\_WARNING, \_args, \#\#\_\_VA\_ARGS\_\_)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00031}\mbox{\hyperlink{vmci__driver_8h_a96c2539184ecd77ae6dd6cb868493c94}{00031}} \textcolor{preprocessor}{\#define VMCI\_LOG\_ERROR(\_args, ...)                                      \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00032}00032 \textcolor{preprocessor}{        log(LOG\_ERR, \_args, \#\#\_\_VA\_ARGS\_\_)}}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00033}00033 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00034}00034 \textcolor{keywordtype}{int}     \mbox{\hyperlink{vmci__driver_8h_a814e7a1d21c6d52d2cade5d3c13c3f8a}{vmci\_components\_init}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00035}00035 \textcolor{keywordtype}{void}    \mbox{\hyperlink{vmci__driver_8h_ab0e4f326a9b26f59d3d556a8de59de8d}{vmci\_components\_cleanup}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00036}00036 \textcolor{keywordtype}{int}     \mbox{\hyperlink{vmci__driver_8h_a856fbe17560b2419da1e495a3232dd5c}{vmci\_send\_datagram}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structvmci__datagram}{vmci\_datagram}} *dg);}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00037}00037 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00038}00038 \textcolor{keywordtype}{void}    \mbox{\hyperlink{vmci__driver_8h_aa4d83f7787406802cc2bc8bcb1045629}{vmci\_util\_init}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00039}00039 \textcolor{keywordtype}{void}    \mbox{\hyperlink{vmci__driver_8h_a1d050f08dd26dafa525fb633cbf116b1}{vmci\_util\_exit}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00040}00040 \textcolor{keywordtype}{bool}    \mbox{\hyperlink{vmci__driver_8h_a792a6cfb9acfb7c586a213c3a8e4a2f4}{vmci\_check\_host\_capabilities}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00041}00041 \textcolor{keywordtype}{void}    \mbox{\hyperlink{vmci__driver_8h_adcd74cd44278fecc3b101628243ec615}{vmci\_read\_datagrams\_from\_port}}(\mbox{\hyperlink{vmci__kernel__if_8h_a49048fd1e8f34d2dbd908c015b59b9ec}{vmci\_io\_handle}} io\_handle,}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00042}00042             \mbox{\hyperlink{vmci__kernel__if_8h_afeddad7af116207ee6a0371ca5b65a94}{vmci\_io\_port}} dg\_in\_port, uint8\_t *dg\_in\_buffer,}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00043}00043             \textcolor{keywordtype}{size\_t} dg\_in\_buffer\_size);}
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00044}00044 }
\DoxyCodeLine{\Hypertarget{vmci__driver_8h_source_l00045}00045 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* !\_VMCI\_DRIVER\_H\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
