Lines Matching defs:net
30 #include <net/sock.h>
31 #include <net/ip.h>
32 #include <net/tcp.h>
33 #include <net/udp.h>
34 #include <net/icmp.h>
38 #include <net/checksum.h>
40 #include <net/route.h>
41 #include <net/xfrm.h>
65 static int ip_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb)
69 __IP_INC_STATS(net, IPSTATS_MIB_OUTFORWDATAGRAMS);
82 return dst_output(net, sk, skb);
91 struct net *net;
113 net = dev_net(skb->dev);
136 IP_INC_STATS(net, IPSTATS_MIB_FRAGFAILS);
159 if (READ_ONCE(net->ipv4.sysctl_ip_fwd_update_priority))
163 net, NULL, skb, skb->dev, rt->dst.dev,
175 __IP_INC_STATS(net, IPSTATS_MIB_INHDRERRORS);