Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/networking/
Droute.c188 int prefix_len; in INET_setroute() local
190 prefix_len = xatoul_range(prefix+1, 0, 32); in INET_setroute()
191 mask_in_addr(*rt) = htonl( ~(0xffffffffUL >> prefix_len)); in INET_setroute()
353 int prefix_len, skfd; in INET6_setroute() local
360 prefix_len = 0; in INET6_setroute()
367 prefix_len = xatoul_range(cp + 1, 0, 128); in INET6_setroute()
369 prefix_len = 128; in INET6_setroute()
382 rt.rtmsg_dst_len = prefix_len; in INET6_setroute()
383 rt.rtmsg_flags = ((prefix_len == 128) ? (RTF_UP|RTF_HOST) : RTF_UP); in INET6_setroute()
569 int iflags, metric, refcnt, use, prefix_len, slen; in INET6_displayroutes() local
[all …]
Difconfig.c437 int prefix_len = 0; in ifconfig_main() local
440 prefix_len = xatou_range(prefix + 1, 0, 128); in ifconfig_main()
461 ifr6.ifr6_prefixlen = prefix_len; in ifconfig_main()