mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
This patch adds the implementation of the public API for the network filtering (ACL) extensions to libvirt.c . Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
650 lines
13 KiB
Plaintext
650 lines
13 KiB
Plaintext
#
|
|
# General private symbols. Add symbols here, and see Makefile.am for
|
|
# more details.
|
|
#
|
|
|
|
|
|
# buf.h
|
|
virBufferVSprintf;
|
|
virBufferEscapeString;
|
|
virBufferAdd;
|
|
virBufferAddChar;
|
|
virBufferContentAndReset;
|
|
virBufferError;
|
|
virBufferURIEncodeString;
|
|
virBufferFreeAndReset;
|
|
|
|
|
|
# caps.h
|
|
virCapabilitiesAddGuest;
|
|
virCapabilitiesAddGuestDomain;
|
|
virCapabilitiesAddGuestFeature;
|
|
virCapabilitiesAddHostMigrateTransport;
|
|
virCapabilitiesAddHostNUMACell;
|
|
virCapabilitiesAddHostFeature;
|
|
virCapabilitiesDefaultGuestArch;
|
|
virCapabilitiesDefaultGuestEmulator;
|
|
virCapabilitiesDefaultGuestMachine;
|
|
virCapabilitiesFormatXML;
|
|
virCapabilitiesFree;
|
|
virCapabilitiesFreeNUMAInfo;
|
|
virCapabilitiesNew;
|
|
virCapabilitiesSetMacPrefix;
|
|
virCapabilitiesGenerateMac;
|
|
virCapabilitiesSetEmulatorRequired;
|
|
virCapabilitiesIsEmulatorRequired;
|
|
virCapabilitiesAllocMachines;
|
|
virCapabilitiesFreeMachines;
|
|
virCapabilitiesSetHostCPU;
|
|
|
|
|
|
# conf.h
|
|
virConfNew;
|
|
virConfReadFile;
|
|
virConfReadMem;
|
|
virConfFree;
|
|
virConfFreeValue;
|
|
virConfGetValue;
|
|
virConfSetValue;
|
|
virConfWriteFile;
|
|
virConfWriteMem;
|
|
|
|
|
|
# cgroup.h
|
|
virCgroupForDomain;
|
|
virCgroupForDriver;
|
|
virCgroupRemove;
|
|
virCgroupFree;
|
|
virCgroupAddTask;
|
|
virCgroupSetMemory;
|
|
virCgroupGetMemoryUsage;
|
|
virCgroupSetCpuShares;
|
|
virCgroupGetCpuShares;
|
|
virCgroupDenyDevicePath;
|
|
virCgroupAllowDevicePath;
|
|
virCgroupDenyAllDevices;
|
|
virCgroupAllowDeviceMajor;
|
|
virCgroupControllerTypeToString;
|
|
virCgroupControllerTypeFromString;
|
|
virCgroupGetCpuacctUsage;
|
|
virCgroupGetFreezerState;
|
|
virCgroupSetFreezerState;
|
|
|
|
|
|
# cpu.h
|
|
cpuBaseline;
|
|
cpuBaselineXML;
|
|
cpuCompare;
|
|
cpuCompareXML;
|
|
cpuDataFree;
|
|
cpuDecode;
|
|
cpuEncode;
|
|
cpuGuestData;
|
|
cpuNodeData;
|
|
|
|
|
|
# cpu_conf.h
|
|
virCPUDefFree;
|
|
virCPUDefParseXML;
|
|
virCPUDefFormat;
|
|
virCPUDefFormatBuf;
|
|
virCPUDefAddFeature;
|
|
|
|
|
|
# datatypes.h
|
|
virGetDomain;
|
|
virGetInterface;
|
|
virGetNetwork;
|
|
virGetStoragePool;
|
|
virGetStorageVol;
|
|
virGetSecret;
|
|
virUnrefStorageVol;
|
|
virGetNodeDevice;
|
|
virUnrefDomain;
|
|
virUnrefConnect;
|
|
virUnrefSecret;
|
|
virGetStream;
|
|
virUnrefStream;
|
|
virGetNWFilter;
|
|
virUnrefNWFilter;
|
|
|
|
|
|
# domain_conf.h
|
|
virDiskNameToBusDeviceIndex;
|
|
virDiskNameToIndex;
|
|
virDomainAssignDef;
|
|
virDomainConfigFile;
|
|
virDomainCpuSetFormat;
|
|
virDomainCpuSetParse;
|
|
virDomainChrDefFree;
|
|
virDomainChrTypeFromString;
|
|
virDomainChrTypeToString;
|
|
virDomainDefFormat;
|
|
virDomainDefFree;
|
|
virDomainDefParseFile;
|
|
virDomainDefParseNode;
|
|
virDomainDefParseString;
|
|
virDomainDeleteConfig;
|
|
virDomainDeviceDefFree;
|
|
virDomainDeviceDefParse;
|
|
virDomainDeviceTypeToString;
|
|
virDomainDiskBusTypeToString;
|
|
virDomainDiskDefFree;
|
|
virDomainDiskDeviceTypeToString;
|
|
virDomainDiskInsert;
|
|
virDomainDiskInsertPreAlloced;
|
|
virDomainDiskDefAssignAddress;
|
|
virDomainControllerInsert;
|
|
virDomainControllerInsertPreAlloced;
|
|
virDomainFindByID;
|
|
virDomainFindByName;
|
|
virDomainFindByUUID;
|
|
virDomainGetRootFilesystem;
|
|
virDomainGraphicsTypeFromString;
|
|
virDomainGraphicsTypeToString;
|
|
virDomainGraphicsDefFree;
|
|
virDomainHostdevDefFree;
|
|
virDomainHostdevModeTypeToString;
|
|
virDomainHostdevSubsysTypeToString;
|
|
virDomainInputDefFree;
|
|
virDomainLifecycleTypeFromString;
|
|
virDomainLifecycleTypeToString;
|
|
virDomainLoadAllConfigs;
|
|
virDomainNetDefFree;
|
|
virDomainNetTypeToString;
|
|
virDomainRemoveInactive;
|
|
virDomainSaveXML;
|
|
virDomainSaveConfig;
|
|
virDomainSaveStatus;
|
|
virDomainSoundDefFree;
|
|
virDomainSoundModelTypeFromString;
|
|
virDomainSoundModelTypeToString;
|
|
virDomainWatchdogModelTypeFromString;
|
|
virDomainWatchdogModelTypeToString;
|
|
virDomainWatchdogActionTypeFromString;
|
|
virDomainWatchdogActionTypeToString;
|
|
virDomainVideoDefFree;
|
|
virDomainVideoTypeToString;
|
|
virDomainVideoTypeFromString;
|
|
virDomainVideoDefaultRAM;
|
|
virDomainVideoDefaultType;
|
|
virDomainVirtTypeToString;
|
|
virDomainFSDefFree;
|
|
virDomainObjLock;
|
|
virDomainObjUnlock;
|
|
virDomainStateTypeToString;
|
|
virDomainStateTypeFromString;
|
|
virDomainObjIsDuplicate;
|
|
virDomainObjListGetInactiveNames;
|
|
virDomainObjListGetActiveIDs;
|
|
virDomainObjListNumOfDomains;
|
|
virDomainObjListInit;
|
|
virDomainObjListDeinit;
|
|
virDomainObjRef;
|
|
virDomainObjUnref;
|
|
virDomainDeviceAddressIsValid;
|
|
virDomainDevicePCIAddressIsValid;
|
|
virDomainDeviceInfoIsSet;
|
|
virDomainControllerTypeToString;
|
|
virDomainControllerDefFree;
|
|
virDomainDeviceAddressTypeToString;
|
|
virDomainDefAddImplicitControllers;
|
|
virDomainDefClearPCIAddresses;
|
|
virDomainDefClearDeviceAliases;
|
|
virDomainDeviceInfoIterate;
|
|
virDomainClockOffsetTypeToString;
|
|
virDomainClockOffsetTypeFromString;
|
|
|
|
|
|
# domain_event.h
|
|
virDomainEventCallbackListAdd;
|
|
virDomainEventCallbackListAddID;
|
|
virDomainEventCallbackListFree;
|
|
virDomainEventCallbackListRemove;
|
|
virDomainEventCallbackListRemoveID;
|
|
virDomainEventCallbackListRemoveConn;
|
|
virDomainEventCallbackListMarkDelete;
|
|
virDomainEventCallbackListMarkDeleteID;
|
|
virDomainEventCallbackListPurgeMarked;
|
|
virDomainEventCallbackListCount;
|
|
virDomainEventCallbackListCountID;
|
|
virDomainEventCallbackListEventID;
|
|
virDomainEventQueueNew;
|
|
virDomainEventQueueFree;
|
|
virDomainEventQueuePop;
|
|
virDomainEventQueuePush;
|
|
virDomainEventNew;
|
|
virDomainEventNewFromDom;
|
|
virDomainEventNewFromObj;
|
|
virDomainEventNewFromDef;
|
|
virDomainEventRebootNewFromDom;
|
|
virDomainEventRebootNewFromObj;
|
|
virDomainEventRTCChangeNewFromDom;
|
|
virDomainEventRTCChangeNewFromObj;
|
|
virDomainEventWatchdogNewFromDom;
|
|
virDomainEventWatchdogNewFromObj;
|
|
virDomainEventIOErrorNewFromDom;
|
|
virDomainEventIOErrorNewFromObj;
|
|
virDomainEventGraphicsNewFromDom;
|
|
virDomainEventGraphicsNewFromObj;
|
|
virDomainEventFree;
|
|
virDomainEventDispatchDefaultFunc;
|
|
virDomainEventDispatch;
|
|
virDomainEventQueueDispatch;
|
|
|
|
|
|
# ebtables.h
|
|
ebtablesAddForwardAllowIn;
|
|
ebtablesAddForwardPolicyReject;
|
|
ebtablesContextNew;
|
|
ebtablesRemoveForwardAllowIn;
|
|
|
|
|
|
# event.h
|
|
virEventAddHandle;
|
|
virEventAddTimeout;
|
|
virEventRemoveHandle;
|
|
virEventRemoveTimeout;
|
|
virEventUpdateHandle;
|
|
virEventUpdateTimeout;
|
|
|
|
|
|
# hash.h
|
|
virHashAddEntry;
|
|
virHashCreate;
|
|
virHashForEach;
|
|
virHashFree;
|
|
virHashLookup;
|
|
virHashRemoveEntry;
|
|
virHashRemoveSet;
|
|
virHashSearch;
|
|
virHashSize;
|
|
|
|
|
|
# interface_conf.h
|
|
virInterfaceDefFormat;
|
|
virInterfaceDefParseFile;
|
|
virInterfaceDefParseString;
|
|
virInterfaceDefParseNode;
|
|
virInterfaceDefFree;
|
|
virInterfaceFindByName;
|
|
virInterfaceFindByMACString;
|
|
virInterfaceAssignDef;
|
|
virInterfaceRemove;
|
|
virInterfaceObjLock;
|
|
virInterfaceObjUnlock;
|
|
virInterfaceObjListFree;
|
|
|
|
|
|
# iptables.h
|
|
iptablesAddForwardAllowCross;
|
|
iptablesAddForwardAllowIn;
|
|
iptablesAddForwardAllowOut;
|
|
iptablesAddForwardAllowRelatedIn;
|
|
iptablesAddForwardMasquerade;
|
|
iptablesAddForwardRejectIn;
|
|
iptablesAddForwardRejectOut;
|
|
iptablesAddTcpInput;
|
|
iptablesAddUdpInput;
|
|
iptablesContextFree;
|
|
iptablesContextNew;
|
|
iptablesRemoveForwardAllowCross;
|
|
iptablesRemoveForwardAllowIn;
|
|
iptablesRemoveForwardAllowOut;
|
|
iptablesRemoveForwardAllowRelatedIn;
|
|
iptablesRemoveForwardMasquerade;
|
|
iptablesRemoveForwardRejectIn;
|
|
iptablesRemoveForwardRejectOut;
|
|
iptablesRemoveTcpInput;
|
|
iptablesRemoveUdpInput;
|
|
|
|
|
|
# libvirt_internal.h
|
|
virDrvSupportsFeature;
|
|
virDomainMigratePrepare;
|
|
virDomainMigratePerform;
|
|
virDomainMigrateFinish;
|
|
virDomainMigratePrepare2;
|
|
virDomainMigrateFinish2;
|
|
virDomainMigratePrepareTunnel;
|
|
virRegisterDriver;
|
|
virRegisterInterfaceDriver;
|
|
virRegisterNetworkDriver;
|
|
virRegisterStorageDriver;
|
|
virRegisterDeviceMonitor;
|
|
virRegisterSecretDriver;
|
|
virRegisterNWFilterDriver;
|
|
|
|
|
|
# json.h
|
|
virJSONValueFree;
|
|
virJSONValueNewString;
|
|
virJSONValueNewStringLen;
|
|
virJSONValueNewNumberInt;
|
|
virJSONValueNewNumberUint;
|
|
virJSONValueNewNumberLong;
|
|
virJSONValueNewNumberUlong;
|
|
virJSONValueNewNumberDouble;
|
|
virJSONValueNewBoolean;
|
|
virJSONValueNewNull;
|
|
virJSONValueNewArray;
|
|
virJSONValueNewObject;
|
|
virJSONValueObjectAppend;
|
|
virJSONValueObjectAppendString;
|
|
virJSONValueObjectAppendNumberInt;
|
|
virJSONValueObjectAppendNumberUint;
|
|
virJSONValueObjectAppendNumberLong;
|
|
virJSONValueObjectAppendNumberUlong;
|
|
virJSONValueObjectAppendNumberDouble;
|
|
virJSONValueObjectAppendBoolean;
|
|
virJSONValueObjectAppendNull;
|
|
virJSONValueArrayAppend;
|
|
virJSONValueObjectHasKey;
|
|
virJSONValueObjectGet;
|
|
virJSONValueArraySize;
|
|
virJSONValueArrayGet;
|
|
virJSONValueGetString;
|
|
virJSONValueGetNumberInt;
|
|
virJSONValueGetNumberUint;
|
|
virJSONValueGetNumberLong;
|
|
virJSONValueGetNumberUlong;
|
|
virJSONValueGetNumberDouble;
|
|
virJSONValueGetBoolean;
|
|
virJSONValueIsNull;
|
|
virJSONValueObjectGetString;
|
|
virJSONValueObjectGetNumberInt;
|
|
virJSONValueObjectGetNumberUint;
|
|
virJSONValueObjectGetNumberLong;
|
|
virJSONValueObjectGetNumberUlong;
|
|
virJSONValueObjectGetNumberDouble;
|
|
virJSONValueObjectGetBoolean;
|
|
virJSONValueObjectIsNull;
|
|
virJSONValueFromString;
|
|
virJSONValueToString;
|
|
|
|
|
|
# logging.h
|
|
virLogMessage;
|
|
virLogGetNbFilters;
|
|
virLogGetNbOutputs;
|
|
virLogGetFilters;
|
|
virLogGetOutputs;
|
|
virLogGetDefaultPriority;
|
|
virLogSetDefaultPriority;
|
|
virLogSetFromEnv;
|
|
virLogDefineFilter;
|
|
virLogDefineOutput;
|
|
virLogParseDefaultPriority;
|
|
virLogParseFilters;
|
|
virLogParseOutputs;
|
|
virLogStartup;
|
|
virLogShutdown;
|
|
virLogReset;
|
|
virLogLock;
|
|
virLogUnlock;
|
|
|
|
|
|
# memory.h
|
|
virAlloc;
|
|
virAllocN;
|
|
virReallocN;
|
|
virFree;
|
|
|
|
|
|
# network.h
|
|
virSocketAddrIsNetmask;
|
|
virSocketCheckNetmask;
|
|
virSocketFormatAddr;
|
|
virSocketGetPort;
|
|
virSocketGetRange;
|
|
virSocketParseAddr;
|
|
virSocketParseIpv4Addr;
|
|
virSocketParseIpv6Addr;
|
|
virSocketSetPort;
|
|
|
|
|
|
# network_conf.h
|
|
virNetworkAssignDef;
|
|
virNetworkConfigFile;
|
|
virNetworkDefFormat;
|
|
virNetworkDefFree;
|
|
virNetworkDefParseFile;
|
|
virNetworkDefParseNode;
|
|
virNetworkDefParseString;
|
|
virNetworkDeleteConfig;
|
|
virNetworkFindByName;
|
|
virNetworkFindByUUID;
|
|
virNetworkLoadAllConfigs;
|
|
virNetworkObjListFree;
|
|
virNetworkDefParseNode;
|
|
virNetworkRemoveInactive;
|
|
virNetworkSaveConfig;
|
|
virNetworkSetBridgeName;
|
|
virNetworkObjLock;
|
|
virNetworkObjUnlock;
|
|
|
|
|
|
# nodeinfo.h
|
|
nodeGetInfo;
|
|
nodeCapsInitNUMA;
|
|
nodeGetCellsFreeMemory;
|
|
nodeGetFreeMemory;
|
|
|
|
|
|
# node_device_conf.h
|
|
virNodeDeviceHasCap;
|
|
virNodeDeviceObjRemove;
|
|
virNodeDevCapTypeToString;
|
|
virNodeDeviceFindByName;
|
|
virNodeDeviceFindBySysfsPath;
|
|
virNodeDeviceObjListFree;
|
|
virNodeDeviceDefFree;
|
|
virNodeDevCapsDefFree;
|
|
virNodeDeviceDefFormat;
|
|
virNodeDeviceDefParseString;
|
|
virNodeDeviceObjLock;
|
|
virNodeDeviceObjUnlock;
|
|
virNodeDeviceAssignDef;
|
|
virNodeDeviceGetWWNs;
|
|
virNodeDeviceGetParentHost;
|
|
|
|
|
|
# pci.h
|
|
pciGetDevice;
|
|
pciFreeDevice;
|
|
pciDettachDevice;
|
|
pciReAttachDevice;
|
|
pciWaitForDeviceCleanup;
|
|
pciResetDevice;
|
|
pciDeviceSetManaged;
|
|
pciDeviceGetManaged;
|
|
pciDeviceListNew;
|
|
pciDeviceListFree;
|
|
pciDeviceListAdd;
|
|
pciDeviceListDel;
|
|
pciDeviceFileIterate;
|
|
pciDeviceListCount;
|
|
pciDeviceListGet;
|
|
pciDeviceListSteal;
|
|
pciDeviceIsAssignable;
|
|
|
|
|
|
# processinfo.h
|
|
virProcessInfoSetAffinity;
|
|
virProcessInfoGetAffinity;
|
|
|
|
|
|
# qparams.h
|
|
qparam_get_query;
|
|
qparam_query_parse;
|
|
free_qparam_set;
|
|
|
|
# secret_conf.h
|
|
virSecretDefFree;
|
|
virSecretDefParseString;
|
|
virSecretDefParseFile;
|
|
virSecretDefFormat;
|
|
|
|
|
|
# security.h
|
|
virSecurityDriverVerify;
|
|
virSecurityDriverStartup;
|
|
virSecurityDriverInit;
|
|
virSecurityDriverSetDOI;
|
|
virSecurityDriverGetDOI;
|
|
virSecurityDriverGetModel;
|
|
|
|
|
|
# storage_conf.h
|
|
virStoragePoolDefFormat;
|
|
virStoragePoolDefFree;
|
|
virStoragePoolDefParseString;
|
|
virStoragePoolDefParseFile;
|
|
virStoragePoolDefParseNode;
|
|
virStoragePoolLoadAllConfigs;
|
|
virStoragePoolObjAssignDef;
|
|
virStoragePoolObjClearVols;
|
|
virStoragePoolObjDeleteDef;
|
|
virStoragePoolObjFindByName;
|
|
virStoragePoolObjFindByUUID;
|
|
virStoragePoolObjListFree;
|
|
virStoragePoolObjRemove;
|
|
virStoragePoolObjSaveDef;
|
|
virStoragePoolSourceFree;
|
|
virStoragePoolDefParseSourceString;
|
|
virStoragePoolSourceListNewSource;
|
|
virStoragePoolSourceListFormat;
|
|
virStorageVolDefFindByKey;
|
|
virStorageVolDefFindByName;
|
|
virStorageVolDefFindByPath;
|
|
virStorageVolDefFormat;
|
|
virStorageVolDefFree;
|
|
virStorageVolDefParseFile;
|
|
virStorageVolDefParseString;
|
|
virStorageVolDefParseNode;
|
|
virStoragePoolFormatDiskTypeToString;
|
|
virStoragePoolFormatFileSystemTypeToString;
|
|
virStoragePoolFormatFileSystemNetTypeToString;
|
|
virStoragePoolTypeFromString;
|
|
virStoragePartedFsTypeTypeToString;
|
|
virStoragePoolObjLock;
|
|
virStoragePoolObjUnlock;
|
|
|
|
# storage_encryption_conf.h
|
|
virStorageEncryptionFree;
|
|
virStorageEncryptionParseNode;
|
|
virStorageEncryptionFormat;
|
|
virStorageGenerateQcowPassphrase;
|
|
|
|
# storage_file.h
|
|
virStorageFileFormatTypeToString;
|
|
virStorageFileFormatTypeFromString;
|
|
virStorageFileGetMetadata;
|
|
virStorageFileGetMetadataFromFD;
|
|
|
|
# threads.h
|
|
virMutexInit;
|
|
virMutexDestroy;
|
|
virMutexLock;
|
|
virMutexUnlock;
|
|
|
|
virCondInit;
|
|
virCondDestroy;
|
|
virCondWait;
|
|
virCondWaitUntil;
|
|
virCondSignal;
|
|
virCondBroadcast;
|
|
|
|
# util.h
|
|
virFileReadAll;
|
|
virFileWriteStr;
|
|
virStrToLong_i;
|
|
virStrToLong_ll;
|
|
virStrToLong_ull;
|
|
virStrToLong_ui;
|
|
virStrToDouble;
|
|
virFileLinkPointsTo;
|
|
virFileResolveLink;
|
|
saferead;
|
|
safewrite;
|
|
safezero;
|
|
virMacAddrCompare;
|
|
virEnumFromString;
|
|
virEnumToString;
|
|
virEventAddHandle;
|
|
virEventRemoveHandle;
|
|
virExec;
|
|
virExecDaemonize;
|
|
virSetCloseExec;
|
|
virSetNonBlock;
|
|
virFormatMacAddr;
|
|
virGetHostnameLocalhost;
|
|
virGetHostname;
|
|
virParseMacAddr;
|
|
virFileDeletePid;
|
|
virFindFileInPath;
|
|
virFileExists;
|
|
virFileHasSuffix;
|
|
virFileLinkPointsTo;
|
|
virFileMakePath;
|
|
virFileAbsPath;
|
|
virFileOpenTty;
|
|
virFileReadLimFD;
|
|
virFilePid;
|
|
virFileReadPid;
|
|
virFileLinkPointsTo;
|
|
virParseNumber;
|
|
virAsprintf;
|
|
virRun;
|
|
virSkipSpaces;
|
|
virKillProcess;
|
|
virGetUserDirectory;
|
|
virGetUserName;
|
|
virGetUserID;
|
|
virGetGroupID;
|
|
virFileFindMountPoint;
|
|
virFileWaitForDevices;
|
|
virFileMatchesNameSuffix;
|
|
virArgvToString;
|
|
|
|
|
|
# usb.h
|
|
usbGetDevice;
|
|
usbFindDevice;
|
|
usbFreeDevice;
|
|
usbDeviceGetBus;
|
|
usbDeviceGetDevno;
|
|
usbDeviceFileIterate;
|
|
|
|
# uuid.h
|
|
virUUIDFormat;
|
|
virUUIDGenerate;
|
|
virUUIDParse;
|
|
|
|
|
|
# virterror_internal.h
|
|
virReportErrorHelper;
|
|
virErrorMsg;
|
|
virRaiseErrorFull;
|
|
virReportSystemErrorFull;
|
|
virReportOOMErrorFull;
|
|
virStrerror;
|
|
virSetError;
|
|
|
|
|
|
# xml.h
|
|
virXPathBoolean;
|
|
virXPathLong;
|
|
virXPathNode;
|
|
virXPathNodeSet;
|
|
virXPathString;
|
|
virXMLPropString;
|
|
virXPathStringLimit;
|
|
virXPathBoolean;
|
|
virXPathNumber;
|
|
virXPathULong;
|
|
virXPathLongLong;
|
|
virXPathULongLong;
|
|
virXPathLongHex;
|
|
virXPathULongHex;
|