Searched refs:net_mode (Results 1 – 1 of 1) sorted by relevance
323 static int net_mode; variable466 return net_mode == Net_client && net_use_sendfile; in net_client_use_sendfile()471 return net_mode == Net_client && !net_use_sendfile; in net_client_use_send()1476 if (net_mode == Net_server) { in fill_ofname()1638 } else if (net_mode == Net_none) { in open_ios()1962 if (net_mode == Net_server) in show_stats()2108 net_mode = Net_client; in handle_args()2112 net_mode = Net_server; in handle_args()2131 if (net_mode != Net_server && ndevs == 0) { in handle_args()2145 if (net_mode == Net_client && net_setup_addr()) in handle_args()[all …]