1 |
/* |
/* |
2 |
* Copyright (c) 2001, Swedish Institute of Computer Science. |
* Copyright (c) 2001, 2002 Swedish Institute of Computer Science. |
3 |
* All rights reserved. |
* All rights reserved. |
4 |
|
* |
5 |
|
* Redistribution and use in source and binary forms, with or without modification, |
6 |
|
* are permitted provided that the following conditions are met: |
7 |
* |
* |
8 |
* Redistribution and use in source and binary forms, with or without |
* 1. Redistributions of source code must retain the above copyright notice, |
9 |
* modification, are permitted provided that the following conditions |
* this list of conditions and the following disclaimer. |
10 |
* are met: |
* 2. Redistributions in binary form must reproduce the above copyright notice, |
11 |
* 1. Redistributions of source code must retain the above copyright |
* this list of conditions and the following disclaimer in the documentation |
12 |
* notice, this list of conditions and the following disclaimer. |
* and/or other materials provided with the distribution. |
13 |
* 2. Redistributions in binary form must reproduce the above copyright |
* 3. The name of the author may not be used to endorse or promote products |
14 |
* notice, this list of conditions and the following disclaimer in the |
* derived from this software without specific prior written permission. |
|
* documentation and/or other materials provided with the distribution. |
|
|
* 3. All advertising materials mentioning features or use of this software |
|
|
* must display the following acknowledgement: |
|
|
* This product includes software developed by the Swedish Institute |
|
|
* of Computer Science and its contributors. |
|
|
* 4. Neither the name of the Institute nor the names of its contributors |
|
|
* may be used to endorse or promote products derived from this software |
|
|
* without specific prior written permission. |
|
15 |
* |
* |
16 |
* THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
17 |
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
18 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT |
19 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE |
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
20 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT |
21 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
22 |
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
23 |
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
24 |
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY |
25 |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
* OF SUCH DAMAGE. |
|
* SUCH DAMAGE. |
|
26 |
* |
* |
27 |
* This file is part of the lwIP TCP/IP stack. |
* This file is part of the lwIP TCP/IP stack. |
28 |
* |
* |
29 |
* Author: Adam Dunkels <adam@sics.se> |
* Author: Adam Dunkels <adam@sics.se> |
30 |
* |
* |
|
* |
|
31 |
*/ |
*/ |
32 |
|
|
33 |
#ifndef __NETIF_ETHARP_H__ |
#ifndef __NETIF_ETHARP_H__ |
76 |
struct pbuf *etharp_output(struct netif *netif, struct ip_addr *ipaddr, |
struct pbuf *etharp_output(struct netif *netif, struct ip_addr *ipaddr, |
77 |
struct pbuf *q); |
struct pbuf *q); |
78 |
struct pbuf *etharp_output_sent(struct pbuf *p); |
struct pbuf *etharp_output_sent(struct pbuf *p); |
79 |
struct pbuf *etharp_query(struct netif *netif, struct ip_addr *ipaddr); |
struct pbuf *etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q); |
80 |
|
|
81 |
|
|
82 |
|
|
83 |
#endif /* __NETIF_ARP_H__ */ |
#endif /* __NETIF_ARP_H__ */ |