sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
nd6.h
Go to the documentation of this file.
1
9
10/*
11 * Copyright (c) 2010 Inico Technologies Ltd.
12 * All rights reserved.
13 *
14 * Redistribution and use in source and binary forms, with or without modification,
15 * are permitted provided that the following conditions are met:
16 *
17 * 1. Redistributions of source code must retain the above copyright notice,
18 * this list of conditions and the following disclaimer.
19 * 2. Redistributions in binary form must reproduce the above copyright notice,
20 * this list of conditions and the following disclaimer in the documentation
21 * and/or other materials provided with the distribution.
22 * 3. The name of the author may not be used to endorse or promote products
23 * derived from this software without specific prior written permission.
24 *
25 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
26 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
27 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
28 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
30 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
33 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
34 * OF SUCH DAMAGE.
35 *
36 * This file is part of the lwIP TCP/IP stack.
37 *
38 * Author: Ivan Delamer <delamer@inicotech.com>
39 *
40 *
41 * Please coordinate changes and requests with Ivan Delamer
42 * <delamer@inicotech.com>
43 */
44
45#ifndef LWIP_HDR_ND6_H
46#define LWIP_HDR_ND6_H
47
48#include "lwip/opt.h"
49
50#if LWIP_IPV6 /* don't build if not configured for use in lwipopts.h */
51
52#include "lwip/ip6_addr.h"
53#include "lwip/err.h"
54
55#ifdef __cplusplus
56extern "C" {
57#endif
58
60#define ND6_TMR_INTERVAL 1000
61
63#ifndef ND6_RTR_SOLICITATION_INTERVAL
64#define ND6_RTR_SOLICITATION_INTERVAL 4000
65#endif
66
67struct pbuf;
68struct netif;
69
70void nd6_tmr(void);
71void nd6_input(struct pbuf *p, struct netif *inp);
72void nd6_clear_destination_cache(void);
73struct netif *nd6_find_route(const ip6_addr_t *ip6addr);
74err_t nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr, const u8_t **hwaddrp);
75u16_t nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif);
76#if LWIP_ND6_TCP_REACHABILITY_HINTS
77void nd6_reachability_hint(const ip6_addr_t *ip6addr);
78#endif /* LWIP_ND6_TCP_REACHABILITY_HINTS */
79void nd6_cleanup_netif(struct netif *netif);
80#if LWIP_IPV6_MLD
81void nd6_adjust_mld_membership(struct netif *netif, s8_t addr_idx, u8_t new_state);
82#endif /* LWIP_IPV6_MLD */
83void nd6_restart_netif(struct netif *netif);
84
85#ifdef __cplusplus
86}
87#endif
88
89#endif /* LWIP_IPV6 */
90
91#endif /* LWIP_HDR_ND6_H */
struct ip6_addr ip6_addr_t
Definition tcpip.h:434
Definition tcpip.h:234