Searched refs:tunnel_dev (Results 1 – 1 of 1) sorted by relevance
38 int tunnel_dev; member54 thdl->tunnel_dev = open(TUNNELING_DEVICE, O_RDONLY); in ia_start_tunneling()55 if (-1 == thdl->tunnel_dev) { in ia_start_tunneling()70 close(thdl->tunnel_dev); in ia_stop_tunneling()71 thdl->tunnel_dev = 0; in ia_stop_tunneling()96 err = ioctl(thdl->tunnel_dev, TUNNEL_SETUP, &tm); in ia_enable_tunneling_source()123 err = ioctl(thdl->tunnel_dev, TUNNEL_TERMINATE, &tm); in ia_disable_tunneling_source()149 read_bytes = read(thdl->tunnel_dev, buf, buf_sz); in ia_read_tunnel_data()171 err = ioctl(thdl->tunnel_dev, TUNNEL_SET_EVENT_THRESHOLD, in ia_set_tunnel_out_buf_threshold()