Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Modify comment to make the data structure clear. No ...



details:   https://anonhg.NetBSD.org/src/rev/4bdd578daf41
branches:  trunk
changeset: 841354:4bdd578daf41
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri May 10 05:16:34 2019 +0000

description:
Modify comment to make the data structure clear. No functional change.

diffstat:

 sys/net/if.h |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 2f0b62ab2035 -r 4bdd578daf41 sys/net/if.h
--- a/sys/net/if.h      Fri May 10 02:56:08 2019 +0000
+++ b/sys/net/if.h      Fri May 10 05:16:34 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.269 2019/03/23 09:48:04 pgoyette Exp $        */
+/*     $NetBSD: if.h,v 1.270 2019/05/10 05:16:34 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -871,14 +871,14 @@
 };
 
 struct ifmediareq {
-       char    ifm_name[IFNAMSIZ];             /* if name, e.g. "en0" */
-       int     ifm_current;                    /* current media options */
-       int     ifm_mask;                       /* don't care mask */
-       int     ifm_status;                     /* media status */
-       int     ifm_active;                     /* active options */
-       int     ifm_count;                      /* # entries in ifm_ulist
-                                                  array */
-       int     *ifm_ulist;                     /* media words */
+       char    ifm_name[IFNAMSIZ];     /* if name, e.g. "en0" */
+       int     ifm_current;            /* IFMWD: current media options */
+       int     ifm_mask;               /* IFMWD: don't care mask */
+       int     ifm_status;             /* media status */
+       int     ifm_active;             /* IFMWD: active options */
+       int     ifm_count;              /* # entries in ifm_ulist
+                                          array */
+       int     *ifm_ulist;             /* array of ifmedia word */
 };
 
 



Home | Main Index | Thread Index | Old Index