
io.pkts.packet.TransportPacket Maven / Gradle / Ivy
/**
*
*/
package io.pkts.packet;
/**
* Represents a Transport packet (Layer 4 in the OSI)
*
* @author [email protected]
*
*/
public interface TransportPacket extends Packet, Cloneable {
int getSourcePort();
void setSourcePort(int port);
int getDestinationPort();
void setDestinationPort(int port);
boolean isUDP();
boolean isTCP();
boolean isSCTP();
int getHeaderLength();
TransportPacket clone();
@Override
IPPacket getParentPacket();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy