Searched refs:NETLINK_ALIGN (Results 1 – 5 of 5) sorted by relevance
130 attrs_len -= NETLINK_ALIGN(sizeof(struct rtmsg)); in rtnl_route_from_linux()131 nla_head = (struct nlattr *)((char *)rtm + NETLINK_ALIGN(sizeof(struct rtmsg))); in rtnl_route_from_linux()291 int hdrlen = NETLINK_ALIGN(raw_hdrlen); in nlmsg_copy_all_nla()444 int hdrlen = NETLINK_ALIGN(sizeof(struct rtmsg)); in rtnl_newroute_to_linux()
212 required_len = NETLINK_ALIGN(len + sizeof(struct nlmsghdr)); in _nlmsg_add()286 payload_len = NETLINK_ALIGN(payload_len); in nlmsg_ack()352 sz = NETLINK_ALIGN(sz); in nlmsg_reserve_data_raw()
46 #define NETLINK_ALIGN(_len) _roundup2(_len, NETLINK_ALIGN_SIZE) macro
53 #define NETLINK_ALIGN(_len) _roundup2(_len, NETLINK_ALIGN_SIZE) macro480 int off = NLMSG_HDRLEN + NETLINK_ALIGN(hdrlen); in snl_parse_attrs()1106 sz = NETLINK_ALIGN(sz); in snl_reserve_msg_data_raw()1269 nla->nla_len = NETLINK_ALIGN(snl_get_msg_offset(nw) - off); in snl_end_attr_nested()
413 nla_len += NETLINK_ALIGN(num_nhops * sizeof(struct nexthop_grp)); in dump_nhgrp()