]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace deprecated NG_NODELEN with the new NG_NODESIZ. There is one
authorharti <harti@FreeBSD.org>
Mon, 26 Jan 2004 15:19:43 +0000 (15:19 +0000)
committerharti <harti@FreeBSD.org>
Mon, 26 Jan 2004 15:19:43 +0000 (15:19 +0000)
commit5e802bbf2a5a4335c01550543e9f2a8c78e482b5
tree8b910dedcfe822461bb34ffdc3e6cab9556e2ad2
parent3a15ac7b11b935e1782804d428a4147f3f5fec27
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