From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 30 May 2001 04:25:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 30 May 2001 04:25:36 -0400 Received: from gt.ipinfusion.com ([209.11.132.18]:57607 "EHLO gateway.ipinfusion.com") by vger.kernel.org with ESMTP id ; Wed, 30 May 2001 04:25:19 -0400 Message-ID: <3B14AE60.9090904@ipinfusion.com> Date: Wed, 30 May 2001 01:25:04 -0700 From: Haseeb Budhani Organization: IP Infusion Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: Interface "type". 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 Hello, I have a fairly quick one: Is there an ioctl flag/call which can be used to find out the "type" of the interface being used ? I would like to somehow be able to tell in my application whether the interface in question is of type ETHERNET or ATM or FRAME_RELAY etc. Any/all help will be greatly appreciated. -- Haseeb Budhani. Cell : 408.757.8709. Work : 408.794.1511.