Changes in include/freeDiameter/libfdcore.h [1220:cec3e9b579e1:1305:84a3c9c4b834] in freeDiameter
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdcore.h
r1220 r1305 3 3 * Author: Sebastien Decugis <sdecugis@freediameter.net> * 4 4 * * 5 * Copyright (c) 201 3, WIDE Project and NICT *5 * Copyright (c) 2016, WIDE Project and NICT * 6 6 * All rights reserved. * 7 7 * * … … 128 128 129 129 uint16_t cnf_port; /* the local port for legacy Diameter (default: 3868) in host byte order */ 130 uint16_t cnf_port_tls; /* the local port for Diameter/TLS (default: 5 658) in host byte order */130 uint16_t cnf_port_tls; /* the local port for Diameter/TLS (default: 5868) in host byte order */ 131 131 uint16_t cnf_port_3436; /* Open an additional server port to listen to old TLS/SCTP clients (RFC3436, freeDiameter versions < 1.2.0) */ 132 132 uint16_t cnf_sctp_str; /* default max number of streams for SCTP associations (def: 30) */ … … 965 965 */ 966 966 967 HOOK_MESSAGE_SENDING, 968 /* Hook called when a message is about to be sent to a peer. The message pointer cannot be modified here, but the content of the message 969 could still be changed (for example add or remove some AVP. This is the last chance. 970 - {msg} points to the message. Some objects may not have been dictionary resolved. If you 971 try to call fd_msg_parse_dict, it will slow down the operation of the instance. 972 - {peer} is the one the message is being sent to. 973 - {other} is NULL. 974 - {permsgdata} points to existing structure if any, or a new structure otherwise. 975 */ 976 967 977 HOOK_MESSAGE_SENT, 968 978 /* Hook called when a message has been sent to a peer. The message might be freed as soon as the hook function returns, … … 993 1003 - {permsgdata} points to existing structure associated with this message (or new structure if no previous hook was registered). 994 1004 */ 995 1005 996 1006 HOOK_MESSAGE_ROUTING_ERROR, 997 1007 /* Hook called when a message being processed by the routing thread meets an error such as no remaining available peer for sending, based on routing callbacks decisions (maybe after retries). … … 1049 1059 */ 1050 1060 1051 #define HOOK_LAST HOOK_PEER_CONNECT_SUCCESS 1061 HOOK_MESSAGE_PARSING_ERROR2, 1062 /* Hook called after an error message has been generated due to a dictionary parsing error. 1063 - {msg} points to the error message that has been generated. 1064 - {peer} is NULL. You can still retrieve the source from the message itself. 1065 - {other} is NULL 1066 - {permsgdata} points to existing structure associated with this message (or new structure if no previous hook was registered). 1067 Use this hook if you need to populate more data in the error being returned, from the error message. 1068 (e.g. some AVP need to be added to replies even if error case. 1069 */ 1070 #define HOOK_LAST HOOK_MESSAGE_PARSING_ERROR2 1052 1071 }; 1053 1072
Note: See TracChangeset
for help on using the changeset viewer.