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

struct nl_msg* rtnl_cls_build_change_request ( struct rtnl_cls *  cls,
int  flags 
) [read]

Build a netlink message to change classifier attributes

  • cls classifier to change
  • flags additional netlink message flags
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.

Returns:
The netlink message

Definition at line 337 of file classifier.c.

References NLM_F_REPLACE.

Referenced by rtnl_cls_change().

{
      return cls_build(cls, RTM_NEWTFILTER, NLM_F_REPLACE | flags);
}


Generated by  Doxygen 1.6.0   Back to index