Lines Matching defs:net
19 #include <linux/net.h>
27 #include <net/sock.h>
28 #include <net/net_ratelimit.h>
29 #include <net/ipv6.h>
36 * All net warning printk()s should be guarded by this function.
46 * This is outside of net/ipv4/ because various code that uses IP addresses
320 static int inet6_pton(struct net *net, const char *src, u16 port_num,
344 dev = dev_get_by_name(net, scope_id);
361 * @net: net namespace (used for scope handling)
369 int inet_pton_with_scope(struct net *net, __kernel_sa_family_t af,
387 ret = inet6_pton(net, src, port_num, addr);
392 ret = inet6_pton(net, src, port_num, addr);