Lines Matching refs:net_if_router

60 static struct net_if_router routers[CONFIG_NET_MAX_ROUTERS];
711 static struct net_if_router *iface_router_lookup(struct net_if *iface, in iface_router_lookup()
714 struct net_if_router *router = NULL; in iface_router_lookup()
743 static void iface_router_notify_deletion(struct net_if_router *router, in iface_router_notify_deletion()
769 static inline int32_t iface_router_ends(const struct net_if_router *router, in iface_router_ends()
782 struct net_if_router *router, *next; in iface_router_update_timer()
811 struct net_if_router *router, *next; in iface_router_expired()
841 static struct net_if_router *iface_router_add(struct net_if *iface, in iface_router_add()
846 struct net_if_router *router = NULL; in iface_router_add()
914 static bool iface_router_rm(struct net_if_router *router) in iface_router_rm()
940 void net_if_router_rm(struct net_if_router *router) in net_if_router_rm()
951 static struct net_if_router *iface_router_find_default(struct net_if *iface, in iface_router_find_default()
954 struct net_if_router *router = NULL; in iface_router_find_default()
2895 struct net_if_router *net_if_ipv6_router_lookup(struct net_if *iface, in net_if_ipv6_router_lookup()
2901 struct net_if_router *net_if_ipv6_router_find_default(struct net_if *iface, in net_if_ipv6_router_find_default()
2907 void net_if_ipv6_router_update_lifetime(struct net_if_router *router, in net_if_ipv6_router_update_lifetime()
2920 struct net_if_router *net_if_ipv6_router_add(struct net_if *iface, in net_if_ipv6_router_add()
2927 bool net_if_ipv6_router_rm(struct net_if_router *router) in net_if_ipv6_router_rm()
4771 struct net_if_router *net_if_ipv4_router_lookup(struct net_if *iface, in net_if_ipv4_router_lookup()
4777 struct net_if_router *net_if_ipv4_router_find_default(struct net_if *iface, in net_if_ipv4_router_find_default()
4783 struct net_if_router *net_if_ipv4_router_add(struct net_if *iface, in net_if_ipv4_router_add()
4791 bool net_if_ipv4_router_rm(struct net_if_router *router) in net_if_ipv4_router_rm()