sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
ip.h File Reference
#include "lwip/arch.h"

Go to the source code of this file.

Macros

#define IP_PROTO_ICMP   1
#define IP_PROTO_IGMP   2
#define IP_PROTO_UDP   17
#define IP_PROTO_UDPLITE   136
#define IP_PROTO_TCP   6
#define IP_HDR_GET_VERSION(ptr)

Detailed Description

IP protocol definitions

Definition in file ip.h.

Macro Definition Documentation

◆ IP_HDR_GET_VERSION

#define IP_HDR_GET_VERSION ( ptr)
Value:
((*(u8_t*)(ptr)) >> 4)

This operates on a void* by loading the first byte

Definition at line 54 of file ip.h.

◆ IP_PROTO_ICMP

#define IP_PROTO_ICMP   1

Definition at line 47 of file ip.h.

◆ IP_PROTO_IGMP

#define IP_PROTO_IGMP   2

Definition at line 48 of file ip.h.

◆ IP_PROTO_TCP

#define IP_PROTO_TCP   6

Definition at line 51 of file ip.h.

◆ IP_PROTO_UDP

#define IP_PROTO_UDP   17

Definition at line 49 of file ip.h.

◆ IP_PROTO_UDPLITE

#define IP_PROTO_UDPLITE   136

Definition at line 50 of file ip.h.