24 #define RTPROT_NETSUKUKU 15
40 #define ROUTE_CMD_VARS int type, int scope, inet_prefix *src, inet_prefix *to, \
41 struct nexthop *nhops, char *dev, u_char table
char buf[1024]
Definition: krnl_route.h:36
int route_rp_filter(int family, char *dev, int enable)
Definition: krnl_route.c:538
int route_flush_cache(int family)
Definition: krnl_route.c:460
u_char hops
Definition: krnl_route.h:30
#define ROUTE_CMD_VARS
Definition: krnl_route.h:40
int route_add(int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
Definition: krnl_route.c:73
struct rtmsg rt
Definition: krnl_route.h:35
inet_prefix gw
Definition: krnl_route.h:28
int route_append(int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
Definition: krnl_route.c:97
int route_rp_filter_all_dev(int family, interface *ifs, int ifs_n, int enable)
Definition: krnl_route.c:594
char * dev
Definition: krnl_route.h:29
int route_del(int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
Definition: krnl_route.c:79
Definition: krnl_route.h:33
struct nlmsghdr nh
Definition: krnl_route.h:34
int route_change(int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
Definition: krnl_route.c:91
int route_ip_forward(int family, int enable)
Definition: krnl_route.c:493
int route_replace(int type, int scope, inet_prefix *src, inet_prefix *to, struct nexthop *nhops, char *dev, u_char table)
Definition: krnl_route.c:85
int family
Definition: if.c:34
Definition: krnl_route.h:26
int route_get_exact_prefix_dst(inet_prefix, inet_prefix *, char *)
Definition: krnl_route.c:421