Page MenuHomeClusterLabs Projects

ipcheck.h
No OneTemporary

ipcheck.h

/*
* Copyright (C) 2016-2018 Red Hat, Inc. All rights reserved.
*
* Author: Christine Caulfield <ccaulfie@redhat.com>
*
* This software licensed under GPL-2.0+, LGPL-2.0+
*/
typedef enum {IPCHECK_TYPE_ADDRESS, IPCHECK_TYPE_MASK, IPCHECK_TYPE_RANGE} ipcheck_type_t;
typedef enum {IPCHECK_ACCEPT, IPCHECK_REJECT} ipcheck_acceptreject_t;
int ipcheck_validate(struct sockaddr_storage *checkip);
void ipcheck_clear(void);
int ipcheck_addip(struct sockaddr_storage *ip1, struct sockaddr_storage *ip2,
ipcheck_type_t type, ipcheck_acceptreject_t acceptreject);

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 12:10 PM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128312
Default Alt Text
ipcheck.h (568 B)

Event Timeline