summaryrefslogtreecommitdiff
path: root/solaris/ppp.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert to ANSI CPaul Mackerras2020-12-291-38/+30
| | | | | | | | | | | | | | | This gets rid of the __P and __V macros that were used so that the code was in theory compilable by a K&R C compiler, and converts the function definitions to ANSI C style. In fact there were already quite a few function definitions in the ANSI C style, so it would not have been compilable by a K&R C compiler in fact. The Solaris and BSD kernel code modules have had __P removed but the function definitions have not been converted. There are some other minor changes here to remove warnings. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
* Fixed kernel memory leaks reported by Jin Jiang along with someJames Carlson2005-06-271-58/+82
| | | | readability and commenting problems that led to the leaks.
* Cut down on spam from Solaris ppp kernel bits: unknown DLPI primitivesJames Carlson2004-11-151-2/+3
| | | | | (as encountered on Solaris 10) aren't errors, and need to flush out any queued up (undecoded) data on the read side after pushing ppp_ahdlc.
* More copyright updates. The new CMU copyright notice is from CMU andPaul Mackerras2002-12-061-20/+28
| | | | | | now explicitly allows modifications. I have an acknowledgement from ANU that the work I have done on pppd belongs to me and not to ANU, so I have changed the ANU copyright notices to reflect this.
* 1) Created a subdirectory called 'solaris'. Currently it contains a replicaAdi Masputra2000-04-181-0/+2486
of the 'svr4' directory. However, over time, files in this directory will contain the same code as the kernel-portion of pppd in future releases of Solaris, hence they most probably will change in contents and/or sub-structure. 2) Changed the 'configure' script to not create symbolic link Makefiles when the OS is SunOS 4.x. Under 'SunOS' category, only SunOS 5.x (or Solaris 2.x) is currently enabled. 3) Changed the rest of the utilities + pppd daemon Makefile.sol2 to point to the solaris/Makedefs instead of the one in svr4 directory.