Mercurial > hg > freeDiameter
diff 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 |
line wrap: on
line diff
--- a/extensions/app_radgw/rgw.h Wed Sep 15 10:44:46 2010 +0900 +++ b/extensions/app_radgw/rgw.h Wed Sep 15 14:24:45 2010 +0900 @@ -59,6 +59,9 @@ unsigned valid_mac :1; }; + /* For Proxy-State attributes: */ + int ps_first; /* The index of the first Proxy-State attribute in radius.attr_pos. It is always >= radius.attr_used */ + int ps_nb; /* The number of Proxy-State attributes. The real radius.attr_pos size is attr_used + ps_nb */ }; void rgw_msg_free(struct rgw_radius_msg_meta ** msg); int rgw_msg_parse(unsigned char * buf, size_t len, struct rgw_radius_msg_meta ** msg);