diff options
author | Kazuya Goda <goda@cvs.openbsd.org> | 2016-09-02 10:01:37 +0000 |
---|---|---|
committer | Kazuya Goda <goda@cvs.openbsd.org> | 2016-09-02 10:01:37 +0000 |
commit | 0f590a8a07c19d851259836004e21db0adaff2d3 (patch) | |
tree | 1ae40839194b9e2cac0fdd0c01a5ddb409acc76a /sbin/ifconfig/brconfig.h | |
parent | 02647f4aae7f5879d92879db066a50420a432865 (diff) |
Add switch(4) support to ifconfig
ok deraadt@ yasuoka@ reyk@ henning@
Diffstat (limited to 'sbin/ifconfig/brconfig.h')
-rw-r--r-- | sbin/ifconfig/brconfig.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/ifconfig/brconfig.h b/sbin/ifconfig/brconfig.h index b1eb195947d..ee68feb411b 100644 --- a/sbin/ifconfig/brconfig.h +++ b/sbin/ifconfig/brconfig.h @@ -1,4 +1,4 @@ -/* $OpenBSD: brconfig.h,v 1.10 2016/05/08 08:56:59 mpi Exp $ */ +/* $OpenBSD: brconfig.h,v 1.11 2016/09/02 10:01:36 goda Exp $ */ /* * Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org> @@ -37,6 +37,7 @@ void setptp(const char *, int); void unsetptp(const char *, int); void setautoptp(const char *, int); void unsetautoptp(const char *, int); +void addlocal(const char *, int); void bridge_add(const char *, int); void bridge_delete(const char *, int); @@ -64,6 +65,9 @@ void bridge_flushrule(const char *, int); int is_bridge(char *); void bridge_status(void); int bridge_rule(int, char **, int); +void switch_status(void); +void switch_datapathid(const char *, int); +void switch_portno(const char *, const char *); #define IFFBITS \ "\024\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6NOTRAILERS" \ |