OpenBSD CVS

CVS log for src/sbin/ifconfig/Attic/brconfig.h


[BACK] Up to [local] / src / sbin / ifconfig

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16, Thu Oct 17 18:37:38 2019 UTC (4 years, 7 months ago) by bluhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED

Fix some compiler warings in ifconfig(8).  Move all prototypes and
variables used in multiple .c files into common ifconfig.h.  Basically
this renames brconfig.h to ifconfig.h and also uses it for sff.c.
Fix missing prototypes.  Global variable name s is bad as it shadows
local variables.  Call it sock and use it everywhere.
OK deraadt@

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 25 13:56:23 2019 UTC (4 years, 10 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Add IFXF_AUTOCONF4 to if_xflags to match IFXF_AUTOCONF6. Let
ifconfig set/unset it.

ok deraadt@ kmos@

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 10 05:55:26 2018 UTC (6 years, 4 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

ifconfig can be used to to set interface flag to not do RFC 7217.

OK naddy, sthen
man page bits input & OK jmc

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 8 13:15:32 2018 UTC (6 years, 4 months ago) by mpi
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Add a new '-protected' option for bridge members.

Bridge members that are part of the same protected domain, refered by
a number between 1 and 31, cannot talk to each others.  This is useful
to isolate VMs or untrusted networks at layer 2.

Members can be part of multiple protected domain making it possible to
create complex protected setups.

ok ccardenas@, claudio@, dlg@, henning@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 16 10:33:55 2018 UTC (6 years, 4 months ago) by mpi
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsip
of IFF* flags.

inputs from jmc@, ok bluhm@, visa@

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 2 10:01:36 2016 UTC (7 years, 9 months ago) by goda
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

Add switch(4) support to ifconfig

ok deraadt@ yasuoka@ reyk@ henning@

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 8 08:56:59 2016 UTC (8 years, 1 month ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Do not print MPSAFE when the corresponding bit is set on the interface
flags.

This read-only flag is a hint for the network stack and does not matter
for end user, in fact exposing it just creates confusion.

ok kettenis@, deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 7 15:33:56 2016 UTC (8 years, 5 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

sync displayed interface flags to reality

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 11 16:41:51 2014 UTC (9 years, 11 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

allow IFXF_AUTOCONF6 to be set and cleared.
"ifconfig <if> inet6 autoconf" to turn it on, -autoconf to turn it off.
show AUTOCONF6 in the flags line.
-inet6 turns IFXF_AUTOCONF6 off as well.
ok stsp benno florian bluhm

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 21 17:24:34 2013 UTC (10 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Make the bit string unsigned char * in printb() and printb_status().
In practice we shouldn't have chars > 127 in these but it is better
not to assume this.  OK deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 21 19:50:39 2012 UTC (11 years, 9 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Reverse the name and meaning of the IFXF_INET6_PRIVACY interface
flag.  It is now called IFXF_INET6_NOPRIVACY.  So IPv6 privacy
addresses are on by default without resetting the flag during
ifconfig down/up.
OK stsp@, sperreault@ (who wrote the same diff)

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 2 02:03:47 2011 UTC (12 years, 7 months ago) by haesbaert
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.4: +6 -5 lines
Diff to previous 1.4 (colored)

Expose if_capabilities to userland so that ifconfig can display the
device hardware features.
Tune ifconfig to show them with 'hwfeatures' argument.
While here, kill some old unused capabilities and respect 80 columns
in brconfig.h.

ok mcbride@, henning@, mpf@.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 13 15:31:41 2011 UTC (13 years, 3 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Add a way to enable/disable Wake On LAN with ifconfig.
ok deraadt

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 7 15:05:42 2010 UTC (14 years ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.2: +2 -0 lines
Diff to previous 1.2 (colored)

$OpenBSD$
ok claudio@

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 4 08:53:24 2010 UTC (14 years ago) by claudio
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Merge interface flags and xflags before printing them. So it is possible to
see if a interface is using the INET6_PRIVACY or is MPLS enabled.
If xflags uses more then 16 flags something else must be figured out.
OK stsp@ deraadt@

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 22 22:00:24 2009 UTC (14 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7

Merge brconfig into ifconfig. It is annoying that it is impossible to do
ifconfig bridge0 add em0 add gif0 add vether0 up
instead you need to
ifconfig bridge0 create
brconfig bridge0 add em0 add gif0 add vether0 up
This is working for everything now but we may do some changes when needed.
Manpages and startup scripts are following soon.
OK deraadt@, henning@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.