Lines Matching refs:prefixlen

85 static int address_new(Network *network, int family, unsigned char prefixlen,  in address_new()  argument
97 .prefixlen = prefixlen, in address_new()
121 static int route_new(Network *network, int family, unsigned char prefixlen, in route_new() argument
133 .prefixlen = prefixlen, in route_new()
387 … int network_set_address(Context *context, const char *ifname, int family, unsigned char prefixlen, in network_set_address() argument
398 return address_new(network, family, prefixlen, addr, peer, NULL); in network_set_address()
401 …ic int network_set_route(Context *context, const char *ifname, int family, unsigned char prefixlen, in network_set_route() argument
416 return route_new(network, family, prefixlen, dest, gateway, NULL); in network_set_route()
594 unsigned char prefixlen; in parse_cmdline_ip_address() local
609 r = parse_netmask_or_prefixlen(family, &value, &prefixlen); in parse_cmdline_ip_address()
651 r = network_set_address(context, ifname, family, prefixlen, &addr, &peer); in parse_cmdline_ip_address()
740 unsigned char prefixlen; in parse_cmdline_rd_route() local
770 r = in_addr_prefix_from_string(buf, family, &addr, &prefixlen); in parse_cmdline_rd_route()
782 return network_set_route(context, value, family, prefixlen, &addr, &gateway); in parse_cmdline_rd_route()
1063 … r = route_new(network, route->family, route->prefixlen, &route->dest, &route->gateway, NULL); in context_merge_networks()
1087 r = in_addr_prefix_to_string(address->family, &address->address, address->prefixlen, &addr); in address_dump()
1113 r = in_addr_prefix_to_string(route->family, &route->dest, route->prefixlen, &dest); in route_dump()