Lines Matching refs:rmpp_hdr
188 struct ib_rmpp_hdr rmpp_hdr;
194 struct ib_rmpp_hdr rmpp_hdr;
200 struct ib_rmpp_hdr rmpp_hdr;
207 struct ib_rmpp_hdr rmpp_hdr;
486 * @rmpp_hdr: An RMPP header.
488 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr)
490 return rmpp_hdr->rmpp_rtime_flags >> 3;
495 * @rmpp_hdr: An RMPP header.
497 static inline u8 ib_get_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr)
499 return rmpp_hdr->rmpp_rtime_flags & 0x7;
504 * @rmpp_hdr: An RMPP header.
507 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime)
509 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3);
514 * @rmpp_hdr: An RMPP header.
517 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags)
519 rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) |