Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
libbp_sd.h
Go to the documentation of this file.
1 /******************************************************************************/
2 /* */
3 /* bypass library, Copyright (c) 2004 Silicom, Ltd */
4 /* Corporation. */
5 /* */
6 /* This program is free software; you can redistribute it and/or modify */
7 /* it under the terms of the GNU General Public License as published by */
8 /* the Free Software Foundation, located in the file LICENSE. */
9 /* */
10 /* Ver 1.0.0 */
11 /* */
12 /* libbypass.h */
13 /* */
14 /******************************************************************************/
15 
25 int is_bypass_sd(int if_index);
26 
35 int get_bypass_slave_sd(int if_index);
36 
93 int get_bypass_caps_sd(int if_index);
94 
119 int get_wd_set_caps_sd(int if_index);
120 
129 int set_bypass_sd(int if_index, int bypass_mode);
130 
138 int get_bypass_sd(int if_index);
139 
147 int get_bypass_change_sd(int if_index);
148 
158 int set_dis_bypass_sd(int if_index, int dis_bypass);
159 
168 int get_dis_bypass_sd(int if_index);
169 
179 int set_bypass_pwoff_sd(int if_index, int bypass_mode);
180 
189 int get_bypass_pwoff_sd(int if_index);
190 
200 int set_bypass_pwup_sd(int if_index, int bypass_mode);
201 
210 int get_bypass_pwup_sd(int if_index);
211 
223 int set_bypass_wd_sd(int if_index, int ms_timeout, int *ms_timeout_set);
224 
236 int get_bypass_wd_sd(int if_index, int *ms_timeout_set);
237 
249 int get_wd_expire_time_sd(int if_index, int *ms_time_left);
250 
261 int reset_bypass_wd_timer_sd(int if_index);
262 
273 int set_std_nic_sd(int if_index, int nic_mode);
274 
284 int get_std_nic_sd(int if_index);
285 
295 int set_tx_sd(int if_index, int tx_state);
296 
305 int get_tx_sd(int if_index);
306 
315 int set_tap_sd(int if_index, int tap_mode);
316 
324 int get_tap_sd(int if_index);
325 
333 int get_tap_change_sd(int if_index);
334 
344 int set_dis_tap_sd(int if_index, int dis_tap);
345 
354 int get_dis_tap_sd(int if_index);
355 
365 int set_tap_pwup_sd(int if_index, int tap_mode);
366 
375 int get_tap_pwup_sd(int if_index);
376 
385 int set_bp_disc_sd(int if_index, int disc_mode);
386 
394 int get_bp_disc_sd(int if_index);
395 
403 int get_bp_disc_change_sd(int if_index);
404 
414 int set_bp_dis_disc_sd(int if_index, int dis_disc);
415 
424 int get_bp_dis_disc_sd(int if_index);
425 
435 int set_bp_disc_pwup_sd(int if_index, int disc_mode);
436 
445 int get_bp_disc_pwup_sd(int if_index);
446 
455 int set_wd_exp_mode_sd(int if_index, int bypass_mode);
456 
464 int get_wd_exp_mode_sd(int if_index);
465 
475 int set_wd_autoreset_sd(int if_index, int time);
476 
486 int get_wd_autoreset_sd(int if_index);
487 
496 int set_tpl_sd(int if_index, int tpl_mode);
497 
505 int get_tpl_sd(int if_index);
506 
507 int get_bypass_info_sd(int if_index, struct bp_info *bp_info);
508 int bp_if_scan_sd(void);
509 /*int get_dev_num_sd(void);*/