Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-04-14 | Minor changes, preparing for real socket-attached TDBs; also, more | Angelos D. Keromytis | |
information will be stored in the TDB. ok ho@ provos@ | |||
2001-04-06 | Move offsetof define into sys/param.h | Constantine Sapuntzakis | |
2001-04-04 | check for return value of ENODEV from ifpromisc(). This will happen | Jason Wright | |
at detach time when if_detach_ioctl() has been installed for an outgoing interface and does not represent an error. | |||
2001-03-30 | increase ierrors if m_pullup fails in vlan_input(); pointed out by chris@ | Jason Wright | |
2001-03-28 | Allow tdbi's to appear in mbufs throughout the stack; this allows | Angelos D. Keromytis | |
security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs. | |||
2001-03-28 | $OpenBSD$ | Jason Wright | |
2001-03-28 | Rework vlan_start() to make sure it -never- munges the packet internals (eg. | Jason Wright | |
shared mbuf clusters) Revert the deleted m_adj() call in vlan_input() back to inline mbuf manipulation, all of the checks really are there by API/convention. | |||
2001-03-27 | Fix a problem with how TDB timeouts were used in pfkeyv2. | Artur Grabowski | |
When we allocated a tdb we did a timeout_add before a timeout_set. This was a problem in itself, but it shouldn't hurt too much. What did hurt was that we did a timeout_set after the timeout_add, timeout_set marked the timeout as not being on the timeout list and if we did a timeout_del (or timeout_add) later (before the timeout fired) we ended up with a chunk of freed memory on the timeout queue or maybe even dangling pointers (or a circular list). This should probably cure the timeout queue corruption some people were seeing lately. | |||
2001-03-26 | Fix bug I introduced... if m_pullup fails, don't try to free the result. | Jason Wright | |
2001-03-26 | - move if_vlan back to a default if_type of IFT_PROPVIRTUAL | Jason Wright | |
- change if_type to match parent at vlan_configure time - comment typo - implement promiscuous mode for vlan interfaces (from NetBSD) - change if_flags inheritance mask to UP|BROADCAST|SIMPLE|MULTICAST (upshot of all this: bridging vlan interfaces works, with some limitations... documentation soon) | |||
2001-03-25 | Missing splx(s). Thanks to dawson and team | Constantine Sapuntzakis | |
2001-03-25 | Minor bug. Could corrupt stat counters | Constantine Sapuntzakis | |
2001-03-25 | Don't set pbp to point to free memory. Thanks to Dawson Engler and team | Constantine Sapuntzakis | |
2001-03-23 | check rcvif and tag for vlan_input_tag() [Same check as in vlan_input()] | Jason Wright | |
2001-03-23 | m_freem not m_free | Jason Wright | |
2001-03-23 | check packet length in vlan_input() and pullup if necessary | Jason Wright | |
use m_adj instead of twiddling everything ourselves | |||
2001-03-23 | move the vlan and bridge handling around a bit, and make sure the test | Jason Wright | |
for (mcast || bcase || (unicast || for us)) is always called. | |||
2001-03-22 | remove vlan_proto variable, replace with ETHERTYPE_8021Q | Jason Wright | |
define if_type for vlan interfaces (IFT_8021_VLAN) #ifdef DEBUG some debugging printf's protect against other uses of M_PROTO1 | |||
2001-03-22 | let bstp_transmit_tcn() handle all of the work for sending TCN messages | Jason Wright | |
and remove unnecessary structure element | |||
2001-03-22 | strlcpy instead of strncpy + \0 | Jason Wright | |
2001-03-22 | new timeouts | Michael Shalayeff | |
2001-03-21 | Don't force sin6_port to be zero. | Angelos D. Keromytis | |
2001-03-19 | m_freem not m_free if we're dropping the packet because we're not in | Jason Wright | |
the forwarding stp state | |||
2001-03-15 | convert SA expirations to the new timeouts. | Michael Shalayeff | |
simplifies expirations handling a lot. tdb_exp_timeout and tdb_soft_timeout are made consistant throughout the code to be a relative time offsets, just like first_use timeouts. tested on singlehost isakmpd setup. lots of dangling spaces and tabs removed. angelos@ ok | |||
2001-03-13 | allow configuring number of these in ukc | Michael Shalayeff | |
2001-03-13 | allow configuring number of these in ukc | Michael Shalayeff | |
2001-03-09 | Remove two unnecessary splx(). This was missed somewhere along the way, since | Aaron Campbell | |
this was done long ago in NetBSD during an update to ppp-2.3b4. | |||
2001-03-07 | Missing splx() calls in failure cases. | Aaron Campbell | |
2001-03-07 | Missing splx() in failure case; deraadt@ ok | Aaron Campbell | |
2001-03-06 | Eeep, don't reset the checksum when checking it! Noticed by bugfix@123.net | Angelos D. Keromytis | |
2001-03-05 | TUNSIFMODE ioctl (from NetBSD) | Angelos D. Keromytis | |
2001-03-05 | Clear ip_sum before calculating IP checksum (closes PR 1667) | Angelos D. Keromytis | |
2001-03-04 | Import/export credentials from TDB. | Angelos D. Keromytis | |
2001-02-20 | for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok | Michael Shalayeff | |
2001-02-20 | provide SIOC[SG]LIFPHYADDR, which greatly simplify userland manipulation. | Jun-ichiro itojun Hagino | |
sync with kame. old ioctls are kept but not really recommended. | |||
2001-02-20 | use u_int32_t, not u_int, for DLT_NULL encapsulation. sync with kame | Jun-ichiro itojun Hagino | |
2001-02-16 | sync whitespace/comment with kame. to help merge tasks | Jun-ichiro itojun Hagino | |
2001-02-13 | When detaching an interface set the if_start, if_ioctl and if_watchdog | Artur Grabowski | |
functions to 'nops'. Some protocols might want to output some packets while detaching and that could be a bad idea when the interface has gone away. Do we need to change more functions? | |||
2001-02-08 | use timeout_xx() throughout sys/netinet6. sync with kame. | Jun-ichiro itojun Hagino | |
2001-02-06 | allow for configuring number of bridge ifaces in ukc; jason@ ok and help | Michael Shalayeff | |
2001-02-06 | forgot to bzero() malloced memory | Michael Shalayeff | |
2001-02-06 | allow configuring number of tunnel ifaces | Michael Shalayeff | |
2001-02-06 | allow configuring gif ifaces; itojun@ ok | Michael Shalayeff | |
2001-02-06 | sync with latest kame (comment only) | Jun-ichiro itojun Hagino | |
2001-02-06 | allow changing number of loopbacks in ukc. | Michael Shalayeff | |
change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok | |||
2001-02-04 | For unicast packets destined for the bridge machine itself, learn from the | Jason Wright | |
SRC address (not the DST). | |||
2001-02-02 | In the broadcast received on gif case, throw the packet up the stack if | Jason Wright | |
we -found- an appropriate interface. | |||
2001-02-01 | packets received on gif's for local processing can't just fall down the | Jason Wright | |
stack, they have to be pushed; when calling ether_input(): 1 - unicast packets have the ifp of the matching interface 2 - bcast/mcast packets have the ifp of the first IFT_ETHER bridge member based on discussion with angelos. | |||
2001-01-30 | change ip_compat.h to ip_fil_compat.h for clarity. Impending ipf merge | Kjell Wooding | |
2001-01-29 | cleanup rmx_mtu handling (no #ifdef INET6). from netbsd. | Jun-ichiro itojun Hagino | |
(same change is in kame) |