Commit Graph

17 Commits

Author SHA1 Message Date
Christian Mauderer
657e6c93ef libnetworking: Import current <netinet/in.h>
Import the <netinet/in.h> from current FreeBSD.  This allows to build
some current software (e.g. libressl).

Add legacy support like

* prototype for in_cksum(),
* IPPORT_USERRESERVED,
* deprecated IPCTL_RT* defines,
* ip_fw_chk_t and ip_fw_ctl_t,
* ip_nat_... (IP NAT hooks), and
* IP_NAT option for get/setsockopt()

to new <rtems/rtems_netinet_in.h>.
2016-06-28 13:09:44 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Ralf Corsepius
ee7f2f7bcc 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_icmp.h:
	Misc. changes from FreeBSD.
	* libnetworking/netinet/tcp_var.h: Include <netinet/tcp_timer.h>.
2011-02-24 14:57:34 +00:00
Ralf Corsepius
b25b88e732 Add HAVE_CONFIG_H support to let files receive configure defines. 2010-03-28 05:50:29 +00:00
Ralf Corsepius
b7cfd627b3 Add missing initializers. 2008-12-23 05:00:57 +00:00
Ralf Corsepius
dd967330f8 Stop using old-style function definitions. 2008-09-01 06:36:17 +00:00
Ralf Corsepius
491f63a5b3 Further _IP_VHL removal preps. 2007-03-29 14:31:08 +00:00
Ralf Corsepius
4939788183 Preps to eliminate _IP_VHL (Abandoned in FreeBSD). 2007-03-29 07:47:15 +00:00
Joel Sherrill
ae5a79c349 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c,
	libnetworking/net/ethernet.h, libnetworking/net/if.h,
	libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c,
	libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c,
	libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c,
	libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c,
	libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h,
	libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove
	warnings. Most of the warnings were 16/32 bit integer sizing issues.
	Some constants had L appended, some had casts add, some types were
	changed to reflect a bit width requirement.
2006-08-30 17:20:33 +00:00
Eric Norum
491d8825c9 Update icps_allecho counter. 2006-05-31 14:52:05 +00:00
Eric Norum
261e743d66 Add flag to inhibit ICMP replies. 2006-05-30 15:12:54 +00:00
Eric Norum
2a94c85420 Add "ICMP panic avoided" diagnostic counter. 2005-05-24 00:36:35 +00:00
Ralf Corsepius
a736847cb3 Partial update from FreeBSD. 2005-05-21 16:31:28 +00:00
Joel Sherrill
4e8c729f7f 2005-05-20 Eric Norum <norume@aps.anl.gov>
PR 793/networking
	* libnetworking/netinet/ip_icmp.c: Malicious ICMP packet causes panic.
	Just ignore it.
2005-05-20 18:56:42 +00:00
Ralf Corsepius
e953e2df06 Partial updates from FreeBSD. 2005-04-15 06:29:42 +00:00
Joel Sherrill
13e11f69c1 Added debug #define and commented it out. 1999-02-02 21:15:15 +00:00
Joel Sherrill
39e6e65a2c Base files 1998-08-19 21:32:28 +00:00