/* ****************************************************************************** * HEADER FILE * * Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: netlink.h,v $ $Revision: 1.2 $ * $Source: /home/interpeak/CVSRoot/ipxinc/include/linux/netlink.h,v $ * $Author: jhorteli $ $Date: 2008-01-30 11:38:49 $ * $State: Exp $ $Locker: $ * * INTERPEAK_COPYRIGHT_STRING * Design and implementation by Lennart Bang ****************************************************************************** */ #ifndef IP_LINUX_NETLINK_H #define IP_LINUX_NETLINK_H /* **************************************************************************** * 1 DESCRIPTION **************************************************************************** */ /* **************************************************************************** * 2 CONFIGURATION **************************************************************************** */ #include "ipcom_config.h" /* **************************************************************************** * 3 INCLUDE FILES **************************************************************************** */ #include "ipcom_netlink.h" #ifdef __cplusplus extern "C" { #endif /* **************************************************************************** * 4 DEFINES **************************************************************************** */ /* *=========================================================================== * NETLINK DEFINITIONS *=========================================================================== */ #define sockaddr_nl Ip_sockaddr_nl #define nlmsghdr Ip_nlmsghdr #define NLM_F_REQUEST IP_NLM_F_REQUEST #define NLM_F_MULTI IP_NLM_F_MULTI #define NLM_F_ACK IP_NLM_F_ACK #define NLM_F_ECHO IP_NLM_F_ECHO #define NLM_F_ROOT IP_NLM_F_ROOT #define NLM_F_MATCH IP_NLM_F_MATCH #define NLM_F_ATOMIC IP_NLM_F_ATOMIC #define NLM_F_DUMP IP_NLM_F_DUMP #define NLM_F_REPLACE IP_NLM_F_REPLACE #define NLM_F_EXCL IP_NLM_F_EXCL #define NLM_F_CREATE IP_NLM_F_CREATE #define NLM_F_APPEND IP_NLM_F_APPEND #define NLM_F_VR_UNSPEC IP_NLM_F_VR_UNSPEC #define NLMSG_ALIGNTO IP_NLMSG_ALIGNTO #define NLMSG_ALIGN(len) IP_NLMSG_ALIGN(len) #define NLMSG_LENGTH(len) IP_NLMSG_LENGTH(len) #define NLMSG_SPACE(len) IP_NLMSG_SPACE(len) #define NLMSG_DATA(nlh) IP_NLMSG_DATA(nlh) #define NLMSG_NEXT(nlh,len) IP_NLMSG_NEXT(nlh,len) #define NLMSG_OK(nlh,len) IP_NLMSG_OK(nlh,len) #define NLMSG_PAYLOAD(nlh,len) IP_NLMSG_PAYLOAD(nlh,len) #define NLMSG_NOOP IP_NLMSG_NOOP #define NLMSG_ERROR IP_NLMSG_ERROR #define NLMSG_DONE IP_NLMSG_DONE #define NLMSG_OVERRUN IP_NLMSG_OVERRUN /* IP_NLMSG_ERROR */ #define nlmsgerr Ip_nlmsgerr #define NETLINK_ADD_MEMBERSHIP IP_NETLINK_ADD_MEMBERSHIP #define NETLINK_DROP_MEMBERSHIP IP_NETLINK_DROP_MEMBERSHIP #define NETLINK_PKTINFO IP_NETLINK_PKTINFO #define nl_pktinfo Ip_nl_pktinfo #define NETLINK_UNCONNECTED IP_NETLINK_UNCONNECTED #define NETLINK_CONNECTED IP_NETLINK_CONNECTED #define nlattr Ip_nlattr #define NLA_ALIGNTO IP_NLA_ALIGNTO #define NLA_ALIGN(len) IP_NLA_ALIGN(len) #define NLA_HDRLEN IP_NLA_HDRLEN /* **************************************************************************** * 5 TYPES **************************************************************************** */ /* **************************************************************************** * 6 FUNCTIONS **************************************************************************** */ #ifdef __cplusplus } #endif #endif /* **************************************************************************** * END OF FILE **************************************************************************** */