XINU
Data Structures | Macros | Variables
icmp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  icmpentry
 

Macros

#define ICMP_ECHOREPLY   0 /* ICMP Echo Reply message */
 
#define ICMP_ECHOREQST   8 /* ICMP Echo Request message */
 
#define ICMP_FREE   0 /* entry is unused */
 
#define ICMP_HDR_LEN   8 /* bytes in an ICMP header */
 
#define ICMP_QSIZ   8 /* incoming packets per slot */
 
#define ICMP_RECV   2 /* entry has a process waiting */
 
#define ICMP_SLOTS   10 /* num. of open ICMP endpoints */
 
#define ICMP_USED   1 /* entry is being used */
 

Variables

struct icmpentry icmptab []
 

Macro Definition Documentation

◆ ICMP_ECHOREPLY

#define ICMP_ECHOREPLY   0 /* ICMP Echo Reply message */

Definition at line 16 of file icmp.h.

Referenced by icmp_in(), pdump(), and pdumph().

◆ ICMP_ECHOREQST

#define ICMP_ECHOREQST   8 /* ICMP Echo Request message */

Definition at line 17 of file icmp.h.

Referenced by icmp_in(), pdump(), pdumph(), and xsh_ping().

◆ ICMP_FREE

#define ICMP_FREE   0 /* entry is unused */

Definition at line 8 of file icmp.h.

Referenced by icmp_in(), icmp_init(), icmp_register(), and icmp_release().

◆ ICMP_HDR_LEN

#define ICMP_HDR_LEN   8 /* bytes in an ICMP header */

Definition at line 12 of file icmp.h.

Referenced by icmp_in(), icmp_mkpkt(), and icmp_recv().

◆ ICMP_QSIZ

#define ICMP_QSIZ   8 /* incoming packets per slot */

Definition at line 4 of file icmp.h.

Referenced by icmp_in(), and net_init().

◆ ICMP_RECV

#define ICMP_RECV   2 /* entry has a process waiting */

Definition at line 10 of file icmp.h.

Referenced by icmp_in(), and icmp_recv().

◆ ICMP_SLOTS

#define ICMP_SLOTS   10 /* num. of open ICMP endpoints */

Definition at line 3 of file icmp.h.

Referenced by icmp_in(), icmp_init(), icmp_recv(), icmp_register(), icmp_release(), and net_init().

◆ ICMP_USED

#define ICMP_USED   1 /* entry is being used */

Definition at line 9 of file icmp.h.

Referenced by icmp_in(), icmp_recv(), icmp_register(), and icmp_release().

Variable Documentation

◆ icmptab

struct icmpentry icmptab[]

Definition at line 6 of file icmp.c.

Referenced by icmp_in(), icmp_init(), icmp_recv(), icmp_register(), and icmp_release().