From owner-freebsd-net@FreeBSD.ORG Fri Jul 20 11:54:53 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D29F3106566B for ; Fri, 20 Jul 2012 11:54:53 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from mail.ipfw.ru (unknown [IPv6:2a01:4f8:120:6141::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6AAA68FC0A for ; Fri, 20 Jul 2012 11:54:52 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=dhcp170-36-red.yandex.net) by mail.ipfw.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1SsBpy-000DVb-6J; Fri, 20 Jul 2012 15:57:38 +0400 Message-ID: <50094698.3000407@ipfw.ru> Date: Fri, 20 Jul 2012 15:52:56 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120627 Thunderbird/13.0.1 MIME-Version: 1.0 To: Venkat Duvvuru References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: AF_LINK problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 11:54:53 -0000 On 20.07.2012 14:32, Venkat Duvvuru wrote: > Hi, > I'm trying to create a socket under AF_LINK family but freebsd is saying > that "protocol is not supported" while creating the socket. > Is AF_LINK not supported? If you're doing this to send raw ethernet frames you have to use bpf(4) instead. > > /Venkat > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- WBR, Alexander