1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

LLC now working with tests! IEEE802_3 also working \(without tests\)

This commit is contained in:
Santiago Alessandri
2012-03-19 14:00:57 -03:00
parent 01a7b812df
commit 1c9ba54895
3 changed files with 35 additions and 34 deletions

View File

@@ -123,10 +123,10 @@ namespace Tins {
void dsap(uint8_t new_dsap);
/**
* \brief Setter for the command bit.
* \brief Setter for the response bit.
* \param value The value to be set.
*/
void command(bool value);
void response(bool value);
/**
* \brief Setter for the ssap field.
@@ -200,10 +200,10 @@ namespace Tins {
inline uint8_t dsap() {return _header.dsap; }
/**
* \brief Getter for the command bit.
* \return Wheter the command bit is set or not.
* \brief Getter for the response bit.
* \return Whether the response bit is set or not.
*/
inline bool command() {return _header.ssap & 0x01; }
inline bool response() {return (_header.ssap & 0x01); }
/**
* \brief Getter for the ssap field.