Lines Matching defs:net
24 #include <net/ip.h>
25 #include <net/xfrm.h>
26 #include <net/ipcomp.h>
36 #include <net/ip6_route.h>
37 #include <net/icmp.h>
38 #include <net/ipv6.h>
39 #include <net/protocol.h>
47 struct net *net = dev_net(skb->dev);
59 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
65 ip6_redirect(skb, net, skb->dev->ifindex, 0,
66 sock_net_uid(net, NULL));
68 ip6_update_pmtu(skb, net, info, 0, 0, sock_net_uid(net, NULL));
76 struct net *net = xs_net(x);
79 t = xfrm_state_alloc(net);
84 t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr);
113 struct net *net = xs_net(x);
119 spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr);
121 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr,