From nobody Thu May 04 12:22:20 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QBtHX2Hq9z493jn for ; Thu, 4 May 2023 12:22:32 +0000 (UTC) (envelope-from melifaro@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QBtHX1SjVz4Sv7; Thu, 4 May 2023 12:22:32 +0000 (UTC) (envelope-from melifaro@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683202952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yCD1wMv684CFKqaQentR+tKGfsvFEBeiKnU2WgJmWwg=; b=i+TH1Tja4rv2qWlLO3V5VIDJovqcvzUV9EayZYNcPWS+wpbegPS6lZ1fidsZUb650FmV2W W/IK3KgN4lTCJFDaZAAbR9+c/K8WcamgSd1Llv3Q4SntTSxFNo2bih1T79AD4G9PWDDNcR OkuLnDBdFAxcHn/R+zpdUa6kB363tqjUpl81p/hMULhSJMGK5GEUCfKKJqdBoxA2ovAcGf hQ3PMxBsOSMzdeELdRETHaU8ANDxmEzwDGemCWI4LsbqyyqIaJMNheHEBGg8eNzvbCNd9H rIQJ+1ZJ5xC/+8qjPg82dBnUHUmlRbkbz3H+CxTM+K2e3Gfl3F0faSTTesmpSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683202952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yCD1wMv684CFKqaQentR+tKGfsvFEBeiKnU2WgJmWwg=; b=OlEvuYQcATwZn8i0rhJjIkQimM4XbfwY6a1/F33OKxlmq5lirWALWZAkPuR5vZ6s+auRSq YhlxbVJyIyFMFkxHHjHe4rxDTDdSIg9AIL/GaDj97aSy8eZ3X9+29wwdraD02/HS0q8XCo l+TZak3Fu7GaUKFWEvJ/J6k0INbKs7nA66LomOjtbrx7mJ2cwFWYAXOBJyx8fZT1LPXZoe V5w4dK57uoeqGqGQ4m76HJNd+4r/TPLQNa5tRzzN9XbZatrYOst/E0PvcQcrck4ym5AzGo OhjVuv+hAVhFmXvtiWlYn4wz64to+rZ29CAUSythtqTNqgXcCZ2yqOKU53rUtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683202952; a=rsa-sha256; cv=none; b=tUyA2r4D16D3n2jCT3jk3pFMrNCH7IZKg/IVfZjTgZ8DJq8lBMzqYVa+YvOcmaxbp41Bpn NFrqk5PwvFIBZx5ZBgbsidqRFZgtn3uNWCsjXziplNZPkc90LLxvqIlZlq/c80Fxggfip3 Pfal8aYpS0e2biMnTopQrnH9y7UuRj8b1YgydXlvTXsuJikPFxti18bI69syRxE4R+HqzU w+hhzf369Ev3n1W7VHOrWde6peKCbkv+Tbda2+TPnKd4ev6k4h4wIwgZkS+g/tep1nFFgC Uz0hUu+DbJVa3UJAF3t8ODGqhJ5RzrYj59A+Ua24J4fcKrv9H/43rn0Qe2d0vw== Received: from smtpclient.apple (unknown [IPv6:2a02:8084:d6bb:510:616f:68ba:2038:32cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: melifaro/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QBtHW5Lnmz19tr; Thu, 4 May 2023 12:22:31 +0000 (UTC) (envelope-from melifaro@freebsd.org) Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: Netlink support in Go From: Alexander Chernikov In-Reply-To: Date: Thu, 4 May 2023 13:22:20 +0100 Cc: freebsd-hackers Content-Transfer-Encoding: quoted-printable Message-Id: <4318A2DD-3DEF-4F6F-A9CB-E827752DBF91@FreeBSD.org> References: <4NBmuJiJqEmbbaw1sdfXZ8mTbePxfSWuqEGloGj8iWlhNu8xe7C11MVuYQrsQ7w3U4LG7SlqThCl9IMUZNhv9N_qBlzMgSvrKAgg2zaUd4c=@igalic.co> To: =?utf-8?Q?Mina_Gali=C4=87?= X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N > On 4 May 2023, at 12:23, Mina Gali=C4=87 wrote: >=20 > Hey folks, >=20 > I'm trying to get LXD agent running for FreeBSD, and it's missing a = few things: >=20 > https://github.com/lxc/lxd/issues/11603 >=20 > Now, while the LXD folks are working on removing the necessity for = such low-level access=E2=80=A6 > I was wondering if anyone of ye who has worked on Netlink would be = interested in extending Go's netlink support to FreeBSD. Few more datapoints here: all user-visible defines in FreeBSD Netlink = implementation matches their counterparts in Linux, so (hopefully) = extending the support is about enabling libgo have those defines from = the FreeBSD headers. The headers layout (and naming) is different from Linux, so that=E2=80=99s= probably the main point where effort is required. >=20 >=20 > Kind regards, >=20 > Mina Gali=C4=87 >=20 > Try PkgBase: https://alpha.pkgbase.live/ > (once i get a hardware sponsor again) >=20 >=20 >=20