Lines Matching defs:ua
64 static inline void tipc_uaddr(struct tipc_uaddr *ua, u32 atype, u32 scope,
67 ua->family = AF_TIPC;
68 ua->addrtype = atype;
69 ua->scope = scope;
70 ua->sr.type = type;
71 ua->sr.lower = lower;
72 ua->sr.upper = upper;
75 static inline bool tipc_uaddr_valid(struct tipc_uaddr *ua, int len)
81 atype = ua->addrtype;
82 if (ua->family != AF_TIPC)
87 return ua->sr.upper >= ua->sr.lower;