Lines Matching refs:gtp_version
50 u8 gtp_version; member
85 u8 gtp_version; member
133 if (pdp->gtp_version == GTP_V0 && in gtp0_pdp_find()
149 if (pdp->gtp_version == GTP_V1 && in gtp1_pdp_find()
362 if (nla_put_u32(skb, GTPA_VERSION, echo.gtp_version) || in gtp_genl_fill_echo()
391 echo.gtp_version = GTP_V0; in gtp0_handle_echo_resp()
554 echo.gtp_version = GTP_V1; in gtp1u_handle_echo_resp()
787 switch (pktinfo->pctx->gtp_version) { in gtp_push_header()
861 switch (pctx->gtp_version) { in gtp_build_skb_ip4()
1313 pctx->gtp_version = nla_get_u32(info->attrs[GTPA_VERSION]); in ipv4_pdp_fill()
1320 switch (pctx->gtp_version) { in ipv4_pdp_fill()
1377 if (pctx->gtp_version == GTP_V0) in gtp_pdp_add()
1380 else if (pctx->gtp_version == GTP_V1) in gtp_pdp_add()
1398 switch (pctx->gtp_version) { in gtp_pdp_add()
1415 switch (pctx->gtp_version) { in gtp_pdp_add()
1527 u32 gtp_version = nla_get_u32(nla[GTPA_VERSION]); in gtp_find_pdp_by_link() local
1529 if (gtp_version == GTP_V0 && nla[GTPA_TID]) in gtp_find_pdp_by_link()
1531 else if (gtp_version == GTP_V1 && nla[GTPA_I_TEI]) in gtp_find_pdp_by_link()
1569 if (pctx->gtp_version == GTP_V0) in gtp_genl_del_pdp()
1572 else if (pctx->gtp_version == GTP_V1) in gtp_genl_del_pdp()
1594 if (nla_put_u32(skb, GTPA_VERSION, pctx->gtp_version) || in gtp_genl_fill_info()
1600 switch (pctx->gtp_version) { in gtp_genl_fill_info()