~ubuntu-branches/ubuntu/trusty/xprobe/trusty

« back to all changes in this revision

Viewing changes to src/xpmodules/os_probe/icmp_port_unreach/parse_keyword.h

  • Committer: Bazaar Package Importer
  • Author(s): Richard Atterer
  • Date: 2005-02-22 22:54:24 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050222225424-6cqy8rr45pkna819
Tags: 0.2.2-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef PARSE_KEYWORD_H
 
2
#define PARSE_KEYWORD_H
 
3
char *keyarr[] = {
 
4
"icmp_unreach_reply_ttl",
 
5
"icmp_unreach_echoed_dtsize",
 
6
"icmp_unreach_echoed_udp_cksum",
 
7
"icmp_unreach_echoed_ip_cksum",
 
8
"icmp_unreach_echoed_ip_id",
 
9
"icmp_unreach_echoed_total_len",
 
10
"icmp_unreach_echoed_3bit_flags",
 
11
"icmp_unreach_precedence_bits",
 
12
"icmp_unreach_df_bit",
 
13
"icmp_unreach_ip_id",
 
14
"icmp_unreach_reply",
 
15
NULL};
 
16
 
 
17
#define ICMP_UNREACH_TTL 0
 
18
#define ICMP_UNREACH_ECHOED_SIZE 1
 
19
#define ICMP_UNREACH_ECHOED_UPSUM 2
 
20
#define ICMP_UNREACH_ECHOED_IPSUM 3
 
21
#define ICMP_UNREACH_ECHOED_IPID 4
 
22
#define ICMP_UNREACH_ECHOED_TOTLEN 5
 
23
#define ICMP_UNREACH_ECHOED_3BIT 6
 
24
#define ICMP_UNREACH_PRECEDENCE 7
 
25
#define ICMP_UNREACH_DF 8
 
26
#define ICMP_UNREACH_IPID 9
 
27
#define ICMP_UNREACH_REPLY 10
 
28
#endif