bgpd another sockaddr conversion

2019-02-26 Thread Claudio Jeker
That last usage of ss_len in bgpctl is there to print the local and remote connection info. Now there are two options, a) pass or deduce the length or b) don't use sockaddr_storage to pass this data around. Now after a bit of back and forth I decided to go for b) since it simplifies some code in

mkhybrid: fix format-string warnings

2019-02-26 Thread Scott Cheloha
I don't want to see these warnings at the end of my compilation logs anymore. ok? Index: desktop.c === RCS file: /cvs/src/gnu/usr.sbin/mkhybrid/src/desktop.c,v retrieving revision 1.4 diff -u -p -r1.4 desktop.c --- desktop.c 29

iked(8): add support for IKEv2 Message Fragmentation

2019-02-26 Thread Tobias Heider
Hi, this diff adds support for IKEv2 Message Fragmentation as defined in RFC 7383 (https://tools.ietf.org/html/rfc7383) to iked(8). Tobias Index: regress/sbin/iked/parser/common.c === RCS file:

Re: dynamic RTS threshold in 11n mode

2019-02-26 Thread Stefan Sperling
On Tue, Feb 26, 2019 at 03:04:35PM +0100, Stefan Sperling wrote: > This diff makes the RTS threshold dynamic in 11n mode. > I am looking for tests with iwn(4), iwm(4), and athn(4) drivers. > > When there's a lot of competition for air time, RTS can do more harm than > good because we end up

[axen 1/7] rx path

2019-02-26 Thread Nils Frohberg
adjust rx path: - do not set RXCTL_IPE, thus eliminating padding bytes on each packet - switch from MGETHDR/MCLGET/memcpy to m_getdev - improve buffer length and packet checks --- dev/usb/if_axen.c| 172 +++ dev/usb/if_axenreg.h | 4 + 2 files

[axen 5/7] fix #defines and comments

2019-02-26 Thread Nils Frohberg
fix defines/comments for L3_TYPE and CRC errors. --- dev/usb/if_axenreg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/usb/if_axenreg.h b/dev/usb/if_axenreg.h index bc594a0..e6b8355 100644 --- a/dev/usb/if_axenreg.h +++ b/dev/usb/if_axenreg.h @@ -27,8 +27,8 @@

Re: patch axen(4) (WIP)

2019-02-26 Thread Nils Frohberg
On Mon, Feb 25, 2019 at 03:50:48PM -0300, Martin Pieuchot wrote: > On 25/02/19(Mon) 14:52, Nils Frohberg wrote: > > Hi, > > > > as mentioned previously, I'm looking into axen(4). While searching > > for the cause of a panic (fixed since, thanks mpi@) I started to > > rewrite parts of the driver.

[axen 2/7] set bulk buffers according to link and bus speed

2019-02-26 Thread Nils Frohberg
set bulk buffers according to link and bus speed. values are taken from freebsd and linux drivers. while here, only enable full duplex if link is also full duplex. --- dev/usb/if_axen.c| 119 +++ dev/usb/if_axenreg.h | 13 +++-- 2 files changed, 72

[axen 3/7] rebuild the filter flags from scratch

2019-02-26 Thread Nils Frohberg
rebuild the filter flags from scratch instead of pulling the state from the card and setting/unsetting the necessary bits. --- dev/usb/if_axen.c| 23 --- dev/usb/if_axenreg.h | 4 ++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/dev/usb/if_axen.c

[axen 4/7] init/stop/attach/detach

2019-02-26 Thread Nils Frohberg
try to align attach/detach/init/stop routines with what freebsd and linux are doing. one important part of this diff is disabling Energy Efficient Ethernet (EEE) and setting the low/high watermarks. this reduces the amount of RXHDR_DROP_ERRs, but could maybe be tweaked (improved). ---

dynamic RTS threshold in 11n mode

2019-02-26 Thread Stefan Sperling
This diff makes the RTS threshold dynamic in 11n mode. I am looking for tests with iwn(4), iwm(4), and athn(4) drivers. When there's a lot of competition for air time, RTS can do more harm than good because we end up causing more RTS/CTS frames on the air than actual data frames. So a fixed RTS

[axen 7/7] DPRINTF and cosmetic changes

2019-02-26 Thread Nils Frohberg
cosmetic changes --- dev/usb/if_axen.c | 142 +++--- 1 file changed, 120 insertions(+), 22 deletions(-) diff --git a/dev/usb/if_axen.c b/dev/usb/if_axen.c index 817cad8..f3a71f4 100644 --- a/dev/usb/if_axen.c +++ b/dev/usb/if_axen.c @@ -162,7 +162,7 @@

[axen 6/7] add more #defines (currently not used)

2019-02-26 Thread Nils Frohberg
add missing defines (currently unused). --- dev/usb/if_axenreg.h | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/dev/usb/if_axenreg.h b/dev/usb/if_axenreg.h index e6b8355..9b4c721 100644 --- a/dev/usb/if_axenreg.h +++ b/dev/usb/if_axenreg.h @@ -157,7 +157,7

dhcpd domain-search patch

2019-02-26 Thread William Ahern
systemd's dhcp client doesn't accept the hack of putting multiple, space-separated search domains in the domain-name option. The following patch parses option domain-search as a list of host names and uses dn_comp(3) from libc to compress the list for the on-wire option value. Example dhcpd.conf

less(1) UTF-8 cleanup: store_char()

2019-02-26 Thread Ingo Schwarze
Hi, Nicholas Marriott wrote on Tue, Feb 26, 2019 at 07:20:47AM +: > Looks good, ok nicm Thanks to all of you for checking. Here is the next step, slowly coming closer to the meat of the matter: Start cleaning up the function store_char(), which takes a wide character, receiving both the

Re: patch axen(4) (WIP)

2019-02-26 Thread Artturi Alm
On Tue, Feb 26, 2019 at 03:00:15PM +0100, Nils Frohberg wrote: > On Mon, Feb 25, 2019 at 03:50:48PM -0300, Martin Pieuchot wrote: > > On 25/02/19(Mon) 14:52, Nils Frohberg wrote: > > > Hi, > > > > > > as mentioned previously, I'm looking into axen(4). While searching > > > for the cause of a

Olde Fort Inn , are you available today at 3:00 PM?

2019-02-26 Thread Frank FREE POS System
If you are not able to see this mail, click http://r.email.fmspaymentprocessing.com/mk/mr/SoF62UGQ02tiuhqDDC7ur3AQVmMTmWOY4ItFheydt-OMVsu9VuSGbgWcVWiYF6aEBLwVlvIwiJySTkxQfQvYta6ZUPMGett9Y_iP6Fj4q7Pn_6Ind0x_Eeu2PS3Z     Hi Owner of  Olde Fort Inn   I am writing on behalf of Harbortouch POS

Re: iked(8): fix the sending of certain IPv6 addresses in the configuration payload

2019-02-26 Thread Patrick Wildt
On Thu, Feb 21, 2019 at 06:29:15PM +0100, Aram Hăvărneanu wrote: > This change fixes the sending of INTERNAL_IP6_DNS, INTERNAL_IP6_DHCP > (RFC5996); INTERNAL_IP6_NBNS (RFC4306); and INTERNAL_IP6_SERVER > (MS-IKEE). > > Prior to this fix the data sent to clients was garbled. Oh, good catch! That

Re: iked(8): fix the sending of certain IPv6 addresses in the configuration payload

2019-02-26 Thread Patrick Wildt
On Tue, Feb 26, 2019 at 06:45:38PM +0100, Patrick Wildt wrote: > On Thu, Feb 21, 2019 at 06:29:15PM +0100, Aram Hăvărneanu wrote: > > This change fixes the sending of INTERNAL_IP6_DNS, INTERNAL_IP6_DHCP > > (RFC5996); INTERNAL_IP6_NBNS (RFC4306); and INTERNAL_IP6_SERVER > > (MS-IKEE). > > > >

xterm: fix build with -DOPT_TRACE=1

2019-02-26 Thread Matthieu Herrb
Hi, The patch below allows to build a version of xterm with tracing (very verbose debugging log) active. This is only useful to debug xterm, and I've been carrying this local change for years now. After all, every developer may want to be able to see how xterm is processing its data. To enable

xenocara: update to libfontenc 1.1.4

2019-02-26 Thread Matthieu Herrb
minor bug fix update... ok ? Index: ChangeLog === RCS file: /cvs/OpenBSD/xenocara/lib/libfontenc/ChangeLog,v retrieving revision 1.6 diff -u -r1.6 ChangeLog --- ChangeLog 10 May 2015 09:27:16 - 1.6 +++ ChangeLog 26 Feb

Re: iked(8): fix the sending of certain IPv6 addresses in the configuration payload

2019-02-26 Thread Aram Hăvărneanu
Excellent, thanks! -- Aram Hăvărneanu