radius.h (98132) | radius.h (98243) |
---|---|
1/* 2 * Copyright 1999 Internet Business Solutions Ltd., Switzerland 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/* 2 * Copyright 1999 Internet Business Solutions Ltd., Switzerland 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/usr.sbin/ppp/radius.h 98132 2002-06-12 00:33:17Z brian $ | 26 * $FreeBSD: head/usr.sbin/ppp/radius.h 98243 2002-06-15 08:03:30Z brian $ |
27 */ 28 29#define MPPE_POLICY_ALLOWED 1 30#define MPPE_POLICY_REQUIRED 2 31 32#define MPPE_TYPE_40BIT 2 33#define MPPE_TYPE_128BIT 4 34 --- 46 unchanged lines hidden (view full) --- 81 82extern void radius_Init(struct radius *); 83extern void radius_Destroy(struct radius *); 84 85extern void radius_Show(struct radius *, struct prompt *); 86extern int radius_Authenticate(struct radius *, struct authinfo *, 87 const char *, const char *, int, 88 const char *, int, const char *, int); | 27 */ 28 29#define MPPE_POLICY_ALLOWED 1 30#define MPPE_POLICY_REQUIRED 2 31 32#define MPPE_TYPE_40BIT 2 33#define MPPE_TYPE_128BIT 4 34 --- 46 unchanged lines hidden (view full) --- 81 82extern void radius_Init(struct radius *); 83extern void radius_Destroy(struct radius *); 84 85extern void radius_Show(struct radius *, struct prompt *); 86extern int radius_Authenticate(struct radius *, struct authinfo *, 87 const char *, const char *, int, 88 const char *, int, const char *, int); |
89extern void radius_Account(struct radius *, struct radacct *, | 89extern void radius_Account(struct radius *, struct radacct *, |
90 struct datalink *, int, struct in_addr *, 91 struct in_addr *, struct pppThroughput *); 92 93/* An (int) parameter to radius_Account, from radlib.h */ 94#if !defined(RAD_START) 95#define RAD_START 1 96#define RAD_STOP 2 97#endif 98 99/* Get address from NAS pool */ 100#define RADIUS_INADDR_POOL htonl(0xfffffffe) /* 255.255.255.254 */ | 90 struct datalink *, int, struct in_addr *, 91 struct in_addr *, struct pppThroughput *); 92 93/* An (int) parameter to radius_Account, from radlib.h */ 94#if !defined(RAD_START) 95#define RAD_START 1 96#define RAD_STOP 2 97#endif 98 99/* Get address from NAS pool */ 100#define RADIUS_INADDR_POOL htonl(0xfffffffe) /* 255.255.255.254 */ |