HomeSort by relevance Sort by last modified time
    Searched refs:rtmsg (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /external/android-clat/
netlink_msg.h 24 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt);
netlink_msg.c 16 * netlink_msg.c - send an ifaddrmsg/ifinfomsg/rtmsg via netlink
98 * allocates a netlink message with a struct rtmsg inside of it. returns NULL on failure
101 * rt - rtmsg to copy into the new netlink message
103 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) {
  /kernel/tests/net/test/
iproute.py 99 RTMsg = cstruct.Struct(
100 "RTMsg", "=BBBBBBBBI",
327 # Create a struct rtmsg specifying the table and the given match attributes.
329 rtmsg = RTMsg((family, 0, 0, 0, RT_TABLE_UNSPEC,
331 rtmsg += self._NlAttrU32(FRA_PRIORITY, priority)
333 rtmsg += match_nlattr
335 rtmsg += self._NlAttrU32(FRA_TABLE, table)
337 # Create a netlink request containing the rtmsg.
339 self._SendNlRequest(command, rtmsg)
    [all...]
  /system/netd/server/
NetlinkCommands.cpp 183 // struct fib_rule_hdr and struct rtmsg are functionally identical.
184 rtmsg rule = {
205 rtmsg *msg = reinterpret_cast<rtmsg *>(NLMSG_DATA(nlh));
RouteControllerTest.cpp 49 rtmsg rtm = { .rtm_family = static_cast<uint8_t>(family) };
  /external/libnl/src/
nl-route-get.c 62 struct rtmsg rmsg = {
  /external/libnl/lib/route/
route.c 47 struct rtmsg rhdr = {
182 .co_hdrsize = sizeof(struct rtmsg),
route_obj.c 1009 struct rtmsg *rtm;
1024 err = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, route_policy);
1184 struct rtmsg rtmsg = { local
1197 rtmsg.rtm_dst_len = nl_addr_get_prefixlen(route->rt_dst);
1199 rtmsg.rtm_src_len = nl_addr_get_prefixlen(route->rt_src);
1202 rtmsg.rtm_scope = rtnl_route_guess_scope(route);
1207 rtmsg.rtm_flags |= nh->rtnh_flags;
1210 if (nlmsg_append(msg, &rtmsg, sizeof(rtmsg), NLMSG_ALIGNTO) < 0
    [all...]
  /external/libnl/include/linux-private/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/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))
  /external/iproute2/ip/
ip_common.h 59 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb)
  /bionic/libc/kernel/uapi/linux/
rtnetlink.h 182 struct rtmsg { struct
299 #define RTM_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
300 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct rtmsg))
  /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))
  /development/ndk/platforms/android-9/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /external/iproute2/include/linux/
rtnetlink.h 182 struct rtmsg { struct
322 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
323 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /external/kernel-headers/original/uapi/linux/
rtnetlink.h 187 struct rtmsg { struct
327 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
328 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/r10/platforms/android-14/arch-mips/usr/include/linux/
rtnetlink.h 127 struct rtmsg struct
224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
225 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))

Completed in 2198 milliseconds

1 2 3 4 5