Lines Matching defs:net
52 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
76 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
112 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
132 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
152 int fib_unmerge(struct net *net) in fib_unmerge()
184 void fib_flush(struct net *net) in fib_flush()
206 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
237 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
243 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
249 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
261 unsigned int inet_addr_type_dev_table(struct net *net, in inet_addr_type_dev_table()
277 struct net *net; in fib_compute_spec_dst() local
348 struct net *net = dev_net(dev); in __fib_validate_source() local
426 struct net *net = dev_net(dev); in fib_validate_source() local
471 static int rtentry_to_fib_config(struct net *net, int cmd, struct rtentry *rt, in rtentry_to_fib_config()
616 int ip_rt_ioctl(struct net *net, unsigned int cmd, struct rtentry *rt) in ip_rt_ioctl()
724 static int rtm_to_fib_config(struct net *net, struct sk_buff *skb, in rtm_to_fib_config()
852 struct net *net = sock_net(skb->sk); in inet_rtm_delroute() local
882 struct net *net = sock_net(skb->sk); in inet_rtm_newroute() local
904 int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in ip_valid_fib_dump_req()
983 struct net *net = sock_net(skb->sk); in inet_dump_fib() local
1066 struct net *net = dev_net(ifa->ifa_dev->dev); in fib_magic() local
1333 static void nl_fib_lookup(struct net *net, struct fib_result_nl *frn) in nl_fib_lookup()
1370 struct net *net; in nl_fib_input() local
1396 static int __net_init nl_fib_lookup_init(struct net *net) in nl_fib_lookup_init()
1410 static void nl_fib_lookup_exit(struct net *net) in nl_fib_lookup_exit()
1430 struct net *net = dev_net(dev); in fib_inetaddr_event() local
1463 struct net *net = dev_net(dev); in fib_netdev_event() local
1524 static int __net_init ip_fib_net_init(struct net *net) in ip_fib_net_init()
1560 static void ip_fib_net_exit(struct net *net) in ip_fib_net_exit()
1594 static int __net_init fib_net_init(struct net *net) in fib_net_init()
1622 static void __net_exit fib_net_exit(struct net *net) in fib_net_exit()
1630 struct net *net; in fib_net_exit_batch() local