Searched refs:control_fds (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 141 int data_fds[2], control_fds[2], err, output_len; in etap_open() local 155 err = socketpair(AF_UNIX, SOCK_STREAM, 0, control_fds); in etap_open() 163 err = etap_tramp(pri->dev_name, pri->gate_addr, control_fds[0], in etap_open() 164 control_fds[1], data_fds[0], data_fds[1]); in etap_open() 167 read_output(control_fds[0], output, output_len); in etap_open() 183 pri->control_fd = control_fds[0]; in etap_open() 188 close(control_fds[0]); in etap_open() 189 close(control_fds[1]); in etap_open()
|