Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
- Mnemonic rmr_get_srcip.xfm
- Abstract The manual page for the rmr_get_srcip function.
- Author E. Scott Daniels
- Date 11 June 2019
+ Mnemonic rmr_get_srcip.xfm
+ Abstract The manual page for the rmr_get_srcip function.
+ Author E. Scott Daniels
+ Date 11 June 2019
The &cw(rmr_get_srcip) function will copy the &ital(source IP address) from the message to a buffer
(dest) supplied by the user.
In an RMr message, the source IP address is the sender's information that is used for return to sender
The &cw(rmr_get_srcip) function will copy the &ital(source IP address) from the message to a buffer
(dest) supplied by the user.
In an RMr message, the source IP address is the sender's information that is used for return to sender
The address is maintained as IP:port where &ital(IP) could be either an IPv6 or IPv4 address depending
on what was provided by the sending application.
.sp
The maximum size allowed by RMr is 64 bytes (including the nil string terminator), so the user
The address is maintained as IP:port where &ital(IP) could be either an IPv6 or IPv4 address depending
on what was provided by the sending application.
.sp
The maximum size allowed by RMr is 64 bytes (including the nil string terminator), so the user
the RMr constant RMR_MAX_SRC to ensure that the buffer supplied is large enough, and to protect
against future RMr enhancements which might increase the address buffer size requirement.
the RMr constant RMR_MAX_SRC to ensure that the buffer supplied is large enough, and to protect
against future RMr enhancements which might increase the address buffer size requirement.