Home
last modified time | relevance | path

Searched refs:if_table (Results 1 – 25 of 34) sorted by relevance

12

/dports/net-mgmt/bwm-ng/bwm-ng-0.6/src/input/
H A Dwin32.c28 PMIB_IFTABLE if_table,tmp; in get_iface_stats_win32() local
37 if_table = malloc(sizeof(MIB_IFTABLE)); in get_iface_stats_win32()
38 if (if_table==NULL) return; in get_iface_stats_win32()
42 tmp = realloc(if_table, tableSize); in get_iface_stats_win32()
44 free(if_table); in get_iface_stats_win32()
47 if_table=tmp; in get_iface_stats_win32()
49 err=GetIfTable(if_table, &tableSize, 0); in get_iface_stats_win32()
52 free(if_table); in get_iface_stats_win32()
63 tmp_if_stats.packets.in=if_table->table[i].dwInUcastPkts + if_table->table[i].dwInNUcastPkts; in get_iface_stats_win32()
64 tmp_if_stats.packets.out=if_table->table[i].dwOutUcastPkts + if_table->table[i].dwOutNUcastPkts; in get_iface_stats_win32()
[all …]
/dports/devel/ptlib/ptlib-2.10.11/samples/netif/
H A Dnetif.cxx59 PIPSocket::InterfaceTable if_table; in PCREATE_PROCESS() local
62 if ( !PIPSocket::GetInterfaceTable( if_table ) ) { in PCREATE_PROCESS()
68 cout << "The interface table has " << if_table.GetSize() in PCREATE_PROCESS()
71 for (PINDEX i=0; i < if_table.GetSize(); i++) { in PCREATE_PROCESS()
72 PIPSocket::InterfaceEntry if_entry = if_table[i]; in PCREATE_PROCESS()
/dports/security/nmap/nmap-7.91/scripts/
H A Dbroadcast-ping.nse163 pcap:pcap_open(if_table.device, 104, false, "dst host ".. if_table.address ..
165 try(dnet:ethernet_open(if_table.device))
167 local source_IP = if_table.address
180 .. if_table.mac -- src mac
227 if not (if_table and if_table.address and if_table.link=="ethernet") then
231 table.insert(interfaces, if_table)
234 for _, if_table in ipairs(tmp_ifaces) do
235 if if_table.address and
236 if_table.link=="ethernet" and
238 table.insert(interfaces, if_table)
[all …]
H A Dlltd-discovery.nse204 pcap:pcap_open(if_table.device, 256, false, "")
205 try(dnet:ethernet_open(if_table.device))
207 local packet = QuickDiscoveryPacket(if_table.mac)
263 local if_table = nmap.get_interface_info(interface)
264 if not (if_table and if_table.address and if_table.link=="ethernet") then
268 table.insert(interfaces, if_table)
271 for _, if_table in ipairs(tmp_ifaces) do
272 if if_table.address and
273 if_table.link=="ethernet" and
276 table.insert(interfaces, if_table)
[all …]
H A Dtargets-ipv6-multicast-echo.nse46 local if_table = nmap.get_interface_info(interface_name)
47 if if_table and ipOps.ip_to_str(if_table.address) and if_table.link == "ethernet" then
48 interfaces[#interfaces + 1] = if_table
53 for _, if_table in ipairs(nmap.list_interfaces()) do
54 if ipOps.ip_to_str(if_table.address) and if_table.link == "ethernet" then
55 table.insert(interfaces, if_table)
H A Dtargets-ipv6-multicast-invalid-dst.nse61 local if_table = nmap.get_interface_info(interface_name)
62 if if_table and ipOps.ip_to_str(if_table.address) and if_table.link == "ethernet" then
63 interfaces[#interfaces + 1] = if_table
68 for _, if_table in ipairs(nmap.list_interfaces()) do
69 if ipOps.ip_to_str(if_table.address) and if_table.link == "ethernet" then
70 table.insert(interfaces, if_table)
H A Dtargets-ipv6-multicast-slaac.nse104 local if_table = nmap.get_interface_info(interface_name)
105 if if_table and ipOps.ip_to_str(if_table.address) and if_table.link == "ethernet" then
106 interfaces[#interfaces + 1] = if_table
111 for _, if_table in ipairs(nmap.list_interfaces()) do
112 if ipOps.ip_to_str(if_table.address) and if_table.link == "ethernet" then
113 table.insert(interfaces, if_table)
H A Dtargets-ipv6-multicast-mld.nse73 for _, if_table in pairs(nmap.list_interfaces()) do
74 if (interface_name == nil or if_table.device == interface_name) -- check for correct interface
75 and ipOps.ip_in_range(if_table.address, "fe80::/10") -- link local address
76 and if_table.link == "ethernet" then -- not the loopback interface
77 table.insert(interfaces, if_table)
H A Dipv6-ra-flood.nse72 local if_table = nmap.get_interface_info(arg_interface)
74 if if_table and ipOps.ip_to_str(if_table.address) and if_table.link == "ethernet" then
75 return if_table.device
/dports/devel/ptlib/ptlib-2.10.11/samples/ipv6test/
H A Dmain.cxx219 PIPSocket::InterfaceTable if_table; in Main() local
220 PIPSocket::GetInterfaceTable( if_table ); in Main()
224 cout << "The interface table has " << if_table.GetSize() in Main()
227 for (PINDEX i=0; i < if_table.GetSize(); i++) { in Main()
228 PIPSocket::InterfaceEntry if_entry = if_table[i]; in Main()
/dports/devel/libstatgrab/libstatgrab-0.92.1/src/libstatgrab/
H A Dnetwork_stats.c205 PMIB_IFTABLE if_table; in EASY_COMP_CLEANUP_FN() local
211 if( if_table == NULL ) { in EASY_COMP_CLEANUP_FN()
219 free(if_table); in EASY_COMP_CLEANUP_FN()
222 if_table = tmp; in EASY_COMP_CLEANUP_FN()
227 free(if_table); in EASY_COMP_CLEANUP_FN()
230 return if_table; in EASY_COMP_CLEANUP_FN()
269 PMIB_IFTABLE if_table; in sg_get_network_io_stats_int() local
645 free(if_table); in sg_get_network_io_stats_int()
660 free(if_table); in sg_get_network_io_stats_int()
725 PMIB_IFTABLE if_table; in sg_get_network_iface_stats_int() local
[all …]
/dports/databases/grass7/grass-7.8.6/raster3d/r3.flow/
H A Dmain.c171 int if_table; in main() local
309 if_table = table_fl->answer ? TRUE : FALSE; in main()
401 if (if_table) { in main()
459 &cat, if_table, finfo, driver); in main()
466 &cat, if_table, finfo, driver); in main()
504 if_table, finfo, driver); in main()
512 if_table, finfo, driver); in main()
522 if (if_table) { in main()
H A Dflowline.h16 struct line_pnts *points, int *cat, int if_table,
H A Dflowline.c96 struct line_pnts *points, int *cat, int if_table, in compute_flowline() argument
158 if (if_table) { in compute_flowline()
/dports/net-mgmt/netustad/netustad-0.3.1/po/
H A DPOTFILES.in12 data/freebsd/if_table
36 data/linux/if_table
/dports/net/frr7-pythontools/frr-frr-7.5.1/zebra/
H A Dzebra_ns.c80 zns->if_table = route_table_init(); in zebra_ns_new()
142 route_table_finish(zns->if_table); in zebra_ns_disable_internal()
H A Dzebra_ns.h59 struct route_table *if_table; member
H A Dzebra_evpn.c650 for (rn = route_top(zns->if_table); rn; rn = route_next(rn)) { in zebra_evpn_map_vlan_ns()
731 for (rn = route_top(zns->if_table); rn; rn = route_next(rn)) { in zebra_evpn_from_svi_ns()
825 for (rn = route_top(zns->if_table); rn; rn = route_next(rn)) { in zvni_map_to_macvlan_ns()
/dports/net/frr7/frr-frr-7.5.1/zebra/
H A Dzebra_ns.c80 zns->if_table = route_table_init(); in zebra_ns_new()
142 route_table_finish(zns->if_table); in zebra_ns_disable_internal()
H A Dzebra_ns.h59 struct route_table *if_table; member
/dports/net-mgmt/netustad/netustad-0.3.1/data/freebsd/
H A Dif_edit19 ./if_table
H A DMakefile.am17 if_table \ script
/dports/net-mgmt/netustad/netustad-0.3.1/data/linux/
H A DMakefile.am17 if_table \ script
H A Dif_edit19 ./if_table
/dports/net/h323plus/h323plus-1_27_2/src/h460/
H A Dh460_std23.cxx498 PIPSocket::InterfaceTable if_table; local
499 if (!PIPSocket::GetInterfaceTable(if_table)) {
503 for (PINDEX i=0; i< if_table.GetSize(); i++) {
504 if (detectAddress == if_table[i].GetAddress()) {

12