25 : id_(id & 0xfff), type_(type)
48 std::string targ (tokens[0].value());
52 }
else if (!targ.empty() and targ.back() ==
's') {
60 senf::console::parse(std::vector<senf::console::Token> ({senf::console::WordToken(targ)}), tmp);
62 vlanId =
VLanId(tmp, type);
VLanId(std::uint16_t id=0, Type type=NoTag)
void senf_console_parse_argument(senf::console::ParseCommandInfo::TokensRange const &tokens, VLanId &vlanId)
std::ostream & operator<<(std::ostream &os, InterfaceDeviceId const &id)
boost::iterator_range< token_iterator > TokensRange