Searched refs:Options (Results 1 – 3 of 3) sorted by relevance
/smoltcp-0.9.1/fuzz/ |
D | utils.rs | 4 use getopts::{Matches, Options}; 17 pub fn create_options() -> (Options, Vec<&'static str>) { in create_options() 18 let mut opts = Options::new(); in create_options() 23 pub fn parse_options(options: &Options, free: Vec<&str>) -> Matches { in parse_options() argument 48 pub fn add_middleware_options(opts: &mut Options, _free: &mut Vec<&str>) { in add_middleware_options() argument
|
/smoltcp-0.9.1/examples/ |
D | utils.rs | 5 use getopts::{Matches, Options}; 67 pub fn create_options() -> (Options, Vec<&'static str>) { in create_options() 68 let mut opts = Options::new(); in create_options() 73 pub fn parse_options(options: &Options, free: Vec<&str>) -> Matches { in parse_options() argument 94 pub fn add_tuntap_options(opts: &mut Options, _free: &mut [&str]) { in add_tuntap_options() argument 110 pub fn add_middleware_options(opts: &mut Options, _free: &mut [&str]) { in add_middleware_options() argument
|
/smoltcp-0.9.1/utils/ |
D | packet2pcap.rs | 1 use getopts::Options; 26 fn print_usage(program: &str, opts: Options) { in print_usage() argument 35 let mut opts = Options::new(); in main()
|