Home
last modified time | relevance | path

Searched refs:tcp_cnt (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/samples/bpf/
H A Dsockex1_user.c45 long long tcp_cnt, udp_cnt, icmp_cnt; in main() local
49 assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); in main()
58 tcp_cnt, udp_cnt, icmp_cnt); in main()
H A Dsock_example.c39 long long value = 0, tcp_cnt, udp_cnt, icmp_cnt; in test_sock() local
85 assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); in test_sock()
94 tcp_cnt, udp_cnt, icmp_cnt); in test_sock()
/openbmc/linux/net/ipv4/
H A Dproc.c474 const int tcp_cnt = ARRAY_SIZE(snmp4_net_list) - 1; in netstat_seq_show() local
480 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show()
484 buff = kzalloc(max(tcp_cnt * sizeof(long), ip_cnt * sizeof(u64)), in netstat_seq_show()
489 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show()
492 for (i = 0; i < tcp_cnt; i++) in netstat_seq_show()