From owner-freebsd-bugs@FreeBSD.ORG Tue May 6 00:30:23 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4527C37B404 for ; Tue, 6 May 2003 00:30:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A811043FAF for ; Tue, 6 May 2003 00:30:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h467UMUp081307 for ; Tue, 6 May 2003 00:30:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h467UMWX081306; Tue, 6 May 2003 00:30:22 -0700 (PDT) Date: Tue, 6 May 2003 00:30:22 -0700 (PDT) Message-Id: <200305060730.h467UMWX081306@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Vincent Jardin Subject: Re: kern/51831: ATM/HARP BPF support X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vincent Jardin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 07:30:23 -0000 The following reply was made to PR kern/51831; it has been noted by GNATS. From: Vincent Jardin To: freebsd-gnats-submit@FreeBSD.org, vjardin@free.fr Cc: Subject: Re: kern/51831: ATM/HARP BPF support Date: Tue, 6 May 2003 09:25:39 +0200 For example, now you can get the LLC/SNAP header with tcpdump: su-2.05b# atm add pvc hva1 3 40 AAL5 SNAP IP atm0 1.1.2.3 su-2.05b# atm show ipvcc Net Intf VPI VCI State Flags IP Address atm0 1 40 ACTIVE PM 1.1.2.2 atm0 3 40 ACTIVE PLM 1.1.2.3 su-2.05b# atm show vcc Interface VPI VCI AAL Type Dir State Encaps Owner hva1 1 40 AAL5 PVC InOut ACTIVE Null IP hva1 3 40 AAL5 PVC InOut ACTIVE LLC/SNAP IP su-2.05b# ifconfig atm0 atm0: flags=3D43 mtu 9180 inet 1.1.1.1 netmask 0xffff0000 broadcast 1.1.255.255 ether 00:19:e1:6a:a3:f2 $ ping 1.1.2.3 su-2.05b# tcpdump -nXi atm0 tcpdump: listening on atm0 09:22:20.540119 1.1.1.1 > 1.1.2.3: icmp: echo request 0x0000 aaaa 0300 0000 0800 4500 0054 05c6 0000 ........E..T.... 0x0010 4001 6fde 0101 0101 0101 0203 0800 cc1b @.o............. 0x0020 f702 1500 ac62 b73e c93c 0800 0809 0a0b .....b.>.<...... 0x0030 0c0d 0e0f 1011 1213 1415 1617 1819 1a1b ................ 0x0040 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b .....!"#$%&'()*+ 0x0050 2c2d 2e2f 3031 3233 3435 3637 ,-./01234567 su-2.05b# tcpdump -nvi atm0 tcpdump: listening on atm0 09:22:25.590190 snap 0:0:0:8:0 1.1.1.1 > 1.1.2.3: icmp: echo request (ttl= 64,=20 id 1493, len 84)