Lines Matching refs:preq_elem
38 static inline u32 u32_field_get(u8 *preq_elem, int offset, bool ae) in u32_field_get() argument
42 return get_unaligned_le32(preq_elem + offset); in u32_field_get()
45 static inline u32 u16_field_get(u8 *preq_elem, int offset, bool ae) in u16_field_get() argument
49 return get_unaligned_le16(preq_elem + offset); in u16_field_get()
471 u8 *preq_elem, u32 metric) in hwmp_preq_frame_process() argument
482 target_addr = PREQ_IE_TARGET_ADDR(preq_elem); in hwmp_preq_frame_process()
483 orig_addr = PREQ_IE_ORIG_ADDR(preq_elem); in hwmp_preq_frame_process()
484 target_sn = PREQ_IE_TARGET_SN(preq_elem); in hwmp_preq_frame_process()
485 orig_sn = PREQ_IE_ORIG_SN(preq_elem); in hwmp_preq_frame_process()
486 target_flags = PREQ_IE_TARGET_F(preq_elem); in hwmp_preq_frame_process()
524 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
541 ttl = PREQ_IE_TTL(preq_elem); in hwmp_preq_frame_process()
542 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
549 flags = PREQ_IE_FLAGS(preq_elem); in hwmp_preq_frame_process()
550 preq_id = PREQ_IE_PREQ_ID(preq_elem); in hwmp_preq_frame_process()
551 hopcount = PREQ_IE_HOPCOUNT(preq_elem) + 1; in hwmp_preq_frame_process()