Home
last modified time | relevance | path

Searched refs:NETLINK_ALIGN (Results 1 – 2 of 2) sorted by relevance

/external/musl/src/network/
Dnetlink.h78 #define NETLINK_ALIGN(len) (((len)+3) & ~3) macro
82 #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)))
/external/iptables/iptables/
Dnft.c1105 #define NETLINK_ALIGN 4 macro
1135 len += sizeof(struct in_addr) + NETLINK_ALIGN - 1; in __add_nft_among()
1136 len &= ~(NETLINK_ALIGN - 1); in __add_nft_among()