From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cormorant.upnet.gr (cormorant.upnet.gr [150.140.129.7]) by dpdk.org (Postfix) with ESMTP id A098E4CBD for ; Wed, 1 Aug 2018 12:20:54 +0200 (CEST) Received: (qmail 4957 invoked from network); 1 Aug 2018 10:20:49 -0000 Received: from xmail1.upnet.gr (HELO mail1.upnet.gr) ([150.140.129.42]) (envelope-sender ) by cormorant.upnet.gr (qmail-ldap-1.03) with SMTP for ; 1 Aug 2018 10:20:49 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 01 Aug 2018 13:20:54 +0300 From: Konstantinos Schoinas To: users@dpdk.org Message-ID: X-Sender: ece8537@upnet.gr User-Agent: Roundcube Webmail/1.1.0 Subject: [dpdk-users] SSL-Packet X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 10:20:54 -0000 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);