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