/external/dhcpcd/ |
if-pref.c | 79 struct interface *sorted, *ifp, *ifn, *ift; local 86 for (ifp = ifaces; ifp && (ifn = ifp->next, 1); ifp = ifn) { 88 if (ifcmp(ifp, sorted) == -1) { 89 ifp->next = sorted; 90 sorted = ifp; 95 if (ifcmp(ifp, ift->next) == -1) { 96 ifp->next = ift->next [all...] |
dhcpcd.c | 241 struct interface *ifp; local 243 for (ifp = ifaces; ifp; ifp = ifp->next) 244 if (strcmp(ifp->name, ifname) == 0) 245 return ifp; 252 struct interface *ifp, *ifl = NULL; local 259 for (ifp = ifaces; ifp; ifp = ifp->next) 1232 struct interface *ifs, *ifp, *ifn, *ifl = NULL; local 1286 struct interface *ifp; local 1323 struct interface *ifp; local 1409 struct interface *ifl, *ifn, *ifp, *ifs, *ift; local 1465 struct interface *ifp, *ifl; local 1554 struct interface *ifp; local [all...] |
net.c | 319 struct interface *ifp, *ifs, *ifl; local 355 for (ifp = ifs; ifp; ifp = ifp->next) 356 if (strcmp(ifp->name, ifa->ifa_name) == 0) 358 if (ifp) 396 if ((ifp = init_interface(p)) == NULL) 400 if (!(ifp->flags & IFF_UP) 402 && carrier_status(ifp) != - [all...] |
ifaddrs.c | 134 struct ifaddrs *ifp; local 137 ifp = ifa; 138 free(ifp->ifa_name); 139 if (ifp->ifa_addr) 140 free(ifp->ifa_addr); 141 if (ifp->ifa_netmask) 142 free(ifp->ifa_netmask); 144 free(ifp);
|
/bionic/libc/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-14/arch-arm/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-3/arch-arm/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-3/arch-x86/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-4/arch-arm/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-4/arch-x86/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-5/arch-arm/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-5/arch-x86/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/prebuilt/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/netinet/ |
icmp6.h | 669 #define icmp6_ifstat_inc(ifp, tag) \ 671 if (ifp) \ 672 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \ 675 #define icmp6_ifoutstat_inc(ifp, type, code) \ 677 icmp6_ifstat_inc(ifp, ifs6_out_msg); \ 680 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \ 682 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \ 685 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \ 688 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \ 691 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); [all...] |
/external/blktrace/ |
blkrawverify.c | 144 FILE *ifp, *ofp; local 155 ifp = fopen(file, "r"); 156 if (!ifp) 166 fclose(ifp); 174 while ((n = fread(bit, sizeof(struct blk_io_trace), 1, ifp)) == 1) { 175 if (ferror(ifp)) { 176 clearerr(ifp); 199 n = fread(pdu_buf, bit->pdu_len, 1, ifp); 246 if (n == 0 && !feof(ifp)) 249 fclose(ifp); [all...] |
/bionic/libc/include/net/ |
if_ether.h | 91 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ 92 ((ifp)->if_mtu + ETHER_HDR_LEN + \ 166 #define VLAN_INPUT_TAG(ifp, m, vlanid, _errcase) \ 171 ifp->if_ierrors++; \ 173 ifp->if_xname); \
|
/development/ndk/platforms/android-3/include/net/ |
if_ether.h | 89 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ 90 ((ifp)->if_mtu + ETHER_HDR_LEN + \ 164 #define VLAN_INPUT_TAG(ifp, m, vlanid, _errcase) \ 169 ifp->if_ierrors++; \ 171 ifp->if_xname); \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/net/ |
if_ether.h | 89 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ 90 ((ifp)->if_mtu + ETHER_HDR_LEN + \ 164 #define VLAN_INPUT_TAG(ifp, m, vlanid, _errcase) \ 169 ifp->if_ierrors++; \ 171 ifp->if_xname); \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/net/ |
if_ether.h | 89 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ 90 ((ifp)->if_mtu + ETHER_HDR_LEN + \ 164 #define VLAN_INPUT_TAG(ifp, m, vlanid, _errcase) \ 169 ifp->if_ierrors++; \ 171 ifp->if_xname); \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/net/ |
if_ether.h | 89 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ 90 ((ifp)->if_mtu + ETHER_HDR_LEN + \ 164 #define VLAN_INPUT_TAG(ifp, m, vlanid, _errcase) \ 169 ifp->if_ierrors++; \ 171 ifp->if_xname); \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/net/ |
if_ether.h | 89 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ 90 ((ifp)->if_mtu + ETHER_HDR_LEN + \ 164 #define VLAN_INPUT_TAG(ifp, m, vlanid, _errcase) \ 169 ifp->if_ierrors++; \ 171 ifp->if_xname); \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/net/ |
if_ether.h | 89 #define ETHER_MAX_FRAME(ifp, etype, hasfcs) \ 90 ((ifp)->if_mtu + ETHER_HDR_LEN + \ 164 #define VLAN_INPUT_TAG(ifp, m, vlanid, _errcase) \ 169 ifp->if_ierrors++; \ 171 ifp->if_xname); \
|