source: trunk/minix/servers/inet/generic/icmp.h@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 581 bytes
Line 
1/*
2icmp.h
3
4Copyright 1995 Philip Homburg
5*/
6
7#ifndef ICMP_H
8#define ICMP_H
9
10#define ICMP_MAX_DATAGRAM 8196
11#define ICMP_DEF_TTL 96
12
13/* Rate limit. The implementation is a bit sloppy and may send twice the
14 * number of packets.
15 */
16#define ICMP_MAX_RATE 100 /* This many per interval */
17#define ICMP_RATE_INTERVAL (1*HZ) /* Interval in ticks */
18#define ICMP_RATE_WARN 10 /* Report this many dropped packets */
19
20/* Prototypes */
21
22void icmp_prep ARGS(( void ));
23void icmp_init ARGS(( void ));
24
25
26#endif /* ICMP_H */
27
28/*
29 * $PchId: icmp.h,v 1.7 2001/04/19 19:06:18 philip Exp $
30 */
Note: See TracBrowser for help on using the repository browser.