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

1 2 3 4

  /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) {
  /external/libnl/src/
nl-route-get.c 62 struct rtmsg rmsg = {
  /external/libnl/lib/route/
route.c 47 struct rtmsg rhdr = {
177 .co_hdrsize = sizeof(struct rtmsg),
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...]
  /external/iproute2/ip/
ip_common.h 46 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb)
iprule.c 49 struct rtmsg *r = NLMSG_DATA(n);
242 struct rtmsg r;
249 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));
388 struct rtmsg *r = NLMSG_DATA(n);
  /development/ndk/platforms/android-L/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/iproute2/include/linux/
rtnetlink.h 163 struct rtmsg { struct
293 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
294 #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.6/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.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))
  /external/chromium_org/third_party/usrsctp/usrsctplib/
user_recv_thread.c 200 struct ifaddrmsg *rtmsg;
238 rtmsg = (struct ifaddrmsg *)NLMSG_DATA(nh);
239 rtatp = (struct rtattr *)IFA_RTA(rtmsg);
242 switch (rtmsg->ifa_family) {
246 sa->sin_family = rtmsg->ifa_family;
249 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa);
255 sa6->sin6_family = rtmsg->ifa_family;
258 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa6);
262 SCTPDBG(SCTP_DEBUG_USR, "Address family %d not supported.\n", rtmsg->ifa_family);
    [all...]
  /bionic/libc/kernel/uapi/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-3/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/kernel-headers/original/uapi/linux/
rtnetlink.h 175 struct rtmsg { struct
305 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
306 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
  /prebuilts/ndk/4/platforms/android-3/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/4/platforms/android-4/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/4/platforms/android-5/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/4/platforms/android-5/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/4/platforms/android-8/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/4/platforms/android-8/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/5/platforms/android-3/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/6/platforms/android-3/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/6/platforms/android-3/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))

Completed in 3413 milliseconds

1 2 3 4