Searched refs:fin (Results 1 – 1 of 1) sorted by relevance
216 FILE *fin; in run_bpf_prog() local228 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", "r"); in run_bpf_prog()229 if (fscanf(fin, "%llu", &last_eth_tx_bytes) != 1) in run_bpf_prog()231 fclose(fin); in run_bpf_prog()246 fin = fopen("/sys/class/net/eth0/statistics/tx_bytes", in run_bpf_prog()248 if (fscanf(fin, "%llu", &new_eth_tx_bytes) != 1) in run_bpf_prog()250 fclose(fin); in run_bpf_prog()
Completed in 3 milliseconds