sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
zepif.h
Go to the documentation of this file.
1
8
9
/*
10
* Copyright (c) 2018 Simon Goldschmidt
11
* All rights reserved.
12
*
13
* Redistribution and use in source and binary forms, with or without modification,
14
* are permitted provided that the following conditions are met:
15
*
16
* 1. Redistributions of source code must retain the above copyright notice,
17
* this list of conditions and the following disclaimer.
18
* 2. Redistributions in binary form must reproduce the above copyright notice,
19
* this list of conditions and the following disclaimer in the documentation
20
* and/or other materials provided with the distribution.
21
* 3. The name of the author may not be used to endorse or promote products
22
* derived from this software without specific prior written permission.
23
*
24
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
25
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
26
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
27
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
29
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
32
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
33
* OF SUCH DAMAGE.
34
*
35
* This file is part of the lwIP TCP/IP stack.
36
*
37
* Author: Simon Goldschmidt <goldsimon@gmx.de>
38
*
39
*/
40
41
#ifndef LWIP_HDR_ZEPIF_H
42
#define LWIP_HDR_ZEPIF_H
43
44
#include "
lwip/opt.h
"
45
#include "
netif/lowpan6.h
"
46
47
#if LWIP_IPV6 && LWIP_UDP
/* don't build if not configured for use in lwipopts.h */
48
49
#include "
lwip/netif.h
"
50
51
#ifdef __cplusplus
52
extern
"C"
{
53
#endif
54
55
#define ZEPIF_DEFAULT_UDP_PORT 17754
56
59
struct
zepif_init {
61
u16_t zep_src_udp_port;
63
u16_t zep_dst_udp_port;
65
const
ip_addr_t *zep_src_ip_addr;
67
const
ip_addr_t *zep_dst_ip_addr;
69
const
struct
netif *zep_netif;
71
u8_t addr[6];
72
};
73
74
err_t zepif_init(
struct
netif
*
netif
);
75
76
#ifdef __cplusplus
77
}
78
#endif
79
80
#endif
/* LWIP_IPV6 && LWIP_UDP */
81
82
#endif
/* LWIP_HDR_ZEPIF_H */
lowpan6.h
netif.h
opt.h
netif
Definition
tcpip.h:1271
core
ps2ip
include
lwip_include
netif
zepif.h
Generated by
1.18.0