summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
2001-12-21use radix table for inbound tunnel lookup (would increase performanceitojun
for machines with a lot of tunnels). update route cache for IPvX-over-IPv6 tunnel on path MTU discovery. snyc with kame
2001-12-21whitespace. protect from multiple inclusion. sync with kameitojun
2001-12-21call rip_ctlinput on icmp4 inputsitojun
2001-12-21move protosw fragment for gif/stf to their own source code.itojun
reduce #ifdef in stf code. sync with kame
2001-12-21have packed attribute to protocol structs. sync with kameitojun
2001-12-21have rip_ctlinput to notify routing changes to raw socketsitojun
(protosw change to be done). sync with kame
2001-12-21comment and whitespace. sync with kameitojun
2001-12-21whitespace. sync with kameitojun
2001-12-07correct timing to increment icmp6 MIB variables. sync with kameitojun
2001-12-03Fix TCP segment size computation. From Rick Byersm, PR kern/14799.jmcneill
2001-11-28recompute hlen after calling pfil_run_hooks() in case ip_hl was changed.darrenr
2001-11-21update outgoing ifp, only if tunnel mode ipsec is used. this is toitojun
honor IP_MULTICAST_IF setsockopt on ipsec-over-multicast. sync with kame
2001-11-20- replace "defopt" with "defparam" for options which must take a value,lukem
as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-15don't need <sys/types.h> when including <sys/param.h>lukem
2001-11-13add RCSIDslukem
2001-11-07do not grab packet to joined multicast group, when ip6_dst and in6p_laddritojun
mismatches. it makes the behavior more closer to 4.4BSD IPv4 code. sync with kame
2001-11-04Convert netinet to not use the internal <sys/queue.h> field namesmatt
but instead the access macros. Use the FOREACH macros where appropriate.
2001-11-04Change a few variable/tables to const since they are read-only.matt
2001-11-04Keep only one mtu_table (the two were identical except formatt
one value - 65280).
2001-11-02array boundary overflow on the use of IPv4 mapped address. from simonbitojun
2001-10-30Add in support for timing out IPv4 routes added due to redirects,kml
as discussed in tech-net several weeks ago. It turned out that KAME had already added this functionality to the IPv6 stack, so I followed their example in adding the sysctl variables net.inet.icmp.rediraccept and net.inet.icmp.redirtimeout.
2001-10-29Don't need to include <uvm/uvm_extern.h> just to include <sys/sysctl.h>simonb
anymore.
2001-10-24remove unused codepath (unifdef -UUDP6)itojun
2001-10-24it may fix PR14124.itojun
2001-10-20Make tcp_outflags & tcpstates const.matt
2001-10-20Make the two MTU tables const and change their type to u_int (one was intmatt
and one was u_long!).
2001-10-18Deprecate the "m_act" alias of "m_nextpkt" (m_act is a historicalthorpej
name), and just use m_nextpkt everywhere.
2001-10-15implement IPV6_V6ONLY socket option from draft-ietf-ipngwg-rfc2553bis-03.txt.itojun
IPV6_BINDV6ONLY (netbsd only) is deprecated, but still work just like before.
2001-09-28don't depend on other headers to include sys/proc.h for us.chs
2001-09-17Split the pre-computed ifnet checksum flags into Tx and Rx directions.thorpej
Add capabilities bits that indicate an interface can only perform in-bound TCPv4 or UDPv4 checksums. There is at least one Gig-E chip for which this is true (Level One LXT-1001), and this is also the case for the Intel i82559 10/100 Ethernet chips.
2001-09-16Spell 'occurred' with two 'r's.wiz
2001-09-16Fix typo in comment.martin
2001-09-11Use callouts for SYN cache timers, rather than traversing time queuesthorpej
in tcp_slowtimo().
2001-09-10Update copyrights.thorpej
2001-09-10Use callouts for TCP timers, rather than traversing the list ofthorpej
all open TCP connections in tcp_slowtimo() (which is called 2x per second). It's fairly rare for TCP timers to actually fire, so saving this list traversal is good, especially if you want to scale to thousands of open connections.
2001-09-10Initialize TCP timer variables in a new function, tcp_timer_init().thorpej
2001-09-10Add explicit initialization of TCP timer state. A noop right now.thorpej
2001-09-10Split tcp_timers() into multiple functions, one for each timer,thorpej
and call it directly from tcp_slowtimo() (via a table) rather than going through tcp_userreq(). This will allow us to call TCP timers directly from callouts, in a future revision.
2001-09-10Change the way receive idle time and round trip time are measured.thorpej
Instead of incrementing t_idle and t_rtt in tcp_slowtimo(), we now take a timstamp (via tcp_now) and use subtraction to compute the delta when we actually need it (using unsigned arithmetic so that tcp_now wrapping is handled correctly). Based on similar changes in FreeBSD.
2001-09-10Enable Congestion Window Monitoring by default.thorpej
2001-09-10Use a callout for the delayed ACK timer, and delete tcp_fasttimo().thorpej
Expose the delayed ACK timer as net.inet.tcp.delack_ticks.
2001-08-20if I'm bridging and got a packet to interface address on if A from if B,itojun
advertise MAC address for if A with ARP reply.
2001-08-17Permit weaker interface matches for incoming ARP packets if the packet wasthorpej
received on an interface that is part of a bridge and we find an ifaddr on an interface that is part of the same bridge.
2001-08-16gif interface now uses generic software interruptitojun
(on archs that support it). also, make gif ALTQ-capable on outgoing. sync with kame, comments from thorpej.
2001-08-11fix cksum error of udp and tcp packet with ip optionsyamt
2001-08-06cache IPsec policy on in6?pcb. most of the lookup operations can be bypassed,itojun
especially when it is a connected SOCK_STREAM in6?pcb. sync with kame.
2001-07-31Carve off the code that builds a TCP data packet into its ownthorpej
function, and inline it, except when profiling... so we can profile it.
2001-07-31Count the number of times we "self-quench" (ip_output() returnsthorpej
ENOBUFS), and don't inline tcp_segsize() if profiling.
2001-07-29sync gif interface code with latest kame.itojun
IFF_RUNNING is clearified. attach/detach logic is more clearner. the old code mistakenly set IFF_UP by itself, now the behavior is gone.
2001-07-27do not check in_dstaddr on in_{add,scrub}prefix, otherwise linklocalitojun
address manipulation could choke. sync with kame