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

Go to the source code of this file.

Classes

struct  icmp_hdr
struct  icmp_echo_hdr

Macros

#define ICMP_ER   0
#define ICMP_DUR   3
#define ICMP_SQ   4
#define ICMP_RD   5
#define ICMP_ECHO   8
#define ICMP_TE   11
#define ICMP_PP   12
#define ICMP_TS   13
#define ICMP_TSR   14
#define ICMP_IRQ   15
#define ICMP_IR   16
#define ICMP_AM   17
#define ICMP_AMR   18
#define ICMPH_TYPE(hdr)
#define ICMPH_CODE(hdr)
#define ICMPH_TYPE_SET(hdr, t)
#define ICMPH_CODE_SET(hdr, c)

Variables

PACK_STRUCT_BEGIN struct icmp_hdr PACK_STRUCT_STRUCT

Detailed Description

ICMP protocol definitions

Definition in file icmp.h.

Macro Definition Documentation

◆ ICMP_AM

#define ICMP_AM   17

Definition at line 58 of file icmp.h.

◆ ICMP_AMR

#define ICMP_AMR   18

Definition at line 59 of file icmp.h.

◆ ICMP_DUR

#define ICMP_DUR   3

Definition at line 48 of file icmp.h.

◆ ICMP_ECHO

#define ICMP_ECHO   8

Definition at line 51 of file icmp.h.

◆ ICMP_ER

#define ICMP_ER   0

Definition at line 47 of file icmp.h.

◆ ICMP_IR

#define ICMP_IR   16

Definition at line 57 of file icmp.h.

◆ ICMP_IRQ

#define ICMP_IRQ   15

Definition at line 56 of file icmp.h.

◆ ICMP_PP

#define ICMP_PP   12

Definition at line 53 of file icmp.h.

◆ ICMP_RD

#define ICMP_RD   5

Definition at line 50 of file icmp.h.

◆ ICMP_SQ

#define ICMP_SQ   4

Definition at line 49 of file icmp.h.

◆ ICMP_TE

#define ICMP_TE   11

Definition at line 52 of file icmp.h.

◆ ICMP_TS

#define ICMP_TS   13

Definition at line 54 of file icmp.h.

◆ ICMP_TSR

#define ICMP_TSR   14

Definition at line 55 of file icmp.h.

◆ ICMPH_CODE

#define ICMPH_CODE ( hdr)
Value:
((hdr)->code)

Definition at line 79 of file icmp.h.

◆ ICMPH_CODE_SET

#define ICMPH_CODE_SET ( hdr,
c )
Value:
((hdr)->code = (c))

Definition at line 81 of file icmp.h.

◆ ICMPH_TYPE

#define ICMPH_TYPE ( hdr)
Value:
((hdr)->type)

Definition at line 78 of file icmp.h.

◆ ICMPH_TYPE_SET

#define ICMPH_TYPE_SET ( hdr,
t )
Value:
((hdr)->type = (t))

Definition at line 80 of file icmp.h.