123 |
} CLIENT; |
} CLIENT; |
124 |
|
|
125 |
typedef struct proxy_state { |
typedef struct proxy_state { |
126 |
UINT4 ipaddr; |
UINT4 ref_ip; /* Radius server IP */ |
127 |
UINT4 id; |
UINT4 proxy_id; /* Proxy ID assigned by the server */ |
128 |
UINT4 proxy_id; |
UINT4 remote_ip; /* Remote radius server IP */ |
129 |
UINT4 rem_ipaddr; |
UINT4 client_ip; /* IP of the requesting client */ |
130 |
|
UINT4 id; /* Radius request ID */ |
131 |
} PROXY_STATE; |
} PROXY_STATE; |
132 |
|
|
133 |
typedef struct { |
typedef struct { |
369 |
|
|
370 |
|
|
371 |
/* exec.c */ |
/* exec.c */ |
372 |
int radius_exec_program(char *, RADIUS_REQ *, VALUE_PAIR **, int, char **); |
int radius_exec_program(char *, RADIUS_REQ *, VALUE_PAIR **, int); |
373 |
void filter_cleanup(pid_t pid, int status); |
void filter_cleanup(pid_t pid, int status); |
374 |
int filter_auth(char *name, RADIUS_REQ *req, VALUE_PAIR **reply_pairs); |
int filter_auth(char *name, RADIUS_REQ *req, VALUE_PAIR **reply_pairs); |
375 |
int filter_acct(char *name, RADIUS_REQ *req); |
int filter_acct(char *name, RADIUS_REQ *req); |