|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include "lwip/opt.h"#include "lwip/def.h"#include "lwip/pbuf.h"#include "lwip/ip_addr.h"#include "lwip/err.h"#include "lwip/netif.h"#include "lwip/ip4.h"#include "lwip/ip6.h"#include "lwip/prot/ip.h"Go to the source code of this file.
Classes | |
| struct | ip_pcb |
| struct | ip_globals |
Macros | |
| #define | LWIP_IP_HDRINCL NULL |
| #define | LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX(p) |
| #define | IP_PCB_NETIFHINT |
| #define | IP_PCB |
| #define | pcb_tci_init(pcb) |
| #define | SOF_REUSEADDR 0x04U |
| #define | SOF_KEEPALIVE 0x08U |
| #define | SOF_BROADCAST 0x20U |
| #define | SOF_INHERITED (SOF_REUSEADDR|SOF_KEEPALIVE) |
| #define | ip_current_netif() |
| #define | ip_current_input_netif() |
| #define | ip_current_header_tot_len() |
| #define | ip_current_src_addr() |
| #define | ip_current_dest_addr() |
| #define | ip_current_src_addr() |
| #define | ip_current_dest_addr() |
| #define | ip_get_option(pcb, opt) |
| #define | ip_set_option(pcb, opt) |
| #define | ip_reset_option(pcb, opt) |
| #define | ip_route_get_local_ip(src, dest, netif, ipaddr) |
Variables | |
| struct ip_globals | ip_data |
IP API
Definition in file ip.h.
| #define ip_current_dest_addr | ( | ) |
| #define ip_current_dest_addr | ( | ) |
| #define ip_current_header_tot_len | ( | ) |
| #define ip_current_input_netif | ( | ) |
| #define ip_current_netif | ( | ) |
Get the interface that accepted the current packet. This may or may not be the receiving netif, depending on your netif/network setup. This function must only be called from a receive callback (udp_recv, raw_recv, tcp_accept). It will return NULL otherwise.
| #define ip_current_src_addr | ( | ) |
| #define ip_current_src_addr | ( | ) |
| #define ip_get_option | ( | pcb, | |
| opt ) |
| #define IP_PCB |
This is the common part of all PCB types. It needs to be at the beginning of a PCB type definition. It is located here so that changes to this common part are made in one location instead of having to change all PCB structs.
| #define ip_reset_option | ( | pcb, | |
| opt ) |
| #define ip_route_get_local_ip | ( | src, | |
| dest, | |||
| netif, | |||
| ipaddr ) |
| #define ip_set_option | ( | pcb, | |
| opt ) |
| #define LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX | ( | p | ) |