[dpdk-users] SSL-Packet

Konstantinos Schoinas ece8537 at upnet.gr
Wed Aug 1 12:20:54 CEST 2018


Hello,

Can somebody tell me how to cast a tcp packet to an ssl packet?

I tried these lines but i dont things they are completely right.

Struct ssl_record {
    uint8_t type;
    uint16_t version;
    uint16_t length;
}


tcp = (struct tcp_hdr *)(ip + 1);
ssl = (struct ssl_record *)(tcp + 1);



More information about the users mailing list