aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/advcap.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-161-1/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. 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. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Fix off-by-one.Hiroki Sato2014-10-111-2/+2
| | | | | | | MFC after: 1 day Notes: svn path=/head/; revision=272971
* Fix a bug that prevents tc=xxx from working.Hiroki Sato2011-06-071-2/+1
| | | | Notes: svn path=/head/; revision=222824
* - Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router AdvertisementHiroki Sato2011-06-061-32/+18
| | | | | | | | | | | | | | | | | | | | | | | | Options for DNS Configuration) into rtadvd(8) and rtsold(8). DNS information received by rtsold(8) will go to resolv.conf(5) by resolvconf(8) script. This is based on work by J.R. Oldroyd (kern/156259) but revised extensively[1]. - rtadvd(8) now supports "noifprefix" to disable gathering on-link prefixes from interfaces when no "addr" is specified[2]. An entry in rtadvd.conf with "noifprefix" + no "addr" generates an RA message with no prefix information option. - rtadvd(8) now supports RTM_IFANNOUNCE message to fix crashes when an interface is added or removed. - Correct bogus ND_OPT_ROUTE_INFO value to one in RFC 4191. Reviewed by: bz[1] PR: kern/156259 [1] PR: bin/152458 [2] Notes: svn path=/head/; revision=222732
* Cleanup of userland __P useKevin Lo2007-11-071-9/+9
| | | | Notes: svn path=/head/; revision=173412
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareWarner Losh2004-08-071-4/+0
| | | | | | | (with permission of addtional copyright holders where appropriate) Notes: svn path=/head/; revision=133249
* use strlcpy() and snprintf().Hajimu UMEMOTO2003-08-111-2/+2
| | | | | | | | Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=118786
* use int64_t instead of long long.Hajimu UMEMOTO2003-08-111-3/+3
| | | | | | | | Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=118784
* KNF, correct typos and cleanup spaces.Hajimu UMEMOTO2003-08-081-2/+2
| | | | | | | | Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=118664
* stop use of register.Hajimu UMEMOTO2003-08-081-14/+14
| | | | | | | | Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=118662
* __FUNCTION__ --> __func__Hajimu UMEMOTO2003-08-081-1/+1
| | | | | | | | Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=118660
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-261-4/+5
| | | | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> Notes: svn path=/head/; revision=80381
* Sync with recent KAME.Hajimu UMEMOTO2001-06-111-4/+4
| | | | | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks Notes: svn path=/head/; revision=78064
* make it easier to handle $FreeBSD$ tags (amount of diff matters).Jun-ichiro itojun Hagino2001-01-211-2/+1
| | | | Notes: svn path=/head/; revision=71333
* Sync with latest KAMEKris Kennaway2000-07-051-18/+21
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=62656
* libipsec and IPsec related apps. (and some KAME related man pages)Yoshinobu Inoue2000-01-061-0/+452
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55505