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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user