Commit Graph

5 Commits

Author SHA1 Message Date
Maxim Konovalov
f6da736775 o Improve the example a bit.
Submitted by:	hrs
2005-03-14 14:12:29 +00:00
Maxim Konovalov
08e0b6bbf2 Sort xrefs 2005-03-14 12:24:34 +00:00
Maxim Konovalov
e27b2d2765 o Replace OpenBSD-specific example by FreeBSD's one.
Noticed by:	Daniel O'Connor
2005-03-14 12:15:43 +00:00
Maxim Konovalov
9945c0e21f o Add handling of an IPv4-mapped IPv6 address.
o Use SYSCTL_IN() macro instead of direct call of copyin(9).

Submitted by:	ume

o Move sysctl_drop() implementation to sys/netinet/tcp_subr.c where
most of tcp sysctls live.
o There are net.inet[6].tcp[6].getcred sysctls already, no needs in
a separate struct tcp_ident_mapping.

Suggested by:	ume
2005-02-14 07:37:51 +00:00
Maxim Konovalov
212a79b010 o Implement net.inet.tcp.drop sysctl and userland part, tcpdrop(8)
utility:

    The tcpdrop command drops the TCP connection specified by the
    local address laddr, port lport and the foreign address faddr,
    port fport.

Obtained from:	OpenBSD
Reviewed by:	rwatson (locking), ru (man page), -current
MFC after:	1 month
2005-02-06 10:47:12 +00:00