Date: Fri, 12 Nov 2010 18:22:12 +0500 From: "Eugene M. Zheganin" <emz@norma.perm.ru> To: freebsd-stable@freebsd.org Subject: Re: netgraph and interface nodes Message-ID: <4CDD3F84.9010901@norma.perm.ru> In-Reply-To: <201011121327.04287.freebsd-stable@dino.sk> References: <4CDD2B4C.5090106@norma.perm.ru> <201011121307.23133.zec@icir.org> <201011121327.04287.freebsd-stable@dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. On 12.11.2010 17:27, Milan Obuch wrote: > > Slightly related... how about em0.100 type nodes? > > # ngctl list > There are 3 total nodes: > Name: em0 Type: ether ID: 00000001 Num hooks: 0 > Name: em1 Type: ether ID: 00000002 Num hooks: 0 > Name: ngctl48803 Type: socket ID: 00000005 Num hooks: 0 > door.dino.sk# ifconfig em0.100 create > door.dino.sk# ngctl list > There are 4 total nodes: > Name:<unnamed> Type: ether ID: 00000006 Num hooks: 0 > Name: em0 Type: ether ID: 00000001 Num hooks: 0 > Name: em1 Type: ether ID: 00000002 Num hooks: 0 > Name: ngctl49103 Type: socket ID: 00000007 Num hooks: 0 > > It looks like the dot in interface name is not handled gracefully here... > Nothing: %kldstat Id Refs Address Size Name 1 57 0xc0400000 8c50f4 kernel 2 1 0xc0cc6000 4beb8 if_em.ko 4 1 0xc0d17000 2424 accf_http.ko 5 1 0xc0d1a000 bfe0 ipmi.ko 6 2 0xc0d26000 1bd0 smbus.ko 7 1 0xc0d28000 27cc ng_ipfw.ko 8 1 0xc6c38000 5000 if_vlan.ko 9 1 0xc6ec1000 5000 ng_netflow.ko 10 1 0xc71c0000 26000 linux.ko 11 1 0xc72a4000 4000 ng_mppc.ko 12 1 0xc72a8000 2000 rc4.ko 13 1 0xc77ca000 4000 ng_nat.ko 14 1 0xc7dbe000 5000 ng_l2tp.ko 15 1 0xc7e43000 5000 ng_ksocket.ko 16 1 0xc7eea000 3000 ng_tcpmss.ko 17 1 0xc9197000 3000 ng_eiface.ko 18 1 0xcbc81000 3000 ng_vlan.ko %ngctl list There are 14 total nodes: Name: <unnamed> Type: ksocket ID: 0000012f Num hooks: 1 Name: <unnamed> Type: l2tp ID: 0000012d Num hooks: 3 Name: <unnamed> Type: socket ID: 0000012c Num hooks: 1 Name: ng0 Type: iface ID: 00000133 Num hooks: 1 Name: ngctl54909 Type: socket ID: 0000013c Num hooks: 0 Name: mpd94408-stats Type: socket ID: 00000135 Num hooks: 0 Name: ipfw Type: ipfw ID: 00000001 Num hooks: 2 Name: mpd94408-cso Type: socket ID: 0000012a Num hooks: 0 Name: mpd94408-eso Type: socket ID: 0000012b Num hooks: 0 Name: nat Type: nat ID: 0000000a Num hooks: 2 Name: mpd94408-lso Type: socket ID: 00000129 Num hooks: 1 Name: mpd94408-B2-3-mss Type: tcpmss ID: 00000136 Num hooks: 2 Name: mpd94408-B2-3 Type: ppp ID: 00000134 Num hooks: 3 Name: mpd94408-L1-2-lt Type: tee ID: 00000130 Num hooks: 2 %ifconfig -l em0 em1 ipfw0 lo0 vlan1 vlan2 vlan3 vlan5 vlan6 vlan9 vlan10 vlan11 vlan12 vlan21 vlan104 vlan15 vlan818 ng0 Eugene.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CDD3F84.9010901>