Blame include/ipmitool/ipmi_lanp6.h

Packit Service ed0f68
/*
Packit Service ed0f68
 * Copyright (c) 2016 Pentair Technical Products. All right reserved
Packit Service ed0f68
 *
Packit Service ed0f68
 * Redistribution and use in source and binary forms, with or without
Packit Service ed0f68
 * modification, are permitted provided that the following conditions
Packit Service ed0f68
 * are met:
Packit Service ed0f68
 *
Packit Service ed0f68
 * Redistribution of source code must retain the above copyright
Packit Service ed0f68
 * notice, this list of conditions and the following disclaimer.
Packit Service ed0f68
 *
Packit Service ed0f68
 * Redistribution in binary form must reproduce the above copyright
Packit Service ed0f68
 * notice, this list of conditions and the following disclaimer in the
Packit Service ed0f68
 * documentation and/or other materials provided with the distribution.
Packit Service ed0f68
 *
Packit Service ed0f68
 * Neither the name of Pentair Technical Products or the names of
Packit Service ed0f68
 * contributors may be used to endorse or promote products derived
Packit Service ed0f68
 * from this software without specific prior written permission.
Packit Service ed0f68
 *
Packit Service ed0f68
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Packit Service ed0f68
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Packit Service ed0f68
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
Packit Service ed0f68
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
Packit Service ed0f68
 * PENTAIR TECHNICAL SOLUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT,
Packit Service ed0f68
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
Packit Service ed0f68
 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
Packit Service ed0f68
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Packit Service ed0f68
 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
Packit Service ed0f68
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
Packit Service ed0f68
 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Packit Service ed0f68
 * POSSIBILITY OF SUCH DAMAGE.
Packit Service ed0f68
 */
Packit Service ed0f68
#ifndef IPMI_LANP6_H
Packit Service ed0f68
#define IPMI_LANP6_H
Packit Service ed0f68
Packit Service ed0f68
#include <ipmitool/ipmi_intf.h>
Packit Service ed0f68
Packit Service ed0f68
/*
Packit Service ed0f68
 * LAN configuration parameter.
Packit Service ed0f68
 */
Packit Service ed0f68
struct ipmi_lanp {
Packit Service ed0f68
	int selector;
Packit Service ed0f68
	const char *name;
Packit Service ed0f68
	int size;
Packit Service ed0f68
};
Packit Service ed0f68
Packit Service ed0f68
/*
Packit Service ed0f68
 * Private data for LAN configuration.
Packit Service ed0f68
 */
Packit Service ed0f68
struct ipmi_lanp_priv {
Packit Service ed0f68
	struct ipmi_intf *intf;
Packit Service ed0f68
	int channel;
Packit Service ed0f68
};
Packit Service ed0f68
Packit Service ed0f68
#endif /* IPMI_LANP6_H */