cvs commit: src/sys/netgraph/bluetooth/drivers/h4 ng_h4.c
src/sys/netgraph/bluetooth/includeng_btsocket_hci_raw.c
Hartmut Brandt
harti at FreeBSD.org
Mon Jan 26 07:20:53 PST 2004
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
More information about the cvs-src
mailing list