XINU
Data Structures | Macros | Variables
ip.h File Reference

Internet Protocol version 4 (IPv4)に関する定数。 More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  iqentry
 ipout(IP送信)プロセスを待機している送信用IPパケットのキュー More...
 

Macros

#define IP_ALLZEROS   0x00000000
 全てゼロのIPアドレス。 More...
 
#define IP_ASIZE   4
 IPアドレスのバイト数 More...
 
#define IP_BCAST   0xffffffff
 IPローカルブロードキャストアドレス。 More...
 
#define IP_HDR_LEN   20
 IPヘッダのバイト数。 More...
 
#define IP_ICMP   1
 IP向けのICMPプロトコルタイプ More...
 
#define IP_OQSIZ   8
 IPアウトプットキューのサイズ More...
 
#define IP_THIS   0xffffffff
 「このホスト」のソースIPアドレス。 More...
 
#define IP_UDP   17
 IP向けのUDPプロトコルタイプ More...
 
#define IP_VH   0x45
 「IPバージョン」および「HDRの長さ」 More...
 

Variables

struct iqentry ipoqueue
 ネットワーク送信キュー More...
 

Detailed Description

Internet Protocol version 4 (IPv4)に関する定数。

Definition in file ip.h.

Macro Definition Documentation

◆ IP_ALLZEROS

#define IP_ALLZEROS   0x00000000

全てゼロのIPアドレス。

Definition at line 11 of file ip.h.

◆ IP_ASIZE

#define IP_ASIZE   4

IPアドレスのバイト数

Definition at line 18 of file ip.h.

◆ IP_BCAST

#define IP_BCAST   0xffffffff

IPローカルブロードキャストアドレス。

Definition at line 7 of file ip.h.

Referenced by arp_resolve(), getlocalip(), ip_in(), ip_send(), and ipout().

◆ IP_HDR_LEN

#define IP_HDR_LEN   20

IPヘッダのバイト数。

Definition at line 20 of file ip.h.

Referenced by icmp_in(), icmp_mkpkt(), icmp_recv(), ip_in(), ip_out(), and pdumph().

◆ IP_ICMP

#define IP_ICMP   1

IP向けのICMPプロトコルタイプ

Definition at line 14 of file ip.h.

Referenced by icmp_mkpkt(), ip_in(), ip_local(), ip_out(), pdump(), and pdumph().

◆ IP_OQSIZ

#define IP_OQSIZ   8

IPアウトプットキューのサイズ

Definition at line 24 of file ip.h.

Referenced by ip_enqueue(), and ipout().

◆ IP_THIS

#define IP_THIS   0xffffffff

「このホスト」のソースIPアドレス。

Definition at line 9 of file ip.h.

◆ IP_UDP

#define IP_UDP   17

IP向けのUDPプロトコルタイプ

Definition at line 16 of file ip.h.

Referenced by ip_in(), ip_local(), ip_out(), pdump(), pdumph(), udp_send(), and udp_sendto().

◆ IP_VH

#define IP_VH   0x45

「IPバージョン」および「HDRの長さ」

Definition at line 22 of file ip.h.

Variable Documentation

◆ ipoqueue

struct iqentry ipoqueue

ネットワーク送信キュー

Definition at line 6 of file ip.c.

Referenced by ip_enqueue(), ipout(), and net_init().