sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
ethernet.h
Go to the documentation of this file.
1
7
8
/*
9
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
10
* Copyright (c) 2003-2004 Leon Woestenberg <leon.woestenberg@axon.tv>
11
* Copyright (c) 2003-2004 Axon Digital Design B.V., The Netherlands.
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: Adam Dunkels <adam@sics.se>
39
*
40
*/
41
42
#ifndef LWIP_HDR_NETIF_ETHERNET_H
43
#define LWIP_HDR_NETIF_ETHERNET_H
44
45
#include "
lwip/opt.h
"
46
47
#include "
lwip/pbuf.h
"
48
#include "
lwip/netif.h
"
49
#include "
lwip/prot/ethernet.h
"
50
51
#ifdef __cplusplus
52
extern
"C"
{
53
#endif
54
55
#if LWIP_ARP || LWIP_ETHERNET
56
63
#ifndef LWIP_ARP_FILTER_NETIF
64
#define LWIP_ARP_FILTER_NETIF 0
65
#endif
66
67
err_t ethernet_input(
struct
pbuf
*p,
struct
netif
*
netif
);
68
err_t ethernet_output(
struct
netif
*
netif
,
struct
pbuf
* p,
const
struct
eth_addr
* src,
const
struct
eth_addr
* dst, u16_t eth_type);
69
70
extern
const
struct
eth_addr
ethbroadcast, ethzero;
71
72
#endif
/* LWIP_ARP || LWIP_ETHERNET */
73
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
/* LWIP_HDR_NETIF_ETHERNET_H */
ethernet.h
netif.h
opt.h
pbuf.h
eth_addr
Definition
ethernet.h:61
netif
Definition
tcpip.h:1271
pbuf
Definition
tcpip.h:234
core
ps2ip
include
lwip_include
netif
ethernet.h
Generated by
1.18.0