Skip to content

Commit

Permalink
start linux cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Nov 25, 2024
1 parent e3fb9e3 commit 5a45a69
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 8 deletions.
90 changes: 82 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions net-tools/netwatch/src/netmon/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ use std::{

use anyhow::Result;
use futures_lite::StreamExt;
use libc::{
RTNLGRP_IPV4_IFADDR, RTNLGRP_IPV4_ROUTE, RTNLGRP_IPV4_RULE, RTNLGRP_IPV6_IFADDR,
RTNLGRP_IPV6_ROUTE, RTNLGRP_IPV6_RULE,
};
use netlink_packet_core::NetlinkPayload;
use netlink_packet_route::{address, route, RouteNetlinkMessage};
use netlink_sys::{AsyncSocket, SocketAddr};
Expand Down

0 comments on commit 5a45a69

Please sign in to comment.