]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace deprecated NG_NODELEN with the new NG_NODESIZ. There is one
authorHartmut Brandt <harti@FreeBSD.org>
Mon, 26 Jan 2004 15:19:43 +0000 (15:19 +0000)
committerHartmut Brandt <harti@FreeBSD.org>
Mon, 26 Jan 2004 15:19:43 +0000 (15:19 +0000)
commitbbee16c0b95c8bd6d1055177091a362979f6cbf7
tree8b910dedcfe822461bb34ffdc3e6cab9556e2ad2
parent96e3efc09f108534cbd494e93f4bbdaf4869452e
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.
sys/netgraph/bluetooth/drivers/h4/ng_h4.c
sys/netgraph/bluetooth/include/ng_btsocket.h
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c