summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
AgeCommit message (Expand)Author
2013-12-11Use an u_int32_t instead of an unsigned long to store the magic numberJeremie Courreges-Anglas
2013-11-20Convert sppp(4) to taskq; ok mikeb@ mpi@Stefan Sperling
2013-11-14Improvements for address assignment and related issues in IPv6CP.Stefan Sperling
2013-11-11Replace most of our formating functions to convert IPv4/6 addresses fromMartin Pieuchot
2013-11-05Remove useless #ifdef *BSD cruft from sppp(4). No binary change.Stefan Sperling
2013-10-24Remove the number of in6_var.h inclusions by moving some functions andMartin Pieuchot
2013-10-01Format string fixes: %hu/%hd for uint16_t, %u/%d/%x for uint32_tStefan Fritsch
2013-08-16Replace the misleading SIOC{G,S}IFGENERIC ioctls by SIOCG{G,S}PPPPARAMS.Martin Pieuchot
2013-07-15Remove a comment which is no longer true.Martin Pieuchot
2013-07-10Change the structure used in the SPPPIOSDEFS and SPPPIOGDEFS ioctlsMartin Pieuchot
2013-06-20Revert previous and unbreak asr, the new include should be protected.Martin Pieuchot
2013-06-20Allocate the various hook head descriptors as part of the ifnetMartin Pieuchot
2013-05-31Remove the scrub argument from in_ifinit() and simply call in_ifscrub()Martin Pieuchot
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-03-28no need for a lot of code to include proc.hTed Unangst
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