From owner-cvs-src@FreeBSD.ORG Wed May 17 00:13:25 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDBA216A406; Wed, 17 May 2006 00:13:25 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC17443D48; Wed, 17 May 2006 00:13:25 +0000 (GMT) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4H0D7sK010946; Wed, 17 May 2006 00:13:07 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4H0D7G1010945; Wed, 17 May 2006 00:13:07 GMT (envelope-from emax) Message-Id: <200605170013.k4H0D7G1010945@repoman.freebsd.org> From: Maksim Yevmenkin Date: Wed, 17 May 2006 00:13:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph/bluetooth/include ng_btsocket.h ng_hci.h src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 00:13:26 -0000 emax 2006-05-17 00:13:07 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/include ng_btsocket.h ng_hci.h sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Log: Add new SIOC_HCI_RAW_NODE_LIST_NAMES ioctl. User-space applications can use this ioctl to obtain the list of HCI nodes. User-space application is expected to preallocate 'ng_btsocket_hci_raw_node_list_names' structure and set limit in 'num_nodes' field. The 'nodes' field should be allocated as well and it should have space for at least 'num_nodes' elements. The SIOC_HCI_RAW_NODE_LIST_NAMES should be issued on bound raw HCI socket. It does not really really matter what HCI name the socket is bound to, as long as it is not empty. MFC after: 1 week Revision Changes Path 1.8 +9 -0 src/sys/netgraph/bluetooth/include/ng_btsocket.h 1.7 +2 -0 src/sys/netgraph/bluetooth/include/ng_hci.h 1.21 +64 -1 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c