STM32F7 Ethernet interface for nucleo STM32F767

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers lowpan6_opts.h Source File

lowpan6_opts.h

Go to the documentation of this file.
00001 /**
00002  * @file
00003  * 6LowPAN options list
00004  */
00005 
00006 /*
00007  * Copyright (c) 2015 Inico Technologies Ltd.
00008  * All rights reserved.
00009  *
00010  * Redistribution and use in source and binary forms, with or without modification,
00011  * are permitted provided that the following conditions are met:
00012  *
00013  * 1. Redistributions of source code must retain the above copyright notice,
00014  *    this list of conditions and the following disclaimer.
00015  * 2. Redistributions in binary form must reproduce the above copyright notice,
00016  *    this list of conditions and the following disclaimer in the documentation
00017  *    and/or other materials provided with the distribution.
00018  * 3. The name of the author may not be used to endorse or promote products
00019  *    derived from this software without specific prior written permission.
00020  *
00021  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
00022  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00023  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
00024  * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00025  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
00026  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00027  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00028  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
00029  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
00030  * OF SUCH DAMAGE.
00031  *
00032  * This file is part of the lwIP TCP/IP stack.
00033  *
00034  * Author: Ivan Delamer <delamer@inicotech.com>
00035  *
00036  *
00037  * Please coordinate changes and requests with Ivan Delamer
00038  * <delamer@inicotech.com>
00039  */
00040 
00041 #ifndef LWIP_HDR_LOWPAN6_OPTS_H
00042 #define LWIP_HDR_LOWPAN6_OPTS_H
00043 
00044 #include "lwip/opt.h"
00045 
00046 #ifndef LWIP_6LOWPAN
00047 #define LWIP_6LOWPAN                     0
00048 #endif
00049 
00050 #ifndef LWIP_6LOWPAN_NUM_CONTEXTS
00051 #define LWIP_6LOWPAN_NUM_CONTEXTS        10
00052 #endif
00053 
00054 #ifndef LWIP_6LOWPAN_INFER_SHORT_ADDRESS
00055 #define LWIP_6LOWPAN_INFER_SHORT_ADDRESS 1
00056 #endif
00057 
00058 #ifndef LWIP_6LOWPAN_IPHC
00059 #define LWIP_6LOWPAN_IPHC                1
00060 #endif
00061 
00062 #ifndef LWIP_6LOWPAN_HW_CRC
00063 #define LWIP_6LOWPAN_HW_CRC              1
00064 #endif
00065 
00066 #ifndef LOWPAN6_DEBUG
00067 #define LOWPAN6_DEBUG                    LWIP_DBG_OFF
00068 #endif
00069 
00070 #endif /* LWIP_HDR_LOWPAN6_OPTS_H */