1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #ifndef anna_diameter_helpers_nas_defines_hpp
10 #define anna_diameter_helpers_nas_defines_hpp
14 #include <anna/diameter/helpers/defines.hpp>
20 /** Contextualized definitions (avp id) */
21 #define anna_diameter_helpers_define_avp(avpname,code) anna_diameter_helpers_define_avp_in_context(avpname,code,nas)
23 /** Contextualized definitions (avp id and values) */
24 #define anna_diameter_helpers_define_avp_with_values(avpname,code) anna_diameter_helpers_define_avp_with_values_in_context(avpname,code,nas)
40 anna_diameter_helpers_define_avp(Host_IP_Address, 257);
41 anna_diameter_helpers_define_avp_with_values(Redirect_Host_Usage, 261) {
46 REALM_AND_APPLICATION = 3,
52 <AA-Request> ::= < Diameter Header: 265, REQ, PXY >
54 { Auth-Application-Id }
59 [ AF-Application-Identifier ]
60 *[ Media-Component-Description ]
61 [ Service-Info-Status ]
62 [ AF-Charging-Identifier ]
63 [ SIP-Forking-Indication ]
66 *[ Supported-Features ]
67 [ Reservation-Priority ]
69 [ Framed-IPv6-Prefix ]
72 [ Sponsored-Connectivity-Data ]
80 <AA-Answer> ::= < Diameter Header: 265, PXY >
82 { Auth-Application-Id }
86 [ Experimental-Result ]
87 *[ Access-Network-Charging-Identifier ]
88 [ Access-Network-Charging-Address ]
89 [ Acceptable-Service-Info ]
93 *[ Supported-Features ]
96 [ Error-Reporting-Host ]
100 [ Redirect-Host-Usage ]
101 [ Redirect-Max-Cache-Time ]
111 anna_diameter_helpers_define_command_request(AA_Request, 265);
112 anna_diameter_helpers_define_command_answer(AA_Answer, 265);
121 #undef anna_diameter_helpers_define_avp
122 #undef anna_diameter_helpers_define_avp_with_values