All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.pkts.packet.TCPPacket Maven / Gradle / Ivy

There is a newer version: 3.0.10
Show newest version
/**
 * 
 */
package io.pkts.packet;

/**
 * @author [email protected]
 * 
 */
public interface TCPPacket extends TransportPacket {

    boolean isFIN();

    boolean isSYN();

    boolean isRST();

    /**
     * Check whether the psh (push) flag is turned on
     * 
     * @return
     */
    boolean isPSH();

    boolean isACK();

    boolean isURG();

    boolean isECE();

    boolean isCWR();

    long getSequenceNumber();

    long getAcknowledgementNumber();

    @Override
    IPPacket getParentPacket();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy