in.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  ip_hdropt

Defines

#define IP_MIN_HDR_SIZE   20
#define IP_MAX_HDR_SIZE   60
#define IP_VERSION   4
#define IP_DEF_TTL   64
#define IP_MAX_TTL   255
#define IP_DEF_MTU   576
#define IP_MIN_MTU   (IP_MAX_HDR_SIZE+8)
#define IP_MAX_PACKSIZE   40000
#define IPPROTO_ICMP   1
#define IPPROTO_TCP   6
#define IPPROTO_UDP   17
#define IP_MC_ALL_SYSTEMS   0xE0000001

Typedefs

typedef u32_t ipaddr_t
typedef u8_t ipproto_t
typedef ip_hdropt ip_hdropt_t


Define Documentation

#define IP_DEF_MTU   576
 

Definition at line 13 of file in.h.

Referenced by tcp_frag2conn(), and tcp_send_timeout().

#define IP_DEF_TTL   64
 

Definition at line 11 of file in.h.

Referenced by ipr_ttl_exc(), and restart_write_fd().

#define IP_MAX_HDR_SIZE   60
 

Definition at line 9 of file in.h.

Referenced by ip_init(), and tcp_init().

#define IP_MAX_PACKSIZE   40000
 

Definition at line 15 of file in.h.

Referenced by ip_write().

#define IP_MAX_TTL   255
 

Definition at line 12 of file in.h.

Referenced by tcp_main(), tcp_notreach(), tcp_send_timeout(), and udp2ether().

#define IP_MC_ALL_SYSTEMS   0xE0000001
 

Definition at line 23 of file in.h.

#define IP_MIN_HDR_SIZE   20
 

Definition at line 8 of file in.h.

Referenced by icmp_dst_unreach(), icmp_err_pack(), icmp_rate_limit(), icmp_redirect(), icmp_time_exceeded(), ip_arrived(), ip_arrived_broadcast(), ip_frag_chk(), ip_packet2user(), ip_port_arrive(), ip_print_frags(), ip_send(), ip_split_pack(), main(), make_repl_ip(), merge_frags(), process_data(), report_addr(), restart_write_fd(), tcp_extract_ipopt(), tcp_make_header(), and udp_ip_arrived().

#define IP_MIN_MTU   (IP_MAX_HDR_SIZE+8)
 

Definition at line 14 of file in.h.

Referenced by ipr_mtu(), and tcp_frag2conn().

#define IP_VERSION   4
 

Definition at line 10 of file in.h.

Referenced by ip_frag_chk(), ip_send(), and report_addr().

#define IPPROTO_ICMP   1
 

Definition at line 19 of file in.h.

Referenced by icmp_err_pack(), icmp_getdata(), and make_repl_ip().

#define IPPROTO_TCP   6
 

Definition at line 20 of file in.h.

Referenced by _tcp_getsockopt(), _tcp_setsockopt(), _tcp_socket(), main(), tcp_get_data(), tcp_make_header(), and tcp_pack_oneCsum().

#define IPPROTO_UDP   17
 

Definition at line 21 of file in.h.

Referenced by _udp_socket(), ether2udp(), restart_write_fd(), udp2ether(), udp_cksum(), and udp_get_data().


Typedef Documentation

typedef struct ip_hdropt ip_hdropt_t
 

typedef u32_t ipaddr_t
 

Definition at line 25 of file in.h.

typedef u8_t ipproto_t
 

Definition at line 26 of file in.h.


Generated on Fri Apr 14 23:10:44 2006 for minix by  doxygen 1.4.6