Searched refs:thdl (Results 1 – 3 of 3) sorted by relevance
43 struct ia_tunneling_hal *thdl; in ia_start_tunneling() local47 thdl = (struct ia_tunneling_hal *)malloc(sizeof(struct ia_tunneling_hal)); in ia_start_tunneling()48 if (thdl == NULL) { in ia_start_tunneling()54 thdl->tunnel_dev = open(TUNNELING_DEVICE, O_RDONLY); in ia_start_tunneling()55 if (-1 == thdl->tunnel_dev) { in ia_start_tunneling()58 free(thdl); in ia_start_tunneling()62 return thdl; in ia_start_tunneling()65 int ia_stop_tunneling(struct ia_tunneling_hal *thdl) in ia_stop_tunneling() argument69 if (thdl) { in ia_stop_tunneling()70 close(thdl->tunnel_dev); in ia_stop_tunneling()[all …]
86 int ia_set_tunnel_out_buf_threshold(struct ia_tunneling_hal *thdl,
83 struct ia_tunneling_hal *thdl = NULL; local197 thdl = ia_start_tunneling(0);198 if (NULL == thdl) {204 err = ia_enable_tunneling_source(thdl, tunnel_src[i], tunnel_mode[i], tunnel_encode[i]);263 bytes_avail = ia_read_tunnel_data (thdl,402 err = ia_disable_tunneling_source(thdl, tunnel_src[i], tunnel_mode[i], tunnel_encode[i]);408 err = ia_stop_tunneling(thdl);