Lines Matching refs:sigdigits
31 static int x25_add_route(struct x25_address *address, unsigned int sigdigits, in x25_add_route() argument
43 if (!memcmp(&rt->address, address, sigdigits) && in x25_add_route()
44 rt->sigdigits == sigdigits) in x25_add_route()
54 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route()
56 rt->sigdigits = sigdigits; in x25_add_route()
82 static int x25_del_route(struct x25_address *address, unsigned int sigdigits, in x25_del_route() argument
94 if (!memcmp(&rt->address, address, sigdigits) && in x25_del_route()
95 rt->sigdigits == sigdigits && rt->dev == dev) { in x25_del_route()
164 if (!memcmp(&rt->address, addr, rt->sigdigits)) { in x25_get_route()
167 else if (rt->sigdigits > use->sigdigits) in x25_get_route()
196 if (rt.sigdigits > 15) in x25_route_ioctl()
204 rc = x25_add_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
206 rc = x25_del_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()