Lines Matching refs:sigdigits
26 static int x25_add_route(struct x25_address *address, unsigned int sigdigits, in x25_add_route() argument
38 if (!memcmp(&rt->address, address, sigdigits) && in x25_add_route()
39 rt->sigdigits == sigdigits) in x25_add_route()
49 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route()
51 rt->sigdigits = sigdigits; in x25_add_route()
77 static int x25_del_route(struct x25_address *address, unsigned int sigdigits, in x25_del_route() argument
89 if (!memcmp(&rt->address, address, sigdigits) && in x25_del_route()
90 rt->sigdigits == sigdigits && rt->dev == dev) { in x25_del_route()
159 if (!memcmp(&rt->address, addr, rt->sigdigits)) { in x25_get_route()
162 else if (rt->sigdigits > use->sigdigits) in x25_get_route()
191 if (rt.sigdigits > 15) in x25_route_ioctl()
199 rc = x25_add_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
201 rc = x25_del_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()