… | |
… | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | GNU General Public License for more details. |
15 | GNU General Public License for more details. |
16 | |
16 | |
17 | You should have received a copy of the GNU General Public License |
17 | You should have received a copy of the GNU General Public License |
18 | along with gvpe; if not, write to the Free Software |
18 | along with gvpe; if not, write to the Free Software |
19 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | */ |
20 | */ |
21 | |
21 | |
22 | #ifndef GVPE_DEVICE_H__ |
22 | #ifndef GVPE_DEVICE_H__ |
23 | #define GVPE_DEVICE_H__ |
23 | #define GVPE_DEVICE_H__ |
24 | |
24 | |
… | |
… | |
117 | //bool open (); |
117 | //bool open (); |
118 | //void close (); |
118 | //void close (); |
119 | |
119 | |
120 | const char *interface () { return ifrname; } |
120 | const char *interface () { return ifrname; } |
121 | const char *info (); |
121 | const char *info (); |
|
|
122 | const char *if_up (); |
122 | |
123 | |
123 | tap_packet *recv (); |
124 | tap_packet *recv (); |
124 | void send (tap_packet *pkt); |
125 | void send (tap_packet *pkt); |
125 | }; |
126 | }; |
126 | |
127 | |