Home
last modified time | relevance | path

Searched refs:NLMSG_ALIGN (Results 1 – 8 of 8) sorted by relevance

/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/
H A Dnetlink.h78 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) macro
79 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
80 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN))
81 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))
83 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
84 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
H A Drtnetlink.h282 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
490 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
593 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
H A Dnetfilter_decnet.h55 #define NFDN_RTMSG(r) ((unsigned char *)(r) + NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg)))
H A Dif_addr.h57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
H A Dgenetlink.h17 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
H A Dif_link.h89 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
H A Dtipc_config.h368 #define TIPC_GENL_HDRLEN NLMSG_ALIGN(sizeof(struct tipc_genlmsghdr))
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/netfilter/
H A Dnfnetlink_compat.h56 + NLMSG_ALIGN(sizeof(struct nfgenmsg))))