--- zzzz-none-000/linux-5.15.111/include/uapi/linux/netlink.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/uapi/linux/netlink.h 2024-02-07 09:28:08.000000000 +0000 @@ -1,4 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* +Includes Intel Corporation's changes/modifications dated: 2014, 2016, 2017, 2018. +Changed/modified portions - Copyright (c) 2014-2018, Intel Corporation. +*/ #ifndef _UAPI__LINUX_NETLINK_H #define _UAPI__LINUX_NETLINK_H @@ -32,7 +36,15 @@ #define NETLINK_INET_DIAG NETLINK_SOCK_DIAG -#define MAX_LINKS 32 +/* +* Added definition for NETLINK_TI_MPEG_ENCAP +*/ +#define NETLINK_TI_MPEG_ENCAP 22 + +/* Added definition for netlink socket to notify about defensive states switching. */ +#define NETLINK_DDH_NOTIFICATIONS 23 + +#define MAX_LINKS 32 struct sockaddr_nl { __kernel_sa_family_t nl_family; /* AF_NETLINK */ @@ -212,8 +224,8 @@ */ struct nlattr { - __u16 nla_len; - __u16 nla_type; + __u16 nla_len; + __u16 nla_type; }; /* @@ -226,13 +238,13 @@ * * Note: The N and O flag are mutually exclusive. */ -#define NLA_F_NESTED (1 << 15) -#define NLA_F_NET_BYTEORDER (1 << 14) -#define NLA_TYPE_MASK ~(NLA_F_NESTED | NLA_F_NET_BYTEORDER) - -#define NLA_ALIGNTO 4 -#define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) -#define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) +#define NLA_F_NESTED (1 << 15) +#define NLA_F_NET_BYTEORDER (1 << 14) +#define NLA_TYPE_MASK ~(NLA_F_NESTED | NLA_F_NET_BYTEORDER) + +#define NLA_ALIGNTO 4 +#define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) +#define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) /* Generic 32 bitflags attribute content sent to the kernel. * @@ -358,3 +370,4 @@ }; #endif /* _UAPI__LINUX_NETLINK_H */ +