Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/compat/linux/
HDlinux_netlink.c113 attrs_len -= NETLINK_ALIGN(sizeof(struct rtmsg)); in rtnl_route_from_linux()
114 nla_head = (struct nlattr *)((char *)rtm + NETLINK_ALIGN(sizeof(struct rtmsg))); in rtnl_route_from_linux()
272 int hdrlen = NETLINK_ALIGN(raw_hdrlen); in nlmsg_copy_all_nla()
425 int hdrlen = NETLINK_ALIGN(sizeof(struct rtmsg)); in rtnl_newroute_to_linux()
/freebsd-13-stable/sys/netlink/
HDnetlink_ctl.h45 #define NETLINK_ALIGN(_len) _roundup2(_len, NETLINK_ALIGN_SIZE) macro
HDnetlink_snl.h51 #define NETLINK_ALIGN(_len) _roundup2(_len, NETLINK_ALIGN_SIZE) macro
384 int off = NLMSG_HDRLEN + NETLINK_ALIGN(hdrlen); in snl_parse_attrs()
741 sz = NETLINK_ALIGN(sz); in snl_reserve_msg_data_raw()
896 nla->nla_len = NETLINK_ALIGN(snl_get_msg_offset(nw) - off); in snl_end_attr_nested()
HDnetlink_message_writer.c570 int required_len = NETLINK_ALIGN(len + sizeof(struct nlmsghdr)); in nlmsg_add()
639 payload_len = NETLINK_ALIGN(payload_len); in nlmsg_ack()
HDnetlink_message_writer.h127 sz = NETLINK_ALIGN(sz); in nlmsg_reserve_data_raw()
/freebsd-13-stable/sys/netlink/route/
HDnexthop.c413 nla_len += NETLINK_ALIGN(num_nhops * sizeof(struct nexthop_grp)); in dump_nhgrp()