Date: Mon, 26 Jan 2004 07:19:44 -0800 (PST) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph/bluetooth/drivers/h4 ng_h4.c src/sys/netgraph/bluetooth/includeng_btsocket_hci_raw.c Message-ID: <200401261519.i0QFJiU0048342@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401261519.i0QFJiU0048342>