Home
last modified time | relevance | path

Searched refs:rtmsg (Results 1 – 14 of 14) sorted by relevance

/external/android-clat/
Dgetroute.c39 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()
Dnetlink_msg.h24 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt);
Dsetroute.c47 struct rtmsg rt; in if_route()
Dnetlink_msg.c102 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) { in nlmsg_alloc_rtmsg()
/external/kernel-headers/original/linux/
Dmroute6.h228 struct rtmsg;
230 struct rtmsg *rtm, int nowait);
Drtnetlink.h163 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/
Drtnetlink.h163 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/
Diprule.c49 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()
Diproute.c129 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 …]
Dip_common.h46 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) in rtm_get_table()
Dipaddrlabel.c196 struct rtmsg *r = NLMSG_DATA(n); in flush_addrlabel()
/external/dhcpcd/
Dif-linux.c233 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/
Droute.c703 struct rtmsg { struct
743 struct rtmsg rtmes; in rt_Set()
868 struct rtmsg rtmes; in rt_Update()
/external/dnsmasq/src/
Dnetlink.c277 struct rtmsg *rtm = NLMSG_DATA(h); in nl_routechange()