The NetBSD Project

CVS log for src/sys/net/if_spppvar.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:35 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.1: +14 -9 lines
Sync w/ HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jun 1 04:59:50 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -1 lines
Drop the Open event of LCP to stop the interface
even a reconnection is scheduled

The queue for events in if_spppsubr.c is not possible
to enqueue the same event. So, The close event caused
while a close event and open event are enqueued for
reconnection is not possible to stop interface.
To solve this issue, The open event after
"ifconfig pppoe? down" is dropped.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jun 1 04:55:55 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
remove PP_CISCO that was used in obsoleted drivers e.g. lmc(4)

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jun 1 03:51:33 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -10 lines
Fix not to do if_down() before reconnect

Almost network interface do not use if_down() even when there is no
connectivity. So, pppoe(4) is also made be not used it.
This behavior can be rollbacked by SPPP_IFDOWN_RECONNECT option.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jun 1 03:27:23 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -4 lines
restart LCP when loopback packets are detected

In if_spppsubr.c down and up do not mean that LCP is stopping
or running, but mean that the lower layer of LCP is up or down.
And, restarting of LCP is had to use close event and open event.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:21 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +3 -1 lines
sync with head

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri May 14 08:41:25 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
CVS tags: cjep_staticlib_x-base1
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -1 lines
Add a parameter to change keepalive interval in each PPPoE I/F

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:33 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -5 lines
Sync with HEAD.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue May 11 01:27:45 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1 lines
Added ioctl commands for configuring NCP of pppoe(4)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue May 11 01:23:21 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +0 -1 lines
back to r1.34 because of mistake of commit log

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue May 11 01:00:49 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -1 lines
Added keywords that are ipcp, noipcp, ipv6cp, noipv6cp
for configuring NCP

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Apr 28 09:36:24 2021 UTC (3 years, 7 months ago) by yamaguchi
Branches: MAIN
CVS tags: cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -5 lines
Move paese of conf-req, conf-nak and conf-rej into workqueue
from softint context

When the pases were processed in softint, the state machine
in if_spppsubr.c had been broken by simultaneous events
on rare occasions.

Example:
 1. Do ifconfig pppoe* up
    - lcp open event is enqueued to workqueue
 2. Receive conf-ack, and parse the packet
    - save mru to sp->lcp.their_mru
    - lcp RCR+ event is enqueued to workqueue
 3. Process lcp open event
    - initialize data including sp->lcp.their_mru
 4. Process lcp RCR+ event
    - Use sp->lcp.their_mru
        - but it was initialized

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:21 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -2 lines
Sync with HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Apr 16 02:26:25 2021 UTC (3 years, 7 months ago) by yamaguchi
Branches: MAIN
CVS tags: thorpej-cfargs-base
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Added missing locking order between sppp and IFNET_LOCK

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:15 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +58 -16 lines
Sync w/ HEAD.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Nov 25 10:30:51 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -1 lines
Add commands to refer params of control protocols in if_spppsubr.c

reviewed by knakahara@n.o.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Nov 25 10:27:18 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1 lines
Reconnect when a down event caused by tlf caught

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Nov 25 10:12:03 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -6 lines
Update ip addresses in the workqueue for control protocols

reviewed by knakahara@n.o.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Nov 25 09:46:05 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +13 -6 lines
implement auth protocols on the state-machine of control protocols

reviewed by knakahara@n.o.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Nov 25 09:38:39 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1 lines
call if_down() in workqueue instead of callout(9)

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Nov 25 09:35:23 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +26 -1 lines
Change a state of control protocol in thread context

