€•œ0Œ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-add-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-add-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-add-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-add-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-add-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-add-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-add-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-add-if.rst”h´KubhŒtarget”“”)”}”(hŒ.. _NET_ADD_IF:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ net-add-if”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒioctl NET_ADD_IF”h]”hŒioctl NET_ADD_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ŒCNET_ADD_IF - Creates a new network interface for a given Packet ID.”h]”hŒCNET_ADD_IF - Creates a new network interface for a given Packet ID.”…””}”(hhþh²hh³Nh´Nubah}”(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”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”ŒDTV.net.NET_ADD_IF (C macro)”Œc.DTV.net.NET_ADD_IF”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒ NET_ADD_IF”h]”hŒdesc_signature_line”“”)”}”(hŒ NET_ADD_IF”h]”hŒ desc_name”“”)”}”(hŒ NET_ADD_IF”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒ NET_ADD_IF”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jMhjIubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jGhjCh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jAŒsphinx_line_type”Œ declarator”hj=h²hh³hÇh´Kubah}”(h]”j4ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j;h³hÇh´Khj8h²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8h²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j‡Œobjtype”jˆŒdesctype”jˆŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒ<``int ioctl(int fd, NET_ADD_IF, struct dvb_net_if *net_if)``”h]”hŒliteral”“”)”}”(hj”h]”hŒ8int ioctl(int fd, NET_ADD_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´Khjh²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 ”…””}”(hjíh²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j—)”}”(hj÷h]”hŒopen()”…””}”(hjùh²hh³Nh´Nubah}”(h]”h ]”(Œxref”j‡Œc-func”eh"]”h$]”h&]”uh1j–hjõubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ"userspace-api/media/dvb/net-add-if”Œ refdomain”j‡Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”(jŒ ASTIdentifier”“”)”}”Œ identifier”ŒDTV”sbN†”j)”}”j!Œnet”sbN†”esbŒ reftarget”Œopen”uh1hh³hÇh´KhjíubhŒ.”…””}”(hjíh²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—)”}”(hjFh]”hŒnet_if”…””}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´Khj@ubjé)”}”(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—)”}”(hjhh]”hŒ dvb_net_if”…””}”(hjjh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjfubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj(Œ dvb_net_if”uh1hh³hÇh´Khj^ubeh}”(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Æ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ý)”}”(hX#The NET_ADD_IF ioctl system call selects the Packet ID (PID) that contains a TCP/IP traffic, the type of encapsulation to be used (MPE or ULE) and the interface number for the new interface to be created. When the system call successfully returns, a new virtual network interface is created.”h]”hX#The NET_ADD_IF ioctl system call selects the Packet ID (PID) that contains a TCP/IP traffic, the type of encapsulation to be used (MPE or ULE) and the interface number for the new interface to be created. When the system call successfully returns, a new virtual network interface is created.”…””}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K"hj¥h²hubhý)”}”(hŒeThe struct :c:type:`dvb_net_if`::ifnum field will be filled with the number of the created interface.”h]”(hŒ 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”‰jjj(Œ dvb_net_if”uh1hh³hÇh´K(hjÄubhŒF::ifnum field will be filled with the number of the created interface.”…””}”(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”…””}”(hjh²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 ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`ca_slot_info`”h]”j—)”}”(hjh]”hŒ ca_slot_info”…””}”(hjh²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”‰jjj(Œ ca_slot_info”uh1hh³hÇh´K.hjubhŒ is filled.”…””}”(hjh²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”…””}”(hjGh²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´K0hjý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]”hŒinline”“”)”}”(hjih]”hŒGeneric Error Codes”…””}”(hjmh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jkhjgubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jwŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj(Œ gen-errors”uh1hh³hÇh´K3hj_ubhŒ chapter.”…””}”(hj_h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K3hjýh²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K,ubeh}”(h]”(Œioctl-net-add-if”hÕeh ]”h"]”(Œioctl net_add_if”Œ net_add_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”jËŒ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 jjjj°j­j¢jŸjúj÷j˜j•uŒ nametypes”}”(j¡ˆj ‰j‰j°‰j¢‰jú‰j˜‰uh}”(hÕhØjhØjhëj­jj4j=jŸj³j÷j¥j•jý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-add-if" is not referenced.”…””}”hj5sbah}”(h]”h ]”h"]”h$]”h&]”uh1hühj2ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1j0ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.