€•Ø3Œ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Œ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”“”)”}”(hhôh]”hŒ NET_ADD_IF”…””}”(hhøhžhhŸNh Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1höhhòubah}”(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”auh1j:hj)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”“”)”}”(hjTh]”hŒ NET_GET_IF”…””}”(hjdhžhhŸNh Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jbhj^ubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”h±h²uh1j\hjXhžhhŸh³h Kubah}”(h]”h ]”h"]”h$]”h&]”h±h²Œ add_permalink”ˆuh1jVŒsphinx_line_type”Œ declarator”hjRhžhhŸh³h Kubah}”(h]”jIah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1jPhŸh³h KhjMhžhubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jŽhjMhžhhŸh³h Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”jœŒobjtype”jŒdesctype”jŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1jKhž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()”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”(jjœŒc-func”eh"]”h$]”h&]”uh1j«hj ubah}”(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†”j1)”}”j4Œnet”sbN†”esbjŒopen”uh1hhŸh³h KhjubhŒ.”…””}”(hjhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h Khjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjà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¬)”}”(hjXh]”hŒnet_if”…””}”(hjZhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j«hjVubah}”(h]”h ]”h"]”h$]”h&]”uh1jähŸh³h KhjRubjþ)”}”(hhh]”hé)”}”(hŒ&pointer to struct :c:type:`dvb_net_if`”h]”(hŒpointer to struct ”…””}”(hjphžhhŸNh Nubh)”}”(hŒ:c:type:`dvb_net_if`”h]”j¬)”}”(hjzh]”hŒ dvb_net_if”…””}”(hj|hžhhŸNh Nubah}”(h]”h ]”(jjœŒc-type”eh"]”h$]”h&]”uh1j«hjxubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jœŒreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j(j,jŒ dvb_net_if”uh1hhŸh³h Khjpubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h Khjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jýhjRubeh}”(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«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Œ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]”h÷)”}”(hjh]”hŒ NET_ADD_IF”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1höhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j$Œ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”…””}”(hj:hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j«hjÈubhŒ with ”…””}”(hjÈhžhhŸNh Nubj¬)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hjLhž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”…””}”(hjohžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjlhž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”…””}”(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Œ 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,hjlhž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.hjlhž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]”h÷)”}”(hjØh]”hŒGeneric Error Codes”…””}”(hjÚhžhhŸNh Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1hö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 K1hjlhž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”}”jh¶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”j8Œ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”}”(jhÁj j j&j#jÅjÂj´j±jijfjjuŒ nametypes”}”(jˆj ‰j&‰jʼnj´‰ji‰j‰uh}”(hÁhÄj hÄj#h×jÂj)jIjRj±jÈjfj·jjluŒ 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”Kuh1jubaŒ transformer”NŒ include_log”]”Œ decoration”Nhžhub.