/external/libnl/lib/route/ |
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;
|
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_ALIGNTO) < 0 [all...] |
/development/ndk/platforms/android-21/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/external/libnl/include/linux/ |
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))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
rtnetlink.h | 157 struct rtmsg struct 289 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 290 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
rtnetlink.h | 163 struct rtmsg { struct 291 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 292 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-23/arch-mips64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-23/arch-x86/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-23/arch-x86_64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-24/arch-arm/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-24/arch-arm64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-24/arch-mips/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-24/arch-mips64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-24/arch-x86/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/prebuilts/ndk/current/platforms/android-24/arch-x86_64/usr/include/linux/ |
rtnetlink.h | 170 struct rtmsg { struct 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 275 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
|
/bionic/libc/kernel/uapi/linux/ |
rtnetlink.h | 177 struct rtmsg { struct 290 #define RTM_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 291 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct rtmsg))
|