17 #ifndef __LINUX_ROUTING_FILTER_PRIORITY_HPP__ 18 #define __LINUX_ROUTING_FILTER_PRIORITY_HPP__ 44 primary = (uint8_t) (priority >> 8);
45 secondary = (uint8_t) priority;
49 : primary(_primary), secondary(_secondary) {}
53 return (((uint16_t) primary) << 8) + secondary;
64 #endif // __LINUX_ROUTING_FILTER_PRIORITY_HPP__ Definition: priority.hpp:39
Priority(uint16_t priority)
Definition: priority.hpp:42
Definition: diagnosis.hpp:30
void filter(Filter *filter)
Priority(uint8_t _primary, uint8_t _secondary)
Definition: priority.hpp:48