libnl: Deprecated List

libnl 3.10.0

Deprecated List

Global genlmsg_data (const struct genlmsghdr *gnlh)
  This function has been deprecated due to inability to specify the length of the user header. Use genlmsg_user_hdr() respectively genlmsg_user_data().
Global IDIAG_SS_ALL
Global idiagnl_attrs2str (int attrs, char *buf, size_t len)
  : don't use this function. It is not very useful and should never have been exposed as public API.
Global nl_auto_complete (struct nl_sock *sk, struct nl_msg *msg)
  Please use nl_complete_msg()
Global nl_send_auto_complete (struct nl_sock *sk, struct nl_msg *msg)
  Please use nl_send_auto()
Global rtnl_class_foreach_child (struct rtnl_class *class, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
  Use of this function is deprecated, it does not allow to handle the out of memory situation that can occur.
Global rtnl_class_foreach_cls (struct rtnl_class *class, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
  Use of this function is deprecated, it does not allow to handle the out of memory situation that can occur.
Global rtnl_link_get_info_type (struct rtnl_link *link)
  Use of this function is deprecated, use rtnl_link_get_type()
Global rtnl_link_get_weight (struct rtnl_link *link)
  The weight attribute is unused and obsoleted in all recent kernels
Global rtnl_link_set_info_type (struct rtnl_link *link, const char *type)
  Use of this function is deprecated, use rtnl_link_set_type()
Global rtnl_link_set_weight (struct rtnl_link *link, unsigned int weight)
  The weight attribute is unused and obsoleted in all recent kernels
Global rtnl_qdisc_build_change_request (struct rtnl_qdisc *qdisc, struct rtnl_qdisc *new, struct nl_msg **result)
  Use of this function is deprecated in favour of rtnl_qdisc_build_update_request() due to the missing possibility of specifying additional flags.
Global rtnl_qdisc_change (struct nl_sock *sk, struct rtnl_qdisc *qdisc, struct rtnl_qdisc *new)
  Use of this function is deprecated in favour of rtnl_qdisc_update() due to the missing possibility of specifying additional flags.
Global rtnl_qdisc_foreach_child (struct rtnl_qdisc *qdisc, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
  Use of this function is deprecated, it does not allow to handle the out of memory situation that can occur.
Global rtnl_qdisc_foreach_cls (struct rtnl_qdisc *qdisc, struct nl_cache *cache, void(*cb)(struct nl_object *, void *), void *arg)
  Use of this function is deprecated, it does not allow to handle the out of memory situation that can occur.