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

int nla_nest_end ( struct nl_msg *  n,
struct nlattr start 

Finalize nesting of attributes

  • n netlink message
  • start container attribute
Corrects the container attribute header to include the all appeneded attributes.

the total data length of the skb.

Definition at line 663 of file attr.c.

References nlattr::nla_len.

      start->nla_len = (unsigned char *) nlmsg_tail(n->nm_nlh) -
                        (unsigned char *) start;
      return 0;

Generated by  Doxygen 1.6.0   Back to index