Lines Matching refs:echo
498 int flags, u32 type, struct echo_info echo) in gtp_genl_fill_echo() argument
507 if (nla_put_u32(skb, GTPA_VERSION, echo.gtp_version) || in gtp_genl_fill_echo()
508 nla_put_be32(skb, GTPA_PEER_ADDRESS, echo.peer.addr.s_addr) || in gtp_genl_fill_echo()
509 nla_put_be32(skb, GTPA_MS_ADDRESS, echo.ms.addr.s_addr)) in gtp_genl_fill_echo()
520 static void gtp0_handle_echo_resp_ip(struct sk_buff *skb, struct echo_info *echo) in gtp0_handle_echo_resp_ip() argument
524 echo->ms.addr.s_addr = iph->daddr; in gtp0_handle_echo_resp_ip()
525 echo->peer.addr.s_addr = iph->saddr; in gtp0_handle_echo_resp_ip()
526 echo->gtp_version = GTP_V0; in gtp0_handle_echo_resp_ip()
532 struct echo_info echo; in gtp0_handle_echo_resp() local
543 gtp0_handle_echo_resp_ip(skb, &echo); in gtp0_handle_echo_resp()
553 ret = gtp_genl_fill_echo(msg, 0, 0, 0, GTP_CMD_ECHOREQ, echo); in gtp0_handle_echo_resp()
716 struct echo_info echo; in gtp1u_handle_echo_resp() local
731 echo.ms.addr.s_addr = iph->daddr; in gtp1u_handle_echo_resp()
732 echo.peer.addr.s_addr = iph->saddr; in gtp1u_handle_echo_resp()
733 echo.gtp_version = GTP_V1; in gtp1u_handle_echo_resp()
739 ret = gtp_genl_fill_echo(msg, 0, 0, 0, GTP_CMD_ECHOREQ, echo); in gtp1u_handle_echo_resp()