summaryrefslogtreecommitdiff
path: root/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
Commit message (Collapse)AuthorAgeFilesLines
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKEDTakanori Watanabe2015-04-071-0/+1
| | | | | | | This will fix build. Notes: svn path=/head/; revision=281210
* Change the code to use the openpty(3) API which uses the pts(4) driverMaksim Yevmenkin2014-10-231-73/+28
| | | | | | | | | | | instead of the pty(4) driver. PR: 184597 Submitted by: tobias.rehbein MFC after: 2 weeks Notes: svn path=/head/; revision=273548
* Clenup code a bit and do not call fork(2) before dameon(3) where not needed.Maksim Yevmenkin2009-02-041-16/+2
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=188130
* Make -t <tty> optional in server mode. If not specified use stdin/stdout.Maksim Yevmenkin2008-05-141-16/+21
| | | | | | | | | | | | | | Document this. Do not require channel number in server mode. If not specified - bind to ''wildcard'' channel zero. Real channel number will be obtained automatically and registered with local sdpd(8). While I'm here fix serial port service registration. Submitted by: luigi Tested by: Helge Oldach <freebsd-bluetooth at oldach dot net> MFC after: 3 days Notes: svn path=/head/; revision=178992
* Check return value of listen().Kevin Lo2007-09-111-1/+2
| | | | | | | | Reviewed by: emax Approved by: re (kensmith) Notes: svn path=/head/; revision=172142
* Add "server mode" to rfcomm_sppd(1).Maksim Yevmenkin2007-01-251-32/+100
| | | | | | | | Submitted by: Dave Eckhardt, bms Tested by: Dave Eckhardt, Eric Anderson, bms Notes: svn path=/head/; revision=166233
* Teach rfcomm_sppd(8) to recognize "lan" (for LAN Access Using PPP) serviceMaksim Yevmenkin2005-12-071-0/+4
| | | | | | | | | name in '-c' (RFCOMM channel) option. MFC after: 3 days Notes: svn path=/head/; revision=153209
* Teach rfcomm_sppd(1) about service names, so it is possible to specifyMaksim Yevmenkin2005-11-231-5/+29
| | | | | | | | | | service name instead of channel number with -c command option. Supported service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port). MFC after: 1 week Notes: svn path=/head/; revision=152704
* Make -t <tty> optional. If not specified use stdin/stdout.Maksim Yevmenkin2004-09-301-11/+25
| | | | | | | | | | | | | | Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com> MFC after: 3 days Notes: svn path=/head/; revision=135993
* - One can use both BD_ADDR or name to specify address of the Bluetooth device.Maksim Yevmenkin2004-08-051-1/+1
| | | | | | | | | | | Update man pages to document this fact. - Update usage messages - Change u_intXXX to uintXXX Notes: svn path=/head/; revision=133178
* Fix a couple of stylistic issuesMaksim Yevmenkin2003-12-221-2/+2
| | | | | | | | Reviewed by: imp (mentor), ru Approved by: imp (mentor) Notes: svn path=/head/; revision=123734
* Fix uncontrolled access to the buffer in rfcomm_sppd(1).Maksim Yevmenkin2003-12-191-4/+21
| | | | | | | | | | | Fix typo in hcsecd(8) man page. Submitted by: Guido Falsi <mad@madpilot.net> Reviewed by: imp (mentor) Approved by: imp (mentor) Notes: svn path=/head/; revision=123676
* Update Bluetooth code.Maksim Yevmenkin2003-10-121-25/+27
| | | | | | | | Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org> Approved by: M. Warner Losh <imp@bsdimp.com> (mentor) Notes: svn path=/head/; revision=121054
* Part one of undating the bluetooth code to the newest versionJulian Elischer2003-05-101-0/+383
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@ Notes: svn path=/head/; revision=114878