summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* spelling: s/supress/suppress/gdt2004-11-051-3/+3
|
* 2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-057-475/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vty.h: Remove fields in struct vty that were related to VTY_CONTINUE capabilities (that were used only in bgpd/bgp_route.c and are now removed). Also remove some other fields that were not being used at all. * vty.c: (vty_execute) Do not test for obsolete status values VTY_START and VTY_CONTINUE. (vty_read) Remove calls to vty->output_func since that was part of the VTY_CONTINUE infrastructure that has been removed. (vty_flush) Remove code to support VTY_START and VTY_CONTINUE. (vty_close) Remove code to cancel vty->t_output thread, since that thread was never actually used. * bgp_route.c: Remove all code related to VTY_CONTINUE; this feature is deprecated because the output did not represent a single point in time. All output needs to be generated inline and buffered by the library code. (route_vty_out,route_vty_out_tag,damp_route_vty_out, flap_route_vty_out) Remove code to count number of lines of output, since this was only useful for VTY_CONTINUE behavior. (bgp_show_callback) Removed. (bgp_show_table) Remove hooks for VTY_CONTINUE callback support. As a result, there's a new output_arg argument to this function. Make function static. (bgp_show) Make function static and add a new output_arg argument. Change all functions that call bgp_show or bgp_show_table to pass the new output_arg argument (that used to be passed inside vty->output_arg). * bgp_mplsvpn.c: Remove declarations of functions defined in bgp_route.c; these declarations belong in bgp_route.h. * bgp_route.h: Declare 3 global functions used in both bgp_route.c and in bgp_mplsvpn.c.
* 2004-11-04 Paul Jakma <paul@dishone.st>paul2004-11-042-9/+28
| | | | | * ospfd.c: (ospf_network_match_iface) revert to previous network statement match behaviour.
* 2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-044-38/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * vty.c: Vtysh connections to daemons should use buffering. (vty_out) Remove exception for vty_shell_serv, just use buffer_write. (vty_new) Increase output buffer size to 4096 rounded up to a multiple of pagesize. (vtysh_read) After command has been executed and all output buffered, call buffer_flush_available and schedule further writes if the buffers are not yet empty. (vtysh_write) New function to flush output to vtysh when the socket is writeable. (vty_event) Added new VTYSH_WRITE event for flushing buffers to vtysh clients. Also, should save read thread in vty->t_read so the thread can be cancelled in vty_close. * buffer.h: In struct buffer_data, remove unused "parent" field. Convert "unsigned char *data" to "unsigned char data[0]" to save a malloc. Declare new function buffer_flush_available that works with non-blocking sockets. * buffer.c: (buffer_data_new) Use a single malloc now that data is a variable-size array at end of structure. (buffer_data_free) Just a single free now that data is part of the structure. (buffer_write) Simplify the logic to make behavior more transparent. (buffer_flush) Decrease b->length as data is written out. (buffer_flush_vty_all) Decrease b->length as buffers are freed. (buffer_flush_vty) Decrease b->length as data is written out. (buffer_flush_available) New function to flush non-blocking sockets.
* 2004-11-02 Paul Jakma <paul@dishone.st>paul2004-11-022-15/+25
| | | | | | | | | | * ospf_packet.c: (ospf_write_frags) remove iov arg, msg already points to it. Add convenience pointer to msg->msg_iov[1], and use this, fixing the unfortunate borkenness introduced in moving of this code to a function. (ospf_write) remove iovp and fix up call to previous. (ospf_ls_upd_packet_new) cast size to long int - unfortunately glibc's size_t format modifier is not portable.
* - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use archpaul2004-11-0225-0/+58
| | | | with CVS trees.
* 2004-11-01 Paul Jakma <paul@dishone.st>paul2004-11-012-27/+4
| | | | * sockopt.c: (setsockopt_pktinfo) remove, its unused.
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-313-2/+6
| | | | * {bgpd,bgp_attr}.c: size_t printf format should be ld.
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-313-2/+7
| | | | | | | | * ospf_packet.c: (ospf_ls_upd_packet_new) Format for size_t should be ld. * ospf_zebra.c: (ospf_distribute_list_update_timer) Ugly misuse of THREAD_ARG to store an integer, but it should at least use same same type to retrieve the value. Assert value is sane.
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-312-3/+3
| | | | * thread.c: Use XCALLOC and sizeof the type, not the pointer.
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-312-18/+20
| | | | * smux.c: fix int to size_t compile warnings
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-313-7/+13
| | | | | | * memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS * thread.c: Update stats and funcname alloc/free to use previous specific memory type defines
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-312-24/+6
| | | | * keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-312-10/+33
| | | | | | | | * ospf_packet.c: (ospf_write_frags) Add debug output (ospf_write) set type early, so we can pass it to ospf_write_frags. (ospf_ls_upd_packet_new) print size in debug output when too large packet is encountered.
* - update cvs ignore, ignore quagga.dvi, quagga.ps, etc.paul2004-10-311-0/+2
|
* 2004-10-31 Paul Jakma <paul@dishone.st>paul2004-10-312-3/+14
| | | | | | * vty.c: As per Andrew's suggestions.. (vty_serv_un) remove flags. (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.
* 2004-10-29 Paul Jakma <paul@dishone.st>paul2004-10-292-6/+12
| | | | | | * vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un to vtysh_accept, where sock is the actual fd we wanted to set to O_NONBLOCK, ie the /connected/ vtysh unix socket.
* - lib/ dir shouldnt be conditional, remove bad dir attribute from dev filespaul2004-10-291-6/+6
|
* "show running-daemons" -> "show daemons".hasso2004-10-282-5/+11
|
* Remove dead "ip tunnel" command.hasso2004-10-282-23/+4
|
* Fix help of "show debugging ripng" command.hasso2004-10-262-2/+6
|
* 2004-10-25 Paul Jakma <paul@dishone.st>paul2004-10-253-1/+16
| | | | | | | * Update with fix in debian bug id 222930. * bgp_main.c: Add ZCAP_RAW, needed to bind to interfaces. bgp_network.c: (....) raise/lower privs around call to SO_BINDTODEVICE sockopt.
* Yet another breakage introduced in May with zserv cleanup.hasso2004-10-232-0/+7
|
* - andrew's service adding change to detect existing entries reliablyquagga_0_97_2_releasepaul2004-10-231-1/+2
|
* - update with andrew's modificationspaul2004-10-231-1/+12
| | | | - enable irdp by default again
* 2004-10-23 Paul Jakma <paul@dishone.st>paul2004-10-222-2/+6
| | | | * configure.ac: bump version to 0.97.2, release imminent.
* 2004-10-23 Paul Jakma <paul@dishone.st>paul2004-10-222-1/+3
| | | | * zebra.h: reserve ZEBRA_ROUTE_HSLS
* - credit rix for fixing openbsdpaul2004-10-222-2/+4
|
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-224-4/+9
| | | | | * ospfd/ospf_packet.c: setsockopt_pktinfo -> setsockopt_ifindex * zebra/irdp_main.c: ditto
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-222-1/+2
| | | | * sockopt.h: Fix elif that should be an else.
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-222-29/+55
| | | | | | | | * command.h: Cleanup the defines a bit, add helper defines and collapse all defines to use those. Add an attribute field to cmd_element to support, eg hidden or deprecated commands, add defun defines for such. All that's left to do is add logic to command.c to check these attributes... ;)
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-223-1/+15
| | | | | | | * ospf_network.c: (ospf_sock_init) call neutral setsock_ifindex() function. * ospf_packet.c: (ospf_read) manually look up ifindex if system could not have returned one, eg openbsd.
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-223-24/+24
| | | | | | | * sockopt.c: (setsockopt_pktinfo) unexported * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have neither IP_RECVIF nor IP_PKTINFO (eg openbsd).
* 2004-10-13 Paul Jakma <paul@dishone.st>paul2004-10-222-2/+7
| | | | | * sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not -1.
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-223-133/+125
| | | | | | | | | | | | * ripd.c: Collapse redundant passing of various address structs, struct interface and struct connected as arguments to functions down to two key arguments, namely struct connected and, possibly, address of source/destination. Testing for RIPv1 would be useful. (rip_read) lookup struct connected for the received packet, pass it on. * rip_interface.c: With previous changes, we no longer have to tread carefully with struct connected, as it will always be there and valid.
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-222-4/+20
| | | | | | | * configure.ac: fix up enable help alignment slightly Add --enable-gcc-ultra-verbose to set various gcc warnings which should one day be fixed but are not serious problems or which could be false-positives.
* Don't popen pager if command is "exit". Fixes "vtysh screws up my terminalhasso2004-10-202-1/+9
| | | | if I exit" issue.
* Small copyright string and hostname related cleanup.hasso2004-10-196-50/+31
|
* OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,hasso2004-10-1922-178/+328
| | | | ripd might need some more testing though.
* - From Andrew Schorr, fixup logrotate to use correct path to killallpaul2004-10-191-6/+6
| | | | and use the pid file.
* Fix regression. It seems to me that this code still works only by accidenthasso2004-10-192-1/+5
| | | | though. Needs serious cleanup.
* Missing comma.hasso2004-10-141-1/+1
|
* Make dump configuration appear in vtysh.hasso2004-10-132-0/+5
|
* Ladies and Gentlemens. This file is dead for years, from 1999 to be exact.hasso2004-10-132-257/+1
|
* - fix date in changelog of my last commit..paul2004-10-131-1/+1
|
* * zserv.c: Remove useless warnings "forwarding is already on".hasso2004-10-132-26/+9
|
* Make initializing smux connection configurable - "smux peer OID" commandhasso2004-10-1313-71/+79
| | | | | initializes connection, and "no smux peer" command terminates it. Fixes bugzilla #47 and #112.
* Unbreak compilation with ospfapi disabled. We should seriously think abouthasso2004-10-132-0/+10
| | | | reducing various configure options.
* All access lists (IPv4 and IPv6) are used by all daemons to limit access tohasso2004-10-132-5/+6
| | | | vty.
* Initialize access lists here as well.hasso2004-10-132-0/+7
|