€•Ò4Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ6/translations/zh_CN/userspace-api/media/dvb/net-get-if”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ6/translations/zh_TW/userspace-api/media/dvb/net-get-if”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ6/translations/it_IT/userspace-api/media/dvb/net-get-if”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ6/translations/ja_JP/userspace-api/media/dvb/net-get-if”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ6/translations/ko_KR/userspace-api/media/dvb/net-get-if”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ6/translations/pt_BR/userspace-api/media/dvb/net-get-if”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ6/translations/sp_SP/userspace-api/media/dvb/net-get-if”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒP/var/lib/git/docbuild/linux/Documentation/userspace-api/media/dvb/net-get-if.rst”h´KubhŒtarget”“”)”}”(hŒ.. _NET_GET_IF:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ net-get-if”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒioctl NET_GET_IF”h]”hŒioctl NET_GET_IF”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hhîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhëh²hh³hÇh´K ubhŒ paragraph”“”)”}”(hŒ_NET_GET_IF - Read the configuration data of an interface created via - :ref:`NET_ADD_IF `.”h]”(hŒGNET_GET_IF - Read the configuration data of an interface created via - ”…””}”(hhþh²hh³Nh´Nubh)”}”(hŒ:ref:`NET_ADD_IF `”h]”hŒinline”“”)”}”(hjh]”hŒ NET_ADD_IF”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1j hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ"userspace-api/media/dvb/net-get-if”Œ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œnet”uh1hh³hÇh´K hhþubhŒ.”…””}”(hhþh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj=h²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”ŒDTV.net.NET_GET_IF (C macro)”Œc.DTV.net.NET_GET_IF”hNt”auh1jNhj=h²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒ NET_GET_IF”h]”hŒdesc_signature_line”“”)”}”(hŒ NET_GET_IF”h]”hŒ desc_name”“”)”}”(hŒ NET_GET_IF”h]”hŒ desc_sig_name”“”)”}”(hjhh]”hŒ NET_GET_IF”…””}”(hjxh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jvhjrubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jphjlh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jjŒsphinx_line_type”Œ declarator”hjfh²hh³hÇh´Kubah}”(h]”j]ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1jdh³hÇh´Khjah²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j¢hjah²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j°Œobjtype”j±Œdesctype”j±Œnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j_h²hhj=h³Nh´Nubhý)”}”(hŒ<``int ioctl(int fd, NET_GET_IF, struct dvb_net_if *net_if)``”h]”hŒliteral”“”)”}”(hj½h]”hŒ8int ioctl(int fd, NET_GET_IF, struct dvb_net_if *net_if)”…””}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿hj»ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khj=h²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjÜh²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ5``fd`` File descriptor returned by :c:func:`open()`. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”jÀ)”}”(hjüh]”hŒfd”…””}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿hjúubah}”(h]”h ]”h"]”h$]”h&]”uh1jøh³hÇh´KhjôubhŒ definition”“”)”}”(hhh]”hý)”}”(hŒ-File descriptor returned by :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”jÀ)”}”(hj h]”hŒopen()”…””}”(hj"h²hh³Nh´Nubah}”(h]”h ]”(jj°Œc-func”eh"]”h$]”h&]”uh1j¿hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j#Œ refdomain”j°Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”(j=Œ ASTIdentifier”“”)”}”Œ identifier”ŒDTV”sbN†”jE)”}”jHŒnet”sbN†”esbj)Œopen”uh1hh³hÇh´KhjubhŒ.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjôubeh}”(h]”h ]”h"]”h$]”h&]”uh1jòh³hÇh´Khjïubjó)”}”(hŒ2``net_if`` pointer to struct :c:type:`dvb_net_if` ”h]”(jù)”}”(hŒ ``net_if``”h]”jÀ)”}”(hjlh]”hŒnet_if”…””}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿hjjubah}”(h]”h ]”h"]”h$]”h&]”uh1jøh³hÇh´Khjfubj)”}”(hhh]”hý)”}”(hŒ&pointer to struct :c:type:`dvb_net_if`”h]”(hŒpointer to struct ”…””}”(hj„h²hh³Nh´Nubh)”}”(hŒ:c:type:`dvb_net_if`”h]”jÀ)”}”(hjŽh]”hŒ dvb_net_if”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jj°Œc-type”eh"]”h$]”h&]”uh1j¿hjŒubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j#Œ refdomain”j°Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j<j@j)Œ dvb_net_if”uh1hh³hÇh´Khj„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjfubeh}”(h]”h ]”h"]”h$]”h&]”uh1jòh³hÇh´Khjïh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jíhjÜh²hh³hÇh´Nubeh}”(h]”Œ arguments”ah ]”h"]”Œ arguments”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Description”h]”hŒ Description”…””}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjËh²hh³hÇh´K ubhý)”}”(hXcThe NET_GET_IF ioctl uses the interface number given by the struct :c:type:`dvb_net_if`::ifnum field and fills the content of struct :c:type:`dvb_net_if` with the packet ID and encapsulation type used on such interface. If the interface was not created yet with :ref:`NET_ADD_IF `, it will return -1 and fill the ``errno`` with ``EINVAL`` error code.”h]”(hŒCThe NET_GET_IF ioctl uses the interface number given by the struct ”…””}”(hjÜh²hh³Nh´Nubh)”}”(hŒ:c:type:`dvb_net_if`”h]”jÀ)”}”(hjæh]”hŒ dvb_net_if”…””}”(hjèh²hh³Nh´Nubah}”(h]”h ]”(jj°Œc-type”eh"]”h$]”h&]”uh1j¿hjäubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j#Œ refdomain”j°Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j<j@j)Œ dvb_net_if”uh1hh³hÇh´K"hjÜubhŒ.::ifnum field and fills the content of struct ”…””}”(hjÜh²hh³Nh´Nubh)”}”(hŒ:c:type:`dvb_net_if`”h]”jÀ)”}”(hj h]”hŒ dvb_net_if”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”(jj°Œc-type”eh"]”h$]”h&]”uh1j¿hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j#Œ refdomain”j°Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j<j@j)Œ dvb_net_if”uh1hh³hÇh´K"hjÜubhŒm with the packet ID and encapsulation type used on such interface. If the interface was not created yet with ”…””}”(hjÜh²hh³Nh´Nubh)”}”(hŒ:ref:`NET_ADD_IF `”h]”j )”}”(hj,h]”hŒ NET_ADD_IF”…””}”(hj.h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j hj*ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j#Œ refdomain”j8Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj)Œnet”uh1hh³hÇh´K"hjÜubhŒ!, it will return -1 and fill the ”…””}”(hjÜh²hh³Nh´NubjÀ)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿hjÜubhŒ with ”…””}”(hjÜh²hh³Nh´NubjÀ)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿hjÜubhŒ error code.”…””}”(hjÜh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K"hjËh²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj€h²hh³hÇh´K*ubhý)”}”(hŒ?On success 0 is returned, and :c:type:`ca_slot_info` is filled.”h]”(hŒOn success 0 is returned, and ”…””}”(hj‘h²hh³Nh´Nubh)”}”(hŒ:c:type:`ca_slot_info`”h]”jÀ)”}”(hj›h]”hŒ ca_slot_info”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jj°Œc-type”eh"]”h$]”h&]”uh1j¿hj™ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j#Œ refdomain”j°Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j<j@j)Œ ca_slot_info”uh1hh³hÇh´K,hj‘ubhŒ is filled.”…””}”(hj‘h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K,hj€h²hubhý)”}”(hŒIOn error -1 is returned, and the ``errno`` variable is set appropriately.”h]”(hŒ!On error -1 is returned, and the ”…””}”(hjÂh²hh³Nh´NubjÀ)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿hjÂubhŒ variable is set appropriately.”…””}”(hjÂh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K.hj€h²hubhý)”}”(hŒ]The generic error codes are described at the :ref:`Generic Error Codes ` chapter.”h]”(hŒ-The generic error codes are described at the ”…””}”(hjâh²hh³Nh´Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”j )”}”(hjìh]”hŒGeneric Error Codes”…””}”(hjîh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j hjêubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j#Œ refdomain”jøŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj)Œ gen-errors”uh1hh³hÇh´K1hjâubhŒ chapter.”…””}”(hjâh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K1hj€h²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K*ubeh}”(h]”(Œioctl-net-get-if”hÕeh ]”h"]”(Œioctl net_get_if”Œ net_get_if”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”j"hÊsŒexpect_referenced_by_id”}”hÕhÊsubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÛNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jLŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÕ]”hÊasŒnameids”}”(j"hÕj!jj:j7jÙjÖjÈjÅj}jzjjuŒ nametypes”}”(j"ˆj!‰j:‰jÙ‰jȉj}‰j‰uh}”(hÕhØjhØj7hëjÖj=j]jfjÅjÜjzjËjj€uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hý)”}”(hhh]”hŒ0Hyperlink target "net-get-if" is not referenced.”…””}”hj¶sbah}”(h]”h ]”h"]”h$]”h&]”uh1hühj³ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1j±ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.