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

int rtnl_cls_build_change_request ( struct rtnl_cls *  cls,
int  flags,
struct nl_msg **  result 

Build a netlink message to change classifier attributes

  • cls classifier to change
  • flags additional netlink message flags
  • result Pointer to store resulting message.
Builds a new netlink message requesting a change of a neigh attributes. The netlink message header isn't fully equipped with all relevant fields and must thus be sent out via nl_send_auto_complete() or supplemented as needed.

0 on success or a negative error code.

Definition at line 189 of file cls.c.

References NLM_F_REPLACE.

Referenced by rtnl_cls_change().

      return cls_build(cls, RTM_NEWTFILTER, NLM_F_REPLACE | flags, result);

Generated by  Doxygen 1.6.0   Back to index