| Line | |
|---|
| 1 | /*
|
|---|
| 2 | icmp.h
|
|---|
| 3 |
|
|---|
| 4 | Copyright 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 |
|
|---|
| 22 | void icmp_prep ARGS(( void ));
|
|---|
| 23 | void 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.