Lines Matching refs:sigdigits
52 static int x25_add_route(x25_address *address, unsigned int sigdigits, struct net_device *dev) in x25_add_route() argument
58 if (memcmp(&x25_route->address, address, sigdigits) == 0 && x25_route->sigdigits == sigdigits) in x25_add_route()
65 memcpy(x25_route->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route()
67 x25_route->sigdigits = sigdigits; in x25_add_route()
107 static int x25_del_route(x25_address *address, unsigned int sigdigits, struct net_device *dev) in x25_del_route() argument
112 …if (memcmp(&x25_route->address, address, sigdigits) == 0 && x25_route->sigdigits == sigdigits && x… in x25_del_route()
167 if (memcmp(&route->address, addr, route->sigdigits) == 0) { in x25_get_route()
171 if (route->sigdigits > use->sigdigits) in x25_get_route()
194 if (x25_route.sigdigits < 0 || x25_route.sigdigits > 15) in x25_route_ioctl()
198 err = x25_add_route(&x25_route.address, x25_route.sigdigits, dev); in x25_route_ioctl()
205 if (x25_route.sigdigits < 0 || x25_route.sigdigits > 15) in x25_route_ioctl()
209 err = x25_del_route(&x25_route.address, x25_route.sigdigits, dev); in x25_route_ioctl()
234 x25_route->sigdigits, in x25_routes_get_info()