| 692 | |
| 693 | template <typename T> |
| 694 | static inline T get_attr(Module *m, int attr_id, const bess::Packet *pkt) { |
| 695 | return get_attr_with_offset<T>(m->attr_offset(attr_id), pkt); |
| 696 | } |
| 697 | |
| 698 | template <typename T> |
| 699 | static inline void set_attr(Module *m, int attr_id, bess::Packet *pkt, T val) { |
nothing calls this directly
no test coverage detected