Lines Matching refs:preq_elem
33 static inline u32 u32_field_get(const u8 *preq_elem, int offset, bool ae) in u32_field_get() argument
37 return get_unaligned_le32(preq_elem + offset); in u32_field_get()
40 static inline u16 u16_field_get(const u8 *preq_elem, int offset, bool ae) in u16_field_get() argument
44 return get_unaligned_le16(preq_elem + offset); in u16_field_get()
513 const u8 *preq_elem, u32 metric) in hwmp_preq_frame_process() argument
526 target_addr = PREQ_IE_TARGET_ADDR(preq_elem); in hwmp_preq_frame_process()
527 orig_addr = PREQ_IE_ORIG_ADDR(preq_elem); in hwmp_preq_frame_process()
528 target_sn = PREQ_IE_TARGET_SN(preq_elem); in hwmp_preq_frame_process()
529 orig_sn = PREQ_IE_ORIG_SN(preq_elem); in hwmp_preq_frame_process()
530 target_flags = PREQ_IE_TARGET_F(preq_elem); in hwmp_preq_frame_process()
533 flags = PREQ_IE_FLAGS(preq_elem); in hwmp_preq_frame_process()
589 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
606 ttl = PREQ_IE_TTL(preq_elem); in hwmp_preq_frame_process()
607 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
614 preq_id = PREQ_IE_PREQ_ID(preq_elem); in hwmp_preq_frame_process()
615 hopcount = PREQ_IE_HOPCOUNT(preq_elem) + 1; in hwmp_preq_frame_process()
620 target_addr = PREQ_IE_TARGET_ADDR(preq_elem); in hwmp_preq_frame_process()
621 target_sn = PREQ_IE_TARGET_SN(preq_elem); in hwmp_preq_frame_process()