Searched defs:rtmsg (Results 1 - 5 of 5) sorted by relevance
/external/libnl/lib/route/ |
H A D | neightbl.c | 127 struct rtgenmsg *rtmsg; local 137 rtmsg = nlmsg_data(n); 139 err = nlmsg_parse(n, sizeof(*rtmsg), tb, NDTA_MAX, neightbl_policy); 143 ntbl->nt_family = rtmsg->rtgen_family;
|
H A D | route_obj.c | 913 struct rtmsg *rtm; 928 err = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, route_policy); 1083 struct rtmsg rtmsg = { local 1096 rtmsg.rtm_dst_len = nl_addr_get_prefixlen(route->rt_dst); 1098 rtmsg.rtm_src_len = nl_addr_get_prefixlen(route->rt_src); 1101 if (rtmsg.rtm_scope == RT_SCOPE_NOWHERE) 1102 rtmsg.rtm_scope = rtnl_route_guess_scope(route); 1104 if (nlmsg_append(msg, &rtmsg, sizeof(rtmsg), NLMSG_ALIGNT [all...] |
/external/libnl/include/linux/ |
H A D | rtnetlink.h | 151 struct rtmsg struct 282 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 283 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/external/iproute2/include/linux/ |
H A D | rtnetlink.h | 182 struct rtmsg { struct 321 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 322 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/external/kernel-headers/original/uapi/linux/ |
H A D | rtnetlink.h | 182 struct rtmsg { struct 319 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 320 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
Completed in 148 milliseconds