rem: n=(struct net*)malloc(sizeof(struct net));
add: n=(struct net*)pkg_malloc(sizeof(struct net));
context: struct net* mk_net(struct ip_addr* ip, struct ip_addr* mask){	struct net* n;		if ((ip->af != mask->af) || (ip->len != mask->len)){		LOG(L_CRIT, "ERROR: mk_net: trying to use a different mask family"				" (eg. ipv4/ipv6mask or ipv6/ipv4mask)\n");		goto error;	}	n=(struct net*)malloc(sizeof(struct net));	if (n==0){ 		LOG(L_CRIT, "ERROR: mk_net: memory allocation failure\n");		goto error;	}	n->ip=*ip;	n->mask=*mask;	return n;error:	return 0;}