Lines Matching refs:sk0

74 	struct sock		*sk0;  member
432 rt = ip4_route_output_gtp(&fl4, gtp->sk0, iph->saddr, iph->daddr); in gtp0_send_echo_resp_ip()
439 udp_tunnel_xmit_skb(rt, gtp->sk0, skb, in gtp0_send_echo_resp_ip()
482 switch (gtp->sk0->sk_family) { in gtp0_send_echo_resp()
538 switch (gtp->sk0->sk_family) { in gtp0_handle_echo_resp()
852 if (gtp->sk0 == sk) in __gtp_encap_destroy()
853 gtp->sk0 = NULL; in __gtp_encap_destroy()
883 udp_tunnel_sock_release(gtp->sk0->sk_socket); in gtp_encap_disable()
886 gtp->sk0 = NULL; in gtp_encap_disable()
889 gtp_encap_disable_sock(gtp->sk0); in gtp_encap_disable()
1441 struct sock *sk0; in gtp_create_sockets() local
1443 sk0 = gtp_create_sock(UDP_ENCAP_GTP0, gtp, nla, family); in gtp_create_sockets()
1444 if (IS_ERR(sk0)) in gtp_create_sockets()
1445 return PTR_ERR(sk0); in gtp_create_sockets()
1449 udp_tunnel_sock_release(sk0->sk_socket); in gtp_create_sockets()
1454 gtp->sk0 = sk0; in gtp_create_sockets()
1517 if ((gtp->sk0 && gtp->sk0->sk_family == AF_INET6) || in gtp_newlink()
1699 struct sock *sk0 = NULL; in gtp_encap_enable() local
1708 sk0 = gtp_encap_enable_socket(fd0, UDP_ENCAP_GTP0, gtp); in gtp_encap_enable()
1709 if (IS_ERR(sk0)) in gtp_encap_enable()
1710 return PTR_ERR(sk0); in gtp_encap_enable()
1720 gtp_encap_disable_sock(sk0); in gtp_encap_enable()
1726 gtp->sk0 = sk0; in gtp_encap_enable()
1729 if (sk0 && sk1u && in gtp_encap_enable()
1730 sk0->sk_family != sk1u->sk_family) { in gtp_encap_enable()
1731 gtp_encap_disable_sock(sk0); in gtp_encap_enable()
2042 sk = gtp->sk0; in gtp_genl_new_pdp()
2365 sk = gtp->sk0; in gtp_genl_send_echo_req()