Lines Matching defs:sock
23 struct socket *sock;
49 static inline struct fou *fou_from_sock(struct sock *sk)
71 static int fou_udp_recv(struct sock *sk, struct sk_buff *skb)
118 static int gue_udp_recv(struct sock *sk, struct sk_buff *skb)
229 static struct sk_buff *fou_gro_receive(struct sock *sk,
263 static int fou_gro_complete(struct sock *sk, struct sk_buff *skb,
310 static struct sk_buff *gue_gro_receive(struct sock *sk,
458 static int gue_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff)
505 struct sock *sk = fou->sock->sk;
555 struct socket *sock = fou->sock;
558 udp_tunnel_sock_release(sock);
566 struct socket *sock = NULL;
568 struct sock *sk;
573 err = udp_sock_create(net, &cfg->udp_config, &sock);
584 sk = sock->sk;
590 fou->sock = sock;
615 setup_udp_tunnel_sock(net, sock, &tunnel_cfg);
624 *sockp = sock;
630 if (sock)
631 udp_tunnel_sock_release(sock);
790 struct sock *sk = fou->sock->sk;
792 if (nla_put_u8(msg, FOU_ATTR_AF, fou->sock->sk->sk_family) ||
804 if (fou->sock->sk->sk_family == AF_INET) {