From nobody Fri Jan 13 21:25:43 2023 X-Original-To: dev-commits-src-all@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 4NtvbX3n29z2qkvJ; Fri, 13 Jan 2023 21:25:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NtvbX1NbRz43tx; Fri, 13 Jan 2023 21:25:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673645144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pVNL6sktFqc/HjXZ1f3XYVmckKkcLFkyqGRPtl0j2Qg=; b=PxKKN0LRQQmpbFcE9ckbtreAtQTXK0ayfUdJflcNxaeUyBvaPSgopbRIKhf4e6CHZG1gkZ 5uiaskRt2lTgl8SxrU+CdLxskf/W6sW7l8Nb7h46avooUsSs4cIFU9jxvBZA/nY8IoZh2H /Bg1Tew2qQ/vkOzvVofvPa1N0W67oJ5G/3Jv8EEQsrjm1ey/cj7Cv8GRxrBG5VQU2IJK+f fI26ycvoFKGrv2Mpu249r04AoBOCYbJGI7W2oO3vnacEzQd2s5ZpqvGNAfx9pCbaB+Cyxd 4iW4bT2Xovf7TpvnPTNybemhqW/ct/3AnNzCqiw1ommBtndbsatxVukTWfqgcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673645144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pVNL6sktFqc/HjXZ1f3XYVmckKkcLFkyqGRPtl0j2Qg=; b=RUuSASBuPE5P15TTHQRiVb2ML6DFfKbFgBqbC+UN7VHATPXBwjXBfe2I1ve6+deRzD/Q5S KDgmv35b8EL8WKju3yVF7P60uFYcK2RYo0ZRXVS+zpYtUzt1+xBUQva8+aFpt549DU3DCD hty3EjY9kpi/swn4BsrNaWxxtltiXS08/pD8PONSuP8vjKC9DxjiH9Y61zqCci2oDGgq5o eI7aWXrODYx8O3gShR60kSwPdwkuuJVDm02inK4CAutpJ7BK2XKIWUTcNO5qE+UG5laML0 qiFvUsRPKN/qXZq22ai2uDViyPkaWa6sAE3Fgss8HCD06bBxF73gbN4RY4MuDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673645144; a=rsa-sha256; cv=none; b=dPFuGooIf/e7dj81XOIwbRIjml/W/23b7LxU8cJqcVj/mNlvHrioOgACoH7rVrrU2T2Y3w wry63DpAHyxSSJEGUL095+Wh199w4F9ZuWuAoar4oOLMj96sowZ8rU0pejVV6dv7sw1TMh ZOX3mnLH6CRTA6ZFtAePH+qPyWnNGbqem/fy2RoUzXT9a0xxbUx9Xq3qq+GfbOWS9vg+Ej YJfCZP72tDT5Na1C3JaPen44bnFAnMh7ohy/5HcXuq1Gzx1PA9A1Nxgh49erHllMVmtIv3 D0bbOTirxXgVo6RRRvOTUDp4R91cCQ14KTrcjzr5ilxU2AH6l2VDXGsLqOOkeg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NtvbX0DQPzNDN; Fri, 13 Jan 2023 21:25:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30DLPhPX042255; Fri, 13 Jan 2023 21:25:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30DLPhCV042254; Fri, 13 Jan 2023 21:25:43 GMT (envelope-from git) Date: Fri, 13 Jan 2023 21:25:43 GMT Message-Id: <202301132125.30DLPhCV042254@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 7ecc03c76fa6 - stable/13 - netlink: add AF_NETLINK / PF_NETLINK definitions List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7ecc03c76fa6bed47f0ce32dcd1edb37f8422df4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=7ecc03c76fa6bed47f0ce32dcd1edb37f8422df4 commit 7ecc03c76fa6bed47f0ce32dcd1edb37f8422df4 Author: Alexander V. Chernikov AuthorDate: 2022-08-12 13:45:49 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-01-13 21:24:11 +0000 netlink: add AF_NETLINK / PF_NETLINK definitions Reviewed by: glebius Differential Revision: https://reviews.freebsd.org/D36174 MFC after: 1 weeks (cherry picked from commit a4b8c6d9d50ec03f490587854ec82c9790193f46) --- sys/sys/socket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/socket.h b/sys/sys/socket.h index de7a874b3079..3ec0d3b1d06d 100644 --- a/sys/sys/socket.h +++ b/sys/sys/socket.h @@ -264,6 +264,7 @@ struct accept_filter_arg { #define AF_ARP 35 #define AF_BLUETOOTH 36 /* Bluetooth sockets */ #define AF_IEEE80211 37 /* IEEE 802.11 protocol */ +#define AF_NETLINK 38 /* Netlink protocol */ #define AF_INET_SDP 40 /* OFED Socket Direct Protocol ipv4 */ #define AF_INET6_SDP 42 /* OFED Socket Direct Protocol ipv6 */ #define AF_HYPERV 43 /* HyperV sockets */ @@ -389,6 +390,7 @@ struct sockproto { #define PF_ARP AF_ARP #define PF_BLUETOOTH AF_BLUETOOTH #define PF_IEEE80211 AF_IEEE80211 +#define PF_NETLINK AF_NETLINK #define PF_INET_SDP AF_INET_SDP #define PF_INET6_SDP AF_INET6_SDP