a2ba5e69ab
* update protocol bind implementations to use/expect sockaddr * instead of mbuf * * introduce sockaddr_big struct for storage of addr data passed via sys_bind; sockaddr_big is of sufficient size and alignment to accommodate all addr data sizes received. * modify sys_bind to allocate sockaddr_big instead of using an mbuf. * bump kernel version to 7.99.9 for change to pr_bind() parameter type. Patch posted to tech-net@ http://mail-index.netbsd.org/tech-net/2015/03/15/msg005004.html The choice to use a new structure sockaddr_big has been retained since changing sockaddr_storage size would lead to unnecessary ABI change. The use of the new structure does not preclude future work that increases the size of sockaddr_storage and at that time sockaddr_big may be trivially replaced. Tested by mrg@ and myself, discussed with rmind@, posted to tech-net@ |
||
---|---|---|
.. | ||
bluetooth.h | ||
bt_proto.c | ||
bt_sysctl.c | ||
files.netbt | ||
hci_event.c | ||
hci_ioctl.c | ||
hci_link.c | ||
hci_misc.c | ||
hci_socket.c | ||
hci_unit.c | ||
hci.h | ||
l2cap_lower.c | ||
l2cap_misc.c | ||
l2cap_signal.c | ||
l2cap_socket.c | ||
l2cap_upper.c | ||
l2cap.h | ||
Makefile | ||
rfcomm_dlc.c | ||
rfcomm_session.c | ||
rfcomm_socket.c | ||
rfcomm_upper.c | ||
rfcomm.h | ||
sco_socket.c | ||
sco_upper.c | ||
sco.h |