| 1 |
#ifndef _LIBNETFILTER_CONNTRACK_ICMP_H_ |
| 2 |
#define _LIBNETFILTER_CONNTRACK_ICMP_H_ |
| 3 |
|
| 4 |
#ifdef __cplusplus |
| 5 |
extern "C" { |
| 6 |
#endif |
| 7 |
|
| 8 |
/* WARNING: do not use these flags in your new applications, they are obsolete |
| 9 |
* and we keep them here to avoid breaking backward compatibility. */ |
| 10 |
enum icmp_flags { |
| 11 |
ICMP_TYPE_BIT = 0, |
| 12 |
ICMP_TYPE = (1 << ICMP_TYPE_BIT), |
| 13 |
|
| 14 |
ICMP_CODE_BIT = 1, |
| 15 |
ICMP_CODE = (1 << ICMP_CODE_BIT), |
| 16 |
|
| 17 |
ICMP_ID_BIT = 2, |
| 18 |
ICMP_ID = (1 << ICMP_ID_BIT) |
| 19 |
}; |
| 20 |
|
| 21 |
#ifdef __cplusplus |
| 22 |
} |
| 23 |
#endif |
| 24 |
|
| 25 |
#endif |