Searched refs:tap_addr (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | net_user.c | 20 int tap_addr[4]; in tap_open_common() local 24 if (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], in tap_open_common() 25 &tap_addr[1], &tap_addr[2], &tap_addr[3]) != 4) { in tap_open_common() 35 int tap_addr[4]; in tap_check_ips() local 38 (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], in tap_check_ips() 39 &tap_addr[1], &tap_addr[2], &tap_addr[3]) == 4) && in tap_check_ips() 40 (eth_addr[0] == tap_addr[0]) && in tap_check_ips() 41 (eth_addr[1] == tap_addr[1]) && in tap_check_ips() 42 (eth_addr[2] == tap_addr[2]) && in tap_check_ips() 43 (eth_addr[3] == tap_addr[3])) { in tap_check_ips()
|