| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- Remove GIF_{SEND,ACCEPT}_REVETHIP.
- Simplify EADDRNOTAVAIL and EAFNOSUPPORT conditions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Overhaul if_gif(4):
o convert to if_transmit;
o use rmlock to protect access to gif_softc;
o use sx lock to protect from concurrent ioctls;
o remove a lot of unneeded and duplicated code;
o remove cached route support (it won't work with concurrent io);
o style fixes.
MFC r273090:
Move memset under ifdef INET6.
MFC r273091:
Add more ifdefs. SIOC*_IN6 are defined only with INET6.
MFC r273121:
Add inet/inet6 to the dependency list. Without them if_gif is useless.
MFC r273209 by bz:
After r273087,r273090,r273091,r273121 changes to gif(4) try to fix
NOIP builds for real.
MFC r273587:
Remove redundant check and m_pullup() call.
|
|
|
|
|
|
| |
Pointed out by: dougb
MFC after: 3 days
Approved by: re (hrs)
|
|
|
|
|
|
|
|
| |
Submitted by: Michiel Overtoom (motoom % xs4all nl)
PR: 159130 159131 159132 159133 159134
159135 159136 159137 158138 159144
Approved by: re (kib)
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
version field sent via gif(4)+if_bridge(4). The EtherIP
implementation found on FreeBSD 6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 had
an interoperability issue because it sent the incorrect EtherIP
packets and discarded the correct ones.
This change introduces the following two flags to gif(4):
accept_rev_ethip_ver: accepts both correct EtherIP packets and ones
with reversed version field, if enabled. If disabled, the gif
accepts the correct packets only. This flag is enabled by
default.
send_rev_ethip_ver: sends EtherIP packets with reversed version field
intentionally, if enabled. If disabled, the gif sends the correct
packets only. This flag is disabled by default.
These flags are stored in struct gif_softc and can be set by
ifconfig(8) on per-interface basis.
Note that this is an incompatible change of EtherIP with the older
FreeBSD releases. If you need to interoperate older FreeBSD boxes and
new versions after this commit, setting "send_rev_ethip_ver" is
needed.
Reviewed by: thompsa and rwatson
Spotted by: Shunsuke SHINOMIYA
PR: kern/125003
MFC after: 2 weeks
|
|
|
|
| |
Sponsored by: Chaffee::Interactive
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
Wording by: cperciva
|
|
|
|
| |
Submitted by: Pawel Worach <pawel.worach@telia.com>
|
| |
|
|
|
|
| |
Reported by: rwatson
|
| |
|
|
|
|
|
| |
PR: 39093
Submitted by: Mike Makonnen <makonnen@packbell.net>
|
| |
|
|
|
|
|
|
| |
via sysctl's. The old #defines, MAX_GIF_NEST and XBONEHACK are
currently supported for backwards compatability, but will probably be
removed at some point in the future.
|
| |
|
|
|
|
| |
MFC After: 2 days
|
| |
|
|
|
|
|
|
| |
administrator to the ifconfig create command.
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
| |
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.
TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.
Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks
|
|
|
|
| |
Reviewed by: joerg, dd
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
when it is the last of the sentences.
Specified by: mpp, sheldonh
|
|
|
|
|
|
| |
(merge from KAME repository)
Obtained from: KAME project
|
|
|
|
|
|
| |
not FreeBSD specific.
Made happy: sheldonh
|
|
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|