summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/interface.c
AgeCommit message (Expand)Author
2006-09-27Use IP_RECVIF to get the incomming interface of OSPF packets. Now we useClaudio Jeker
2006-08-18Correctly leave the all AllDRouters group (224.0.0.6) if the interface wasClaudio Jeker
2006-04-24Fix parser to match current behaviour and make auth-type et al. part of theClaudio Jeker
2006-04-16KNFHenning Brauer
2006-03-23List interfaces they way we list neighbors etc.Esben Norby
2006-03-15Looks like auth-type simple was busted since a long time. We bcmp() aClaudio Jeker
2006-03-13The return value of the start/stop timer functions is almost never checked.Claudio Jeker
2006-03-09Track interface uptime.Esben Norby
2006-03-09Move *_name functions to log.c and use these for both ospfd and ospfctl.Claudio Jeker
2006-03-09KNF, remove some unneded type casts and add some ARGSUSED. This makes lintClaudio Jeker
2006-03-09if_event_names is only used by interface.c so move it there.Claudio Jeker
2006-03-08Spaces and other minor cleanup.Claudio Jeker
2006-01-05Make ospfd respect carp(4) interfaces and their weird behaviour. They willClaudio Jeker
2005-12-15Simpify iface_del() and nbr_del(). make them void funtions as they can not failClaudio Jeker
2005-12-04Increase the receive buffer of the raw socket.Esben Norby
2005-10-19fix some spellings in comments.Claudio Jeker
2005-10-18Cleanup interface code a minimal bit. There is no need for if_shutdown(),Claudio Jeker
2005-10-12If router is DR or BDR join the AllDRouter list (and leave it if otherwise).Claudio Jeker
2005-09-28- use proper function name in log messageMathieu Sauve-Frankel
2005-09-24- add auth_type and auth_keyid to struct ctl_ifaceMathieu Sauve-Frankel
2005-09-17- add get_rtr_id() based on bgpd's get_bgpid()Mathieu Sauve-Frankel
2005-09-15Correctly handle loopback interfaces. Mark them as point-to-point networksClaudio Jeker
2005-08-30Fix one of the most fragile part of ospfd -- the interface election code.Claudio Jeker
2005-06-21Backout/Disable the change introduced in rev. 1.26. Don't start the helloClaudio Jeker
2005-06-13One additional if_act_elect bug. Neighbors in preliminary state (down, attemptClaudio Jeker
2005-06-13Doh. Fix another stupid copy paste typo. Once again BDR != DR.Claudio Jeker
2005-06-13add a new fsm transition for IF_EVT_WTIMER in state IF_STA_ANY that simplyClaudio Jeker
2005-06-13start hello timer even if in state IF_STA_WAITING (this makes the startup muchClaudio Jeker
2005-05-27Virtual link support.Esben Norby
2005-05-26Make interface election less verbose.Esben Norby
2005-05-26Simplify and cleanup passive interface handling.Esben Norby
2005-05-26Support dumping the configuration the way bgpd(8) does it.Esben Norby
2005-05-12Fix multiple bugs in if_act_elect(). In some cases DR were set wronglyClaudio Jeker
2005-04-25Call if_init() later and for each interface separately.Claudio Jeker
2005-04-25Move the creation of the ospf_socket from if_init() directly into ospfe().Claudio Jeker
2005-04-25Call if_init() in ospfe only, neither the rde nor the parent need it.Claudio Jeker
2005-04-25Change order of execution in if_act_reset(). First notify all neighborClaudio Jeker
2005-04-19Don't call event_set() before event_init().Claudio Jeker
2005-03-31Better crypt sequence number initialization.Esben Norby
2005-03-31Add support for crypt authentication (MD5).Esben Norby
2005-03-29The RFC never mentions anything about transfer, this should be transmit.Esben Norby
2005-03-22Remove bool cruft.Esben Norby
2005-03-11KNFHenning Brauer
2005-03-07Track interface state (up/down) and media status. Simplify the code a bitClaudio Jeker
2005-02-16Support point to point links.Esben Norby
2005-02-09Rework of self originated LSA. First of all the code to generate the LSAClaudio Jeker
2005-02-09Fix interface fsm by inserting dummy events and actions as placeholderClaudio Jeker
2005-02-09Don't elect neighbors that are down and fix a stupid copy-pasto.Claudio Jeker
2005-02-09Initialize iface->self only once. if_act_start() may be called multipleClaudio Jeker
2005-02-07spelling fixesDavid Krause