Searched refs:net_mode (Results 1 – 2 of 2) sorted by relevance
34 struct efi_simple_network_mode net_mode; member359 netobj->net.mode = &netobj->net_mode; in efi_net_register()360 netobj->net_mode.state = EFI_NETWORK_STARTED; in efi_net_register()361 memcpy(netobj->net_mode.current_address.mac_addr, eth_get_ethaddr(), 6); in efi_net_register()362 netobj->net_mode.hwaddr_size = ARP_HLEN; in efi_net_register()363 netobj->net_mode.max_packet_size = PKTSIZE; in efi_net_register()
325 static int net_mode; variable483 return net_mode == Net_client && net_use_sendfile; in net_client_use_sendfile()488 return net_mode == Net_client && !net_use_sendfile; in net_client_use_send()1573 if (net_mode == Net_server) { in iop_open()1693 } else if (net_mode == Net_none) { in open_ios()2050 if (net_mode == Net_server) in show_stats()2200 net_mode = Net_client; in handle_args()2206 net_mode = Net_server; in handle_args()2225 if (net_mode != Net_server && ndevs == 0) { in handle_args()2244 if (net_mode == Net_client && net_setup_addr()) in handle_args()[all …]