Lines Matching defs:net
13 * Corey Minyard <wf-rch!minyard@relay.EU.net>
66 #include <net/dst.h>
67 #include <net/checksum.h>
68 #include <net/tcp_states.h>
70 #include <net/l3mdev.h>
115 struct net;
135 * @skc_net_refcnt: socket is using net ref counting
1433 void sock_prot_inuse_add(struct net *net, struct proto *prot, int inc);
1434 int sock_prot_inuse_get(struct net *net, struct proto *proto);
1435 int sock_inuse_get(struct net *net);
1437 static inline void sock_prot_inuse_add(struct net *net, struct proto *prot,
1718 struct sock *sk_alloc(struct net *net, int family, gfp_t priority,
1974 static inline kuid_t sock_net_uid(const struct net *net, const struct sock *sk)
1976 return sk ? sk->sk_uid : make_kuid(net->user_ns, 0);
2385 * need sizeof(sk_buff) + MTU + padding, unless net driver perform copybreak.
2642 struct net *sock_net(const struct sock *sk)
2648 void sock_net_set(struct sock *sk, struct net *net)
2650 write_pnet(&sk->sk_net, net);