Searched refs:NLMSG_ALIGN (Results 1 – 9 of 9) sorted by relevance
99 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) macro100 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))102 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))104 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \106 NLMSG_ALIGN((nlh)->nlmsg_len)))
69 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
407 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))663 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))817 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
370 #define TIPC_GENL_HDRLEN NLMSG_ALIGN(sizeof(struct tipc_genlmsghdr))
399 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
60 + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
592 return NLMSG_ALIGN(nlmsg_msg_size(payload)); in nlmsg_total_size()647 return (struct nlattr *) (data + NLMSG_ALIGN(hdrlen)); in nlmsg_attrdata()657 return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen); in nlmsg_attrlen()683 int totlen = NLMSG_ALIGN(nlh->nlmsg_len); in nlmsg_next()1016 if (unlikely(skb_tailroom(skb) < NLMSG_ALIGN(size))) in nlmsg_append()1019 if (NLMSG_ALIGN(size) - size) in nlmsg_append()1021 NLMSG_ALIGN(size) - size); in nlmsg_append()1022 return __skb_put(skb, NLMSG_ALIGN(size)); in nlmsg_append()
601 return NLMSG_ALIGN(genlmsg_msg_size(payload)); in genlmsg_total_size()
Completed in 49 milliseconds