|
|
string nlm_msg_type (uint32_t m)
| nlm_msg_type |
[static]
Convert a message type from netlink socket message into human-readable form.
Parameters:
m | message type from netlink socket message. |
Returns: human-readable message of the message type.
void get_rtattr (const struct rtattr* rtattr, int rta_len,
const struct rtattr* rta_array[],
size_t rta_array_n)
| get_rtattr |
[static]
Get pointers to set of netlink rtattr entries.
Parameters:
rtattr | the pointer to the first rtattr entry. |
rta_len | the length of all rtattr entries. |
rta_array | the array with the pointers to store the result. |
rta_array_n | the maximum number of entries to store in the array. |
bool nlm_get_to_fte_cfg (FteX& fte, const struct rtmsg* rtmsg,
int rta_len)
| nlm_get_to_fte_cfg |
[static]
Extract the routing information from netlink message.
Parameters:
fte | the return-by-reference FteX entry to return the result. |
nlm | the netlink message. |
Returns: true on success, otherwise false.
int check_netlink_request (NetlinkSocketReader& ns_reader,
NetlinkSocket& ns,
uint32_t seqno,
string& reason)
| check_netlink_request |
[static]
Check that a previous netlink request has succeeded.
Parameters:
ns_reader | the NetlinkSocketReader to use for reading data. |
ns | the NetlinkSocket to use for reading data. |
seqno | the sequence nomer of the netlink request to check for. |
reason | the human-readable reason for any failure. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:57 2003, using kdoc 2.0a54+XORP. |