public class EncapIP extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
IP_CLASSD_ADDR |
protected static int |
IP_CLASSD_MASK |
protected static int |
IPPROTO_ICMP |
protected static int |
IPPROTO_IGMP |
protected static int |
IPPROTO_TCP |
protected static int |
IPPROTO_UDP |
| Constructor and Description |
|---|
EncapIP() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addrToString(int addr)
Utility routine to convert an IP address to a dotted
decimal string
|
static boolean |
inputIP(Packet pkt,
boolean mcast,
int mcastAddr,
int mcastPort,
DatagramPacket dPkt) |
protected static final int IPPROTO_ICMP
protected static final int IPPROTO_IGMP
protected static final int IPPROTO_TCP
protected static final int IPPROTO_UDP
protected static final int IP_CLASSD_ADDR
protected static final int IP_CLASSD_MASK
public static boolean inputIP(Packet pkt, boolean mcast, int mcastAddr, int mcastPort, DatagramPacket dPkt) throws com.sun.tv.net.PacketDiscardedException
com.sun.tv.net.PacketDiscardedExceptionpublic static String addrToString(int addr)
The - IP addressCopyright © 2012 code4tv.com. All Rights Reserved.