Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262258AbVCOFOO (ORCPT ); Tue, 15 Mar 2005 00:14:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262260AbVCOFOM (ORCPT ); Tue, 15 Mar 2005 00:14:12 -0500 Received: from ns1.lanforge.com ([66.165.47.210]:25005 "EHLO www.lanforge.com") by vger.kernel.org with ESMTP id S262261AbVCOFKa (ORCPT ); Tue, 15 Mar 2005 00:10:30 -0500 Message-ID: <42366E44.1070409@candelatech.com> Date: Mon, 14 Mar 2005 21:10:28 -0800 From: Ben Greear Organization: Candela Technologies User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Donald Duckie CC: Linux Kernel Mailing List Subject: Re: MAC address instead of IP References: <20050315050204.37107.qmail@web53608.mail.yahoo.com> In-Reply-To: <20050315050204.37107.qmail@web53608.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 26 Donald Duckie wrote: > Hi! > > I am looking for some sample codes which uses MAC > address instead of TCP-IP for data transmission. Any > suggestions are highly appreciated. Check out the 'man 7 socket' man page and read up on raw packet sockets. You can format a packet down to the ethernet header and send it directly to the interface transmit queue... And all this safely from user-space. Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/