Comments (2)
Thank you for feature request.
There is no problem with adding netmask.
I'll add it after reviewing the interface related implementation.
from netdev.
v0.8.0 is now available.
ipv4
and ipv6
fields of Interface structure have been changed to Vec<Ipv4Net> and Vec<Ipv6Net>.
IP address, prefix length, and netmask fields are available in Ipv4Net and Ipv6Net structures.
from netdev.
Related Issues (20)
- /dev/bpf* requires elevated permissions? HOT 1
- Upgrade windows dependency HOT 3
- Update `windows` dependency to 0.48.0 HOT 6
- Replace deprecated _kSCNetworkInterfaceTypeBridge symbols HOT 1
- Default Gateway not found on macos HOT 7
- Bug in sockaddr_to_network_addr HOT 1
- Panic on macOS HOT 2
- Ideally `get_interfaces()` should return an `Iterator` HOT 3
- Fails to build on FreeBSD HOT 1
- get_interfaces does'nt return gateway for all the interfaces HOT 2
- how to obtaing the Gateway or Peer IP when using a VPN
- MacOs panic HOT 2
- Announcement: Rebranding to netdev
- [Feature Request] MTU
- WWAN device reported as ethernet HOT 2
- Netdev is flooding CloudFlare (1.1.1.1) HOT 1
- [freebsd] panic in bpf/unix.rs when when using FD_SET HOT 1
- Invalid IP addresses HOT 3
- [Feature Request] Enumerate link devices HOT 1
- Panic in macos gateway code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netdev.