public interface IcmpHeader extends Layer4Header
IcmpHeader describes the contents of ICMP header.| Modifier and Type | Method and Description |
|---|---|
short |
getIcmpCode()
Return the ICMP code.
|
short |
getIcmpType()
Return the ICMP type.
|
void |
setIcmpCode(short code)
Set the ICMP code.
|
void |
setIcmpType(short type)
Set the ICMP type.
|
setDescriptionshort getIcmpType()
void setIcmpType(short type)
type - A short integer value which indicates the ICMP type.short getIcmpCode()
void setIcmpCode(short code)
code - A short integer value which indicates the ICMP code.Copyright © 2018 OpenDaylight. All rights reserved.