Lines Matching +full:max +full:- +full:rt
1 /* SPDX-License-Identifier: GPL-2.0 */
114 #define X25_MAX_AE_LEN 40 /* Max num of semi-octets in AE - OSI Nw */
115 #define X25_MAX_DTE_FACIL_LEN 21 /* Max length of DTE facility params */
117 /* Bitset in x25_sock->flags for misc flags */
123 * struct x25_route - x25 routing entry
124 * @node - entry in x25_list_lock
125 * @address - Start of address range
126 * @sigdigits - Number of sig digits
127 * @dev - More than one for MLP
128 * @refcnt - reference counter
244 refcount_inc(&nb->refcnt); in x25_neigh_hold()
249 if (refcount_dec_and_test(&nb->refcnt)) in x25_neigh_put()
265 static __inline__ void x25_route_hold(struct x25_route *rt) in x25_route_hold() argument
267 refcount_inc(&rt->refcnt); in x25_route_hold()
270 static __inline__ void x25_route_put(struct x25_route *rt) in x25_route_put() argument
272 if (refcount_dec_and_test(&rt->refcnt)) in x25_route_put()
273 kfree(rt); in x25_route_put()
310 #define X25_SKB_CB(s) ((struct x25_skb_cb *) ((s)->cb))