reviewed by knakahara@n.o.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 25 09:18:45 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -2 lines
Add a function for RCR event

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Nov 25 09:12:50 2020 UTC (4 years ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +12 -7 lines
Add a structure for params related to control protocols

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Oct 5 16:11:25 2020 UTC (4 years, 2 months ago) by roy
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -4 lines
ppp: Remove media

There is none after all.
Applications should be using ifi_link_state and not checking media.

Revision 1.22.12.3: download - view: text, markup, annotated - select for diffs
Fri Apr 10 17:28:37 2020 UTC (4 years, 7 months ago) by is
Branches: is-mlppp
Diff to: previous 1.22.12.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.12.2: +2 -0 lines
first part of defragmentation code. No dropping/sequence error statistics
yet, and no MRRU negotiation so not active.

Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:57 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +4 -1 lines
Merge changes from current as of 20200406

Revision 1.22.12.2: download - view: text, markup, annotated - select for diffs
Tue Apr 7 18:47:43 2020 UTC (4 years, 7 months ago) by is
Branches: is-mlppp
Diff to: previous 1.22.12.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.12.1: +1 -1 lines
fix typo in comment.

Revision 1.22.12.1: download - view: text, markup, annotated - select for diffs
Tue Apr 7 18:32:20 2020 UTC (4 years, 7 months ago) by is
Branches: is-mlppp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
Multilink PPP: sanity check of option values, storage of remote MRRU.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Apr 4 17:12:33 2020 UTC (4 years, 8 months ago) by is
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
Multilink PPP: sanity check of option values, storage of remote MRRU.

Revision 1.16.22.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:02 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +34 -1 lines
update from HEAD

Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 20:28:24 2017 UTC (7 years, 1 month ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +23 -5 lines
Pull up following revision(s) (requested by knakahara in ticket #332):
	sys/net/if_pppoe.c: 1.127-1.128
	sys/net/if_pppoe.h: 1.15
	sys/net/if_spppsubr.c: 1.170-1.171
	sys/net/if_spppvar.h: 1.21-1.22
Integrate two locks used to protect PPPoE softc. Contributed by s-yamaguchi@IIJ.
PPPOE_SESSION_LOCK protects variables used in PPP packet
processing, on the other hand PPPOE_PARAM_LOCK protects
the other variables used to establish a PPPoE session id.
Those locks isn't acquired in the same time because the
PPP packet processing doesn't work without PPPoE session id.
By the reason, the locks can be integrated into PPPOE_LOCK.
Add locking notes later.
--
sppp_lock is changed from mutex to rwlock now. Contributed by s-yamaguchi@IIJ.
Add locking notes later.
--
Add a locking notes for if_pppoe
--
Add a locking notes for if_spppsubr
--
fix no INET6 build.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Oct 12 09:53:55 2017 UTC (7 years, 1 month ago) by knakahara
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, 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, pgoyette-compat, netbsd-9-base, netbsd-9-4-RELEASE, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, is-mlppp
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +22 -1 lines
Add a locking notes for if_spppsubr

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Oct 12 09:49:43 2017 UTC (7 years, 1 month ago) by knakahara
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -5 lines
sppp_lock is changed from mutex to rwlock now. Contributed by s-yamaguchi@IIJ.

Add locking notes later.

Revision 1.16.40.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:58 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.16.40.2: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.40.2: +5 -1 lines
Sync with HEAD

Revision 1.16.44.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:50 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.16.44.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.44.1: +13 -1 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Dec 13 00:35:11 2016 UTC (7 years, 11 months ago) by knakahara
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -1 lines
MP-safe pppoe(4).

Nearly all parts is implemented by Shoichi YAMAGUCHI<s-yamaguchi@IIJ>, thanks.

Revision 1.16.40.2: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:27 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.16.40.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.40.1: +9 -1 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Dec 1 02:30:54 2016 UTC (8 years ago) by knakahara
Branches: MAIN
CVS tags: nick-nhusb-base-20161204
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -8 lines
fix two races between set_ip_addrs and clear_ip_addrs race.

    (1) if set_ip_addrs and clear_ip_addrs run parallel, they can parallel call
        IN_ADDRHASH_WRITER_REMOVE to the same ifa.
    (2) if set_ip_addrs's workqueue is separated from clear_ip_addrs's one,
        the workers can run in reverse order of enqueued.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Nov 25 05:03:12 2016 UTC (8 years ago) by knakahara
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -1 lines
make workqueue sppp_{set,clear}_ip_addrs to be able to call pserialize_perform.

Revision 1.16.44.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:20 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1 lines
Sync with HEAD

Revision 1.16.40.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:08 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Sep 14 10:58:38 2016 UTC (8 years, 2 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, nick-nhusb-base-20161004
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1 lines
Add interface media for sppp consumers.
While there is no actual media to select,
the ioctl is used to query link status from userland.

Revision 1.12.10.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:27 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +2 -2 lines
sync with head

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Oct 5 21:27:36 2009 UTC (15 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, 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, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, 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-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, 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, localcount-20160914, khorben-n900, jym-xensuspend-nbase, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Replace u_quad_t with uint64_t.  u_quad_t is just a typedef for
uint64_t, so no ABI/API breakage will result from this change.

Revision 1.12.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:41 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +1 -1 lines
Sync with HEAD.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Aug 22 12:13:18 2008 UTC (16 years, 3 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -7 lines
Backout previous/restore initial fix for PR kern/39280.
The later changes were only cosmetic, cause problems in IPv6-only-
connections (reported by Wolfgang Solfrank in private mail), as well
as reintroducing the original bug again.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Aug 5 23:56:31 2008 UTC (16 years, 4 months ago) by degroote
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -5 lines
We have a dummy entry for IPV6CP even if the non-INET6 case.
So always reference IDX_IPV6CP
Fix build of if_spppsubr.c if INET6 is not defined.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 4 12:03:14 2008 UTC (16 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +11 -9 lines
keep the loop, but arrange IDX_COUNT to be correct.

Revision 1.11.46.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:05 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +5 -5 lines
sync with HEAD

Revision 1.10.16.2: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:37:01 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.16.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.16.1: +5 -5 lines
sync with head.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 20 17:05:53 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, haad-dm
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5 lines
s/u_\(int[0-9]*_t\)/u\1/g
(change u_int*_t to uint*_t)

Revision 1.10.16.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:27 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1 lines
sync with head.

Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:19 2005 UTC (18 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.7.2.3: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.3: +5 -1 lines
Sync with head.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 10 23:21:38 2005 UTC (18 years, 11 months ago) by elad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, ktrace-lwp-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1 lines
Multiple inclusion protection, as suggested by christos@ on tech-kern@
few days ago.

Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:36:41 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7.2.2: preferred, colored
Changes since revision 1.7.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:16 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7.2.1: preferred, colored
Changes since revision 1.7.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:18 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +21 -17 lines
Sync with HEAD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Sep 3 20:48:46 2003 UTC (21 years, 3 months ago) by martin
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -3 lines
Rearange dead link detection slightly:
As long as we receive data from the peer, don't worry. When we have not
received anything within the "max_noreceive" period, we start sending LCP
echo requests and count them, until we receive an answer (or some data)
or the "maxalive" count of not answered echo requests is reached.
All this is checked at a global 10 seconds interval for all interfaces.
The "max_noreceive" period and the "maxalive" count are configurable per
interface.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jul 9 20:12:54 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -2 lines
We should use IFQ_DEQUEUE to get packets from the send queue, not IF_DEQUEUE.
Hopefully this will fix ALTQ for ISDN and PPPoE interfaces.

While there remove an unsued function which contained dubious code
(accessing interface queue internals w/o the proper macros).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 8 07:13:52 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +15 -15 lines
prototype must not have variable name

Revision 1.4.8.3: download - view: text, markup, annotated - select for diffs
Tue Jan 28 18:28:22 2003 UTC (21 years, 10 months ago) by jmc
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.4.8.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.8.2: +2 -1 lines
Pullup revisions 1.62-1.63 (requested by tron in ticket #1133)
 Use MRU negotiated with remote system as MTU. Fixes PR#18850.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 28 15:36:40 2003 UTC (21 years, 10 months ago) by tron
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
Use MRU negotiated with remote system as MTU. This fixes PR kern/18850
by Curt Sampson.

Revision 1.4.8.2: download - view: text, markup, annotated - select for diffs
Sun Jan 26 10:33:13 2003 UTC (21 years, 10 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.4.8.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.8.1: +1 -1 lines
Pullup revisions 1.5-1.6 (requested by jmmv in ticket #1102)
 Fix typo: realy -> really.  Okay'ed by wiz.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 22 11:47:05 2003 UTC (21 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Fix typo: realy -> really.  Okay'ed by wiz.

Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:48:59 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.2.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.3: +3 -1 lines
sync kqueue branch with HEAD

Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 00:56:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -1 lines
catch up with -current.

Revision 1.4.8.1: download - view: text, markup, annotated - select for diffs
Sat Aug 17 05:36:00 2002 UTC (22 years, 3 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
Pull up revision 1.5 (requested by groo in ticket #669):
Don't throw away the name and the secret lengths. This eliminates all the
strlen() calls, and there was a whole bunch of them.

Revision 1.3.4.4: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:41 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.3.4.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.3: +3 -1 lines
Catch up to -current.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 28 19:54:47 2002 UTC (22 years, 4 months ago) by christos
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
Don't throw away the name and the secret lengths. This eliminates all the
strlen() calls, and there was a whole bunch of them.

Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:48:24 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.2: +3 -1 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:08 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.2: +3 -1 lines
Catch up with -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 2 16:23:42 2002 UTC (22 years, 9 months ago) by martin
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RC1, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
Add support to query the peer for DNS addreses when negotiating IPCP.
Add ioctls to retrieve the results.

While here remove a malloc()/free() of an unused buffer.

Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:39:45 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +160 -0 lines
More catchup.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:02:13 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +160 -0 lines
Sync kqueue branch with -current.

Revision 1.3.4.1
Mon Jan 7 10:49:03 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.3: +0 -160 lines
file if_spppvar.h was added on branch nathanw_sa on 2002-01-11 23:39:45 +0000

Revision 1.3.2.1
Mon Jan 7 10:49:03 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.3: +0 -160 lines
file if_spppvar.h was added on branch kqueue on 2002-01-10 20:02:13 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jan 7 10:49:03 2002 UTC (22 years, 11 months ago) by martin
Branches: MAIN
CVS tags: ifpoll-base
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
Implement a retry counter for failed authorizations and limit it to
a configurable maximum (default: 5).

Some ISPs shut down accounts (at least temporarily) after to many bad
retries. This hit me recently due to a stupid pilot error and the fast
retry rate.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 6 20:14:30 2002 UTC (22 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1 lines
Implement an activity timestamp, recording the last time payload data
passed through.

Implement optional idle timeout.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jan 5 00:54:07 2002 UTC (22 years, 11 months ago) by martin
Branches: MAIN
Ooops, forgot to commit this file when doing the great if_spppsubr.c
rotottil. Thanks to Launey Thomas for pointing this out.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>