Searched refs:NETLINK_ALIGN (Results 1 – 2 of 2) sorted by relevance
78 #define NETLINK_ALIGN(len) (((len)+3) & ~3) macro82 #define NLMSG_NEXT(nlh) (struct nlmsghdr*)((char*)(nlh)+NETLINK_ALIGN((nlh)->nlmsg_len))88 #define RTA_NEXT(rta) (struct rtattr*)((char*)(rta)+NETLINK_ALIGN((rta)->rta_len))91 #define NLMSG_RTA(nlh,len) ((void*)((char*)(nlh)+sizeof(struct nlmsghdr)+NETLINK_ALIGN(len)))
1105 #define NETLINK_ALIGN 4 macro1135 len += sizeof(struct in_addr) + NETLINK_ALIGN - 1; in __add_nft_among()1136 len &= ~(NETLINK_ALIGN - 1); in __add_nft_among()