summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
AgeCommit message (Expand)Author
2010-11-17an extra parameter for in_ifinit, indicating wether the ifaddr passed to itHenning Brauer
2010-09-13Using a normaly unavailable 0.0.0.1 gateway on routes on sppp(4) basedClaudio Jeker
2010-07-20Switch some obvious network stack MAC comparisons from bcmp() toMatthew Dempsky
2010-05-01incomming -> incomingMichael Knudsen
2010-02-08The IMPs are history so is splimp, this needs now splnet so update comment.Claudio Jeker
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-07-27tiemout_add -> timeout_add_secBret Lambert
2009-07-13Do the same rdomain checking in sppp as we do in the Ethernet case.Claudio Jeker
2009-02-18Free authentication data when detaching sppp from interface.Can Erkin Acar
2009-02-16allocate the large structures instead of putting them on the stack, andTheo de Raadt
2009-02-16Allow username and password to be up to 255 characters in length.Can Erkin Acar
2009-02-06Remove bogus casts of integer constants SPPPIO[GS]DEFS to caddr_tAlexander Yurchenko
2009-01-31u_char is not compatible with default argument promotion type thusAlexander Yurchenko
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2008-06-08Don't spam dmesg with sppp messages, instead use log(9).Claudio Jeker
2008-05-17Initialize the timeouts only once instead of everytime they are startedCan Erkin Acar
2008-05-11Check to make sure pp_tlf is not NULL in sppp_keepalive() before calling it.Brad Smith
2008-05-11When passing opt[] array as an argument, use opt instead of &opt. WhileCan Erkin Acar
2007-12-041500 is a 'magic number' in the protocol that all implementationsClaudio Jeker
2007-11-26typos; ok jmc@Martynas Venckus
2007-11-21simplify sppp_chap_scr() now that we are using arc4random_bytes()Can Erkin Acar
2007-11-16use arc4random_bytes() instead of multiple arc4random() calls;Damien Miller
2007-11-01correct fixTheo de Raadt
2007-11-01tsk tsk tsk, noone tested this; spotted by canacarTheo de Raadt
2007-10-31Don't leak potentially secret authname through ioctl interface.Mike Belopuhov
2007-09-25Handle incoming protocol reject packets now that we haveCan Erkin Acar
2007-09-05IPv6 support for sppp layer, based on NetBSD version.Can Erkin Acar
2007-08-28The m_pulldown used for aligning was not copying the header,Can Erkin Acar
2007-08-20Align the packet after the ppp header.Can Erkin Acar
2007-08-14Make sure all the packet is in one continuous mbuf.Can Erkin Acar
2007-08-07Use the length of the mbuf instead of the packet.Can Erkin Acar
2007-06-06remove remaining IPX hooks. all inside #ifdef IPX, so no actual changeHenning Brauer
2007-05-28Users of arc4random() should include dev/rndvar.h directly.Ryan Thomas McBride
2007-05-20Handle IP address stuff in tls/tlf state messagesCan Erkin Acar
2007-04-18Typo in comment. From Brad.Marco Pfatschbacher
2007-04-17Add support for setting the address of the ppp peer.Marco Pfatschbacher
2007-03-19Use u_int32_t instead of u_long for IP addresses.Marco Pfatschbacher
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
2007-02-11Remove _KERNEL_OPT leftovers.Miod Vallat
2006-12-06Missing newline in printf.Bernd Ahlers
2006-08-28Check for illegal option lengths when parsing LCP packetsCan Erkin Acar
2006-07-11Only print link state changes if interface is in debug mode.Can Erkin Acar
2006-07-04logging should be in debug mode only. if every network driver did aTheo de Raadt
2006-07-02diff from peter phillip at freenet dot de:Reyk Floeter
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
2006-02-24Another gem from the the-world-runs-on-i386 departement. Using u_long inClaudio Jeker
2005-10-07Report interface link state changes in sppp layerCan Erkin Acar
2005-08-12Use actual packet contents when sending protocol rejects. Fixes PR 4305.Can Erkin Acar
2005-08-03prevent unaligned memory access when processing LCP echo packets,Can Erkin Acar
2005-06-08bye bye netns (and a few leftover DECNET bits while here)Henning Brauer