Searched refs:tap_addr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/um/drivers/
H A Dnet_user.c20 int tap_addr[4]; tap_open_common() local
24 if (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], tap_open_common()
25 &tap_addr[1], &tap_addr[2], &tap_addr[3]) != 4) { tap_open_common()
35 int tap_addr[4]; tap_check_ips() local
38 (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], tap_check_ips()
39 &tap_addr[1], &tap_addr[2], &tap_addr[3]) == 4) && tap_check_ips()
40 (eth_addr[0] == tap_addr[0]) && tap_check_ips()
41 (eth_addr[1] == tap_addr[1]) && tap_check_ips()
42 (eth_addr[2] == tap_addr[2]) && tap_check_ips()
43 (eth_addr[3] == tap_addr[3])) { tap_check_ips()

Completed in 232 milliseconds