comparison extensions/app_radgw/rgw.h @ 550:4c935aecee6c

Hide and automate the Proxy-State attributes management in RADIUS gateway
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 15 Sep 2010 14:24:45 +0900
parents 345537783a90
children 153cd2600fcf
comparison
equal deleted inserted replaced
549:1b8809c7d7cc 550:4c935aecee6c
57 57
58 /* The message has a valid Message-Authenticator attribute */ 58 /* The message has a valid Message-Authenticator attribute */
59 unsigned valid_mac :1; 59 unsigned valid_mac :1;
60 }; 60 };
61 61
62 /* For Proxy-State attributes: */
63 int ps_first; /* The index of the first Proxy-State attribute in radius.attr_pos. It is always >= radius.attr_used */
64 int ps_nb; /* The number of Proxy-State attributes. The real radius.attr_pos size is attr_used + ps_nb */
62 }; 65 };
63 void rgw_msg_free(struct rgw_radius_msg_meta ** msg); 66 void rgw_msg_free(struct rgw_radius_msg_meta ** msg);
64 int rgw_msg_parse(unsigned char * buf, size_t len, struct rgw_radius_msg_meta ** msg); 67 int rgw_msg_parse(unsigned char * buf, size_t len, struct rgw_radius_msg_meta ** msg);
65 void rgw_msg_dump(struct rgw_radius_msg_meta * msg); 68 void rgw_msg_dump(struct rgw_radius_msg_meta * msg);
66 69
"Welcome to our mercurial repository"