Lines Matching refs:hdr
24 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_set_dst_prefixlen()
25 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_dst_prefixlen()
27 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_set_dst_prefixlen()
42 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_set_src_prefixlen()
43 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_src_prefixlen()
45 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_set_src_prefixlen()
60 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_set_scope()
61 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_scope()
63 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_set_scope()
74 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_set_flags()
75 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_flags()
77 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_set_flags()
88 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_flags()
89 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_flags()
92 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_flags()
103 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_set_table()
104 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_table()
106 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_set_table()
117 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_family()
118 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_family()
121 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_family()
132 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_type()
133 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_type()
136 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_type()
147 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_set_type()
148 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_set_type()
150 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_set_type()
161 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_protocol()
162 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_protocol()
165 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_protocol()
176 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_scope()
177 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_scope()
180 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_scope()
191 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_tos()
192 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_tos()
195 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_tos()
206 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_table()
207 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_table()
210 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_table()
221 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_dst_prefixlen()
222 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_dst_prefixlen()
225 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_dst_prefixlen()
236 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_route_get_src_prefixlen()
237 assert_return(rtnl_message_type_is_route(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_route_get_src_prefixlen()
240 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_route_get_src_prefixlen()
263 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_APPEND; in sd_rtnl_message_new_route()
265 rtm = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_route()
300 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_APPEND; in sd_rtnl_message_new_nexthop()
302 nhm = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_nexthop()
315 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_nexthop_set_flags()
316 assert_return(m->hdr->nlmsg_type == RTM_NEWNEXTHOP, -EINVAL); in sd_rtnl_message_nexthop_set_flags()
318 nhm = NLMSG_DATA(m->hdr); in sd_rtnl_message_nexthop_set_flags()
328 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_nexthop_get_flags()
329 assert_return(rtnl_message_type_is_nexthop(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_nexthop_get_flags()
332 nhm = NLMSG_DATA(m->hdr); in sd_rtnl_message_nexthop_get_flags()
342 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_nexthop_get_family()
343 assert_return(rtnl_message_type_is_nexthop(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_nexthop_get_family()
346 nhm = NLMSG_DATA(m->hdr); in sd_rtnl_message_nexthop_get_family()
356 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_nexthop_get_protocol()
357 assert_return(rtnl_message_type_is_nexthop(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_nexthop_get_protocol()
360 nhm = NLMSG_DATA(m->hdr); in sd_rtnl_message_nexthop_get_protocol()
370 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_neigh_set_flags()
371 assert_return(rtnl_message_type_is_neigh(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_neigh_set_flags()
373 ndm = NLMSG_DATA(m->hdr); in sd_rtnl_message_neigh_set_flags()
383 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_neigh_set_state()
384 assert_return(rtnl_message_type_is_neigh(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_neigh_set_state()
386 ndm = NLMSG_DATA(m->hdr); in sd_rtnl_message_neigh_set_state()
396 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_neigh_get_flags()
397 assert_return(rtnl_message_type_is_neigh(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_neigh_get_flags()
399 ndm = NLMSG_DATA(m->hdr); in sd_rtnl_message_neigh_get_flags()
409 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_neigh_get_state()
410 assert_return(rtnl_message_type_is_neigh(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_neigh_get_state()
412 ndm = NLMSG_DATA(m->hdr); in sd_rtnl_message_neigh_get_state()
422 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_neigh_get_family()
423 assert_return(rtnl_message_type_is_neigh(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_neigh_get_family()
426 ndm = NLMSG_DATA(m->hdr); in sd_rtnl_message_neigh_get_family()
437 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_neigh_get_ifindex()
438 assert_return(rtnl_message_type_is_neigh(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_neigh_get_ifindex()
441 ndm = NLMSG_DATA(m->hdr); in sd_rtnl_message_neigh_get_ifindex()
462 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_APPEND; in sd_rtnl_message_new_neigh()
464 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_REPLACE; in sd_rtnl_message_new_neigh()
467 ndm = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_neigh()
479 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_link_set_flags()
480 assert_return(rtnl_message_type_is_link(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_link_set_flags()
483 ifi = NLMSG_DATA(m->hdr); in sd_rtnl_message_link_set_flags()
495 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_link_set_type()
496 assert_return(rtnl_message_type_is_link(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_link_set_type()
498 ifi = NLMSG_DATA(m->hdr); in sd_rtnl_message_link_set_type()
509 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_link_set_family()
510 assert_return(rtnl_message_type_is_link(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_link_set_family()
512 ifi = NLMSG_DATA(m->hdr); in sd_rtnl_message_link_set_family()
532 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_EXCL; in sd_rtnl_message_new_link()
534 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_EXCL | NLM_F_APPEND; in sd_rtnl_message_new_link()
536 ifi = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_link()
548 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_set_prefixlen()
549 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_set_prefixlen()
551 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_set_prefixlen()
566 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_set_flags()
567 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_set_flags()
569 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_set_flags()
580 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_set_scope()
581 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_set_scope()
583 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_set_scope()
594 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_get_family()
595 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_get_family()
598 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_get_family()
609 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_get_prefixlen()
610 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_get_prefixlen()
613 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_get_prefixlen()
624 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_get_scope()
625 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_get_scope()
628 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_get_scope()
639 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_get_flags()
640 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_get_flags()
643 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_get_flags()
654 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addr_get_ifindex()
655 assert_return(rtnl_message_type_is_addr(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addr_get_ifindex()
658 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_addr_get_ifindex()
682 ifa = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_addr()
698 (*ret)->hdr->nlmsg_flags |= NLM_F_REPLACE; in sd_rtnl_message_new_addr_update()
707 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_link_get_ifindex()
708 assert_return(rtnl_message_type_is_link(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_link_get_ifindex()
711 ifi = NLMSG_DATA(m->hdr); in sd_rtnl_message_link_get_ifindex()
722 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_link_get_flags()
723 assert_return(rtnl_message_type_is_link(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_link_get_flags()
726 ifi = NLMSG_DATA(m->hdr); in sd_rtnl_message_link_get_flags()
737 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_link_get_type()
738 assert_return(rtnl_message_type_is_link(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_link_get_type()
741 ifi = NLMSG_DATA(m->hdr); in sd_rtnl_message_link_get_type()
752 assert(m->hdr); in sd_rtnl_message_get_family()
754 if (rtnl_message_type_is_link(m->hdr->nlmsg_type)) { in sd_rtnl_message_get_family()
757 ifi = NLMSG_DATA(m->hdr); in sd_rtnl_message_get_family()
762 } else if (rtnl_message_type_is_route(m->hdr->nlmsg_type)) { in sd_rtnl_message_get_family()
765 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_get_family()
770 } else if (rtnl_message_type_is_neigh(m->hdr->nlmsg_type)) { in sd_rtnl_message_get_family()
773 ndm = NLMSG_DATA(m->hdr); in sd_rtnl_message_get_family()
778 } else if (rtnl_message_type_is_addr(m->hdr->nlmsg_type)) { in sd_rtnl_message_get_family()
781 ifa = NLMSG_DATA(m->hdr); in sd_rtnl_message_get_family()
786 } else if (rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type)) { in sd_rtnl_message_get_family()
789 rtm = NLMSG_DATA(m->hdr); in sd_rtnl_message_get_family()
794 } else if (rtnl_message_type_is_nexthop(m->hdr->nlmsg_type)) { in sd_rtnl_message_get_family()
797 nhm = NLMSG_DATA(m->hdr); in sd_rtnl_message_get_family()
819 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_EXCL; in sd_rtnl_message_new_addrlabel()
821 addrlabel = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_addrlabel()
833 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addrlabel_set_prefixlen()
834 assert_return(rtnl_message_type_is_addrlabel(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addrlabel_set_prefixlen()
836 addrlabel = NLMSG_DATA(m->hdr); in sd_rtnl_message_addrlabel_set_prefixlen()
850 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_addrlabel_get_prefixlen()
851 assert_return(rtnl_message_type_is_addrlabel(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_addrlabel_get_prefixlen()
853 addrlabel = NLMSG_DATA(m->hdr); in sd_rtnl_message_addrlabel_get_prefixlen()
872 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_EXCL; in sd_rtnl_message_new_routing_policy_rule()
874 frh = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_routing_policy_rule()
884 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_set_tos()
885 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_set_tos()
887 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_tos()
898 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_get_tos()
899 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_get_tos()
901 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_tos()
912 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_set_table()
913 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_set_table()
915 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_table()
926 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_get_table()
927 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_get_table()
929 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_table()
940 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_set_flags()
941 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_set_flags()
943 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_flags()
953 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_get_flags()
954 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_get_flags()
956 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_flags()
966 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_set_fib_type()
967 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_set_fib_type()
969 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_fib_type()
980 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_get_fib_type()
981 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_get_fib_type()
983 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_fib_type()
994 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_set_fib_dst_prefixlen()
995 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_set_fib_dst_prefixlen()
997 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_fib_dst_prefixlen()
1008 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_get_fib_dst_prefixlen()
1009 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_get_fib_dst_prefixlen()
1011 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_fib_dst_prefixlen()
1022 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_set_fib_src_prefixlen()
1023 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_set_fib_src_prefixlen()
1025 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_fib_src_prefixlen()
1036 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_routing_policy_rule_get_fib_src_prefixlen()
1037 assert_return(rtnl_message_type_is_routing_policy_rule(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_routing_policy_rule_get_fib_src_prefixlen()
1039 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_fib_src_prefixlen()
1065 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_EXCL; in sd_rtnl_message_new_traffic_control()
1067 tcm = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_traffic_control()
1079 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_traffic_control_get_ifindex()
1080 assert_return(rtnl_message_type_is_traffic_control(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_traffic_control_get_ifindex()
1083 tcm = NLMSG_DATA(m->hdr); in sd_rtnl_message_traffic_control_get_ifindex()
1093 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_traffic_control_get_handle()
1094 assert_return(rtnl_message_type_is_traffic_control(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_traffic_control_get_handle()
1097 tcm = NLMSG_DATA(m->hdr); in sd_rtnl_message_traffic_control_get_handle()
1107 assert_return(m->hdr, -EINVAL); in sd_rtnl_message_traffic_control_get_parent()
1108 assert_return(rtnl_message_type_is_traffic_control(m->hdr->nlmsg_type), -EINVAL); in sd_rtnl_message_traffic_control_get_parent()
1111 tcm = NLMSG_DATA(m->hdr); in sd_rtnl_message_traffic_control_get_parent()
1129 (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_EXCL; in sd_rtnl_message_new_mdb()
1131 bpm = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_mdb()