<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16"> <compounddef id="ethernetif_8h" kind="file" language="C++"> <compoundname>ethernetif.h</compoundname> <includedby refid="net_2init_8c" local="no">C:/Dev/git/UbixOS/sys/net/net/init.c</includedby> <invincdepgraph> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/netif/ethernetif.h</label> <link refid="ethernetif_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/net/net/init.c</label> <link refid="net_2init_8c"/> </node> </invincdepgraph> <sectiondef kind="func"> <memberdef kind="function" id="ethernetif_8h_1a7ce979d0ec31575ecf17998b7bd9abb2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="group__infrastructure__errors_1gaf02d9da80fd66b4f986d2c53d7231ddb" kindref="member">err_t</ref></type> <definition>err_t ethernetif_init</definition> <argsstring>(struct netif *netif)</argsstring> <name>ethernetif_init</name> <param> <type>struct <ref refid="structnetif" kindref="compound">netif</ref> *</type> <declname>netif</declname> </param> <briefdescription> </briefdescription> <detaileddescription> <para>Should be called at the beginning of the program to set up the network interface. It calls the function low_level_init() to do the actual setup of the hardware.</para> <para>This function should be passed as a parameter to <ref refid="group__netif_1ga66970b5877dd6b0cae906bfa78d0cb4c" kindref="member">netif_add()</ref>.</para> <para><parameterlist kind="param"><parameteritem> <parameternamelist> <parametername>netif</parametername> </parameternamelist> <parameterdescription> <para>the lwip network interface structure for this ethernetif </para> </parameterdescription> </parameteritem> </parameterlist> <simplesect kind="return"><para>ERR_OK if the loopif is initialized ERR_MEM if private data couldn't be allocated any other err_t on error </para> </simplesect> </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/netif/ethernetif.h" line="1" column="7" bodyfile="C:/Dev/git/UbixOS/sys/net/netif/ethernetif.c" bodystart="302" bodyend="344" declfile="C:/Dev/git/UbixOS/sys/include/netif/ethernetif.h" declline="1" declcolumn="7"/> <references refid="group__infrastructure__errors_1ggae2e66c7d13afc90ffecd6151680fbadcaaaeafdbf3aecc46864daa3cd829c7e05" compoundref="err_8h" startline="65">ERR_MEM</references> <references refid="ethernetif_8c_1acd9e3df20507d5f895e80477aef74555" compoundref="ethernetif_8c" startline="60">IFNAME0</references> <references refid="ethernetif_8c_1a43b130296861cb255f1ad5b8c3787fd1" compoundref="ethernetif_8c" startline="61">IFNAME1</references> <references refid="structnetif_1acaaac9b415a7be73eb8a287c8ed18a8d" compoundref="netif_8h" startline="263">netif::linkoutput</references> <references refid="debug_8h_1a94ad086267808462beae2b38f91996ed" compoundref="debug_8h" startline="116">LWIP_ASSERT</references> <references refid="debug_8h_1a63a04edf7ff63c951bd8706711956cdb" compoundref="debug_8h" startline="164">LWIP_DEBUGF</references> <references refid="mem_8h_1a932aa40d85b14cb7331625e012d12335" compoundref="mem_8c" startline="603" endline="742">mem_malloc</references> <references refid="structnetif_1a32fca6ffd28bb9af3f891a378827a67e" compoundref="netif_8h" startline="315">netif::name</references> <references refid="lwipopts_8h_1a2dfad02b075a7f9a8791a66fe40864a4" compoundref="lwipopts_8h" startline="433">NETIF_DEBUG</references> <references refid="fat__string_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="fat__string_8h" startline="17">NULL</references> <references refid="structnetif_1a809cc57c0dff09c5c9ae45b02c2002f3" compoundref="netif_8h" startline="287">netif::state</references> <referencedby refid="net_2init_8c_1a22b2914249628f6cba7d4e1f138c969f" compoundref="net_2init_8c" startline="52" endline="70">net_init</referencedby> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="normal"><ref refid="group__infrastructure__errors_1gaf02d9da80fd66b4f986d2c53d7231ddb" kindref="member">err_t</ref><sp/><ref refid="ethernetif_8h_1a7ce979d0ec31575ecf17998b7bd9abb2" kindref="member">ethernetif_init</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structnetif" kindref="compound">netif</ref><sp/>*<ref refid="structnetif" kindref="compound">netif</ref>);</highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/netif/ethernetif.h"/> </compounddef> </doxygen>