• Home
  • Raw
  • Download

Lines Matching refs:net

117 extern void		rt_cache_flush(struct net *net, int how);
118 extern void rt_cache_flush_batch(struct net *net);
119 extern struct rtable *__ip_route_output_key(struct net *, struct flowi4 *flp);
120 extern struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
122 extern struct dst_entry *ipv4_blackhole_route(struct net *net, struct dst_entry *dst_orig);
124 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument
126 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key()
129 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output() argument
138 return ip_route_output_key(net, &fl4); in ip_route_output()
141 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports() argument
153 return ip_route_output_flow(net, fl4, sk); in ip_route_output_ports()
156 static inline struct rtable *ip_route_output_gre(struct net *net, struct flowi4 *fl4, in ip_route_output_gre() argument
167 return ip_route_output_key(net, fl4); in ip_route_output_gre()
185 extern unsigned short ip_rt_frag_needed(struct net *net, const struct iphdr *iph,
189 extern unsigned inet_addr_type(struct net *net, __be32 addr);
190 extern unsigned inet_dev_addr_type(struct net *net, const struct net_device *dev, __be32 addr);
192 extern int ip_rt_ioctl(struct net *, unsigned int cmd, void __user *arg);
264 struct net *net = sock_net(sk); in ip_route_connect() local
271 rt = __ip_route_output_key(net, fl4); in ip_route_connect()
278 return ip_route_output_flow(net, fl4, sk); in ip_route_connect()