| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,
The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.
Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:
- Kip Macy revised the locking code completely, thus completing
the last piece of the puzzle, Kip has also been conducting
active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
me maintaining that branch before the svn conversion
|
|
|
|
|
|
|
|
| |
and RTF_REJECT, respectively
PR: bin/79228
Submitted by: Dan Lukes <dan@obluda.cz>
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
to obtain correct netmask in case of interface with multiple aliases.
- While here, remove a comment with a bad idea.
PR: bin/42120
Submitted by: Dmitry Frolov <frolov riss-telecom.ru>
|
| |
|
|
|
|
| |
Submitted by: Vitaliy Ovsyannikov <V.Ovsyannikov kr.ru>
|
|
|
|
|
| |
Reminded by: ru
Pointy hat: brooks
|
|
|
|
| |
a given interface to be removed.
|
|
|
|
| |
Submitted by: Michal Mertl <mime^traveller.cz>
|
|
|
|
| |
one functional change (fixed exit status from the "get" operation).
|
|
|
|
|
|
|
| |
made arp(8) command exit status reversed for -s and -S.
Reported by: sem
MFC after: 2 weeks
|
|
|
|
|
|
| |
Submitted by: ru
o Reduce an amount of memory we ask in advance.
|
|
|
|
|
|
|
|
| |
An approach taken from killall/killall.c.
PR: bin/76075
Submitted by: Dmitrij Tejblum
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
(Broken in rev. 1.52.)
PR: 75471
Submitted by: Jon Simola
MFC after: 3 days
|
|
|
|
| |
from Berkeley.
|
| |
|
|
|
|
|
| |
Reviewed by: md5
Approved by: das (mentor)
|
|
|
|
|
|
|
|
| |
pass function arguments and results.
Hopefully no functional changes except fixing a couple of
bugs which could cause endless loops if an ioctl() on an
interface would fail.
|
| |
|
|
|
|
|
|
|
|
| |
Remove global variables in favour of local ones.
Fix indentation of a couple of switch statements.
Overall, this program badly need cleaning up, as it relies
on information passed around through global variables.
|
|
|
|
|
|
| |
- Handle empty ARP tables properly.
- Remove register keyword.
- arp(8) is WARNS?=4 clean, so mark it as such to avoid regressions.
|
|
|
|
|
|
|
|
|
|
|
| |
the scope of operation to the ARP entries on a particular
interface. It should be useful on machines with numerous
network interfaces, e.g., on inter-VLAN routers.
PR: bin/54151
Submitted by: Dmitry Morozovsky <marck at rinet.ru>
Discussed on: -net
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Prompted by: Eugene Grosbein <eugen@kuzbass.ru>
|
| |
|
|
|
|
|
|
|
|
| |
argument, leading whitespace and empty lines be ignored, and
the `#' character marks the rest of the line as a comment.
PR: bin/45958
MFC after: 3 days
|
|
|
|
| |
Submitted by: Bruce "Allah" Dang <bruce@research.teamxor.org>
|
|
|
|
|
|
|
|
|
|
|
| |
#include route.h before iso88025.h, and we have to dereference
the trld_route array correctly. (NOTE: I'm not altogether sure
that this is really the correct way to traverse this array. This
just eliminates the build warning/error. It may not work right at
runtime, and I have no way to test it since I lack the necessary
hardware.)
Broken by: kbyanc, who gets to wear the pointy hat
|
|
|
|
|
|
|
| |
location.
Not tested by: me (sorry!)
Sponsored by: NTT Multimedia Communications Labs
|
|
|
|
| |
statement.
|
|
|
|
|
|
| |
to print leading zeros in libc_net/ether_addr.c,v 1.13.
MFC after: 3 days
|
|
|
|
| |
pollution from <strings.h>.
|
|
|
|
|
|
|
| |
the correct local variable.
Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com>
Pointy hat to: mikeh
|
|
|
|
|
| |
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
Prodded by: Igor Podlesny <poige@morning.ru>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be consistent with the -s flag. Updated documentation
on what this modifier does.
- Added the ``only'' keyword to the -s and -S flags, that
could be used to created "proxy-only" published entries.
Previously, arp(8) created an entry of this type only
in the absence of the route to a destination.
PR: bin/12357
MFC after: 1 week
|
|
|
|
|
|
| |
PR: bin/27001
Submitted by: alex <ml-freebsd-net@phobgate.de>,
Matthew Emmerton <matt@gsicomp.on.ca>
|
| |
|
|
|
|
|
|
| |
PR: bin/25584
Submitted by: David Xu <davidx@viasoft.com.cn>
Reviewed by: wollman, billf
|
| |
|
|
|
|
|
|
|
|
|
| |
when attempting to create a published ARP entry. For example:
# arp -s 1.1.1.1 auto pub
PR: bin/7753
Submitted by: Jonathan Hanna <pangolin@home.com>
|
|
|
|
|
|
| |
Specifically, ``proxy'' modifier tells the code to delete only
Proxy ARP entry for the ``hostname''; the usual ARP entry will
be unaffected by this operation.
|
|
|
|
| |
Add a note to that effect to the man page.
|
| |
|
|
|
|
|
|
| |
for more safety on alpha.
Approved by: jkh
|
| |
|
|
|
|
| |
Reviewed by: audit@freebsd.org
|
|
|
|
|
|
| |
It will be required if sizeof(struct sockaddr_in) changes in the future.
Not objected to by: wollman
|