File: icmp.gen

package info (click to toggle)
netdiag 0.7-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,468 kB
  • ctags: 1,279
  • sloc: ansic: 12,973; makefile: 289; awk: 130; sh: 71
file content (33 lines) | stat: -rw-r--r-- 2,014 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
strncpy(icmp_types[0],"-----------------------------------",SN_PORT_TYPE_LEN);
strncpy(icmp_types[0],"Echo-Reply",SN_PORT_TYPE_LEN);
strncpy(icmp_types[1],"UNK 1",SN_PORT_TYPE_LEN);
strncpy(icmp_types[2],"UNK 2",SN_PORT_TYPE_LEN);
strncpy(icmp_types[3],"Destination-Unreachable",SN_PORT_TYPE_LEN);
strncpy(icmp_types[4],"Source-Quench",SN_PORT_TYPE_LEN);
strncpy(icmp_types[5],"Redirect",SN_PORT_TYPE_LEN);
strncpy(icmp_types[6],"Alternate-Host-Address",SN_PORT_TYPE_LEN);
strncpy(icmp_types[7],"UNK 7",SN_PORT_TYPE_LEN);
strncpy(icmp_types[8],"Echo",SN_PORT_TYPE_LEN);
strncpy(icmp_types[9],"Router-Advertisement",SN_PORT_TYPE_LEN);
strncpy(icmp_types[10],"Router-Selection",SN_PORT_TYPE_LEN);
strncpy(icmp_types[11],"Time-Exceeded",SN_PORT_TYPE_LEN);
strncpy(icmp_types[12],"Parameter-Problem",SN_PORT_TYPE_LEN);
strncpy(icmp_types[13],"Timestamp",SN_PORT_TYPE_LEN);
strncpy(icmp_types[14],"Timestamp-Reply",SN_PORT_TYPE_LEN);
strncpy(icmp_types[15],"Information-Request",SN_PORT_TYPE_LEN);
strncpy(icmp_types[16],"Information-Reply",SN_PORT_TYPE_LEN);
strncpy(icmp_types[17],"Address-Mask-Request",SN_PORT_TYPE_LEN);
strncpy(icmp_types[18],"Address-Mask-Reply",SN_PORT_TYPE_LEN);
strncpy(icmp_types[19],"Reserved-(for-Security)",SN_PORT_TYPE_LEN);
strncpy(icmp_types[20],"Reserved-(for-Robustness-Experiment)",SN_PORT_TYPE_LEN);
strncpy(icmp_types[30],"Traceroute",SN_PORT_TYPE_LEN);
strncpy(icmp_types[31],"Datagram-Conversion-Error",SN_PORT_TYPE_LEN);
strncpy(icmp_types[32],"Mobile-Host-Redirect",SN_PORT_TYPE_LEN);
strncpy(icmp_types[33],"IPv6-Where-Are-You",SN_PORT_TYPE_LEN);
strncpy(icmp_types[34],"IPv6-I-Am-Here",SN_PORT_TYPE_LEN);
strncpy(icmp_types[35],"Mobile-Registration-Request",SN_PORT_TYPE_LEN);
strncpy(icmp_types[36],"Mobile-Registration-Reply",SN_PORT_TYPE_LEN);
strncpy(icmp_types[37],"Domain-Name-Request",SN_PORT_TYPE_LEN);
strncpy(icmp_types[38],"Domain-Name-Reply",SN_PORT_TYPE_LEN);
strncpy(icmp_types[39],"SKIP",SN_PORT_TYPE_LEN);
strncpy(icmp_types[40],"Photuris",SN_PORT_TYPE_LEN);