Lines Matching defs:sock
56 struct sock *sk;
67 struct sock *sk0;
68 struct sock *sk1u;
239 const struct sock *sk,
622 static void __gtp_encap_destroy(struct sock *sk)
642 static void gtp_encap_destroy(struct sock *sk)
649 static void gtp_encap_disable_sock(struct sock *sk)
674 static int gtp_encap_recv(struct sock *sk, struct sk_buff *skb)
776 struct sock *sk;
800 struct sock *sk, struct iphdr *iph,
991 static struct sock *gtp_create_sock(int type, struct gtp_dev *gtp)
999 struct socket *sock;
1009 err = udp_sock_create(net, &udp_conf, &sock);
1018 setup_udp_tunnel_sock(net, sock, &tuncfg);
1020 return sock->sk;
1025 struct sock *sk1u = NULL;
1026 struct sock *sk0 = NULL;
1206 static struct sock *gtp_encap_enable_socket(int fd, int type,
1210 struct socket *sock;
1211 struct sock *sk;
1216 sock = sockfd_lookup(fd, &err);
1217 if (!sock) {
1222 sk = sock->sk;
1244 setup_udp_tunnel_sock(sock_net(sock->sk), sock, &tuncfg);
1247 release_sock(sock->sk);
1249 sockfd_put(sock);
1255 struct sock *sk1u = NULL;
1256 struct sock *sk0 = NULL;
1338 static struct pdp_ctx *gtp_pdp_add(struct gtp_dev *gtp, struct sock *sk,
1453 struct sock *sk;
1735 struct sock *sk;