Lines Matching defs:rmpp_hdr
189 struct ib_rmpp_hdr rmpp_hdr;
195 struct ib_rmpp_hdr rmpp_hdr;
201 struct ib_rmpp_hdr rmpp_hdr;
208 struct ib_rmpp_hdr rmpp_hdr;
489 * @rmpp_hdr: An RMPP header.
491 static inline u8 ib_get_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr)
493 return rmpp_hdr->rmpp_rtime_flags >> 3;
498 * @rmpp_hdr: An RMPP header.
500 static inline u8 ib_get_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr)
502 return rmpp_hdr->rmpp_rtime_flags & 0x7;
507 * @rmpp_hdr: An RMPP header.
510 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime)
512 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3);
517 * @rmpp_hdr: An RMPP header.
520 static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags)
522 rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) |