The NetBSD Project

CVS log for src/sbin/ifconfig/vlan.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / ifconfig

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12.8.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:26:34 2010 UTC (3 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified) next main 1.13 (unified)

sync to netbsd-5

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Fri Aug 14 20:46:13 2009 UTC (3 years, 9 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified) next main 1.13 (unified)

Pull up following revision(s) (requested by dyoung in ticket #879):
	sbin/ifconfig/vlan.c: revision 1.13
Don't require a "vlan" argument with "-vlanif".  "ifconfig vlan0
-vlanif" works as one would expect, now.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri Aug 14 20:45:42 2009 UTC (3 years, 9 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified) next main 1.13 (unified)

Pull up following revision(s) (requested by dyoung in ticket #879):
	sbin/ifconfig/vlan.c: revision 1.13
Don't require a "vlan" argument with "-vlanif".  "ifconfig vlan0
-vlanif" works as one would expect, now.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jul 28 18:22:33 2009 UTC (3 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (unified)

Don't require a "vlan" argument with "-vlanif".  "ifconfig vlan0
-vlanif" works as one would expect, now.

Revision 1.3.20.2 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:12 2008 UTC (4 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.3.20.1: +30 -4 lines
Diff to previous 1.3.20.1 (unified) to branchpoint 1.3 (unified) next main 1.4 (unified)

Sync with HEAD.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:25 2008 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6.2.1: +32 -6 lines
Diff to previous 1.6.2.1 (unified) next main 1.7 (unified)

Sync with wrstuden-revivesa-base-2.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 15 21:27:58 2008 UTC (4 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Branch point for: netbsd-5-0, netbsd-5, matt-nb5-mips64
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (unified)

Cosmetic: s/xenv/oenv/

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jul 15 20:56:13 2008 UTC (4 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.10: +11 -2 lines
Diff to previous 1.10 (unified)

Only describe flags -L and -m in the usage if they are available.
That helps me get rid of some conditional compilation (INET6) in
ifconfig.

Let each protocol/feature-module print its own usage, so that the
ifconfig usage reflects the modules that are actually compiled-in.

Write usage information for carp(4) options.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 2 07:44:15 2008 UTC (4 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.9: +21 -4 lines
Diff to previous 1.9 (unified)

Let us add/remove features from ifconfig, such as support for
various address families (inet, inet6, iso, atalk) and protocols
(802.11, 802.3ad, CARP), simply by trimming the list of sources in
the Makefile.  This helps one customize ifconfig for an embedded
device or for install media, and it eliminates a lot of grotty
#ifdef'age.  Now, the ifconfig syntax and semantics are finalized
at run-time using the constructor routines in each address-family/protocol
module.

(In principle, ifconfig could load virtually all of its syntax from
shared objects.)

Extract a lot of common code into subroutines, in order to shrink
the ifconfig binary a bit.  Make all of the address families share
code for address addition/replacement/removal, and delete "legacy"
code for manipulating addresses.  That may have broken atalk and
iso, despite my best efforts.

Extract an include file, Makefile.inc, containing the make-fu that
both ifconfig and x_ifconfig share.

Sprinkle static.  Change some int's to bool's.  Constify.

Add RCS Ids to carp.c and env.c.  Move media code to a new file,
media.c.  Delete several unneeded header files.

Set, reset, and display the IEEE 802.11 attribute, 'dot11RTSThreshold'.

Bug fix: do not require both a interface address and a destination
address for point-to-point interfaces, but accept a interface
address by itself.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:57 2008 UTC (4 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.6: +30 -33 lines
Diff to previous 1.6 (unified)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.3.20.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:22 2008 UTC (4 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.3: +69 -59 lines
Diff to previous 1.3 (unified)

Sync with HEAD.

Revision 1.3.22.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:53 2008 UTC (5 years ago) by yamt
Branch: yamt-pf42
Changes since 1.3: +69 -59 lines
Diff to previous 1.3 (unified) next main 1.4 (unified)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 16 20:53:35 2008 UTC (5 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (unified)

The key 'vlantag' activates the 'vlanif' keyword, not the key
'vlan'.  Should fix this bug reported by Pierre Pronchery,

# ifconfig vlan0 vlan 1 vlanif hme0
ifconfig: SIOCAIFADDR: Address family not supported by protocol family

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 7 23:55:07 2008 UTC (5 years ago) by dyoung
Branch: MAIN
Changes since 1.7: +17 -31 lines
Diff to previous 1.7 (unified)

Factor out common code, creating direct_ioctl() and indirect_ioctl()
for the two most prevalent styles of ioctl(2) calls in ifconfig(8).

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 7 20:11:15 2008 UTC (5 years ago) by dyoung
Branch: MAIN
Changes since 1.6: +15 -4 lines
Diff to previous 1.6 (unified)

Move vlan(4) syntax from ifconfig.c into vlan.c.

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 6 18:58:47 2008 UTC (5 years ago) by dyoung
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.5: +11 -19 lines
Diff to previous 1.5 (unified)

Use prop_dictionary_util(3).

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 6 17:29:04 2008 UTC (5 years ago) by dyoung
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (unified)

Use prop_dictionary_util(3) some more.

When we read interface flags and capabilities from the kernel, take
care not to record them in our current environment (env), but record
them in the output environment (oenv), instead.  This helps us get
interface capabilities and flags right.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 6 04:33:42 2008 UTC (5 years ago) by dyoung
Branch: MAIN
Changes since 1.3: +79 -58 lines
Diff to previous 1.3 (unified)

Overhaul ifconfig.  Use fewer global variables.  Take a leap toward
improved modularity and extensibility.

In the new architecture, a directed graph of argument-matching
objects (match objects) expresses the set of feasible ifconfig
statements.  Match objects are labelled by subroutines that provide
the statement semantics.

Many IPv4, IPv6, 802.11, tunnel, and media configurations have been
tested.

AppleTalk, ISO, carp(4), agr(4), and vlan(4) configuration need
testing.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 19 17:31:48 2005 UTC (8 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (unified)

name -> ifname (avoid shadow decl with global name[]).

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 19 03:56:06 2005 UTC (8 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +3 -5 lines
Diff to previous 1.1 (unified)

Move extern decls to extern.h

Revision 1.1 / (download) - annotate - [select for diffs], Sat Mar 19 03:53:55 2005 UTC (8 years, 2 months ago) by thorpej
Branch: MAIN

Split VLAN configuration bits out into a separate file.

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.




CVSweb <webmaster@jp.NetBSD.org>