|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include "lwip/opt.h"#include "lwip/err.h"#include "lwip/ip_addr.h"#include "lwip/def.h"#include "lwip/pbuf.h"#include "lwip/stats.h"Go to the source code of this file.
Classes | |
| struct | netif |
| union | netif_ext_callback_args_t |
| struct | netif_ext_callback_args_t::link_changed_s |
| struct | netif_ext_callback_args_t::status_changed_s |
| struct | netif_ext_callback_args_t::ipv4_changed_s |
| struct | netif_ext_callback_args_t::ipv6_set_s |
| struct | netif_ext_callback_args_t::ipv6_addr_state_changed_s |
Typedefs | |
| typedef u8_t | netif_addr_idx_t |
| typedef u16_t | netif_nsc_reason_t |
| typedef void(*) | netif_ext_callback_fn(struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) |
Enumerations | |
| enum | lwip_internal_netif_client_data_index { LWIP_NETIF_CLIENT_DATA_INDEX_MAX } |
| enum | netif_mac_filter_action { NETIF_DEL_MAC_FILTER = 0 , NETIF_ADD_MAC_FILTER = 1 } |
Functions | |
| void | netif_init (void) |
| struct netif * | netif_add_noaddr (struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) |
| struct netif * | netif_add (struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) |
| void | netif_remove (struct netif *netif) |
| struct netif * | netif_find (const char *name) |
| void | netif_set_default (struct netif *netif) |
| void | netif_set_up (struct netif *netif) |
| void | netif_set_down (struct netif *netif) |
| void | netif_set_link_up (struct netif *netif) |
| void | netif_set_link_down (struct netif *netif) |
| err_t | netif_input (struct pbuf *p, struct netif *inp) |
| u8_t | netif_name_to_index (const char *name) |
| char * | netif_index_to_name (u8_t idx, char *name) |
| struct netif * | netif_get_by_index (u8_t idx) |
Variables | |
| struct netif * | netif_list |
| struct netif * | netif_default |
netif API (to be used from TCPIP thread)
Definition in file netif.h.
| #define ENABLE_LOOPBACK (LWIP_NETIF_LOOPBACK || LWIP_HAVE_LOOPIF) |
| #define LWIP_NSC_IPV4_ADDR_VALID 0x0400 |
| #define LWIP_NSC_IPV4_ADDRESS_CHANGED 0x0010 |
| #define LWIP_NSC_IPV4_GATEWAY_CHANGED 0x0020 |
| #define LWIP_NSC_IPV4_NETMASK_CHANGED 0x0040 |
| #define LWIP_NSC_IPV4_SETTINGS_CHANGED 0x0080 |
| #define LWIP_NSC_IPV6_ADDR_STATE_CHANGED 0x0200 |
| #define LWIP_NSC_NETIF_ADDED 0x0001 |
| #define LWIP_NSC_NETIF_REMOVED 0x0002 |
| #define LWIP_NSC_STATUS_CHANGED 0x0008 |
| #define NETIF_CHECKSUM_ENABLED | ( | netif, | |
| chksumflag ) |
| #define netif_clear_flags | ( | netif, | |
| clr_flags ) |
| #define NETIF_FOREACH | ( | netif | ) |
| #define netif_get_index | ( | netif | ) |
| #define netif_is_flag_set | ( | netif, | |
| flag ) |
| #define netif_is_link_up | ( | netif | ) |
Ask if a link is up
| #define NETIF_MAX_HWADDR_LEN 6U |
| #define NETIF_NAMESIZE 6 |
| #define netif_set_flags | ( | netif, | |
| set_flags ) |
|
extern |