summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
AgeCommit message (Expand)Author
2025-01-03Adjust logic in the STATE_IDLE case of change_state() to properly handleClaudio Jeker
2024-12-16Prefix enum msg_type with MSG_ to prevent a duplicate symbol warningClaudio Jeker
2024-12-13Implement RFC 8538: Notification Message Support for BGP Graceful RestartClaudio Jeker
2024-12-12Cache the Adj-RIB-Out for sessions that have not been down for more thanClaudio Jeker
2024-12-10Introduce a SessionDownTimer that is started when a session goes downClaudio Jeker
2024-12-09Add support for extended messages (RFC8654)Claudio Jeker
2024-12-02Bump imsg size up to MAX_BGPD_IMSGSIZE (128k) to support extended messagesClaudio Jeker
2024-11-26Adjust the msgbuf parser callbacks in bgpd to the new API.Claudio Jeker
2024-11-21Convert simple stuff in usr.sbin over to new imsgbuf_init behaviourClaudio Jeker
2024-11-21Convert session.c to use the new msgbuf reader API.Claudio Jeker
2024-11-21Teach mrt_dump_bgp_msg() to use ibufsClaudio Jeker
2024-11-21Pass the message to bgp_fsm as argument instead of stashing it in rptr.Claudio Jeker
2024-11-21Kill the bgp_msg struct and instead pass the type to session_sendmsg()Claudio Jeker
2024-11-21Adjust bgpd to the new msgbuf APIClaudio Jeker
2024-11-21Adjust bgpd to the new msgbuf_write / ibuf_write APIClaudio Jeker
2024-11-21Do not abuse struct ibuf_read instead define local struct with the same fields.Claudio Jeker
2024-11-21s/ibuf_add_buf/ibuf_add_ibuf/Claudio Jeker
2024-11-21Use imsgbuf_clear() where appropriate instead of msgbuf_clear().Claudio Jeker
2024-11-21Rename imsg_init, imsg_clear, imsg_read, imsg_write and imsg_flush toClaudio Jeker
2024-11-21Convert ibuf_write() callers to new simplified return logic.Claudio Jeker
2024-11-21Use ibuf_write() to send BGP messages to peers instead of msgbuf_write().Claudio Jeker
2024-11-21Introduce imsg_write() and use it instead of msgbuf_write().Claudio Jeker
2024-10-01In merge_peers also copy over the auth_conf from the new peer to the oldClaudio Jeker
2024-10-01Rework the pfkey and tcp md5 API to not depend on struct peer.Claudio Jeker
2024-09-09Use msgbuf_init() instead of hand initalizing the msgbuf.Claudio Jeker
2024-08-20Use msgbuf_queuelen() instead of accessing wbuf.queue for msgbuf structs.Claudio Jeker
2024-06-10In get_alternate_addr() consider sessions to IPv6 link-local addressesClaudio Jeker
2024-05-29Only fall back to the default IPv4 unicast mode if there was no MPClaudio Jeker
2024-05-22Convert bgpid, remote_bgpid and clusterid to host byte order.Claudio Jeker
2024-05-20Convert more of the session engine parsers to the new ibuf APIClaudio Jeker
2024-05-16Simplify the code to clamp the TCP send and recv buffer to 64k.Claudio Jeker
2024-05-15Mark RTR and IPv6 BGP packets with DSCP CS6 (network control)Job Snijders
2024-04-24Remove 'announce capabilities' as neighbor config stanza.Claudio Jeker
2024-04-22In state IDLE handle EVNT_STOP and stop the IdleHold timer. This wayClaudio Jeker
2024-04-22Move setting of the shutdown reason to session_stop()Claudio Jeker
2024-04-22No longer fall back to no capabilities when there is an OPEN/optionalClaudio Jeker
2024-04-11Use != NULL for pointer check. No binary change.Claudio Jeker
2024-04-10Rework the logic to not send double notifications in session_notification().Claudio Jeker
2024-04-09Allow operators to enforce the presence of certain capabilities on sessions.Claudio Jeker
2024-03-26Move the SendHoldTimer code into start_timer_sendholdtime() and ensureClaudio Jeker
2024-03-22Rework the cease shutdown reason to work in both directions by lookingClaudio Jeker
2024-03-22Rework parse_notification() to use the ibuf API for everything.Claudio Jeker
2024-03-20Cleanup AID handling.Claudio Jeker
2024-02-19IANA assigned error 8 to draft-ietf-idr-sendholdtimerJob Snijders
2024-02-13Remove IMSG_SESSION_DOWN handler in the session engine. The RDE doesClaudio Jeker
2024-01-18Convert IMSG_UPDATE and session_update() to new imsg API and ibufs.Claudio Jeker
2024-01-16Switch session_notification() over to use a struct ibuf to carry theClaudio Jeker
2024-01-12Convert the simple IMSG calls in session.c to the new imsg API.Claudio Jeker
2024-01-11Clear the last_sent_errcode, last_rcvd_errcode and last_reason whenClaudio Jeker
2024-01-10Update the control.c code to use the new imsg API.Claudio Jeker