Lines Matching refs:net

111 void rt_cache_flush(struct net *net);
113 struct rtable *__ip_route_output_key(struct net *, struct flowi4 *flp);
114 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
116 struct dst_entry *ipv4_blackhole_route(struct net *net,
119 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument
121 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key()
124 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output() argument
133 return ip_route_output_key(net, &fl4); in ip_route_output()
136 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports() argument
148 return ip_route_output_flow(net, fl4, sk); in ip_route_output_ports()
151 static inline struct rtable *ip_route_output_gre(struct net *net, struct flowi4 *fl4, in ip_route_output_gre() argument
162 return ip_route_output_key(net, fl4); in ip_route_output_gre()
182 void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, int oif,
185 void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark,
190 unsigned int inet_addr_type(struct net *net, __be32 addr);
191 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev,
194 int ip_rt_ioctl(struct net *, unsigned int cmd, void __user *arg);
263 struct net *net = sock_net(sk); in ip_route_connect() local
270 rt = __ip_route_output_key(net, fl4); in ip_route_connect()
277 return ip_route_output_flow(net, fl4, sk); in ip_route_connect()