From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 00:14:05 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E597212B for ; Tue, 21 Oct 2014 00:14:05 +0000 (UTC) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A7AB4F59 for ; Tue, 21 Oct 2014 00:14:05 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id i13so82498qae.41 for ; Mon, 20 Oct 2014 17:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=EPyZk/GT/mOY1FlqMfuSg+jpkJpcIwBIAnE2SzxLeVg=; b=gNaTJuaEr9htOfA+DbX84kcrUgZXbi5RYBeUXvtDN+lVuP6s+0YyyFW8ThSpfidRxF B/SST7s7+Qh79cjINq2vPhMF1gzxcL1g2KGqlWUSOrLRdUlbIO4RdKyswzj/TQWAQ8Qc sACAeG4NY6aQFw+mk6pcEOxbBOTxKTnOtTM7OoP5qx7hR4cbLnMGFLMTlhn5c4BFgwH+ 9hlm1B4l1s+ruszdR153vxfHEeEdLDMq/us0VMTrme5WEUeHsUbUfxWDDLIlaz9O5EAa PSfHgclNohuHL9fW4gk1bpxy32tGyzetvLTqeuOy5hpuJQDs5BUzxGRRNPVI6SYLbJyg l2BQ== MIME-Version: 1.0 X-Received: by 10.140.91.73 with SMTP id y67mr38314321qgd.52.1413850444868; Mon, 20 Oct 2014 17:14:04 -0700 (PDT) Sender: hiren.panchasara@gmail.com Received: by 10.96.205.201 with HTTP; Mon, 20 Oct 2014 17:14:04 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 Oct 2014 17:14:04 -0700 X-Google-Sender-Auth: t37B3nVhmhbicIcaw-gquixcX0Q Message-ID: Subject: Re: Media types in ifconfig From: hiren panchasara To: Eric Joyner Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 00:14:06 -0000 On Mon, Oct 20, 2014 at 4:53 PM, Eric Joyner wrote: > So, what are the two fields on the media line for? > > AFAICT, it looks like the first field is the media the user wants to use > (so the driver typically sets it to Ethernet autoselect by default?), and > the > second field is for the media that's active in the interface. Aren't those "type" and "subtype"? sys/net/if_media.h has more info. cheers, Hiren