发布时间:2016-09-09 17:35:00
Cmd:bridge link set dev eth4 stats 3/0iproute2/bridge/link.cif (state >= 0) addattr8(&req.n, sizeof(req), IFLA_BRPORT_STATE, state);kernel:br_set_port_state......【阅读全文】
发布时间:2016-09-08 21:19:47
The following example creates a NETLINK_ROUTE netlink socket which will listen to the RTMGRP_LINK (network interface create/delete/up/down events) and RTMGRP_IPV4_IFADDR (IPv4 addresses add/delete events) multicast groups. struct sockaddr_nl sa; .........【阅读全文】
发布时间:2013-06-29 07:02:16
app 2>&1 | tee -a <logfile>app 2>&1 | tee <logfile>......【阅读全文】