Lines Matching defs:echo
404 * Returns true if the echo req was correct, false otherwise.
449 netdev_dbg(gtp->dev, "no route for echo response from %pI4\n",
511 int flags, u32 type, struct echo_info echo)
520 if (nla_put_u32(skb, GTPA_VERSION, echo.gtp_version) ||
521 nla_put_be32(skb, GTPA_PEER_ADDRESS, echo.peer.addr.s_addr) ||
522 nla_put_be32(skb, GTPA_MS_ADDRESS, echo.ms.addr.s_addr))
533 static void gtp0_handle_echo_resp_ip(struct sk_buff *skb, struct echo_info *echo)
537 echo->ms.addr.s_addr = iph->daddr;
538 echo->peer.addr.s_addr = iph->saddr;
539 echo->gtp_version = GTP_V0;
545 struct echo_info echo;
556 gtp0_handle_echo_resp_ip(skb, &echo);
566 ret = gtp_genl_fill_echo(msg, 0, 0, 0, GTP_CMD_ECHOREQ, echo);
613 * handle echo request.
712 netdev_dbg(gtp->dev, "no route for echo response from %pI4\n",
733 struct echo_info echo;
748 echo.ms.addr.s_addr = iph->daddr;
749 echo.peer.addr.s_addr = iph->saddr;
750 echo.gtp_version = GTP_V1;
756 ret = gtp_genl_fill_echo(msg, 0, 0, 0, GTP_CMD_ECHOREQ, echo);
824 * handle echo request.
2440 netdev_dbg(gtp->dev, "no route for echo request to %pI4\n",