summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
AgeCommit message (Expand)Author
2012-11-23Add SIOCGIFHARDMTU to allow retrieving the driver's maximum supported MTUStuart Henderson
2012-07-24decls before codeTheo de Raadt
2012-07-23Call sppp_clear_ip_addrs from a workq. Problem reported by RD Thrush andStuart Henderson
2012-01-28Remove a horrible sppp(4)-specific "fast queue" used for tcp ports 21 23 513.Stuart Henderson
2012-01-19Teach pppoe(4) about RFC 4638. This allows negotiating increased MTU withStuart Henderson
2011-07-07another case of "clever" fiddling with ifq internals, just stumbled overHenning Brauer
2011-07-06and make sppp_qflush a wrapper around IF_PURGE instead of handrollingHenning Brauer
2011-07-06second trial: stop messing with ifq internals, this time use IF_IS_EMPTYHenning Brauer
2011-07-06cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhmHenning Brauer
2011-07-05Revert henning's commit-n-run that broke the treePhilip Guenthe
2011-07-052 cases of IFQ_IS_EMPTY instead of mucking with ifqueue internalsHenning Brauer
2011-06-29always set sppp auth secret, as other code assumes it.Ted Unangst
2011-06-18pass the correct size to memsetJonathan Gray
2011-05-04Collapse m_pullup and m_pullup2 into a single function, as they'reBret Lambert
2011-04-17in_ifinit() is not prepared to be called from interrupt context so addStefan Sperling
2011-01-11for key material that is being being discarded, convert bzero() toTheo de Raadt
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