summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
1999-05-24IP header test added.Ondrej Filip
1999-05-21Added CONFIG_MULTIPLE_TABLES whereever appropriate.Martin Mares
1999-05-21Removed one unused structure field.Martin Mares
1999-05-21Don't forget to export CPPFLAGS to GCC. :)Martin Mares
1999-05-21Added --with-sysinclude to allow explicitly setting where kernel includesMartin Mares
reside, so that you can easily switch between 2.0 and 2.2 ones. Check existence of <linux/rtnetlink.h> for linux-22 configs to make sure we're using the correct set of includes.
1999-05-17Kill remaining master_table relics in KRT code.Martin Mares
Make all protocols pass routing table to rte_update and rte_discard.
1999-05-17From now we support multiple tables. The master_table variable isMartin Mares
definitely gone. Both rte_update() and rte_discard() have an additional argument telling which table should they modify. Also, rte_update() no longer walks the whole protocol list -- each table has a list of all protocols connected to this table and having the rt_notify hook set. Each protocol can also freely decide (by calling proto_add_announce_hook) to connect to any other table, but it will be probably used only by the table-to-table protocol. The default debugging dumps now include all routing tables and also all their connections.
1999-05-17Implemented two new symbol handling functions:Martin Mares
o cf_define_symbol() -- it assigns a meaning to a symbol, bailing out if it already has one. o cf_find_symbol() -- finds symbol by name and creates it if not found. Also modified filter/config.Y to make use of the first function.
1999-05-14Added ip_skip_header() and modified OSPF to use it.Martin Mares
1999-05-14*** empty log message ***Ondrej Filip
1999-05-14Netmask checking for hello packets added.Ondrej Filip
1999-05-13Checksum control added.Ondrej Filip
1999-05-11OSPF RX implementation starts....Ondrej Filip
1999-05-11Mensi updaty do ripu. Pridana passwd autentikace (netestovano).Pavel Machek
1999-05-11Better logging output. Added 'struct proto *' info 'struct ospf iface'.Ondrej Filip
1999-05-10Added packet checksumming code. Watch the comments for an explanation.Martin Mares
1999-05-07Netlink support for secondary interface addresses.Martin Mares
1999-05-06I rewrote the interface handling code, so that it supports multipleMartin Mares
addresses per interface (needed for example for IPv6 support). Visible changes: o struct iface now contains a list of all interface addresses (represented by struct ifa), iface->addr points to the primary address (if any). o Interface has IF_UP set iff it's up and it has a primary address. o IF_UP is now independent on IF_IGNORED (i.e., you need to test IF_IGNORED in the protocols; I've added this, but please check). o The if_notify_change hook has been simplified (only one interface pointer etc.). o Introduced a ifa_notify_change hook. (For now, only the Direct protocol does use it -- it's wise to just listen to device routes in all other protocols.) o Removed IF_CHANGE_FLAGS notifier flag (it was meaningless anyway). o Updated all the code except netlink (I'll look at it tomorrow) to match the new semantics (please look at your code to ensure I did it right). Things to fix: o Netlink. o Make krt-iface interpret "eth0:1"-type aliases as secondary addresses.
1999-04-27Recognize site scope for IPv4 addresses (prefixes reserved for privateMartin Mares
networks). Removed old #ifndef logic which was used to avoid IPv4/IPv6 clashes before conditionals in Modules lists were introduced.
1999-04-27Just changes of comments.Ondrej Filip
1999-04-27Hello timer implemented.Ondrej Filip
1999-04-22Work on hello continues.Ondrej Filip
1999-04-19Updated filters: they now actually see IP/pxlen of net being filtered,Pavel Machek
gateway, and who told us, so they can do usefull jobs from now on.
1999-04-14SImplify code a tiny bit.Pavel Machek
1999-04-14Redesigned struct ospf_iface & new struct ospf_sock.Ondrej Filip
1999-04-14Small bug fix in memcpy.Ondrej Filip
1999-04-14Multicasts once again: When using SO_BINDTODEVICE, don't specify IP addressMartin Mares
of the interface.
1999-04-14Next attempt to get SO_BINDTODEVICE work :)Martin Mares
1999-04-14Use SO_BINDTODEVICE if we're using old multicast API (i.e., struct ip_mreqMartin Mares
and not ip_mreqn). This should get multicasts on unnumbered PtP links work.
1999-04-14A couple of OSPF fixes:Martin Mares
o ((flags & IF_CHANGE_UP) == IF_CHANGE_UP) -> (flags & IF_CHANGE_UP) o bcopy -> memcpy (bcopy is unportable) o Ifdeffed out add_tail(&(ifa->sk_list),NODE mcsk) -- the node in socket structure is for internal use by the resource manager only. (Now, the debugging dump of open sockets looks sane :-)).
1999-04-14Removed redeclaration of `idval', so that it compiles :)Martin Mares
1999-04-13Added wait timer for eligible BCAST & NBMA interface.Ondrej Filip
1999-04-13Change in ospf_iface. (My bad understanding of lists manipulation.)Ondrej Filip
1999-04-13IPv6 changes.Ondrej Filip
1999-04-13Sets of IP addresses should work, now. (From now on it is alsoPavel Machek
possible to write if 1.2.3.4 < 1.2.3.5, but I'm not sure if it is good for anything.)
1999-04-13Small change to stop using loopback.Ondrej Filip
1999-04-13A small init change to avoid core dump.Ondrej Filip
1999-04-13Not all I mean serious. Almost everything will change.Ondrej Filip
Changes: struct ospf_iface draft, various constants added...
1999-04-12Added ipa_compare as requested.Martin Mares
1999-04-12Sets of integers now actually work. Sets of IP will work as soon asPavel Machek
compare function is ready.
1999-04-12Ignore alias interfaces (some day, we will treat them as pure secondaryMartin Mares
interface addresses).
1999-04-12Removed TOS support. This simplifies many things a lot.Martin Mares
1999-04-12Cosmetic message fix.Martin Mares
1999-04-12Use $(CC) instead of gcc even when generating dependencies.Martin Mares
1999-04-12Oops, a typo in previous struct ip_mreqn changes...Martin Mares
1999-04-12Use `struct ip_mreqn' instead of `struct ip_mreq' for multicastMartin Mares
operations on 2.1/2.2 kernels. This allows passing of real interface indexes instead of referencing interfaces by their IP addresses which fails badly in presence of unnumbered interfaces. Unfortunately, this structure is not visible with glibc 2.0 as it provides its own networking headers :-( Both libc5 and glibc 2.1 should be OK.
1999-04-12Fixed a couple of bugs in handling of multicast sockets.Martin Mares
See comments in lib/socket.h for a detailed guide on how to use them.
1999-04-12Oops, typo.Pavel Machek
1999-04-12In case no startup function is defined, don't try to launch it.Pavel Machek
1999-04-11Added new target "tags" to generate a tag table for Emacs.Martin Mares
Also made "depend" work before the tree is compiled first time.