Lines Matching defs:netif
74 } netif;
110 static jobject createNetworkInterface(JNIEnv *env, netif *ifs);
113 static netif *enumInterfaces(JNIEnv *env);
115 static netif *addif(JNIEnv *env, int sock, struct ifaddrs *ifa, netif *ifs);
116 static void freeif(netif *ifs);
169 netif *ifs, *curr;
213 netif *ifs, *curr;
253 netif *ifs, *curr;
336 netif *ifs, *curr;
491 jobject createNetworkInterface(JNIEnv *env, netif *ifs) {
501 netif *childP;
674 static netif *enumInterfaces(JNIEnv *env) {
675 netif *ifs = NULL;
721 void freeif(netif *ifs) {
722 netif *currif = ifs;
723 netif *child = NULL;
753 netif *addif(JNIEnv *env, int sock, struct ifaddrs *ifa, netif *ifs)
755 netif *currif = ifs, *parent;
789 // Don't add an address entry, will extract data to netif struct
866 * If "new" then create an netif structure and
870 CHECKED_MALLOC3(currif, netif *, sizeof(netif) + sizeof(name));
871 currif->name = (char *) currif+sizeof(netif);
934 CHECKED_MALLOC3(currif, netif *, sizeof(netif) + sizeof(name));
935 currif->name = (char *) currif + sizeof(netif);