From owner-cvs-all@FreeBSD.ORG Mon Jan 26 07:20:53 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EB1216A4D3; Mon, 26 Jan 2004 07:20:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0766543D94; Mon, 26 Jan 2004 07:19:45 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0QFJi0B048343; Mon, 26 Jan 2004 07:19:44 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0QFJiU0048342; Mon, 26 Jan 2004 07:19:44 -0800 (PST) (envelope-from harti) Message-Id: <200401261519.i0QFJiU0048342@repoman.freebsd.org> From: Hartmut Brandt Date: Mon, 26 Jan 2004 07:19:44 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph/bluetooth/drivers/h4 ng_h4.c src/sys/netgraph/bluetooth/includeng_btsocket_hci_raw.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 15:20:53 -0000 harti 2004/01/26 07:19:44 PST FreeBSD src repository Modified files: sys/netgraph/bluetooth/drivers/h4 ng_h4.c sys/netgraph/bluetooth/include ng_btsocket.h sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Log: Replace deprecated NG_NODELEN with the new NG_NODESIZ. There is one problem here still to be solved: the sockaddr_hci has still a 16 byte field for the node name. The code currently does not correctly use the length field in the sockaddr to handle the address length, so node names get truncated to 15 characters when put into a sockaddr_hci. Revision Changes Path 1.6 +2 -2 src/sys/netgraph/bluetooth/drivers/h4/ng_h4.c 1.4 +6 -1 src/sys/netgraph/bluetooth/include/ng_btsocket.h 1.11 +1 -1 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c