Lines Matching refs:ret
326 int ret = 0; in gtp_encap_recv() local
337 ret = gtp0_udp_encap_recv(gtp, skb); in gtp_encap_recv()
341 ret = gtp1u_udp_encap_recv(gtp, skb); in gtp_encap_recv()
344 ret = -1; /* Shouldn't happen. */ in gtp_encap_recv()
347 switch (ret) { in gtp_encap_recv()
356 ret = 0; in gtp_encap_recv()
360 return ret; in gtp_encap_recv()
1220 int ret; in gtp_tunnel_notify() local
1226 ret = gtp_genl_fill_info(msg, 0, 0, 0, cmd, pctx); in gtp_tunnel_notify()
1227 if (ret < 0) { in gtp_tunnel_notify()
1229 return ret; in gtp_tunnel_notify()
1232 ret = genlmsg_multicast_netns(>p_genl_family, dev_net(pctx->dev), msg, in gtp_tunnel_notify()
1234 return ret; in gtp_tunnel_notify()