Constant Field Values
Contents
jpcap.packet.*
-
jpcap.packet.ARPPacket Modifier and Type Constant Field Value public static final short
ARP_REPLY
2
public static final short
ARP_REQUEST
1
public static final short
HARDTYPE_ETHER
1
public static final short
HARDTYPE_FRAMERELAY
15
public static final short
HARDTYPE_IEEE802
6
public static final short
INV_REPLY
9
public static final short
INV_REQUEST
8
public static final short
PROTOTYPE_IP
2048
public static final short
RARP_REPLY
4
public static final short
RARP_REQUEST
3
-
jpcap.packet.EthernetPacket Modifier and Type Constant Field Value public static final short
ETHERTYPE_ARP
2054
public static final short
ETHERTYPE_IP
2048
public static final short
ETHERTYPE_IPV6
-31011
public static final short
ETHERTYPE_LOOPBACK
-28672
public static final short
ETHERTYPE_PUP
512
public static final short
ETHERTYPE_REVARP
-32715
public static final short
ETHERTYPE_VLAN
-32512
-
jpcap.packet.ICMPPacket Modifier and Type Constant Field Value public static final short
ICMP_ECHO
8
public static final short
ICMP_ECHOREPLY
0
public static final short
ICMP_IREQ
15
public static final short
ICMP_IREQREPLY
16
public static final short
ICMP_MASKREPLY
18
public static final short
ICMP_MASKREQ
17
public static final short
ICMP_PARAMPROB
12
public static final short
ICMP_PARAMPROB_ERRATPTR
0
public static final short
ICMP_PARAMPROB_LENGTH
2
public static final short
ICMP_PARAMPROB_OPTABSENT
1
public static final short
ICMP_REDIRECT
5
public static final short
ICMP_REDIRECT_HOST
1
public static final short
ICMP_REDIRECT_NET
0
public static final short
ICMP_REDIRECT_TOSHOST
3
public static final short
ICMP_REDIRECT_TOSNET
2
public static final short
ICMP_ROUTERADVERT
9
public static final short
ICMP_ROUTERSOLICIT
10
public static final short
ICMP_SOURCEQUENCH
4
public static final short
ICMP_TIMXCEED
11
public static final short
ICMP_TIMXCEED_INTRANS
0
public static final short
ICMP_TIMXCEED_REASS
1
public static final short
ICMP_TSTAMP
13
public static final short
ICMP_TSTAMPREPLY
14
public static final short
ICMP_UNREACH
3
public static final short
ICMP_UNREACH_FILTER_PROHIB
13
public static final short
ICMP_UNREACH_HOST
1
public static final short
ICMP_UNREACH_HOST_PRECEDENCE
14
public static final short
ICMP_UNREACH_HOST_PROHIB
10
public static final short
ICMP_UNREACH_HOST_UNKNOWN
7
public static final short
ICMP_UNREACH_ISOLATED
8
public static final short
ICMP_UNREACH_NEEDFRAG
4
public static final short
ICMP_UNREACH_NET
0
public static final short
ICMP_UNREACH_NET_PROHIB
9
public static final short
ICMP_UNREACH_NET_UNKNOWN
6
public static final short
ICMP_UNREACH_PORT
3
public static final short
ICMP_UNREACH_PRECEDENCE_CUTOFF
15
public static final short
ICMP_UNREACH_PROTOCOL
2
public static final short
ICMP_UNREACH_SRCFAIL
5
public static final short
ICMP_UNREACH_TOSHOST
12
public static final short
ICMP_UNREACH_TOSNET
11
-
jpcap.packet.IPPacket Modifier and Type Constant Field Value public static final short
IPPROTO_HOPOPT
0
public static final short
IPPROTO_ICMP
1
public static final short
IPPROTO_IGMP
2
public static final short
IPPROTO_IP
4
public static final short
IPPROTO_IPv6
41
public static final short
IPPROTO_IPv6_Frag
44
public static final short
IPPROTO_IPv6_ICMP
58
public static final short
IPPROTO_IPv6_NoNxt
59
public static final short
IPPROTO_IPv6_Opts
60
public static final short
IPPROTO_IPv6_Route
43
public static final short
IPPROTO_TCP
6
public static final short
IPPROTO_UDP
17
-
jpcap.packet.IPv6Option Modifier and Type Constant Field Value public static final byte
AH_OPTION
51
public static final byte
DESTINATION_OPTION
60
public static final byte
ESP_OPTION
50
public static final byte
FRAGMENT_OPTION
44
public static final byte
HOP_BY_HOP_OPTION
0
public static final byte
NONE_OPTION
59
public static final byte
ROUTING_OPTION
43