|
|
string rtm_msg_type (uint32_t m)
| rtm_msg_type |
[static]
Convert a message type from routing socket message into human-readable form.
Parameters:
m | message type from routing socket message. |
Returns: human-readable message of the message type.
void get_rta_sockaddr (uint32_t amask, const struct sockaddr* sock,
const struct sockaddr* rti_info[])
| get_rta_sockaddr |
[static]
Get pointers to set of socket addresses as defined by a mask.
Parameters:
amask | the mask that defines the set of socket addresses. |
sock | the pointer to the first socket address. |
rti_info | the array with the pointers to store the result. |
int get_sock_masklen (int family, const struct sockaddr* sock)
| get_sock_masklen |
[static]
Get the masklen encoded in sockaddr.
Parameters:
family | the address family. |
sock | the socket address with the encoded masklen. |
Returns: the masklen if successfully decoded, otherwise -1.
bool rtm_get_to_fte_cfg (FteX& fte, const struct rt_msghdr* rtm)
| rtm_get_to_fte_cfg |
[static]
Extract the routing information from RTM message.
Parameters:
fte | the return-by-reference FteX entry to return the result. |
rtm | the RTM routing message. |
Returns: true on success, otherwise false.
Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:10 2003, using kdoc 2.0a54+XORP. |