From nobody Sun Aug 14 09:22:41 2022 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 4M5BlP6L97z20WsH; Sun, 14 Aug 2022 09:22:41 +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 4M5BlP5pPlz3p3n; Sun, 14 Aug 2022 09:22:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660468961; 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=/lW1RfDoCs8duVOLfwxlnlbklA7l/+UOhE+tlPqHOKo=; b=uW4QsDwsSKdiL7ZcdcQ4Nvl6lQPJ9OqXtDl15N5/SmlJKCOGZLLC0E3RiuOYRH8F6FAEEv Ml5BtzODVVOYi45y+puuGCYwYIgyG0pju5FMwH5WCBd1TCBLLQnejqBtV/pHl7Owh196aR EAdhZrngB9a/SoNgRsOKhQlwtUByF3kMAPSNSISeTu1O+/jEls11xAPe3IKobRrbD91N/D ZUed6Y78Ehp64jNzGtLj58UAaLc+qrzNiITMyD5vfpn+uMNz/eMy/TPK4usIhn3i9g07/c Aa6QaGzMw9YQv9FCCpITszDOoU5KVIwlC3qvCVj1hDncYRtq8p5cYRl3d8uSvA== 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 4M5BlP4gQfzlQp; Sun, 14 Aug 2022 09:22:41 +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 27E9MfX9097792; Sun, 14 Aug 2022 09:22:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27E9Mfhr097791; Sun, 14 Aug 2022 09:22:41 GMT (envelope-from git) Date: Sun, 14 Aug 2022 09:22:41 GMT Message-Id: <202208140922.27E9Mfhr097791@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: a4b8c6d9d50e - main - 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/main X-Git-Reftype: branch X-Git-Commit: a4b8c6d9d50ec03f490587854ec82c9790193f46 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660468961; 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=/lW1RfDoCs8duVOLfwxlnlbklA7l/+UOhE+tlPqHOKo=; b=YucHXYTSYk7mWpOG66MP8vTvg425rh9lZXBxL+kBUrP/hfAGizDEimDNIdZbnRT2xYgnL5 7MlQnWBEzELXk04/Di31ozT8KXOZ0+cUHXE7JNONHBUq8L49jh2/6y1iuGhEdRlJ8fYjuP rfed3IENzLEQbfGG6I8lY7elx+SX/ID6j7zbkHbbIBb+/rfPqH6nhiEaQlkhGgxth/PJkg ses9fxZwfTD0nKVmhky7I2eCZ7f6+8VckS0S/MC3X7vqYD9VMDsyoZAU5mdw7GiZU/S3ag cmEaS5pLq9GHXtmGlWHZcu6B9Pmf3AKchMzKaW8Q+BBG8xFWNx2cg3Tqnhc0Cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660468961; a=rsa-sha256; cv=none; b=ZRxYvw+ma6sDOmWegTadmrWFmCsHLEjdwcYWkq+FXirxQuGi2p9pEXC1XjOPvm9SNBg4AL xMq0BsKMaXMyta7jK3qRnqAalwqZ9a/CyVrTxd7rmwdQgMr3Qg4r+MflI21OomjgeHrtVx +DMYqoSjKrw0lzR5QNjpFxhFjDcWeTWy1Xlt3u5wtHIzZjJMEUWIcNZ9whnVnjibnxS07s ECbkZL+2hqDyWmQDbtp8UZcocpMjUJ2XR7d+jLgXMXAsFcpLaOO7B01yg6ZxKECEnluv7i T7wsFBWBQZJeg2fJ7+g2Pubqk9YlDpfhV/4nJTLpVdm4Ehg2ttEiVCFJkXpdFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=a4b8c6d9d50ec03f490587854ec82c9790193f46 commit a4b8c6d9d50ec03f490587854ec82c9790193f46 Author: Alexander V. Chernikov AuthorDate: 2022-08-12 13:45:49 +0000 Commit: Alexander V. Chernikov CommitDate: 2022-08-14 09:22:33 +0000 netlink: add AF_NETLINK / PF_NETLINK definitions Reviewed by: glebius Differential Revision: https://reviews.freebsd.org/D36174 MFC after: 1 weeks --- 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