Home
last modified time | relevance | path

Searched refs:ifre (Results 1 – 6 of 6) sorted by relevance

/third_party/toybox/toys/net/
Difconfig.c103 struct ifreq ifre; in display_ifconfig() local
104 struct sockaddr_in *si = (void *)&ifre.ifr_addr; in display_ifconfig()
118 xstrncpy(ifre.ifr_name, name, IFNAMSIZ); in display_ifconfig()
119 if (ioctl(TT.sockfd, SIOCGIFFLAGS, &ifre)<0) perror_exit_raw(name); in display_ifconfig()
120 flags = ifre.ifr_flags; in display_ifconfig()
127 ioctl(TT.sockfd, SIOCGIFADDR, &ifre); in display_ifconfig()
129 if (!ioctl(TT.sockfd, SIOCGIFNETMASK, &ifre)) in display_ifconfig()
138 ioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in display_ifconfig()
141 for (i=0; i<6; i++) printf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig()
144 if (ifre.ifr_hwaddr.sa_family == types[i].type) break; in display_ifconfig()
[all …]
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c102 struct ifreq ifre; in display_ifconfig() local
103 struct sockaddr_in *si = (void *)&ifre.ifr_addr; in display_ifconfig()
117 xstrncpy(ifre.ifr_name, name, IFNAMSIZ); in display_ifconfig()
118 if (ioctl(TT.sockfd, SIOCGIFFLAGS, &ifre)<0) perror_exit_raw(name); in display_ifconfig()
119 flags = ifre.ifr_flags; in display_ifconfig()
126 ioctl(TT.sockfd, SIOCGIFADDR, &ifre); in display_ifconfig()
128 if (!ioctl(TT.sockfd, SIOCGIFNETMASK, &ifre)) in display_ifconfig()
137 ioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in display_ifconfig()
140 for (i=0; i<6; i++) printf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig()
143 if (ifre.ifr_hwaddr.sa_family == types[i].type) break; in display_ifconfig()
[all …]
/third_party/toybox/toys/pending/
Darp.c154 struct ifreq ifre; in set_entry() local
156 xstrncpy(ifre.ifr_name, toys.optargs[1], IFNAMSIZ); in set_entry()
157 xioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in set_entry()
158 if (FLAG(H) && ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER) in set_entry()
160 memcpy(&req.arp_ha, &(ifre.ifr_hwaddr), sizeof(req.arp_ha)); in set_entry()
Droute.c376 struct ifreq *ifre = (struct ifreq*)ifre_buf; in setroute_inet6() local
377 xstrncpy(ifre->ifr_name, dev_name, IFNAMSIZ); in setroute_inet6()
378 xioctl(sockfd, SIOGIFINDEX, ifre); in setroute_inet6()
379 rt.rtmsg_ifindex = ifre->ifr_ifindex; in setroute_inet6()
/third_party/gstreamer/gstplugins_bad/po/
Dtr.po43 "DVD okunamıyor. DVD şifrelenmiş veya DVD şifre çözme kitaplığı kurulmamış "
/third_party/gstreamer/gstreamer/po/
Dtr.po244 msgstr "Akış şifrelidir ve şifre açma desteklenmiyor."