summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_options.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r271545, 271610:hrs2014-10-091-1/+2
| | | | | Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and net.inet.ip.process_options vnet-aware.
* In ip_stripoptions():glebius2012-10-121-1/+1
| | | | | - Remove unused argument and incorrect comment. - Fixup ip_len after stripping.
* Add function ip_checkrouteralert(), which will be usedbms2009-03-041-0/+1
| | | | | by IGMPv3 to check for the IPv4 Router Alert [RFC2113] option in a pulled-up IP mbuf chain.
* Normalize style a bit: reduce pseudo-randomness of comment layout andrwatson2007-05-111-11/+9
| | | | white space. Remove 'register'.
* Move MAX_IPOPTLEN and struct ipoption back into ip_var.h asandre2005-11-191-13/+0
| | | | | | | userland programs depend on it. Pointed out by: le Sponsored by: TCP/IP Optimization Fundraise 2005
* Consolidate all IP Options handling functions into ip_options.[ch] andandre2005-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
OpenPOWER on IntegriCloud