From owner-freebsd-net@freebsd.org Mon Oct 7 19:05:23 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37F58137081 for ; Mon, 7 Oct 2019 19:05:23 +0000 (UTC) (envelope-from roy@marples.name) Received: from relay2.marples.name (relay2.marples.name [IPv6:2a00:da00:1800:80d6::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay2.marples.name", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46n90f2x3Pz4RLd for ; Mon, 7 Oct 2019 19:05:22 +0000 (UTC) (envelope-from roy@marples.name) Received: from mail.marples.name (cpc115040-bour7-2-0-cust370.15-1.cable.virginm.net [81.108.15.115]) by relay2.marples.name (Postfix) with ESMTPS id 6D8667A0 for ; Mon, 7 Oct 2019 19:05:08 +0000 (UTC) Received: from [10.73.2.30] (uberpc.marples.name [10.73.2.30]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTPSA id 983541CD537; Mon, 7 Oct 2019 20:03:49 +0100 (BST) Subject: Re: DHCPv6 client in base To: Julian Elischer , Ben Woods , Hiroki Sato Cc: freebsd-net@freebsd.org, driesm.michiels@gmail.com References: <001e01d50b49$176104d0$46230e70$@gmail.com> <20190516.032012.517661495892269813.hrs@allbsd.org> From: Roy Marples Message-ID: <8f869d59-ecf8-8e9f-ad64-74a64f744dfa@marples.name> Date: Mon, 7 Oct 2019 20:05:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46n90f2x3Pz4RLd X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.51 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[marples.name:s=mail]; NEURAL_HAM_MEDIUM(-0.91)[-0.914,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:relay2.marples.name]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[marples.name:+]; DMARC_POLICY_ALLOW(-0.50)[marples.name,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.41)[asn: 8560(2.05), country: DE(-0.01)]; ASN(0.00)[asn:8560, ipnet:2a00:da00::/32, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2019 19:05:23 -0000 On 07/10/2019 19:45, Julian Elischer wrote: > I'm not HRS, but as it uses netlink, how does NetBSD use it?  (i.e. how > do we simulate that?) dhcpcd has a driver per OS: BSD == route(4) Linux == netlink(3) Solaris == route(4) along with an unholy mashup of streamio(7) I try and keep OS specific defines out of the main code. dhcpcd is also in the FreeBSD ports tree and is currently up to date. Roy