aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_options.h
Commit message (Collapse)AuthorAgeFilesLines
* sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | 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=326023
* 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
* Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, andHiroki Sato2014-09-151-1/+2
| | | | | | | | | net.inet.ip.process_options vnet-aware. Revert changes in r271545. Suggested by: bz Notes: svn path=/head/; revision=271610
* In ip_stripoptions():Gleb Smirnoff2012-10-121-1/+1
| | | | | | | | - Remove unused argument and incorrect comment. - Fixup ip_len after stripping. Notes: svn path=/head/; revision=241480
* Add function ip_checkrouteralert(), which will be usedBruce M Simpson2009-03-041-0/+1
| | | | | | | | by IGMPv3 to check for the IPv4 Router Alert [RFC2113] option in a pulled-up IP mbuf chain. Notes: svn path=/head/; revision=189343
* Normalize style a bit: reduce pseudo-randomness of comment layout andRobert Watson2007-05-111-11/+9
| | | | | | | white space. Remove 'register'. Notes: svn path=/head/; revision=169464
* Move MAX_IPOPTLEN and struct ipoption back into ip_var.h asAndre Oppermann2005-11-191-13/+0
| | | | | | | | | | userland programs depend on it. Pointed out by: le Sponsored by: TCP/IP Optimization Fundraise 2005 Notes: svn path=/head/; revision=152608
* Consolidate all IP Options handling functions into ip_options.[ch] andAndre Oppermann2005-11-181-0/+74
include ip_options.h into all files making use of IP Options functions. From ip_input.c rev 1.306: ip_dooptions(struct mbuf *m, int pass) save_rte(m, option, dst) ip_srcroute(m0) ip_stripoptions(m, mopt) From ip_output.c rev 1.249: ip_insertoptions(m, opt, phlen) ip_optcopy(ip, jp) ip_pcbopts(struct inpcb *inp, int optname, struct mbuf *m) No functional changes in this commit. Discussed with: rwatson Sponsored by: TCP/IP Optimization Fundraise 2005 Notes: svn path=/head/; revision=152592