1/* 2 * $Id: brctl.h,v 1.1.1.1 2008/10/15 03:28:31 james26_jang Exp $ 3 * 4 * Copyright (C) 2000 Lennert Buytenhek 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 of the 9 * License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 */ 20 21#ifndef _BRCTL_H 22#define _BRCTL_H 23 24struct command 25{ 26 int needs_bridge_argument; 27 char *name; 28 void (*func)(struct bridge *br, char *arg0, char *arg1); 29}; 30 31struct command *br_command_lookup(char *cmd); 32void br_dump_bridge_id(unsigned char *x); 33void br_show_timer(struct timeval *tv); 34void br_dump_port_info(struct port *p); 35void br_dump_info(struct bridge *br); 36 37#endif 38