Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 5 of 5) sorted by relevance

/DragonReach/src/
H A Dcontants.rs6 pub const IPV4_MIN_MTU: u32 = 68;
7 pub const IPV6_MIN_MTU: u32 = 1280;
/DragonReach/src/parse/parse_util/
H A Dmod.rs84 pub fn parse_mode(s: &str) -> Result<u32, ParseError> { in parse_mode() argument
86 let m = match u32::from_str_radix(s, 8) { in parse_mode()
133 pub fn parse_mtu(s: &str, family: i32) -> Result<u32, ParseError> { in parse_mtu() argument
144 if mtu > u32::MAX as u64 { in parse_mtu()
148 let mtu: u32 = mtu as u32; in parse_mtu()
213 Ok(integer * factor + (fraction * factor) / (10u64.pow(fraction.to_string().len() as u32))) in parse_size()
252 pub fn parse_range(s: &str) -> Result<(u32, u32), ParseError> { in parse_range() argument
258 let ret = match s.parse::<u32>() { in parse_range()
272 let l = match l.parse::<u32>() { in parse_range()
279 let r = match r.parse::<u32>() { in parse_range()
[all …]
/DragonReach/src/parse/graph/
H A Dmod.rs17 total_edge: u32,
18 max_edge: u32,
168 total_after_count: &mut u32, in get_node_num() argument
/DragonReach/src/task/cmdtask/
H A Dmod.rs15 pub pid: u32,
/DragonReach/src/manager/unit_manager/
H A Dmod.rs29 …pub(super) static ref CMD_PROCESS_TABLE: RwLock<HashMap<u32,Mutex<Child>>> = RwLock::new(HashMap::…
187 pub fn pop_cmd_proc(id: u32) -> Option<Mutex<Child>> { in pop_cmd_proc()