Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 12:12:15 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Ganbold <ganbold@micom.mng.net>
Cc:        freebsd-current@FreeBSD.org, Harti Brandt <harti@FreeBSD.org>
Subject:   Re: small patch for ngctl
Message-ID:  <20060519081215.GO84736@cell.sick.ru>
In-Reply-To: <446D7C09.3090003@micom.mng.net>
References:  <446D7741.10102@micom.mng.net> <20060519095344.P13833@beagle.kn.op.dlr.de> <446D7C09.3090003@micom.mng.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 19, 2006 at 05:04:25PM +0900, Ganbold wrote:
G> I see. How can I make system to send unexpected messages to ngctl?

> kldload ng_ether
> ngctl

+ ls
There are 2 total nodes:
  Name: ngctl990        Type: socket          ID: 00000004   Num hooks: 0
  Name: fxp0            Type: ether           ID: 00000002   Num hooks: 0
+ connect fxp0: qqq lower
+ 
Rec'd data packet on hook "qqq":
0000:  00 10 a4 89 56 3f 00 30 48 80 34 83 08 00 45 00  ....V?.0H.4...E.
0010:  05 dc a0 91 20 00 40 11 91 7a 51 13 40 70 51 13  .... .@..zQ.@pQ.
0020:  40 6f 08 01 03 27 20 88 9b c6 77 90 1f ee 00 00  @o...' ...w.....
0030:  00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0040:  00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00  ................
0050:  01 a4 00 00 00 01 00 00 03 e8 00 00 00 00 00 00  ................


-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060519081215.GO84736>