Home
last modified time | relevance | path

Searched refs:portid (Results 1 – 16 of 16) sorted by relevance

/external/libpcap/
Dpcap-dpdk.c180 uint16_t portid; // portid of DPDK member
294 nb_rx = (int)rte_eth_rx_burst(pd->portid, 0, pkts_burst, burst_cnt); in dpdk_read_with_timeout()
299 nb_rx = (int)rte_eth_rx_burst(pd->portid, 0, pkts_burst, burst_cnt); in dpdk_read_with_timeout()
429 rte_eth_promiscuous_disable(pd->portid); in pcap_dpdk_close()
431 rte_eth_dev_stop(pd->portid); in pcap_dpdk_close()
432 rte_eth_dev_close(pd->portid); in pcap_dpdk_close()
438 uint16_t portid = pd->portid; in nic_stats_display() local
440 rte_eth_stats_get(portid, &stats); in nic_stats_display()
442 … " RX-bytes: %-10"PRIu64" RX-Imissed: %-10"PRIu64"\n", portid, stats.ipackets, stats.ierrors, in nic_stats_display()
444 …RTE_LOG(INFO,USER1, "portid:%d, RX-PPS: %-10"PRIu64" RX-Mbps: %.2lf\n", portid, pd->pps, pd->bps/1… in nic_stats_display()
[all …]
/external/libnetfilter_conntrack/examples/
Dnfct-mnl-flush.c18 unsigned int seq, portid; in main() local
31 portid = mnl_socket_get_portid(nl); in main()
51 ret = mnl_cb_run(buf, ret, seq, portid, NULL, NULL); in main()
Dnfct-mnl-dump.c35 unsigned int seq, portid; in main() local
48 portid = mnl_socket_get_portid(nl); in main()
68 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, NULL); in main()
Dnfexp-mnl-dump.c39 uint32_t seq, portid; in main() local
53 portid = mnl_socket_get_portid(nl); in main()
73 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, NULL); in main()
Dnfct-mnl-del.c18 unsigned int seq, portid; in main() local
32 portid = mnl_socket_get_portid(nl); in main()
68 ret = mnl_cb_run(buf, ret, seq, portid, NULL, NULL); in main()
Dnfct-mnl-create.c18 unsigned int seq, portid; in main() local
32 portid = mnl_socket_get_portid(nl); in main()
73 ret = mnl_cb_run(buf, ret, seq, portid, NULL, NULL); in main()
Dnfct-mnl-get.c37 unsigned int seq, portid; in main() local
51 portid = mnl_socket_get_portid(nl); in main()
87 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, NULL); in main()
Dnfct-mnl-dump-labels.c50 unsigned int seq, portid; in main() local
64 portid = mnl_socket_get_portid(nl); in main()
87 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, l); in main()
Dnfct-mnl-set-label.c127 unsigned int seq, portid; in main() local
149 portid = mnl_socket_get_portid(nl); in main()
175 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, &cbargs); in main()
/external/iproute2/tipc/
Dmsg.c77 unsigned int portid; in msg_recv() local
80 portid = mnl_socket_get_portid(nl); in msg_recv()
84 ret = mnl_cb_run(buf, ret, seq, portid, callback, data); in msg_recv()
/external/iproute2/rdma/
Dutils.c223 unsigned int portid; in rd_recv_msg() local
226 portid = mnl_socket_get_portid(rd->nl); in rd_recv_msg()
232 ret = mnl_cb_run(buf, ret, seq, portid, callback, data); in rd_recv_msg()
/external/iproute2/devlink/
Dmnlg.c29 unsigned int portid; member
72 err = mnl_cb_run(nlg->buf, err, nlg->seq, nlg->portid, in mnlg_socket_recv_run()
241 nlg->portid = mnl_socket_get_portid(nlg->nl); in mnlg_socket_open()
/external/iptables/iptables/
Dxtables-monitor.c221 uint32_t portid; in trace_print_rule() local
251 portid = mnl_socket_get_portid(nl); in trace_print_rule()
260 ret = mnl_cb_run(buf, ret, 0, portid, rule_cb, args); in trace_print_rule()
Dnft.c76 ret = mnl_cb_run(buf, ret, h->seq, h->portid, cb, data); in mnl_talk()
213 int ret, fd = mnl_socket_get_fd(nl), portid = mnl_socket_get_portid(nl); in mnl_batch_talk() local
241 ret = mnl_cb_run(rcv_buf, ret, 0, portid, NULL, NULL); in mnl_batch_talk()
860 h->portid = mnl_socket_get_portid(h->nl); in nft_restart()
884 h->portid = mnl_socket_get_portid(h->nl); in nft_init()
3186 uint32_t portid, seq, type = 0; in nft_compatible_revision() local
3232 portid = mnl_socket_get_portid(nl); in nft_compatible_revision()
3241 ret = mnl_cb_run(buf, ret, seq, portid, NULL, NULL); in nft_compatible_revision()
Dnft.h91 uint32_t portid; member
/external/strace/
DNEWS540 * Implemented -yy mode decoding of protocol:portid pairs associated with