Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

int rtnl_qdisc_alloc_cache ( struct nl_sock *  sk,
struct nl_cache **  result 

Build a qdisc cache including all qdiscs currently configured in the kernel

  • sk Netlink socket.
  • result Pointer to store resulting message.
Allocates a new cache, initializes it properly and updates it to include all qdiscs currently configured in the kernel.

0 on success or a negative error code.

Definition at line 386 of file qdisc.c.

      return nl_cache_alloc_and_fill(&rtnl_qdisc_ops, sk, result);

Generated by  Doxygen 1.6.0   Back to index