Searched refs:rtmsg (Results 1 – 14 of 14) sorted by relevance
/external/android-clat/ |
D | getroute.c | 39 struct rtmsg *rt_p; in get_default_route_cb() 51 rt_p = (struct rtmsg *)nlmsg_data(nlmsg_hdr(msg)); in get_default_route_cb() 106 struct rtmsg msg; in get_default_route()
|
D | netlink_msg.h | 24 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt);
|
D | setroute.c | 47 struct rtmsg rt; in if_route()
|
D | netlink_msg.c | 102 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) { in nlmsg_alloc_rtmsg()
|
/external/kernel-headers/original/linux/ |
D | mroute6.h | 228 struct rtmsg; 230 struct rtmsg *rtm, int nowait);
|
D | 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/include/linux/ |
D | 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/ |
D | iprule.c | 49 struct rtmsg *r = NLMSG_DATA(n); in print_rule() 229 struct rtmsg r; in iprule_modify() 236 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in iprule_modify() 368 struct rtmsg *r = NLMSG_DATA(n); in flush_rule()
|
D | iproute.c | 129 struct rtmsg *r = NLMSG_DATA(n); in filter_nlmsg() 266 int calc_host_len(struct rtmsg *r) in calc_host_len() 283 struct rtmsg *r = NLMSG_DATA(n); in print_route() 667 int parse_nexthops(struct nlmsghdr *n, struct rtmsg *r, int argc, char **argv) in parse_nexthops() 703 struct rtmsg r; in iproute_modify() 719 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in iproute_modify() 1024 struct rtmsg rtm; in rtnl_rtcache_request() 1071 struct rtmsg *r = NLMSG_DATA(n); in save_route() 1348 struct rtmsg r; in iproute_get() 1362 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in iproute_get() [all …]
|
D | ip_common.h | 46 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) in rtm_get_table()
|
D | ipaddrlabel.c | 196 struct rtmsg *r = NLMSG_DATA(n); in flush_addrlabel()
|
/external/dhcpcd/ |
D | if-linux.c | 233 struct rtmsg *rtm; in link_route() 488 struct rtmsg rt; 543 nlm->hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in if_route()
|
/external/libppp/src/ |
D | route.c | 703 struct rtmsg { struct 743 struct rtmsg rtmes; in rt_Set() 868 struct rtmsg rtmes; in rt_Update()
|
/external/dnsmasq/src/ |
D | netlink.c | 277 struct rtmsg *rtm = NLMSG_DATA(h); in nl_routechange()
|