mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-12 08:36:05 -04:00
34 lines
535 B
C
34 lines
535 B
C
/* $NetBSD: printdstlistpolicy.c,v 1.1.1.2 2012/07/22 13:44:40 darrenr Exp $ */
|
|
|
|
/*
|
|
* Copyright (C) 2012 by Darren Reed.
|
|
*
|
|
* See the IPFILTER.LICENCE file for details on licencing.
|
|
*/
|
|
|
|
#include "ipf.h"
|
|
|
|
|
|
void
|
|
printdstlistpolicy(policy)
|
|
ippool_policy_t policy;
|
|
{
|
|
switch (policy)
|
|
{
|
|
case IPLDP_NONE :
|
|
PRINTF("none");
|
|
break;
|
|
case IPLDP_ROUNDROBIN :
|
|
PRINTF("round-robin");
|
|
break;
|
|
case IPLDP_CONNECTION :
|
|
PRINTF("weighting connection");
|
|
break;
|
|
case IPLDP_RANDOM :
|
|
PRINTF("random");
|
|
break;
|
|
default :
|
|
break;
|
|
}
|
|
}
|