Skip to content

Commit

Permalink
feat: add syn_timer
Browse files Browse the repository at this point in the history
  • Loading branch information
putyWang committed Nov 11, 2023
1 parent ebc5e17 commit 1d47312
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/wire/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ enum_with_unknown! {
}

bitflags! {
#[derive(Debug, PartialEq, Eq, Copy, Clone)]

#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct Flags: u16 {
const RESPONSE = 0b1000_0000_0000_0000;
Expand Down
4 changes: 2 additions & 2 deletions src/wire/ndisc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::wire::{NdiscOption, NdiscOptionRepr};
use crate::wire::{NdiscPrefixInformation, NdiscRedirectedHeader};

bitflags! {
#[derive(Debug, PartialEq, Eq, Clone, Copy)]

#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct RouterFlags: u8 {
const MANAGED = 0b10000000;
Expand All @@ -19,7 +19,7 @@ bitflags! {
}

bitflags! {
#[derive(Debug, PartialEq, Eq, Clone, Copy)]

#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct NeighborFlags: u8 {
const ROUTER = 0b10000000;
Expand Down
2 changes: 1 addition & 1 deletion src/wire/ndiscoption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl fmt::Display for Type {
}

bitflags! {
#[derive(Debug, PartialEq, Eq, Clone, Copy)]

#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct PrefixInfoFlags: u8 {
const ON_LINK = 0b10000000;
Expand Down

0 comments on commit 1d47312

Please sign in to comment.