Deleted Added
full compact
radlib_private.h (197086) radlib_private.h (228730)
1/*-
2 * Copyright 1998 Juniper Networks, Inc.
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 1998 Juniper Networks, Inc.
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/lib/libradius/radlib_private.h 197086 2009-09-11 11:42:56Z mav $
26 * $FreeBSD: head/lib/libradius/radlib_private.h 228730 2011-12-20 11:13:44Z melifaro $
27 */
28
29#ifndef RADLIB_PRIVATE_H
30#define RADLIB_PRIVATE_H
31
32#include <sys/types.h>
33#include <netinet/in.h>
34

--- 52 unchanged lines hidden (view full) ---

87 char eap_msg; /* Are we an EAP Proxy? */
88 unsigned char in[MSGSIZE]; /* Response received */
89 int in_len; /* Length of response */
90 int in_pos; /* Current position scanning attrs */
91 int total_tries; /* How many requests we'll send */
92 int try; /* How many requests we've sent */
93 int srv; /* Server number we did last */
94 int type; /* Handle type */
27 */
28
29#ifndef RADLIB_PRIVATE_H
30#define RADLIB_PRIVATE_H
31
32#include <sys/types.h>
33#include <netinet/in.h>
34

--- 52 unchanged lines hidden (view full) ---

87 char eap_msg; /* Are we an EAP Proxy? */
88 unsigned char in[MSGSIZE]; /* Response received */
89 int in_len; /* Length of response */
90 int in_pos; /* Current position scanning attrs */
91 int total_tries; /* How many requests we'll send */
92 int try; /* How many requests we've sent */
93 int srv; /* Server number we did last */
94 int type; /* Handle type */
95 in_addr_t bindto; /* Bind to address */
95};
96
97struct vendor_attribute {
98 u_int32_t vendor_value;
99 u_char attrib_type;
100 u_char attrib_len;
101 u_char attrib_data[1];
102};
103
104#endif
96};
97
98struct vendor_attribute {
99 u_int32_t vendor_value;
100 u_char attrib_type;
101 u_char attrib_len;
102 u_char attrib_data[1];
103};
104
105#endif