Lines Matching defs:ifdata
25 isc_interface_t ifdata;
39 result = isc_interfaceiter_current(iter, &ifdata);
45 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af,
46 ifdata.flags);
47 INSIST(ifdata.af == AF_INET || ifdata.af == AF_INET6);
48 res = inet_ntop(ifdata.af, &ifdata.address.type, buf,
50 if (ifdata.address.zone != 0)
53 ifdata.address.zone);
57 INSIST(ifdata.address.family == ifdata.af);
58 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf,
61 INSIST(ifdata.netmask.family == ifdata.af);
62 if ((ifdata.flags & INTERFACE_F_POINTTOPOINT) != 0) {
63 res = inet_ntop(ifdata.af, &ifdata.dstaddress.type,
68 INSIST(ifdata.dstaddress.family == ifdata.af);
86 result = isc_interfaceiter_current(iter, &ifdata);
92 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af,
93 ifdata.flags);
94 INSIST(ifdata.af == AF_INET || ifdata.af == AF_INET6);
95 res = inet_ntop(ifdata.af, &ifdata.address.type, buf,
97 if (ifdata.address.zone != 0)
100 ifdata.address.zone);
104 INSIST(ifdata.address.family == ifdata.af);
105 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf,
108 INSIST(ifdata.netmask.family == ifdata.af);
109 if ((ifdata.flags & INTERFACE_F_POINTTOPOINT) != 0) {
110 res = inet_ntop(ifdata.af, &ifdata.dstaddress.type,
115 INSIST(ifdata.dstaddress.family == ifdata.af);