The NetBSD Project

CVS log for src/sys/compat/common/rtsock_70.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / common

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.2.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:00 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.2.4.1: +4 -5 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Merge changes from current as of 20200406

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 12 02:15:42 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.

Note that we still have a per-hook localcount, since we need to count
individual references.

As discussed with riastradh@

Welcome to 9.99.22 !

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:58 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +22 -2 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 29 08:31:29 2019 UTC (4 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.6: +2 -6 lines
Diff to previous 1.6 (colored)

Move the set-up of the net.oroute... sysctl tree to compat_50 since
the new AF_ROUTE was introduced in NetBSD-6.0

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 29 05:42:09 2019 UTC (4 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored)

For the rtsock compat code, make sure we create the "oroute" sysctl
tree.  Otherwise a 5.2 version of getifaddrs(2) gets errors.

This makes the 5.2 version of ifconfig(8) behave the same on both
NetBSD-8 and -current.  HOWEVER, both of them print nothing (for
``ifconfig -l'' command) so there's still a bug somewhere.

As reported originally by der Mouse.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 1 11:06:56 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 29 09:28:50 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)

Normalize all the compat hooks' names to the form

	<subsystem>_<function>_<version>_hook

NFCI

XXX Note that although this introduces a change in the kernel-to-
XXX module interface, we are NOT bumping the kernel version number.
XXX We will bump the version number once the interface stabilizes.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.2: +22 -2 lines
Diff to previous 1.2 (colored)

Merge the [pgoyette-compat] branch

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Wed Jan 23 03:34:14 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.4: +7 -11 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit.  IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).

NFC intended, will verify with a bulk build and an atf test run.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon Jan 14 13:34:27 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.3: +4 -6 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Sun Jan 13 10:49:49 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.2: +10 -7 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

Remove the HOOK2 versions of the MODULE_HOOK macros.  There were
only a few uses, and using them led to some lack of clarity in the
code.  Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.

This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Oct 15 04:33:34 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.1: +26 -21 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Convert a couple more hooks to the MP-safe mechanism.

While here, clean up some headers and remove any that are now empty.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Mar 15 05:10:05 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +20 -2 lines
Diff to previous 1.2 (colored)

Create a separate module for COMPAT_70 code only, and untangle the
70 compat code from the current.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 16 09:10:30 2017 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

Build these functions regardless of whether COMPAT_50 or COMPAT_70 are
enabled. They must be there, because they are needed in rtsock.c even
when no compat option is enabled.

Revision 1.1.18.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:53 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.18.1: +115 -0 lines
Diff to previous 1.1.18.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:07 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.1.4.1: +115 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:37 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.2.1: +115 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.1.18.1, Wed Sep 21 10:50:23 2016 UTC (7 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1: +0 -115 lines
FILE REMOVED

file rtsock_70.c was added on branch tls-maxphys on 2017-12-03 11:36:53 +0000

Revision 1.1.4.1, Wed Sep 21 10:50:23 2016 UTC (7 years, 6 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.1: +0 -115 lines
FILE REMOVED

file rtsock_70.c was added on branch pgoyette-localcount on 2016-11-04 14:49:07 +0000

Revision 1.1.2.1, Wed Sep 21 10:50:23 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +0 -115 lines
FILE REMOVED

file rtsock_70.c was added on branch nick-nhusb on 2016-10-05 20:55:37 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 21 10:50:23 2016 UTC (7 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb

Add ifam_pid and ifam_addrflags to ifa_msghdr.
Re-version RTM_NEWADDR, RTM_DELADDR, RTM_CHGADDR and NET_RT_IFLIST.
Add compat code for old version.

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>