From owner-freebsd-hackers@freebsd.org Fri Jun 17 01:15:02 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB839A44C3B for ; Fri, 17 Jun 2016 01:15:02 +0000 (UTC) (envelope-from jk@kornberger.name) Received: from digineo.de (mail.digineo.de [185.55.116.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0FF12D3F; Fri, 17 Jun 2016 01:15:01 +0000 (UTC) (envelope-from jk@kornberger.name) Received: from [192.168.180.22] (p4FF9168A.dip0.t-ipconnect.de [79.249.22.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jk) by digineo.de (Postfix) with ESMTPSA id 3A5C860214; Fri, 17 Jun 2016 03:14:58 +0200 (CEST) Subject: Re: Usage of sosend() and its context To: John Baldwin References: <575F20CF.1020103@kornberger.name> <2110371.3nz8SNp04Y@ralph.baldwin.cx> <5762E6C6.7030401@kornberger.name> <1489325.Tvgaf1skzf@ralph.baldwin.cx> Cc: freebsd-hackers@freebsd.org From: Julian Kornberger Message-ID: <57634F0F.7010005@kornberger.name> Date: Fri, 17 Jun 2016 03:14:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1489325.Tvgaf1skzf@ralph.baldwin.cx> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2016 01:15:03 -0000 On 16.06.2016 20:30, John Baldwin wrote: > Do you know where I can find a code snipped that returns the recipient > IP address and recipient UDP port of a IP4/IPv6 packet stored in a mbuf? > udp_input/ip_input have to extract it. Thanks, that is what I was looking for. -- Julian