CVS log for src/sys/netbt/hci_socket.c
Up to [cvs.NetBSD.org] / src / sys / netbt
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:53 2024 UTC (10 months, 1 week ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -6
lines
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
Revision 1.45.18.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:16 2020 UTC (5 years, 1 month ago) by martin
Branches: phil-wifi
Diff to: previous 1.45.18.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.18.1: +4 -2
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Sep 28 07:10:55 2019 UTC (5 years, 7 months ago) by plunky
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2
lines
permit read_encryption_key_size from userland
Revision 1.45.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:46 2019 UTC (5 years, 11 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -6
lines
Sync with HEAD
Revision 1.40.10.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 08:12:17 2019 UTC (6 years, 3 months ago) by msaitoh
Branches: netbsd-7-1
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -6
lines
Pull up following revision(s) (requested by martin in ticket #1676):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/tcp_usrreq.c 1.223 via patch
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 08:09:00 2019 UTC (6 years, 3 months ago) by msaitoh
Branches: netbsd-7-0
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -6
lines
Pull up following revision(s) (requested by martin in ticket #1676):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/tcp_usrreq.c 1.223 via patch
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 07:57:00 2019 UTC (6 years, 3 months ago) by msaitoh
Branches: netbsd-7
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -6
lines
Pull up following revision(s) (requested by martin in ticket #1676):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/tcp_usrreq.c 1.223 via patch
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.45.10.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 07:04:09 2019 UTC (6 years, 3 months ago) by msaitoh
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +4 -6
lines
Pull up following revision(s) (requested by martin in ticket #1175):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/sctp_usrreq.c 1.14
sys/netinet/tcp_usrreq.c 1.223
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/sctp6_usrreq.c 1.17
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Jan 28 12:53:01 2019 UTC (6 years, 3 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -6
lines
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.20.14.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:03 2017 UTC (7 years, 5 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.20.14.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.14.1: +80 -170
lines
update from HEAD
Revision 1.40.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:07 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.40.4.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.4.2: +72 -86
lines
Sync with HEAD (as of 26th Dec)
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Dec 22 11:40:07 2015 UTC (9 years, 4 months ago) by plunky
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
netbsd-8-base,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
netbsd-8
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +72 -86
lines
there is no longer a reason to have a separate hci_send function now
that the hci_usrreq function is disassembled, so merge hci_send_pcb
back into hci_send()
Revision 1.40.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:25 2015 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.40.4.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.4.1: +11 -86
lines
Sync with HEAD
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat May 2 17:18:03 2015 UTC (10 years ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -9
lines
make connect syscall use sockaddr_big and modify pr_{send,connect}
nam parameter type from buf * to sockaddr *.
final commit for parameter type changes to protocol user requests
* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Apr 26 21:40:49 2015 UTC (10 years ago) by rtr
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -70
lines
remove pr_generic from struct pr_usrreqs and all implementations of
pr_generic in protocols.
bump to 7.99.13
approved by rmind@
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Apr 24 22:32:37 2015 UTC (10 years ago) by rtr
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -11
lines
make accept, getsockname and getpeername syscalls use sockaddr_big and modify
pr_{accept,sockname,peername} nam parameter type from mbuf * to sockaddr *.
* retained use of mbuftypes[MT_SONAME] for now.
* bump to netbsd version 7.99.12 for parameter type change.
patch posted to tech-net@ 2015/04/19
Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:22 2015 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -5
lines
Sync with HEAD
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Apr 3 20:01:07 2015 UTC (10 years, 1 month ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -5
lines
* change pr_bind to accept struct sockaddr * instead of struct mbuf *
* 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@
Revision 1.20.14.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:35 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +360 -167
lines
Rebase to HEAD as of a few days ago.
Revision 1.20.28.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:23 2014 UTC (10 years, 9 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +360 -167
lines
Rebase.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Aug 9 05:33:01 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE
Branch point for: nick-nhusb,
netbsd-7-1,
netbsd-7-0,
netbsd-7
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +24 -9
lines
split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq
switches and put into separate functions
- always KASSERT(solocked(so)) even if not implemented
(for PRU_CONNECT2 only)
- replace calls to pr_generic() with req = PRU_CONNECT2 with calls to
pr_connect2()
- replace calls to pr_generic() with req = PRU_PURGEIF with calls to
pr_purgeif()
put common code from unp_connect2() (used by unp_connect() into
unp_connect1() and call out to it when needed
patch only briefly reviewed by rmind@
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Aug 8 03:05:45 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +13 -5
lines
split PRU_RCVD function out of pr_generic() usrreq switches and put into
separate functions
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_RCVD with calls to
pr_rcvd()
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Aug 5 07:55:31 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +43 -25
lines
split PRU_SEND function out of pr_generic() usrreq switches and put into
separate functions
xxx_send(struct socket *, struct mbuf *, struct mbuf *,
struct mbuf *, struct lwp *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_SEND with calls to
pr_send()
rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_send() PRUs
- l2cap_send() -> l2cap_send_pcb()
- sco_send() -> sco_send_pcb()
- rfcomm_send() -> rfcomm_send_pcb()
patch reviewed by rmind
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Aug 5 05:24:26 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -5
lines
revert the removal of struct lwp * parameter from bind, listen and connect
user requests.
this should resolve the issue relating to nfs client hangs presented
recently by wiz on current-users@
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jul 31 03:39:35 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +50 -23
lines
split PRU_DISCONNECT, PRU_SHUTDOWN and PRU_ABORT function out of
pr_generic() usrreq switches and put into separate functions
xxx_disconnect(struct socket *)
xxx_shutdown(struct socket *)
xxx_abort(struct socket *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req =
PRU_{DISCONNECT,SHUTDOWN,ABORT}
with calls to pr_{disconnect,shutdown,abort}() respectively
rename existing internal functions used to implement above functionality
to permit use of the names for xxx_{disconnect,shutdown,abort}().
- {l2cap,sco,rfcomm}_disconnect() ->
{l2cap,sco,rfcomm}_disconnect_pcb()
- {unp,rip,tcp}_disconnect() -> {unp,rip,tcp}_disconnect1()
- unp_shutdown() -> unp_shutdown1()
patch reviewed by rmind
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jul 30 10:04:26 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +30 -19
lines
split PRU_CONNECT function out of pr_generic() usrreq switches and put
into seaparate functions
xxx_listen(struct socket *, struct mbuf *)
- always KASSERT(solocked(so)) and KASSERT(nam != NULL)
- replace calls to pr_generic() with req = PRU_CONNECT with
pr_connect()
- rename existin {l2cap,sco,rfcomm}_connect() to
{l2cap,sco,rfcomm}_connect_pcb() respectively to permit
naming consistency with other protocols functions.
- drop struct lwp * parameter from unp_connect() and at_pcbconnect()
and use curlwp instead where appropriate.
patch reviewed by rmind
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jul 24 15:12:03 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +43 -22
lines
split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreq
switches and put into separate functions
xxx_bind(struct socket *, struct mbuf *)
xxx_listen(struct socket *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_BIND with call to
pr_bind()
- replace calls to pr_generic() with req = PRU_LISTEN with call to
pr_listen()
- drop struct lwp * parameter from at_pcbsetaddr(), in_pcbbind() and
unp_bind() and always use curlwp.
rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_{bind,listen}() PRUs
- l2cap_{bind,listen}() -> l2cap_{bind,listen}_pcb()
- sco_{bind,listen}() -> sco_{bind,listen}_pcb()
- rfcomm_{bind,listen}() -> rfcomm_{bind,listen}_pcb()
patch reviewed by rmind
welcome to netbsd 6.99.48
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jul 23 13:17:18 2014 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +29 -4
lines
split PRU_SENDOOB and PRU_RCVOOB function out of pr_generic() usrreq
switches and put into separate functions
xxx_sendoob(struct socket *, struct mbuf *, struct mbuf *)
xxx_recvoob(struct socket *, struct mbuf *, int)
- always KASSERT(solocked(so)) even if request is not implemented
- replace calls to pr_generic() with req = PRU_{SEND,RCV}OOB with
calls to pr_{send,recv}oob() respectively.
there is still some tweaking of m_freem(m) and m_freem(control) to come
for consistency. not performed with this commit for clarity.
reviewed by rmind
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jul 9 14:41:42 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +13 -3
lines
* split PRU_ACCEPT function out of pr_generic() usrreq switches and put
into a separate function xxx_accept(struct socket *, struct mbuf *)
note: future cleanup will take place to remove struct mbuf parameter
type and replace it with a more appropriate type.
patch reviewed by rmind
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jul 9 04:54:03 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +46 -24
lines
* split PRU_PEERADDR and PRU_SOCKADDR function out of pr_generic()
usrreq switches and put into separate functions
xxx_{peer,sock}addr(struct socket *, struct mbuf *).
- KASSERT(solocked(so)) always in new functions even if request
is not implemented
- KASSERT(pcb != NULL) and KASSERT(nam) if the request is
implemented and not for tcp.
* for tcp roll #ifdef KPROF and #ifdef DEBUG code from tcp_usrreq() into
easier to cut & paste functions tcp_debug_capture() and
tcp_debug_trace()
- functions provided by rmind
- remaining use of PRU_{PEER,SOCK}ADDR #define to be removed in a
future commit.
* rename netbt functions to permit consistency of pru function names
(as has been done with other requests already split out).
- l2cap_{peer,sock}addr() -> l2cap_{peer,sock}_addr_pcb()
- rfcomm_{peer,sock}addr() -> rfcomm_{peer,sock}_addr_pcb()
- sco_{peer,sock}addr() -> sco_{peer,sock}_addr_pcb()
* split/refactor do_sys_getsockname(lwp, fd, which, nam) into
two functions do_sys_get{peer,sock}name(fd, nam).
- move PRU_PEERADDR handling into do_sys_getpeername() from
do_sys_getsockname()
- have svr4_stream directly call do_sys_get{sock,peer}name()
respectively instead of providing `which' & fix a DPRINTF string
that incorrectly wrote "getpeername" when it meant "getsockname"
- fix sys_getpeername() and sys_getsockname() to call
do_sys_get{sock,peer}name() without `which' and `lwp' & adjust
comments
- bump kernel version for removal of lwp & which parameters from
do_sys_getsockname()
note: future cleanup to remove struct mbuf * abuse in
xxx_{peer,sock}name()
still to come, not done in this commit since it is easier to do post
split.
patch reviewed by rmind
welcome to 6.99.47
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Jul 7 17:13:56 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -3
lines
* sprinkle KASSERT(solocked(so)); in all pr_stat() functions.
* fix remaining inconsistent struct socket parameter names.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jul 7 15:13:21 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
backout change that made pr_stat return EOPNOTSUPP for protocols that
were not filling in struct stat.
decision made after further discussion with rmind and investigation of
how other operating systems behave. soo_stat() is doing just enough to
be able to call what gets returned valid and thus justifys a return of
success.
additional review will be done to determine of the pr_stat functions
that were already returning EOPNOTSUPP can be considered successful with
what soo_stat() is doing.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jul 7 07:09:58 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -8
lines
* have pr_stat return EOPNOTSUPP consistently for all protocols that do
not fill in struct stat instead of returning success.
* in pr_stat remove all checks for non-NULL so->so_pcb except where the
pcb is actually used (i.e. cases where we don't return EOPNOTSUPP).
proposed on tech-net@
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jul 6 03:33:33 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +16 -5
lines
* split PRU_SENSE functionality out of xxx_usrreq() switches and place into
separate xxx_stat(struct socket *, struct stat *) functions.
* replace calls using pr_generic with req == PRU_SENSE with pr_stat().
further change will follow that cleans up the pattern used to extract the
pcb and test for its presence.
reviewed by rmind
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jul 1 05:49:18 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -5
lines
fix parameter types in pr_ioctl, called xx_control() functions and remove
abuse of pointer to struct mbuf type.
param2 changed to u_long type and uses parameter name 'cmd' (ioctl command)
param3 changed to void * type and uses parameter name 'data'
param4 changed to struct ifnet * and uses parameter name 'ifp'
param5 has been removed (formerly struct lwp *) and uses of 'l' have been
replaced with curlwp from curproc(9).
callers have had (now unnecessary) casts to struct mbuf * removed, called
code has had (now unnecessary) casts to u_long, void * and struct ifnet *
respectively removed.
reviewed by rmind@
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jun 22 08:10:18 2014 UTC (10 years, 10 months ago) by rtr
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +19 -16
lines
* split PRU_CONTROL functionality out of xxx_userreq() switches and place
into separate xxx_ioctl() functions.
* place KASSERT(req != PRU_CONTROL) inside xxx_userreq() as it is now
inappropriate for req = PRU_CONTROL in xxx_userreq().
* replace calls to pr_generic() with req = PRU_CONTROL with pr_ioctl().
* remove & fixup references to PRU_CONTROL xxx_userreq() function comments.
* fix various comments references for xxx_userreq() that mentioned
PRU_CONTROL as xxx_userreq() no longer handles the request.
a further change will follow to fix parameter and naming inconsistencies
retained from original code.
Reviewed by rmind@
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue May 20 19:04:00 2014 UTC (10 years, 11 months ago) by rmind
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5
lines
Adjust PR_WRAP_USRREQS() to include the attach/detach functions.
We still need the kernel-lock for some corner cases.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue May 20 18:25:54 2014 UTC (10 years, 11 months ago) by rmind
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +9 -7
lines
netbt: rename some attach/detach functions to have _pcb suffix, so
we could use standard attach/detach naming for pr_usrreq functions.
No functional change.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon May 19 02:51:24 2014 UTC (11 years ago) by rmind
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +65 -49
lines
- Split off PRU_ATTACH and PRU_DETACH logic into separate functions.
- Replace malloc with kmem and eliminate M_PCB while here.
- Sprinkle more asserts.
Revision 1.20.18.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:13 2014 UTC (11 years ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.20.18.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.18.1: +3 -2
lines
sync with head
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun May 18 14:46:16 2014 UTC (11 years ago) by rmind
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -3
lines
Add struct pr_usrreqs with a pr_generic function and prepare for the
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.
Bump for struct protosw. Welcome to 6.99.62!
Revision 1.20.18.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 15:21:48 2013 UTC (11 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +70 -50
lines
Checkpoint work in progress:
- Initial split of the protocol user-request method into the following
methods: pr_attach, pr_detach and pr_generic for old the pr_usrreq.
- Adjust socreate(9) and sonewconn(9) to call pr_attach without the
socket lock held (as a preparation for the locking scheme adjustment).
- Adjust all pr_attach routines to assert that PCB is not set.
- Sprinkle various comments, document some routines and their locking.
- Remove M_PCB, replace with kmem(9).
- Fix few bugs spotted on the way.
Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:54 2011 UTC (13 years, 11 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +12 -2
lines
Sync with HEAD.
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:57 2011 UTC (14 years, 2 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +12 -2
lines
sync with head
Revision 1.19.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:01 2011 UTC (14 years, 3 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +12 -2
lines
Sync with HEAD
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jan 30 17:23:23 2011 UTC (14 years, 3 months ago) by plunky
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy,
rmind-smpnet
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -2
lines
add (SOL_SOCKET, SO_TIMESTAMP) messages if requested
Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:48:24 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.2: +130 -224
lines
sync with head.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Aug 10 20:22:06 2009 UTC (15 years, 9 months ago) by plunky
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jruoho-x86intr-base
Branch point for: rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +69 -57
lines
reduce the number of KAUTH_DEVICE_BLUETOOTH_SEND/RECV requests
by passing the packet type as an argument rather than having
a different request for each type.
(from a suggestion by mrg)
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Aug 10 18:25:20 2009 UTC (15 years, 9 months ago) by plunky
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +110 -216
lines
remove last usage of KAUTH_ISSUSER in bluetooth code by adding
some requests to the device scope:
KAUTH_DEVICE_BLUETOOTH_SEND_COMMAND
KAUTH_DEVICE_BLUETOOTH_RECV_COMMAND
KAUTH_DEVICE_BLUETOOTH_RECV_EVENT
KAUTH_DEVICE_BLUETOOTH_RECV_DATA
and a listener tied to the HCI protocol that will approve the basic
minimum to be sent and received.
handle the requests in the bsd44_suser listener by approving all
when the credential is root.
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:16 2009 UTC (16 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +27 -29
lines
sync with head.
Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:45 2008 UTC (16 years, 6 months ago) by haad
Branches: haad-dm
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +27 -29
lines
Sync with HEAD.
Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:57 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.1: +25 -27
lines
Sync with HEAD.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:00 2008 UTC (16 years, 8 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +27 -29
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 6 15:01:24 2008 UTC (16 years, 9 months ago) by plunky
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +27 -29
lines
Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.
approved by core
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:23 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +12 -4
lines
Sync with HEAD.
Revision 1.14.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:28 2008 UTC (17 years ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +12 -4
lines
sync with head.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:41 2008 UTC (17 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -3
lines
sync with head.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Apr 29 18:41:06 2008 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
haad-dm
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -3
lines
PRU_CONTROL: acquire bt_lock manually.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:38:37 2008 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -3
lines
Merge the socket locking patch:
- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.
With much feedback from matt@ and plunky@.
Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:06 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.1: +48 -2
lines
sync with HEAD
Revision 1.11.12.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:07 2008 UTC (17 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11.12.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.12.1: +316 -99
lines
Sync with HEAD.
Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 11 15:00:04 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.7: +48 -2
lines
sync with head.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Feb 10 17:40:54 2008 UTC (17 years, 3 months ago) by plunky
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
mjf-devfs2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +48 -2
lines
add HCI definitions from the Bluetooth 2.1 spec
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:12 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +270 -99
lines
sync with head
Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:22 2008 UTC (17 years, 4 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +271 -100
lines
sync with HEAD
Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:57:16 2008 UTC (17 years, 4 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +270 -99
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Dec 30 18:26:42 2007 UTC (17 years, 4 months ago) by plunky
Branches: MAIN
CVS tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +270 -99
lines
request and keep a mask of supported commands per unit in order
to block unsupported HCI commands sent by unprivileged users
reaching the device.
Revision 1.11.12.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:49:07 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Sync with HEAD.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:45:04 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +3 -3
lines
sync with head.
Revision 1.11.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:48 2007 UTC (17 years, 6 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -3
lines
Sync with HEAD
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:48:27 2007 UTC (17 years, 6 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -3
lines
Sync with HEAD.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Nov 10 23:12:23 2007 UTC (17 years, 6 months ago) by plunky
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: bouyer-xeni386
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
use more device_t and device_xxx() accessors
make bluetooth stack keep device_t instead of softc pointer as
device is not necessarily part of softc, and pass device_t to
driver callbacks. hci_devname is no longer required.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:42:40 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +47 -21
lines
sync with head.
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:27:57 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.7.2.1: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +3 -3
lines
Sync with HEAD.
Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:49:43 2007 UTC (17 years, 9 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +3 -3
lines
Sync with HEAD.
Revision 1.11.14.2: download - view: text, markup, annotated - select for diffs
Thu Jul 19 20:48:52 2007 UTC (17 years, 10 months ago) by plunky
Branches: matt-mips64
Diff to: previous 1.11.14.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.14.1: +712 -0
lines
not necessary to cast to (void *) (from caddr_t removal)
Revision 1.11.14.1
Thu Jul 19 20:48:51 2007 UTC (17 years, 10 months ago) by plunky
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.11: +0 -712
lines
file hci_socket.c was added on branch matt-mips64 on 2007-07-19 20:48:52 +0000
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jul 19 20:48:51 2007 UTC (17 years, 10 months ago) by plunky
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
matt-mips64-base,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup
Branch point for: mjf-devfs,
matt-mips64,
matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
not necessary to cast to (void *) (from caddr_t removal)
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:11:11 2007 UTC (17 years, 10 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +42 -16
lines
Sync with head.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:58 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +10 -9
lines
sync with head.
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:48 2007 UTC (18 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +42 -16
lines
Sync with head.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Mar 31 18:17:13 2007 UTC (18 years, 1 month ago) by plunky
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -3
lines
change declaration for protosw.h const symbolic strings to static, so that
they can be used by more than one source file without causing duplicate
definitions.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Mar 30 20:47:02 2007 UTC (18 years, 1 month ago) by plunky
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -8
lines
be more explicit and consistent in use of KASSERT with pointers,
test against NULL
Revision 1.7.6.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:59 2007 UTC (18 years, 1 month ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +34 -9
lines
Pullup to -current
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:56:09 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +34 -9
lines
sync with head.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Mar 21 06:22:07 2007 UTC (18 years, 2 months ago) by plunky
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +34 -9
lines
disallow sending command packets of unexpected length
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:34 2007 UTC (18 years, 2 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -7
lines
Sync with HEAD.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 5 19:11:54 2007 UTC (18 years, 2 months ago) by plunky
Branches: MAIN
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -6
lines
return ENOPROTOOPT when protocol options are not known
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:19 2007 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:42 2007 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +4 -6
lines
sync with head.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:14 2007 UTC (18 years, 4 months ago) by ad
Branches: newlock2
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +4 -6
lines
Sync with head.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 4 19:07:03 2007 UTC (18 years, 4 months ago) by elad
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -6
lines
Consistent usage of KAUTH_GENERIC_ISSUSER.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:32 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +87 -163
lines
sync with head.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:36 2006 UTC (18 years, 6 months ago) by ad
Branches: newlock2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +82 -155
lines
Sync with head.
Revision 1.3.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:28 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +82 -155
lines
sync with head
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 1 10:13:54 2006 UTC (18 years, 7 months ago) by plunky
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +82 -155
lines
Reduce memory usage by not allocating a chunk for a bitmask.
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:39 2006 UTC (18 years, 8 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +761 -0
lines
sync with head
Revision 1.1.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:36 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.1.6.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.3: +2 -3
lines
sync with head.
Revision 1.3.4.1
Thu Aug 17 17:11:28 2006 UTC (18 years, 9 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.3: +0 -761
lines
file hci_socket.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:58:39 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 17 17:11:28 2006 UTC (18 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
rpaulo-netinet-merge-pcb,
newlock2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3
lines
Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
Revision 1.1.6.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:46:32 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.1.6.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.6.2: +9 -11
lines
sync with head
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:13 2006 UTC (18 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -11
lines
Use the LWP cached credentials where sane.
Revision 1.1.8.2: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:58 2006 UTC (18 years, 10 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.1.8.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.8.1: +764 -0
lines
Merge from HEAD.
Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:53:57 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.6.1: +764 -0
lines
sync with head.
Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Thu Jun 22 03:39:50 2006 UTC (18 years, 10 months ago) by chap
Branches: chap-midi
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +764 -0
lines
Complete a sync sys/ with head.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:51 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +764 -0
lines
sync with head.
Revision 1.1.8.1
Mon Jun 19 15:44:45 2006 UTC (18 years, 11 months ago) by gdamore
Branches: gdamore-uart
FILE REMOVED
Changes since revision 1.1: +0 -764
lines
file hci_socket.c was added on branch gdamore-uart on 2006-07-13 17:49:58 +0000
Revision 1.1.6.1
Mon Jun 19 15:44:45 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.1: +0 -764
lines
file hci_socket.c was added on branch yamt-pdpolicy on 2006-06-26 12:53:57 +0000
Revision 1.1.4.1
Mon Jun 19 15:44:45 2006 UTC (18 years, 11 months ago) by chap
Branches: chap-midi
FILE REMOVED
Changes since revision 1.1: +0 -764
lines
file hci_socket.c was added on branch chap-midi on 2006-06-22 03:39:50 +0000
Revision 1.1.2.1
Mon Jun 19 15:44:45 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.1: +0 -764
lines
file hci_socket.c was added on branch yamt-lazymbuf on 2006-06-21 15:10:51 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 15:44:45 2006 UTC (18 years, 11 months ago) by gdamore
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
chap-midi-nbase,
chap-midi-base
Branch point for: yamt-pdpolicy,
yamt-lazymbuf,
gdamore-uart,
chap-midi
Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.
The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.
Drivers for both PCMCIA and USB bluetooth controllers are included.
CVSweb <webmaster@jp.NetBSD.org>