From owner-freebsd-net@freebsd.org Tue Sep 10 02:17:58 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 7396BEAA05 for ; Tue, 10 Sep 2019 02:17:58 +0000 (UTC) (envelope-from luthramihir708@gmail.com) Received: from mail-ua1-x941.google.com (mail-ua1-x941.google.com [IPv6:2607:f8b0:4864:20::941]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46S7wj1vGYz3DmD for ; Tue, 10 Sep 2019 02:17:56 +0000 (UTC) (envelope-from luthramihir708@gmail.com) Received: by mail-ua1-x941.google.com with SMTP id n6so5037090uaq.3 for ; Mon, 09 Sep 2019 19:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6TwtJh+D4C6uo4a6vEBXX/pElldJc3Xit2nYSKwK+s0=; b=uuE7KGtbHbEihNj2rSd9fq+yUKyZgpiOIBPeXR0bulg519h09WYeAGp3AlQamVcxgv fwn2E7p1kMZyVUyyzI72qqRthcpb7U+o21gTTW+movf7aHnifrJL7xW5Z9OmSwrly1Ph JbRaowkWgrOVKgKXZhuJutS1xHbu/Sq8QpCugSLU9vaZrnRA/juucFBUjMdzj4O5FGXw QQPVsAxFkWFGqf95z4BpaPRkwvDhtJ88hdVO+VqBll4uDiHGtAZXzifKlDXlSrX8ww5w bl8A21U8sKNeAnF77tCNQWrrPWgPmRL1F6g/DLnrdTsduQ06c6ordvt/95CmrPZOfU/E yRBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6TwtJh+D4C6uo4a6vEBXX/pElldJc3Xit2nYSKwK+s0=; b=qrTHEowJmjcAXHSMKF5mDMgYCvM833tI+jVN+F/4vZutFr73pQDSlvXF4oGRr5Y7FB fQ9C8tkQlFDq8n0Zck1svyFzDyKx51bSSLI2jz0c8t0jVYI9lVv0X+q/kyqIELKZoggo PRx08+s7aYS7ljRwsG6l3pWdDyawq6pJzNtw3uvNNAkYUBIrIn7An9X34p8lf8Kd8pUM Tf88RcnR3XeLCFqlw0KeDDLj1FrVFC73pY0xM+BbI0Ts7w0TeueOkEJ84CsdqfWRDpJb qU5KbF2oNtDfKwbEY/TWRo8ksYk5GRvr95OBToaJmkB1cZ98aJcFEIQJxelt2sjRFFo9 Hpnw== X-Gm-Message-State: APjAAAX9KpVcc8mPVTO4gQTSzlUNc/FqPYk1ahSP0PFVU6l2g/GeSMhr YBMZwgf/ar1ZCxwH+CbIoSQS2e+8AM3AhAfbNnTb0sHjmek= X-Google-Smtp-Source: APXvYqxhlooeEvLuLImAfTh+j49QqAnWO+ZnvTycCUoP4UZxdSyXQSeNAbj38lhE6B6M+K/OO2/TejjXU1dBsokeR0c= X-Received: by 2002:ab0:6585:: with SMTP id v5mr6778366uam.78.1568081875721; Mon, 09 Sep 2019 19:17:55 -0700 (PDT) MIME-Version: 1.0 References: <2C893E75-574A-4958-BDF0-7164934F48C9@gmail.com> In-Reply-To: From: Mihir Luthra Date: Tue, 10 Sep 2019 07:47:44 +0530 Message-ID: Subject: Re: IPv6 userland cleanup To: freebsd-net X-Rspamd-Queue-Id: 46S7wj1vGYz3DmD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=uuE7KGtb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luthramihir708@gmail.com designates 2607:f8b0:4864:20::941 as permitted sender) smtp.mailfrom=luthramihir708@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (2.79), ipnet: 2607:f8b0::/32(-2.74), asn: 15169(-2.26), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[1.4.9.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Tue, 10 Sep 2019 02:17:58 -0000 Hi everyone, I have started working on the project ipv6 userland cleanup [1]. I introduced myself here almost 2 months [2] ago but couln't really start with project before due to time constraints. Now I started with replacing some gethostby* calls with getaddrinfo(3). I have some code with me which I want to submit for reviewing. I had created an account on phabricator. Can it be approved by someone? Also, while replacing gethostby* calls, I came across arp. I learned that arp command is only for ipv4 while ipv6 uses ndp protocol. I was wondering if it would be useful to make a ndp command for ipv6 just like arp is for ipv4? [1] https://wiki.freebsd.org/SummerOfCodeIdeas#IPv6_Userland_Cleanup [2] https://lists.freebsd.org/pipermail/freebsd-net/2019-June/053753.html Kind Regards, Mihir