<?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="def_8h" kind="file" language="C++"> <compoundname>def.h</compoundname> <includes refid="arch_8h" local="no">net/arch.h</includes> <includes refid="opt_8h" local="no">net/opt.h</includes> <includedby refid="inet_8h" local="no">C:/Dev/git/UbixOS/sys/include/net/inet.h</includedby> <includedby refid="ip_8h" local="yes">C:/Dev/git/UbixOS/sys/include/net/ip.h</includedby> <includedby refid="ip4__addr_8h" local="no">C:/Dev/git/UbixOS/sys/include/net/ip4_addr.h</includedby> <includedby refid="ip6__addr_8h" local="no">C:/Dev/git/UbixOS/sys/include/net/ip6_addr.h</includedby> <includedby refid="ip__addr_8h" local="no">C:/Dev/git/UbixOS/sys/include/net/ip_addr.h</includedby> <includedby refid="netif_8h" local="no">C:/Dev/git/UbixOS/sys/include/net/netif.h</includedby> <includedby refid="err_8c" local="no">C:/Dev/git/UbixOS/sys/net/api/err.c</includedby> <includedby refid="def_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/def.c</includedby> <includedby refid="inet__chksum_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/inet_chksum.c</includedby> <includedby refid="mem_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/mem.c</includedby> <includedby refid="netif_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/netif.c</includedby> <includedby refid="pbuf_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/pbuf.c</includedby> <includedby refid="timeouts_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/timeouts.c</includedby> <includedby refid="bot_8c" local="yes">C:/Dev/git/UbixOS/sys/net/net/bot.c</includedby> <includedby refid="shell_8c" local="yes">C:/Dev/git/UbixOS/sys/net/net/shell.c</includedby> <includedby refid="ethernetif_8c" local="yes">C:/Dev/git/UbixOS/sys/net/netif/ethernetif.c</includedby> <incdepgraph> <node id="14"> <label>stdarg.h</label> <link refid="stdarg_8h"/> </node> <node id="15"> <label>ubixos/kpanic.h</label> <link refid="kpanic_8h"/> </node> <node id="12"> <label>sys/io.h</label> <link refid="io_8h"/> </node> <node id="5"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> </node> <node id="10"> <label>net/arch/cc.h</label> <link refid="cc_8h"/> <childnode refid="11" relation="include"> </childnode> </node> <node id="9"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="4" relation="include"> </childnode> </node> <node id="17"> <label>net/lwipopts.h</label> <link refid="lwipopts_8h"/> </node> <node id="3"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/net/def.h</label> <link refid="def_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> </node> <node id="2"> <label>net/arch.h</label> <link refid="arch_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> </node> <node id="16"> <label>net/opt.h</label> <link refid="opt_8h"/> <childnode refid="17" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> </node> <node id="13"> <label>lib/kprintf.h</label> <link refid="kprintf_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> </node> <node id="18"> <label>net/debug.h</label> <link refid="debug_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> </node> <node id="6"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="11"> <label>ubixos/time.h</label> <link refid="time_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> </node> <node id="4"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="7"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="4" relation="include"> </childnode> </node> <node id="8"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="4" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="10"> <label>C:/Dev/git/UbixOS/sys/net/core/ipv6/ip6_frag.c</label> <link refid="ip6__frag_8c"/> </node> <node id="15"> <label>C:/Dev/git/UbixOS/sys/include/net/igmp.h</label> <link refid="igmp_8h"/> <childnode refid="9" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> </node> <node id="57"> <label>C:/Dev/git/UbixOS/sys/lib/ogprintf.cc</label> <link refid="ogprintf_8cc"/> </node> <node id="38"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c</label> <link refid="block_8c"/> </node> <node id="17"> <label>C:/Dev/git/UbixOS/sys/net/core/inet_chksum.c</label> <link refid="inet__chksum_8c"/> </node> <node id="83"> <label>C:/Dev/git/UbixOS/sys/net/net/bot.c</label> <link refid="bot_8c"/> </node> <node id="80"> <label>C:/Dev/git/UbixOS/sys/net/core/def.c</label> <link refid="def_8c"/> </node> <node id="58"> <label>C:/Dev/git/UbixOS/sys/sde/colours.cc</label> <link refid="colours_8cc"/> </node> <node id="23"> <label>C:/Dev/git/UbixOS/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="81"> <label>C:/Dev/git/UbixOS/sys/net/core/mem.c</label> <link refid="mem_8c"/> </node> <node id="39"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/dirCache.c</label> <link refid="dirCache_8c"/> </node> <node id="45"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/fork.c</label> <link refid="armv6_2fork_8c"/> </node> <node id="60"> <label>C:/Dev/git/UbixOS/sys/sde/sde.cc</label> <link refid="sde_8cc"/> </node> <node id="59"> <label>C:/Dev/git/UbixOS/sys/sde/main.cc</label> <link refid="main_8cc"/> </node> <node id="32"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/inode.c</label> <link refid="inode_8c"/> </node> <node id="50"> <label>C:/Dev/git/UbixOS/sys/isa/atkbd.c</label> <link refid="atkbd_8c"/> </node> <node id="8"> <label>C:/Dev/git/UbixOS/sys/net/api/tcpip.c</label> <link refid="tcpip_8c"/> </node> <node id="73"> <label>C:/Dev/git/UbixOS/sys/include/netif/slipif.h</label> <link refid="slipif_8h"/> </node> <node id="26"> <label>C:/Dev/git/UbixOS/sys/fs/fat/fat.c</label> <link refid="fat_8c"/> </node> <node id="21"> <label>C:/Dev/git/UbixOS/sys/include/net/net.h</label> <link refid="net_8h"/> <childnode refid="22" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="66" relation="include"> </childnode> </node> <node id="31"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/file.c</label> <link refid="file_8c"/> </node> <node id="14"> <label>C:/Dev/git/UbixOS/sys/include/net/icmp.h</label> <link refid="icmp_8h"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/include/net/inet.h</label> <link refid="inet_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="40"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c</label> <link refid="directory_8c"/> </node> <node id="19"> <label>C:/Dev/git/UbixOS/sys/include/net/icmp6.h</label> <link refid="icmp6_8h"/> <childnode refid="10" relation="include"> </childnode> </node> <node id="34"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/vfs.c</label> <link refid="vfs_8c"/> </node> <node id="74"> <label>C:/Dev/git/UbixOS/sys/include/net/snmp.h</label> <link refid="snmp_8h"/> <childnode refid="11" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> </node> <node id="79"> <label>C:/Dev/git/UbixOS/sys/net/api/err.c</label> <link refid="err_8c"/> </node> <node id="52"> <label>C:/Dev/git/UbixOS/sys/kernel/endtask.c</label> <link refid="endtask_8c"/> </node> <node id="66"> <label>C:/Dev/git/UbixOS/sys/pci/lnc.c</label> <link refid="lnc_8c"/> </node> <node id="65"> <label>C:/Dev/git/UbixOS/sys/kmods/kmod.c</label> <link refid="kmod_8c"/> </node> <node id="36"> <label>C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="37" relation="include"> </childnode> <childnode refid="38" relation="include"> </childnode> <childnode refid="39" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="41" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> </node> <node id="68"> <label>C:/Dev/git/UbixOS/sys/include/net/priv/tcpip_priv.h</label> <link refid="tcpip__priv_8h"/> <childnode refid="8" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> </node> <node id="51"> <label>C:/Dev/git/UbixOS/sys/isa/ne2k.c</label> <link refid="ne2k_8c"/> </node> <node id="44"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/vitals.h</label> <link refid="vitals_8h"/> <childnode refid="45" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> <childnode refid="46" relation="include"> </childnode> <childnode refid="47" relation="include"> </childnode> <childnode refid="48" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> <childnode refid="49" relation="include"> </childnode> <childnode refid="34" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="50" relation="include"> </childnode> <childnode refid="51" relation="include"> </childnode> <childnode refid="52" relation="include"> </childnode> <childnode refid="53" relation="include"> </childnode> <childnode refid="54" relation="include"> </childnode> <childnode refid="55" relation="include"> </childnode> <childnode refid="56" relation="include"> </childnode> <childnode refid="57" relation="include"> </childnode> <childnode refid="58" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> <childnode refid="60" relation="include"> </childnode> <childnode refid="61" relation="include"> </childnode> <childnode refid="62" relation="include"> </childnode> </node> <node id="30"> <label>C:/Dev/git/UbixOS/sys/fs/ufs/ufs.c</label> <link refid="ufs_8c"/> </node> <node id="47"> <label>C:/Dev/git/UbixOS/sys/arch/i386/fork.c</label> <link refid="i386_2fork_8c"/> </node> <node id="61"> <label>C:/Dev/git/UbixOS/sys/vmm/paging.c</label> <link refid="paging_8c"/> </node> <node id="24"> <label>C:/Dev/git/UbixOS/sys/include/vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="25" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="29" relation="include"> </childnode> <childnode refid="30" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> <childnode refid="32" relation="include"> </childnode> <childnode refid="33" relation="include"> </childnode> <childnode refid="34" relation="include"> </childnode> <childnode refid="35" relation="include"> </childnode> <childnode refid="36" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> <childnode refid="63" relation="include"> </childnode> <childnode refid="64" relation="include"> </childnode> <childnode refid="65" relation="include"> </childnode> </node> <node id="64"> <label>C:/Dev/git/UbixOS/sys/kernel/ld.c</label> <link refid="ld_8c"/> </node> <node id="48"> <label>C:/Dev/git/UbixOS/sys/arch/i386/systemtask.c</label> <link refid="i386_2systemtask_8c"/> </node> <node id="35"> <label>C:/Dev/git/UbixOS/sys/include/sys/buf.h</label> <link refid="buf_8h"/> <childnode refid="29" relation="include"> </childnode> </node> <node id="27"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/thread.c</label> <link refid="thread_8c"/> </node> <node id="84"> <label>C:/Dev/git/UbixOS/sys/net/net/shell.c</label> <link refid="shell_8c"/> </node> <node id="67"> <label>C:/Dev/git/UbixOS/sys/include/net/tcpip.h</label> <link refid="tcpip_8h"/> <childnode refid="68" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> </node> <node id="9"> <label>C:/Dev/git/UbixOS/sys/net/core/init.c</label> <link refid="core_2init_8c"/> </node> <node id="75"> <label>C:/Dev/git/UbixOS/sys/include/net/prot/etharp.h</label> <link refid="prot_2etharp_8h"/> </node> <node id="70"> <label>C:/Dev/git/UbixOS/sys/net/netif/ethernetif.c</label> <link refid="ethernetif_8c"/> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/net/def.h</label> <link refid="def_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="78" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="79" relation="include"> </childnode> <childnode refid="80" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> <childnode refid="81" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="82" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="83" relation="include"> </childnode> <childnode refid="84" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> </node> <node id="18"> <label>C:/Dev/git/UbixOS/sys/include/net/netif.h</label> <link refid="netif_8h"/> <childnode refid="14" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="67" relation="include"> </childnode> <childnode refid="71" relation="include"> </childnode> <childnode refid="73" relation="include"> </childnode> <childnode refid="51" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="66" relation="include"> </childnode> </node> <node id="20"> <label>C:/Dev/git/UbixOS/sys/include/net/ip6_frag.h</label> <link refid="ip6__frag_8h"/> <childnode refid="10" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> </node> <node id="33"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/namei.c</label> <link refid="namei_8c"/> </node> <node id="42"> <label>C:/Dev/git/UbixOS/sys/fs/common/gpt.c</label> <link refid="gpt_8c"/> </node> <node id="25"> <label>C:/Dev/git/UbixOS/sys/fs/devfs/devfs.c</label> <link refid="devfs_8c"/> </node> <node id="5"> <label>C:/Dev/git/UbixOS/sys/include/net/ip4_frag.h</label> <link refid="ip4__frag_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> </node> <node id="62"> <label>C:/Dev/git/UbixOS/sys/vmm/vmm_memory.c</label> <link refid="vmm__memory_8c"/> </node> <node id="11"> <label>C:/Dev/git/UbixOS/sys/net/core/netif.c</label> <link refid="netif_8c"/> </node> <node id="6"> <label>C:/Dev/git/UbixOS/sys/net/core/memp.c</label> <link refid="memp_8c"/> </node> <node id="78"> <label>C:/Dev/git/UbixOS/sys/include/net/ip6_addr.h</label> <link refid="ip6__addr_8h"/> <childnode refid="19" relation="include"> </childnode> <childnode refid="2" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> </node> <node id="7"> <label>C:/Dev/git/UbixOS/sys/net/core/timeouts.c</label> <link refid="timeouts_8c"/> </node> <node id="53"> <label>C:/Dev/git/UbixOS/sys/kernel/syscall.c</label> <link refid="kernel_2syscall_8c"/> </node> <node id="46"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/systemtask.c</label> <link refid="armv6_2systemtask_8c"/> </node> <node id="4"> <label>C:/Dev/git/UbixOS/sys/include/net/ip.h</label> <link refid="ip_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> </node> <node id="12"> <label>C:/Dev/git/UbixOS/sys/include/net/ip4_addr.h</label> <link refid="ip4__addr_8h"/> <childnode refid="13" relation="include"> </childnode> <childnode refid="75" relation="include"> </childnode> <childnode refid="76" relation="include"> </childnode> <childnode refid="77" relation="include"> </childnode> </node> <node id="13"> <label>C:/Dev/git/UbixOS/sys/include/net/ip_addr.h</label> <link refid="ip__addr_8h"/> <childnode refid="14" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> <childnode refid="2" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="74" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> </node> <node id="28"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c</label> <link refid="ubixfs_8c"/> </node> <node id="37"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/syscall.c</label> <link refid="arch_2armv6_2syscall_8c"/> </node> <node id="29"> <label>C:/Dev/git/UbixOS/sys/fs/ufs/ffs.c</label> <link refid="ffs_8c"/> </node> <node id="63"> <label>C:/Dev/git/UbixOS/sys/include/ufs/ffs.h</label> <link refid="ffs_8h"/> <childnode refid="29" relation="include"> </childnode> <childnode refid="30" relation="include"> </childnode> </node> <node id="71"> <label>C:/Dev/git/UbixOS/sys/include/netif/ethernet.h</label> <link refid="f_2ethernet_8h"/> <childnode refid="72" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> </node> <node id="49"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/mount.c</label> <link refid="mount_8c"/> </node> <node id="77"> <label>C:/Dev/git/UbixOS/sys/include/net/prot/ip4.h</label> <link refid="prot_2ip4_8h"/> </node> <node id="72"> <label>C:/Dev/git/UbixOS/sys/include/netif/etharp.h</label> <link refid="f_2etharp_8h"/> </node> <node id="43"> <label>C:/Dev/git/UbixOS/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="82"> <label>C:/Dev/git/UbixOS/sys/net/core/pbuf.c</label> <link refid="pbuf_8c"/> </node> <node id="69"> <label>C:/Dev/git/UbixOS/sys/net/net/init.c</label> <link refid="net_2init_8c"/> </node> <node id="76"> <label>C:/Dev/git/UbixOS/sys/include/net/prot/igmp.h</label> <link refid="prot_2igmp_8h"/> </node> <node id="41"> <label>C:/Dev/git/UbixOS/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="42" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> </node> <node id="22"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="23" relation="include"> </childnode> </node> <node id="16"> <label>C:/Dev/git/UbixOS/sys/include/net/inet_chksum.h</label> <link refid="inet__chksum_8h"/> <childnode refid="17" relation="include"> </childnode> </node> <node id="56"> <label>C:/Dev/git/UbixOS/sys/kernel/vitals.c</label> <link refid="vitals_8c"/> </node> <node id="55"> <label>C:/Dev/git/UbixOS/sys/kernel/ubthread.c</label> <link refid="ubthread_8c"/> </node> <node id="54"> <label>C:/Dev/git/UbixOS/sys/kernel/time.c</label> <link refid="time_8c"/> </node> <node id="3"> <label>C:/Dev/git/UbixOS/sys/lib/net.c</label> <link refid="net_8c"/> </node> </invincdepgraph> <sectiondef kind="define"> <memberdef kind="define" id="def_8h_1ae4027a6ad07f13aa12eab285a1b46019" prot="public" static="no"> <name>htonl</name> <param><defname>x</defname></param> <initializer><ref refid="def_8c_1a14f94347a5b9b9e3602705b75b7ae524" kindref="member">lwip_htonl</ref>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="110" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="110" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a51799f5ebb4c7228ef7e95c247030f42" prot="public" static="no"> <name>htons</name> <param><defname>x</defname></param> <initializer><ref refid="def_8c_1ad637280639de4066392e6b5614fa3e56" kindref="member">lwip_htons</ref>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="108" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="108" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a4abb61f4c9339d8a0a0c63b4fbfe6a37" prot="public" static="no"> <name>LWIP_ARRAYSIZE</name> <param><defname>x</defname></param> <initializer>(sizeof(x)/sizeof((x)[0]))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="58" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="58" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a9c0cf5ec6af0664ca8cea5bcf6319a56" prot="public" static="no"> <name>lwip_htonl</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="77" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="77" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a3cdda64857295e6661fb7962f66adfb9" prot="public" static="no"> <name>lwip_htons</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="75" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="75" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1acf56d3da92a0a7a8a62a617e793e948c" prot="public" static="no"> <name>LWIP_MAKEU32</name> <param><defname>a</defname></param> <param><defname>b</defname></param> <param><defname>c</defname></param> <param><defname>d</defname></param> <initializer>(((<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref>)((a) & 0xff) << 24) | \ ((<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref>)((b) & 0xff) << 16) | \ ((<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref>)((c) & 0xff) << 8) | \ (<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref>)((d) & 0xff))</initializer> <briefdescription> </briefdescription> <detaileddescription> <para>Create u32_t value from bytes </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="61" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="61" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a21ea174d374106caeafb4aa3a24fbd2b" prot="public" static="no"> <name>LWIP_MAX</name> <param><defname>x</defname></param> <param><defname>y</defname></param> <initializer>(((x) > (y)) ? (x) : (y))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="54" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="54" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a748f5df614a3fc989e8900fd229d6e4e" prot="public" static="no"> <name>LWIP_MIN</name> <param><defname>x</defname></param> <param><defname>y</defname></param> <initializer>(((x) < (y)) ? (x) : (y))</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="55" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="55" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a56098407d66feb75806f655bafbee81d" prot="public" static="no"> <name>lwip_ntohl</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="78" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="78" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1ac642bf6057869696d7807564d8309ffc" prot="public" static="no"> <name>lwip_ntohs</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="76" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="76" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1ac317b3e903719ba02894f1710f7f2439" prot="public" static="no"> <name>ntohl</name> <param><defname>x</defname></param> <initializer><ref refid="def_8h_1a56098407d66feb75806f655bafbee81d" kindref="member">lwip_ntohl</ref>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="111" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="111" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1ada37feda716b4ba89cf9dba34288141d" prot="public" static="no"> <name>ntohs</name> <param><defname>x</defname></param> <initializer><ref refid="def_8h_1ac642bf6057869696d7807564d8309ffc" kindref="member">lwip_ntohs</ref>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="109" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="109" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" prot="public" static="no"> <name>NULL</name> <initializer>((void *)0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="70" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="70" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1aa1d6977095e51331f65dcfb2b076da52" prot="public" static="no"> <name>PERF_START</name> <initializer>/* null definition */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="46" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="46" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a8ac3afe5d720793a229fbf70a78eb82f" prot="public" static="no"> <name>PERF_STOP</name> <param><defname>x</defname></param> <initializer>/* null definition */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="47" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="47" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1afea9c21aa1f56180cdf6fb42ef14a294" prot="public" static="no"> <name>PP_HTONL</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="81" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="81" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a0dfd02d7c09f9c698a5a7ecc0b7287ad" prot="public" static="no"> <name>PP_HTONS</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="79" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="79" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a632e77d07286fb8a0926d8aac7aae89f" prot="public" static="no"> <name>PP_NTOHL</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="82" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="82" bodyend="-1"/> </memberdef> <memberdef kind="define" id="def_8h_1a7d17b88eabf7766c0bfa89d8f965f67e" prot="public" static="no"> <name>PP_NTOHS</name> <param><defname>x</defname></param> <initializer>(x)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="80" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/def.h" bodystart="80" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="group__sys__nonstandard_1gaf15b4fbaaae5bb7f6da4301f3f979284" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void lwip_itoa</definition> <argsstring>(char *result, size_t bufsize, int number)</argsstring> <name>lwip_itoa</name> <param> <type>char *</type> <declname>result</declname> </param> <param> <type><ref refid="include_2sys_2types_8h_1a7619b847aeded8a6d14cbfa212b2cdfb" kindref="member">size_t</ref></type> <declname>bufsize</declname> </param> <param> <type>int</type> <declname>number</declname> </param> <briefdescription> </briefdescription> <detaileddescription> <para>lwIP default implementation for itoa() non-standard function. This can be #defined to itoa() or snprintf(result, bufsize, "%d", number) depending on your platform port. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="122" column="7" bodyfile="C:/Dev/git/UbixOS/sys/net/core/def.c" bodystart="196" bodyend="219" declfile="C:/Dev/git/UbixOS/sys/include/net/def.h" declline="122" declcolumn="7"/> </memberdef> <memberdef kind="function" id="group__sys__nonstandard_1ga263cbafcb697eff964139a9998a6668a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int lwip_stricmp</definition> <argsstring>(const char *str1, const char *str2)</argsstring> <name>lwip_stricmp</name> <param> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *</type> <declname>str1</declname> </param> <param> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *</type> <declname>str2</declname> </param> <briefdescription> </briefdescription> <detaileddescription> <para>lwIP default implementation for stricmp() non-standard function. This can be #defined to stricmp() depending on your platform port. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="130" column="7" bodyfile="C:/Dev/git/UbixOS/sys/net/core/def.c" bodystart="126" bodyend="151" declfile="C:/Dev/git/UbixOS/sys/include/net/def.h" declline="130" declcolumn="7"/> </memberdef> <memberdef kind="function" id="group__sys__nonstandard_1ga997dcc49451121d4ed755b33bc7bd26a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int lwip_strnicmp</definition> <argsstring>(const char *str1, const char *str2, size_t len)</argsstring> <name>lwip_strnicmp</name> <param> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *</type> <declname>str1</declname> </param> <param> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *</type> <declname>str2</declname> </param> <param> <type><ref refid="include_2sys_2types_8h_1a7619b847aeded8a6d14cbfa212b2cdfb" kindref="member">size_t</ref></type> <declname>len</declname> </param> <briefdescription> </briefdescription> <detaileddescription> <para>lwIP default implementation for strnicmp() non-standard function. This can be #defined to strnicmp() depending on your platform port. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="126" column="7" bodyfile="C:/Dev/git/UbixOS/sys/net/core/def.c" bodystart="161" bodyend="186" declfile="C:/Dev/git/UbixOS/sys/include/net/def.h" declline="126" declcolumn="7"/> <references refid="structpbuf_1a6f82449625e36e294f5d210268c0703f" compoundref="pbuf_8h" startline="159">pbuf::len</references> </memberdef> <memberdef kind="function" id="group__sys__nonstandard_1gaeece028198cdaea2f0d2f1d691752c02" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>char *</type> <definition>char* lwip_strnstr</definition> <argsstring>(const char *buffer, const char *token, size_t n)</argsstring> <name>lwip_strnstr</name> <param> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *</type> <declname>buffer</declname> </param> <param> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *</type> <declname>token</declname> </param> <param> <type><ref refid="include_2sys_2types_8h_1a7619b847aeded8a6d14cbfa212b2cdfb" kindref="member">size_t</ref></type> <declname>n</declname> </param> <briefdescription> </briefdescription> <detaileddescription> <para>lwIP default implementation for strnstr() non-standard function. This can be #defined to strnstr() depending on your platform port. </para> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h" line="134" column="6" bodyfile="C:/Dev/git/UbixOS/sys/net/core/def.c" bodystart="103" bodyend="116" declfile="C:/Dev/git/UbixOS/sys/include/net/def.h" declline="134" declcolumn="6"/> <references refid="lib_8h_1ae6c8de953239811a34eeeab09458e55e" compoundref="strlen_8c" startline="55" endline="101">strlen</references> <references refid="group__compiler__abstraction_1gaa0dd3f76dd9a837feaac61fedc0dbe72" compoundref="arch_8h" startline="187">LWIP_CONST_CAST</references> <references refid="shell_8c_1aff2566f4c366b48d73479bef43ee4d2e" compoundref="shell_8c" startline="47">buffer</references> <references refid="lib_8h_1a6395668b53785234b479045e1773a6a4">strncmp</references> <references refid="fat__string_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="fat__string_8h" startline="17">NULL</references> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> <para>various utility macros </para> </detaileddescription> <programlisting> <codeline lineno="1"></codeline> <codeline lineno="6"><highlight class="comment">/*</highlight></codeline> <codeline lineno="7"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2001-2004<sp/>Swedish<sp/>Institute<sp/>of<sp/>Computer<sp/>Science.</highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>*<sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>*<sp/>are<sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>*<sp/>1.<sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>this<sp/>list<sp/>of<sp/>conditions<sp/>and<sp/>the<sp/>following<sp/>disclaimer.</highlight></codeline> <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>2.<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,</highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>this<sp/>list<sp/>of<sp/>conditions<sp/>and<sp/>the<sp/>following<sp/>disclaimer<sp/>in<sp/>the<sp/>documentation</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>and/or<sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>*<sp/>3.<sp/>The<sp/>name<sp/>of<sp/>the<sp/>author<sp/>may<sp/>not<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>``AS<sp/>IS''<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>*<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>*<sp/>SHALL<sp/>THE<sp/>AUTHOR<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,</highlight></codeline> <codeline lineno="25"><highlight class="comment"><sp/>*<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS</highlight></codeline> <codeline lineno="27"><highlight class="comment"><sp/>*<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline> <codeline lineno="28"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING</highlight></codeline> <codeline lineno="29"><highlight class="comment"><sp/>*<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY</highlight></codeline> <codeline lineno="30"><highlight class="comment"><sp/>*<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="31"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="32"><highlight class="comment"><sp/>*<sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>the<sp/>lwIP<sp/>TCP/IP<sp/>stack.</highlight></codeline> <codeline lineno="33"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="34"><highlight class="comment"><sp/>*<sp/>Author:<sp/>Adam<sp/>Dunkels<sp/><adam@sics.se></highlight></codeline> <codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="37"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>LWIP_HDR_DEF_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_HDR_DEF_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="39"><highlight class="normal"></highlight></codeline> <codeline lineno="40"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>arch.h<sp/>might<sp/>define<sp/>NULL<sp/>already<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="arch_8h" kindref="compound">net/arch.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="opt_8h" kindref="compound">net/opt.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_PERF</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="perf_8h" kindref="compound">net/arch/perf.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="45"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">/*<sp/>LWIP_PERF<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="46" refid="def_8h_1aa1d6977095e51331f65dcfb2b076da52" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PERF_START<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>null<sp/>definition<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="47" refid="def_8h_1a8ac3afe5d720793a229fbf70a78eb82f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PERF_STOP(x)<sp/><sp/></highlight><highlight class="comment">/*<sp/>null<sp/>definition<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="48"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_PERF<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="49"><highlight class="normal"></highlight></codeline> <codeline lineno="50"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">"C"</highlight><highlight class="normal"><sp/>{</highlight></codeline> <codeline lineno="52"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53"><highlight class="normal"></highlight></codeline> <codeline lineno="54" refid="def_8h_1a21ea174d374106caeafb4aa3a24fbd2b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_MAX(x<sp/>,<sp/>y)<sp/><sp/>(((x)<sp/>><sp/>(y))<sp/>?<sp/>(x)<sp/>:<sp/>(y))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="55" refid="def_8h_1a748f5df614a3fc989e8900fd229d6e4e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_MIN(x<sp/>,<sp/>y)<sp/><sp/>(((x)<sp/><<sp/>(y))<sp/>?<sp/>(x)<sp/>:<sp/>(y))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="56"><highlight class="normal"></highlight></codeline> <codeline lineno="57"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Get<sp/>the<sp/>number<sp/>of<sp/>entries<sp/>in<sp/>an<sp/>array<sp/>('x'<sp/>must<sp/>NOT<sp/>be<sp/>a<sp/>pointer!)<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="58" refid="def_8h_1a4abb61f4c9339d8a0a0c63b4fbfe6a37" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_ARRAYSIZE(x)<sp/>(sizeof(x)/sizeof((x)[0]))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="59"><highlight class="normal"></highlight></codeline> <codeline lineno="61" refid="def_8h_1acf56d3da92a0a7a8a62a617e793e948c" refkind="member"><highlight class="preprocessor">#define<sp/>LWIP_MAKEU32(a,b,c,d)<sp/>(((u32_t)((a)<sp/>&<sp/>0xff)<sp/><<<sp/>24)<sp/>|<sp/>\</highlight></codeline> <codeline lineno="62"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>((u32_t)((b)<sp/>&<sp/>0xff)<sp/><<<sp/>16)<sp/>|<sp/>\</highlight></codeline> <codeline lineno="63"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>((u32_t)((c)<sp/>&<sp/>0xff)<sp/><<<sp/>8)<sp/><sp/>|<sp/>\</highlight></codeline> <codeline lineno="64"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(u32_t)((d)<sp/>&<sp/>0xff))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="65"><highlight class="normal"></highlight></codeline> <codeline lineno="66"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>NULL</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="67"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="68"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NULL<sp/>0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="69"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="70" refid="def_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NULL<sp/>((void<sp/>*)0)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="71"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="72"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="73"><highlight class="normal"></highlight></codeline> <codeline lineno="74"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>BYTE_ORDER<sp/>==<sp/>BIG_ENDIAN</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="75" refid="def_8h_1a3cdda64857295e6661fb7962f66adfb9" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>lwip_htons(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="76" refid="def_8h_1ac642bf6057869696d7807564d8309ffc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>lwip_ntohs(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="77" refid="def_8h_1a9c0cf5ec6af0664ca8cea5bcf6319a56" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>lwip_htonl(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="78" refid="def_8h_1a56098407d66feb75806f655bafbee81d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>lwip_ntohl(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="79" refid="def_8h_1a0dfd02d7c09f9c698a5a7ecc0b7287ad" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_HTONS(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="80" refid="def_8h_1a7d17b88eabf7766c0bfa89d8f965f67e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_NTOHS(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="81" refid="def_8h_1afea9c21aa1f56180cdf6fb42ef14a294" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_HTONL(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="82" refid="def_8h_1a632e77d07286fb8a0926d8aac7aae89f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_NTOHL(x)<sp/>(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="83"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">/*<sp/>BYTE_ORDER<sp/>!=<sp/>BIG_ENDIAN<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="84"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>lwip_htons</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="85"><highlight class="normal"><ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/><ref refid="def_8h_1a3cdda64857295e6661fb7962f66adfb9" kindref="member">lwip_htons</ref>(<ref refid="group__compiler__abstraction_1ga77570ac4fcab86864fa1916e55676da2" kindref="member">u16_t</ref><sp/>x);</highlight></codeline> <codeline lineno="86"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="87"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>lwip_ntohs(x)<sp/>lwip_htons(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="88"><highlight class="normal"></highlight></codeline> <codeline lineno="89"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>lwip_htonl</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="90"><highlight class="normal"><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/><ref refid="def_8h_1a9c0cf5ec6af0664ca8cea5bcf6319a56" kindref="member">lwip_htonl</ref>(<ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>x);</highlight></codeline> <codeline lineno="91"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="92"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>lwip_ntohl(x)<sp/>lwip_htonl(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="93"><highlight class="normal"></highlight></codeline> <codeline lineno="94"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>These<sp/>macros<sp/>should<sp/>be<sp/>calculated<sp/>by<sp/>the<sp/>preprocessor<sp/>and<sp/>are<sp/>used</highlight></codeline> <codeline lineno="95"><highlight class="comment"><sp/><sp/><sp/>with<sp/>compile-time<sp/>constants<sp/>only<sp/>(so<sp/>that<sp/>there<sp/>is<sp/>no<sp/>little-endian</highlight></codeline> <codeline lineno="96"><highlight class="comment"><sp/><sp/><sp/>overhead<sp/>at<sp/>runtime).<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="97"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_HTONS(x)<sp/>((((x)<sp/>&<sp/>0x00ffUL)<sp/><<<sp/>8)<sp/>|<sp/>(((x)<sp/>&<sp/>0xff00UL)<sp/>>><sp/>8))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="98"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_NTOHS(x)<sp/>PP_HTONS(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="99"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_HTONL(x)<sp/>((((x)<sp/>&<sp/>0x000000ffUL)<sp/><<<sp/>24)<sp/>|<sp/>\</highlight></codeline> <codeline lineno="100"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(((x)<sp/>&<sp/>0x0000ff00UL)<sp/><<<sp/><sp/>8)<sp/>|<sp/>\</highlight></codeline> <codeline lineno="101"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(((x)<sp/>&<sp/>0x00ff0000UL)<sp/>>><sp/><sp/>8)<sp/>|<sp/>\</highlight></codeline> <codeline lineno="102"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(((x)<sp/>&<sp/>0xff000000UL)<sp/>>><sp/>24))</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="103"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>PP_NTOHL(x)<sp/>PP_HTONL(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="104"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>BYTE_ORDER<sp/>==<sp/>BIG_ENDIAN<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="105"><highlight class="normal"></highlight></codeline> <codeline lineno="106"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Provide<sp/>usual<sp/>function<sp/>names<sp/>as<sp/>macros<sp/>for<sp/>users,<sp/>but<sp/>this<sp/>can<sp/>be<sp/>turned<sp/>off<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="107"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="108" refid="def_8h_1a51799f5ebb4c7228ef7e95c247030f42" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>htons(x)<sp/>lwip_htons(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="109" refid="def_8h_1ada37feda716b4ba89cf9dba34288141d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ntohs(x)<sp/>lwip_ntohs(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="110" refid="def_8h_1ae4027a6ad07f13aa12eab285a1b46019" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>htonl(x)<sp/>lwip_htonl(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="111" refid="def_8h_1ac317b3e903719ba02894f1710f7f2439" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ntohl(x)<sp/>lwip_ntohl(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="112"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="113"><highlight class="normal"></highlight></codeline> <codeline lineno="114"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Functions<sp/>that<sp/>are<sp/>not<sp/>available<sp/>as<sp/>standard<sp/>implementations.</highlight></codeline> <codeline lineno="115"><highlight class="comment"><sp/>*<sp/>In<sp/>cc.h,<sp/>you<sp/>can<sp/>#define<sp/>these<sp/>to<sp/>implementations<sp/>available<sp/>on</highlight></codeline> <codeline lineno="116"><highlight class="comment"><sp/>*<sp/>your<sp/>platform<sp/>to<sp/>save<sp/>some<sp/>code<sp/>bytes<sp/>if<sp/>you<sp/>use<sp/>these<sp/>functions</highlight></codeline> <codeline lineno="117"><highlight class="comment"><sp/>*<sp/>in<sp/>your<sp/>application,<sp/>too.</highlight></codeline> <codeline lineno="118"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="119"><highlight class="normal"></highlight></codeline> <codeline lineno="120"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>lwip_itoa</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="121"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>This<sp/>can<sp/>be<sp/>#defined<sp/>to<sp/>itoa()<sp/>or<sp/>snprintf(result,<sp/>bufsize,<sp/>"%d",<sp/>number)<sp/>depending<sp/>on<sp/>your<sp/>platform<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="122"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/><ref refid="group__sys__nonstandard_1gaf15b4fbaaae5bb7f6da4301f3f979284" kindref="member">lwip_itoa</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>result,<sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>bufsize,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>number);</highlight></codeline> <codeline lineno="123"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="124"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>lwip_strnicmp</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="125"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>This<sp/>can<sp/>be<sp/>#defined<sp/>to<sp/>strnicmp()<sp/>or<sp/>strncasecmp()<sp/>depending<sp/>on<sp/>your<sp/>platform<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="126"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><sp/><sp/><ref refid="group__sys__nonstandard_1ga997dcc49451121d4ed755b33bc7bd26a" kindref="member">lwip_strnicmp</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>str1,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>str2,<sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>len);</highlight></codeline> <codeline lineno="127"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="128"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>lwip_stricmp</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="129"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>This<sp/>can<sp/>be<sp/>#defined<sp/>to<sp/>stricmp()<sp/>or<sp/>strcasecmp()<sp/>depending<sp/>on<sp/>your<sp/>platform<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="130"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><sp/><sp/><ref refid="group__sys__nonstandard_1ga263cbafcb697eff964139a9998a6668a" kindref="member">lwip_stricmp</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>str1,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>str2);</highlight></codeline> <codeline lineno="131"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="132"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>lwip_strnstr</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="133"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>This<sp/>can<sp/>be<sp/>#defined<sp/>to<sp/>strnstr()<sp/>depending<sp/>on<sp/>your<sp/>platform<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="134"><highlight class="normal"></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/><ref refid="group__sys__nonstandard_1gaeece028198cdaea2f0d2f1d691752c02" kindref="member">lwip_strnstr</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/><ref refid="shell_8c_1aff2566f4c366b48d73479bef43ee4d2e" kindref="member">buffer</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>token,<sp/></highlight><highlight class="keywordtype">size_t</highlight><highlight class="normal"><sp/>n);</highlight></codeline> <codeline lineno="135"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="136"><highlight class="normal"></highlight></codeline> <codeline lineno="137"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="138"><highlight class="normal">}</highlight></codeline> <codeline lineno="139"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="140"><highlight class="normal"></highlight></codeline> <codeline lineno="141"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_HDR_DEF_H<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/net/def.h"/> </compounddef> </doxygen>