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

uint8_t nla_get_u8 ( struct nlattr *  nla  ) 

Return value of 8 bit integer attribute.

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

Definition at line 911 of file attr.c.

References nla_data().

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


Generated by  Doxygen 1.6.0   Back to index