Commit Graph

34 Commits

Author SHA1 Message Date
christos 2cab074098 add NOTREACHED comment 2014-06-21 17:50:01 +00:00
plunky 048d95d5ff no trailing comma on enum 2012-10-14 08:35:45 +00:00
plunky c61317e3bf add code to ensure that SO_SNDBUF is large enough on client connections,
as was previously done for server mode
2012-10-14 08:31:35 +00:00
njoly d0e00679ff Use Lk macro when dealing with URLs. While here update or remove some
dead URL links. Another part of PR/29238.
2012-03-15 22:35:02 +00:00
joerg dccf569e0e Use __dead. 2011-08-29 20:38:53 +00:00
joerg 42286e2542 Sprinkle const 2011-08-27 22:30:44 +00:00
wiz 613716bd88 Sort sections, SEE ALSO, and fix xref. 2011-04-29 10:31:02 +00:00
plunky 9119e9c88f the default socket rcvbuf for L2CAP is only 4Kbytes which is only
2 and a bit ethernet packets. Check and increase SO_RCVBUF on startup
so that we have buffers for 10 complete packets, should solve a
reported problem with overruns at higher connection speeds (our L2CAP
does not have any flow control).

(the default can still be adjusted upwards using sysctl)
2011-02-08 21:59:50 +00:00
plunky bc0aea6bfb check number of filters received against max possible 2011-02-08 21:43:45 +00:00
plunky 9a8271a39a when a BNEP channel is opened, clear any NetType or MulticastAddress
filters that may be in effect at the remote side.
2011-01-27 12:19:48 +00:00
plunky a14e16bfe0 style nit 2011-01-27 11:13:59 +00:00
plunky b04b174c48 after setting the L2CAP link mode in server mode, retrieve the kernels
interpretation of it and check specifically for auth when creating the
service record.
2009-10-25 19:28:45 +00:00
plunky f379f083fb use correct value for 10 Mbps 2009-10-24 20:06:42 +00:00
reed f20256f240 Fix man page reference from non-existent dhcp(8) to dhcpd(8).
Hope this was what was intended.
2009-10-24 12:22:24 +00:00
christos a1776a6de9 make this compile where size_t is not unsigned int. 2009-05-13 03:21:41 +00:00
plunky ab1f45acf7 update to use the new Service Discovery API 2009-05-12 21:50:38 +00:00
plunky 309b0691a2 add an exit hook at the tap so that on the way out (for whatever reason),
btpand will mark down the interface.
2009-05-12 21:21:23 +00:00
plunky 493f204d6d rework the channel shutdown code path, each channel now has its own
action to process which separates the server and client code.
2009-05-12 21:08:30 +00:00
plunky 3be8934b8b rather than debug message, exclaim in error for failed set filter 2009-05-12 19:57:59 +00:00
plunky cf71b1e8c5 no longer needs libsdp 2009-05-12 13:11:18 +00:00
plunky 539b5ab318 Ensure that these programs continue to build while I am in the
process of updating the Service Discovery Protocol API.
2009-05-07 18:08:55 +00:00
kefren 975948c441 Fix formatting for printing size_t 2009-05-03 07:24:55 +00:00
plunky e5826973cc add a noisy debug message for overlong packets
(I do get them from my phone)
2009-05-02 20:13:44 +00:00
plunky 02f520acc7 use assert() instead of _DIAGASSERT()
suggested by emax@freebsd
2009-05-02 20:07:51 +00:00
lukem 2132a832ac Fix -Wsign-compare issue 2009-04-15 00:37:05 +00:00
plunky 7a71a8c7db use the generic SIOCALIFADDR to add an active link layer address
instead of the (soon to be) deprecated SIOCSIFPHYADDR
2009-03-10 22:12:17 +00:00
plunky fe9facd3bf use some size_t instead of int 2009-02-04 19:24:18 +00:00
plunky 8f0a91453b Fix a problem which prevents remote parties connecting to our NAP service,
we got the services mixed up.
2009-01-31 07:21:15 +00:00
plunky 8d16a25319 The "Service Availability" value in the SDP record should be a number
from 0-255 indicating how much availability the service has, rather
than the "Load Factor (0-7)" as used in the "Class of Device" setting.
2009-01-24 17:29:28 +00:00
plunky 1bbd35ddef modify some SDP data parsing function names to avoid conflicts with similar
functions that are intended to be imported to libsdp.

(this will use the library routines when they are done)
2008-12-06 20:01:14 +00:00
plunky 920552413d no need to use -g and _DIAGNOSTIC 2008-08-18 08:25:32 +00:00
plunky a2cc8bda87 btpand is in section 8 2008-08-17 14:43:07 +00:00
cegger eee3cf23d8 spelling: Acess -> Access 2008-08-17 14:11:36 +00:00
plunky 1fc74d2104 add btpand(8), a Bluetooth PAN daemon 2008-08-17 13:20:57 +00:00