Lines Matching defs:x
39 #define AE_F_SET(x) (*x & AE_F) argument
40 #define PREQ_IE_FLAGS(x) (*(x)) argument
41 #define PREQ_IE_HOPCOUNT(x) (*(x + 1)) argument
42 #define PREQ_IE_TTL(x) (*(x + 2)) argument
43 #define PREQ_IE_PREQ_ID(x) u32_field_get(x, 3, 0) argument
44 #define PREQ_IE_ORIG_ADDR(x) (x + 7) argument
45 #define PREQ_IE_ORIG_SN(x) u32_field_get(x, 13, 0) argument
46 #define PREQ_IE_LIFETIME(x) u32_field_get(x, 17, AE_F_SET(x)) argument
47 #define PREQ_IE_METRIC(x) u32_field_get(x, 21, AE_F_SET(x)) argument
48 #define PREQ_IE_TARGET_F(x) (*(AE_F_SET(x) ? x + 32 : x + 26)) argument
49 #define PREQ_IE_TARGET_ADDR(x) (AE_F_SET(x) ? x + 33 : x + 27) argument
50 #define PREQ_IE_TARGET_SN(x) u32_field_get(x, 33, AE_F_SET(x)) argument
53 #define PREP_IE_FLAGS(x) PREQ_IE_FLAGS(x) argument
54 #define PREP_IE_HOPCOUNT(x) PREQ_IE_HOPCOUNT(x) argument
55 #define PREP_IE_TTL(x) PREQ_IE_TTL(x) argument
56 #define PREP_IE_ORIG_ADDR(x) (AE_F_SET(x) ? x + 27 : x + 21) argument
57 #define PREP_IE_ORIG_SN(x) u32_field_get(x, 27, AE_F_SET(x)) argument
58 #define PREP_IE_LIFETIME(x) u32_field_get(x, 13, AE_F_SET(x)) argument
59 #define PREP_IE_METRIC(x) u32_field_get(x, 17, AE_F_SET(x)) argument
60 #define PREP_IE_TARGET_ADDR(x) (x + 3) argument
61 #define PREP_IE_TARGET_SN(x) u32_field_get(x, 9, 0) argument
63 #define PERR_IE_TTL(x) (*(x)) argument
64 #define PERR_IE_TARGET_FLAGS(x) (*(x + 2)) argument
65 #define PERR_IE_TARGET_ADDR(x) (x + 3) argument
66 #define PERR_IE_TARGET_SN(x) u32_field_get(x, 9, 0) argument
67 #define PERR_IE_TARGET_RCODE(x) u16_field_get(x, 13, 0) argument
69 #define MSEC_TO_TU(x) (x*1000/1024) argument
70 #define SN_GT(x, y) ((s32)(y - x) < 0) argument
71 #define SN_LT(x, y) ((s32)(x - y) < 0) argument
74 static inline u32 SN_DELTA(u32 x, u32 y) in SN_DELTA()