Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROCFS ROUTE PARSER

Supported Platform

Linux Only.

How dose it work

it will read /proc/net/route and /proc/net/ipv6_route then parse them.

How to use

fn main() -> Result<()> {
    for entry_result in get_ipv6_route_table()? {
        if let Ok(entry) = entry_result {
            if entry.flags.contains(Ipv6RouteFlags::UP) {
                println!("{:?}", entry);
            }
        }
    }
    Ok(())
}

About

Parsing route table info via `/proc/net/route` and `/proc/net/ipv6_route` on linux.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages