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

uint16_t nla_get_u16 ( struct nlattr *  nla  ) 

Return payload of 16 bit integer attribute.

  • nla 16 bit integer attribute
Returns:
Payload as 16 bit integer.

Definition at line 936 of file attr.c.

References nla_data().

{
      return *(uint16_t *) nla_data(nla);
}


Generated by  Doxygen 1.6.0   Back to index