€•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”Œ(/translations/zh_CN/networking/x25-iface”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/zh_TW/networking/x25-iface”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/it_IT/networking/x25-iface”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/ja_JP/networking/x25-iface”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/ko_KR/networking/x25-iface”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/pt_BR/networking/x25-iface”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/sp_SP/networking/x25-iface”Œ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Œ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒB/var/lib/git/docbuild/linux/Documentation/networking/x25-iface.rst”h´KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒX.25 Device Driver Interface”h]”hŒX.25 Device Driver Interface”…””}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)”}”(hŒ Version 1.1”h]”hŒ Version 1.1”…””}”(hhßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhŒ block_quote”“”)”}”(hŒJonathan Naylor 26.12.96 ”h]”hÞ)”}”(hŒJonathan Naylor 26.12.96”h]”hŒJonathan Naylor 26.12.96”…””}”(hhóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khhïubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÇh´KhhÊh²hubhÞ)”}”(hŒËThis is a description of the messages to be passed between the X.25 Packet Layer and the X.25 device driver. They are designed to allow for the easy setting of the LAPB mode from within the Packet Layer.”h]”hŒËThis is a description of the messages to be passed between the X.25 Packet Layer and the X.25 device driver. They are designed to allow for the easy setting of the LAPB mode from within the Packet Layer.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhÊh²hubhÞ)”}”(hXlThe X.25 device driver will be coded normally as per the Linux device driver standards. Most X.25 device drivers will be moderately similar to the already existing Ethernet device drivers. However unlike those drivers, the X.25 device driver has a state associated with it, and this information needs to be passed to and from the Packet Layer for proper operation.”h]”hXlThe X.25 device driver will be coded normally as per the Linux device driver standards. Most X.25 device drivers will be moderately similar to the already existing Ethernet device drivers. However unlike those drivers, the X.25 device driver has a state associated with it, and this information needs to be passed to and from the Packet Layer for proper operation.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)”}”(hŒÎAll messages are held in sk_buff's just like real data to be transmitted over the LAPB link. The first byte of the skbuff indicates the meaning of the rest of the skbuff, if any more information does exist.”h]”hŒÐAll messages are held in sk_buff’s just like real data to be transmitted over the LAPB link. The first byte of the skbuff indicates the meaning of the rest of the skbuff, if any more information does exist.”…””}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÉ)”}”(hhh]”(hÎ)”}”(hŒPacket Layer to Device Driver”h]”hŒPacket Layer to Device Driver”…””}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj1h²hh³hÇh´KubhÞ)”}”(hŒ"First Byte = 0x00 (X25_IFACE_DATA)”h]”hŒ"First Byte = 0x00 (X25_IFACE_DATA)”…””}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj1h²hubhÞ)”}”(hŒ¡This indicates that the rest of the skbuff contains data to be transmitted over the LAPB link. The LAPB link should already exist before any data is passed down.”h]”hŒ¡This indicates that the rest of the skbuff contains data to be transmitted over the LAPB link. The LAPB link should already exist before any data is passed down.”…””}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Khj1h²hubhÞ)”}”(hŒ%First Byte = 0x01 (X25_IFACE_CONNECT)”h]”hŒ%First Byte = 0x01 (X25_IFACE_CONNECT)”…””}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K"hj1h²hubhÞ)”}”(hŒ‰Establish the LAPB link. If the link is already established then the connect confirmation message should be returned as soon as possible.”h]”hŒ‰Establish the LAPB link. If the link is already established then the connect confirmation message should be returned as soon as possible.”…””}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K$hj1h²hubhÞ)”}”(hŒ(First Byte = 0x02 (X25_IFACE_DISCONNECT)”h]”hŒ(First Byte = 0x02 (X25_IFACE_DISCONNECT)”…””}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K'hj1h²hubhÞ)”}”(hŒ‡Terminate the LAPB link. If it is already disconnected then the disconnect confirmation message should be returned as soon as possible.”h]”hŒ‡Terminate the LAPB link. If it is already disconnected then the disconnect confirmation message should be returned as soon as possible.”…””}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K)hj1h²hubhÞ)”}”(hŒ$First Byte = 0x03 (X25_IFACE_PARAMS)”h]”hŒ$First Byte = 0x03 (X25_IFACE_PARAMS)”…””}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K,hj1h²hubhÞ)”}”(hŒLAPB parameters. To be defined.”h]”hŒLAPB parameters. To be defined.”…””}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K.hj1h²hubeh}”(h]”Œpacket-layer-to-device-driver”ah ]”h"]”Œpacket layer to device driver”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒDevice Driver to Packet Layer”h]”hŒDevice Driver to Packet Layer”…””}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjºh²hh³hÇh´K2ubhÞ)”}”(hŒ"First Byte = 0x00 (X25_IFACE_DATA)”h]”hŒ"First Byte = 0x00 (X25_IFACE_DATA)”…””}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K4hjºh²hubhÞ)”}”(hŒcThis indicates that the rest of the skbuff contains data that has been received over the LAPB link.”h]”hŒcThis indicates that the rest of the skbuff contains data that has been received over the LAPB link.”…””}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K6hjºh²hubhÞ)”}”(hŒ%First Byte = 0x01 (X25_IFACE_CONNECT)”h]”hŒ%First Byte = 0x01 (X25_IFACE_CONNECT)”…””}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K9hjºh²hubhÞ)”}”(hŒ|LAPB link has been established. The same message is used for both a LAPB link connect_confirmation and a connect_indication.”h]”hŒ|LAPB link has been established. The same message is used for both a LAPB link connect_confirmation and a connect_indication.”…””}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K;hjºh²hubhÞ)”}”(hŒ(First Byte = 0x02 (X25_IFACE_DISCONNECT)”h]”hŒ(First Byte = 0x02 (X25_IFACE_DISCONNECT)”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K>hjºh²hubhÞ)”}”(hŒ‚LAPB link has been terminated. This same message is used for both a LAPB link disconnect_confirmation and a disconnect_indication.”h]”hŒ‚LAPB link has been terminated. This same message is used for both a LAPB link disconnect_confirmation and a disconnect_indication.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K@hjºh²hubhÞ)”}”(hŒ$First Byte = 0x03 (X25_IFACE_PARAMS)”h]”hŒ$First Byte = 0x03 (X25_IFACE_PARAMS)”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KChjºh²hubhÞ)”}”(hŒLAPB parameters. To be defined.”h]”hŒLAPB parameters. To be defined.”…””}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KEhjºh²hubeh}”(h]”Œdevice-driver-to-packet-layer”ah ]”h"]”Œdevice driver to packet layer”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´K2ubhÉ)”}”(hhh]”(hÎ)”}”(hŒ"Requirements for the device driver”h]”hŒ"Requirements for the device driver”…””}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjCh²hh³hÇh´KIubhÞ)”}”(hŒjPackets should not be reordered or dropped when delivering between the Packet Layer and the device driver.”h]”hŒjPackets should not be reordered or dropped when delivering between the Packet Layer and the device driver.”…””}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KKhjCh²hubhÞ)”}”(hXTo avoid packets from being reordered or dropped when delivering from the device driver to the Packet Layer, the device driver should not call "netif_rx" to deliver the received packets. Instead, it should call "netif_receive_skb_core" from softirq context to deliver them.”h]”hXTo avoid packets from being reordered or dropped when delivering from the device driver to the Packet Layer, the device driver should not call “netif_rx†to deliver the received packets. Instead, it should call “netif_receive_skb_core†from softirq context to deliver them.”…””}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KNhjCh²hubeh}”(h]”Œ"requirements-for-the-device-driver”ah ]”h"]”Œ"requirements for the device driver”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KIubeh}”(h]”Œx-25-device-driver-interface”ah ]”h"]”Œx.25 device driver interface”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(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”}”Œnameids”}”(j}jzj·j´j@j=jujruŒ nametypes”}”(j}‰j·‰j@‰ju‰uh}”(jzhÊj´j1j=jºjrjCuŒ 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”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.