Home
last modified time | relevance | path

Searched refs:xstrncpy (Results 1 – 15 of 15) sorted by relevance

/external/toybox/toys/pending/
Dbrctl.c52 xstrncpy(ifr.ifr_name, bridge, IFNAMSIZ);
65 xstrncpy(ifr.ifr_name, bridge, IFNAMSIZ); in get_br_info()
121 xstrncpy(br, argv[0], IFNAMSIZ); in br_addbr()
134 xstrncpy(br, argv[0], IFNAMSIZ); in br_delbr()
151 xstrncpy(ifr.ifr_name, argv[0], IFNAMSIZ); in br_addif()
169 xstrncpy(ifr.ifr_name, argv[0], IFNAMSIZ); in br_delif()
197 xstrncpy(ifr.ifr_name, br, IFNAMSIZ); in set_time()
273 xstrncpy(ifr.ifr_name, br, IFNAMSIZ); in set_cost_prio()
Dgetty.c202 xstrncpy(entry.ut_user, "LOGIN", sizeof(entry.ut_user)); in utmp_entry()
203 xstrncpy(entry.ut_line, ttyname(0) + strlen("/dev/"), sizeof(entry.ut_line)); in utmp_entry()
204 if (FLAG(H)) xstrncpy(entry.ut_host, TT.H, sizeof(entry.ut_host)); in utmp_entry()
Darp.c163 xstrncpy(ifre.ifr_name, toys.optargs[1], IFNAMSIZ); in set_entry()
173 xstrncpy(req.arp_dev, TT.device, sizeof(req.arp_dev)); in set_entry()
202 xstrncpy(req.arp_dev, TT.device, sizeof(req.arp_dev)); in delete_entry()
Darping.c60 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_interface()
211 xstrncpy(ifr.ifr_name, TT.iface, IFNAMSIZ); in arping_main()
Dip.c693 xstrncpy(req.ifr_name, *argv, IF_NAMESIZE); in link_set()
721 xstrncpy(req.ifr_ifru.ifru_newname, *argv, IF_NAMESIZE); in link_set()
723 xstrncpy(req.ifr_name, *argv++, IF_NAMESIZE); in link_set()
886 xstrncpy(link->type, lname, IFNAMSIZ); in get_link_info()
933 xstrncpy(link->state, lname,IFNAMSIZ); in get_link_info()
1022 xstrncpy(label, RTA_DATA(rta_tb[IFA_LABEL]), 256); in print_addrinfo()
2434 xstrncpy(req.ifr_name, ptnl->name, IF_NAMESIZE); in tnl_ioctl()
2435 else xstrncpy(req.ifr_name, dev, IF_NAMESIZE); in tnl_ioctl()
2552 xstrncpy(ptnl->name, *argv, IF_NAMESIZE); in parse_iptunnel_args()
2649 xstrncpy(req.ifr_name, *argv, IFNAMSIZ); in parse_iptunnel_args()
[all …]
Droute.c97 if (host) xstrncpy(dst, host->h_name, len); in get_hostname()
Ddhcp.c288 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_interface()
631 xstrncpy(ifr.ifr_name, state->iface, IFNAMSIZ); in mode_app()
1244 xstrncpy(buffer, inet_ntoa(temp_addr), sizeof(buffer)); in release()
Ddhcp6.c168 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_mac()
Ddhcpd.c369 xstrncpy(req.ifr_name, (char *)interface, IFNAMSIZ); in get_interface()
838 xstrncpy(ifr.ifr_name, gconfig.interface, IFNAMSIZ); in open_listensock()
/external/toybox/toys/other/
Dvconfig.c57 xstrncpy(request.device1, toys.optargs[1], sizeof(request.device1)); in vconfig_main()
Dlosetup.c114 xstrncpy((char *)loop->lo_file_name, f_path, LO_NAME_SIZE);
/external/toybox/toys/net/
Dsntp.c154 xstrncpy(buf, ntop(ai->ai_addr), 128); in sntp_main()
Difconfig.c118 xstrncpy(ifre.ifr_name, name, IFNAMSIZ); in display_ifconfig()
387 xstrncpy(ifre.ifr_name, *argv, IFNAMSIZ); in ifconfig_main()
/external/toybox/lib/
Dlib.h118 void xstrncpy(char *dest, char *src, size_t size);
Dxwrap.c16 void xstrncpy(char *dest, char *src, size_t size) in xstrncpy() function