17 Oct
2009
17 Oct
'09
7:15 a.m.
Stefan A. wrote:
Is there a way to get Information out of the 3GPP-GPRS-Negotiated-QoS-profile?
Perl.
The Attribute is defined in the dictionary as: ATTRIBUTE 3GPP-GPRS-Negotiated-QoS-profile 5 string
The Value of a String might be: 99-0B811F7396878774010000
To get the encapsulated "Traffic Class", I will need the most left 3 bits of the first '7' of the string. It would be 7 --> 0111 --> 011 --> 3
Ugh. Why do people design such complicated protocols?
Is there a function available, to do this?
No. FreeRADIUS doesn't support bit-packed structures. There isn't a lot of reason to do that, because Perl does it much better. Alan DeKok.