Skip to content

Commit

Permalink
qlog: add MTUUpdated event
Browse files Browse the repository at this point in the history
  • Loading branch information
LPardue authored and ghedo committed Nov 3, 2023
1 parent f637b77 commit f53e6cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions qlog/src/events/connectivity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,11 @@ pub struct ConnectionStateUpdated {
pub old: Option<ConnectionState>,
pub new: ConnectionState,
}

#[serde_with::skip_serializing_none]
#[derive(Serialize, Deserialize, Clone, PartialEq, Eq, Debug)]
pub struct MtuUpdated {
pub old: Option<u16>,
pub new: u16,
pub done: Option<bool>,
}

0 comments on commit f53e6cd

Please sign in to comment.