sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget#/translations/zh_CN/networking/kapimodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/zh_TW/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/it_IT/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ja_JP/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ko_KR/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/sp_SP/networking/kapimodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h)Linux Networking and Network Devices APIsh]h)Linux Networking and Network Devices APIs}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh=/var/lib/git/docbuild/linux/Documentation/networking/kapi.rsthKubh)}(hhh](h)}(hLinux Networkingh]hLinux Networking}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNetworking Base Typesh]hNetworking Base Types}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlesock_type (C enum) c.sock_typehNtauh1hhhhhhNhNubhdesc)}(hhh](hdesc_signature)}(h sock_typeh]hdesc_signature_line)}(henum sock_typeh](hdesc_sig_keyword)}(henumh]henum}(hhhhhNhNubah}(h]h ]kah"]h$]h&]uh1hhhhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1j hhhhhj hKubh desc_name)}(h sock_typeh]h desc_sig_name)}(hhh]h sock_type}(hj&hhhNhNubah}(h]h ]nah"]h$]h&]uh1j$hj ubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jhhhhhj hKubeh}(h]h ]h"]h$]h&]j<j= add_permalinkuh1hsphinx_line_type declaratorhhhhhj hKubah}(h]hah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1hhj hKhhhhubh desc_content)}(hhh]h paragraph)}(h Socket typesh]h Socket types}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK1hjThhubah}(h]h ]h"]h$]h&]uh1jRhhhhhj hKubeh}(h]h ](cenumeh"]h$]h&]domainjqobjtypejrdesctypejrnoindex noindexentrynocontentsentryuh1hhhhhhNhNubh container)}(hX**Constants** ``SOCK_STREAM`` stream (connection) socket ``SOCK_DGRAM`` datagram (conn.less) socket ``SOCK_RAW`` raw socket ``SOCK_RDM`` reliably-delivered message ``SOCK_SEQPACKET`` sequential packet socket ``SOCK_DCCP`` Datagram Congestion Control Protocol socket ``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](jX)}(h **Constants**h]hstrong)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK5hj~ubhdefinition_list)}(hhh](hdefinition_list_item)}(h+``SOCK_STREAM`` stream (connection) socket h](hterm)}(h``SOCK_STREAM``h]hliteral)}(hjh]h SOCK_STREAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK8hjubh definition)}(hhh]jX)}(hstream (connection) socketh]hstream (connection) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK8hjubj)}(h+``SOCK_DGRAM`` datagram (conn.less) socket h](j)}(h``SOCK_DGRAM``h]j)}(hjh]h SOCK_DGRAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK;hjubj)}(hhh]jX)}(hdatagram (conn.less) socketh]hdatagram (conn.less) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK;hjubj)}(h``SOCK_RAW`` raw socket h](j)}(h ``SOCK_RAW``h]j)}(hj!h]hSOCK_RAW}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK>hjubj)}(hhh]jX)}(h raw socketh]h raw socket}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hK>hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hK>hjubj)}(h(``SOCK_RDM`` reliably-delivered message h](j)}(h ``SOCK_RDM``h]j)}(hjZh]hSOCK_RDM}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKAhjTubj)}(hhh]jX)}(hreliably-delivered messageh]hreliably-delivered message}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKAhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohKAhjubj)}(h,``SOCK_SEQPACKET`` sequential packet socket h](j)}(h``SOCK_SEQPACKET``h]j)}(hjh]hSOCK_SEQPACKET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKDhjubj)}(hhh]jX)}(hsequential packet socketh]hsequential packet socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKDhjubj)}(h:``SOCK_DCCP`` Datagram Congestion Control Protocol socket h](j)}(h ``SOCK_DCCP``h]j)}(hjh]h SOCK_DCCP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKGhjubj)}(hhh]jX)}(h+Datagram Congestion Control Protocol socketh]h+Datagram Congestion Control Protocol socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKGhjubj)}(h``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](j)}(h``SOCK_PACKET``h]j)}(hjh]h SOCK_PACKET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKJhjubj)}(hhh]jX)}(htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h]htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKJhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hhhhhNhNubjX)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKMhhhhubjX)}(hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.h]hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK:hhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_shutdown_cmd (C enum)c.sock_shutdown_cmdhNtauh1hhhhhhNhNubh)}(hhh](h)}(hsock_shutdown_cmdh]h)}(henum sock_shutdown_cmdh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKAubj)}(hsock_shutdown_cmdh]j%)}(hjh]hsock_shutdown_cmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhKAubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKAhjzhhubjS)}(hhh]jX)}(hShutdown typesh]hShutdown types}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKWhjhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhKAubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhhhNhNubj})}(h**Constants** ``SHUT_RD`` shutdown receptions ``SHUT_WR`` shutdown transmissions ``SHUT_RDWR`` shutdown receptions/transmissionsh](jX)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK[hjubj)}(hhh](j)}(h ``SHUT_RD`` shutdown receptions h](j)}(h ``SHUT_RD``h]j)}(hjh]hSHUT_RD}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK^hjubj)}(hhh]jX)}(hshutdown receptionsh]hshutdown receptions}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK^hjubj)}(h#``SHUT_WR`` shutdown transmissions h](j)}(h ``SHUT_WR``h]j)}(hjAh]hSHUT_WR}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKahj;ubj)}(hhh]jX)}(hshutdown transmissionsh]hshutdown transmissions}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhKahjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKahjubj)}(h/``SHUT_RDWR`` shutdown receptions/transmissionsh](j)}(h ``SHUT_RDWR``h]j)}(hjzh]h SHUT_RDWR}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKchjtubj)}(hhh]jX)}(h!shutdown receptions/transmissionsh]h!shutdown receptions/transmissions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKdhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKchjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsocket (C struct)c.sockethNtauh1hhhhhhNhNubh)}(hhh](h)}(hsocketh]h)}(h struct socketh](h)}(hstructh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKiubj)}(hsocketh]j%)}(hjh]hsocket}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKiubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKihjhhubjS)}(hhh]jX)}(hgeneral BSD socketh]hgeneral BSD socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKiubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhhhNhNubj})}(hXg**Definition**:: struct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; }; **Members** ``state`` socket state (``SS_CONNECTED``, etc) ``type`` socket type (``SOCK_STREAM``, etc) ``flags`` socket flags (``SOCK_NOSPACE``, etc) ``file`` File back pointer for gc ``sk`` internal networking protocol agnostic socket representation ``ops`` protocol specific socket operations ``wq`` wait queue for several usesh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh:}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKohj3ubh literal_block)}(hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };h]hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };}hjVsbah}(h]h ]h"]h$]h&]j<j=uh1jThS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKqhj3ubjX)}(h **Members**h]j)}(hjgh]hMembers}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK{hj3ubj)}(hhh](j)}(h/``state`` socket state (``SS_CONNECTED``, etc) h](j)}(h ``state``h]j)}(hjh]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKmhjubj)}(hhh]jX)}(h$socket state (``SS_CONNECTED``, etc)h](hsocket state (}(hjhhhNhNubj)}(h``SS_CONNECTED``h]h SS_CONNECTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKmhj}ubj)}(h,``type`` socket type (``SOCK_STREAM``, etc) h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKnhjubj)}(hhh]jX)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hjhhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKnhj}ubj)}(h/``flags`` socket flags (``SOCK_NOSPACE``, etc) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKohjubj)}(hhh]jX)}(h$socket flags (``SOCK_NOSPACE``, etc)h](hsocket flags (}(hj5hhhNhNubj)}(h``SOCK_NOSPACE``h]h SOCK_NOSPACE}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh, etc)}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj1hKohj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKohj}ubj)}(h"``file`` File back pointer for gc h](j)}(h``file``h]j)}(hjgh]hfile}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKqhjaubj)}(hhh]jX)}(hFile back pointer for gch]hFile back pointer for gc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hKqhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKqhj}ubj)}(hC``sk`` internal networking protocol agnostic socket representation h](j)}(h``sk``h]j)}(hjh]hsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKrhjubj)}(hhh]jX)}(h;internal networking protocol agnostic socket representationh]h;internal networking protocol agnostic socket representation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKrhj}ubj)}(h,``ops`` protocol specific socket operations h](j)}(h``ops``h]j)}(hjh]hops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKphjubj)}(hhh]jX)}(h#protocol specific socket operationsh]h#protocol specific socket operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKphj}ubj)}(h"``wq`` wait queue for several usesh](j)}(h``wq``h]j)}(hjh]hwq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKrhj ubj)}(hhh]jX)}(hwait queue for several usesh]hwait queue for several uses}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKshj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hKrhj}ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hhhhhNhNubeh}(h]networking-base-typesah ]h"]networking base typesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSocket Buffer Functionsh]hSocket Buffer Functions}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size (C function)c.skb_frag_sizehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3unsigned int skb_frag_size (const skb_frag_t *frag)h]h)}(h2unsigned int skb_frag_size(const skb_frag_t *frag)h](hdesc_sig_keyword_type)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]ktah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMpubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMpubj)}(h skb_frag_sizeh]j%)}(h skb_frag_sizeh]h skb_frag_size}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMpubhdesc_parameterlist)}(h(const skb_frag_t *frag)h]hdesc_parameter)}(hconst skb_frag_t *fragh](h)}(hconsth]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftype identifier reftargetjmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}jjsbc.skb_frag_sizeasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubhdesc_sig_punctuation)}(h*h]h*}(hj<hhhNhNubah}(h]h ]pah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhMpubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMphjzhhubjS)}(hhh]jX)}(h"Returns the size of a skb fragmenth]h"Returns the size of a skb fragment}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjrhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h9**Parameters** ``const skb_frag_t *frag`` skb fragmenth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjubj)}(hhh]j)}(h'``const skb_frag_t *frag`` skb fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_set (C function)c.skb_frag_size_sethNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hj~ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjI ubj%)}(hfragh]hfrag}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE ubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hsizeh]hsize}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMyubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMyhj hhubjS)}(hhh]jX)}(hSets the size of a skb fragmenth]hSets the size of a skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(h]**Parameters** ``skb_frag_t *frag`` skb fragment ``unsigned int size`` size of fragmenth](jX)}(h**Parameters**h]j)}(hj( h]h Parameters}(hj* hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj& ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hj" ubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjG h]hskb_frag_t *frag}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzhjA ubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\ hMzhj] ubah}(h]h ]h"]h$]h&]uh1jhjA ubeh}(h]h ]h"]h$]h&]uh1jhj\ hMzhj> ubj)}(h&``unsigned int size`` size of fragmenth](j)}(h``unsigned int size``h]j)}(hj h]hunsigned int size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM|hjz ubj)}(hhh]jX)}(hsize of fragmenth]hsize of fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hj ubah}(h]h ]h"]h$]h&]uh1jhjz ubeh}(h]h ]h"]h$]h&]uh1jhj hM|hj> ubeh}(h]h ]h"]h$]h&]uh1jhj" ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_add (C function)c.skb_frag_size_addhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4void skb_frag_size_add (skb_frag_t *frag, int delta)h]h)}(h3void skb_frag_size_add(skb_frag_t *frag, int delta)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hskb_frag_size_addh]j%)}(hskb_frag_size_addh]hskb_frag_size_add}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h(skb_frag_t *frag, int delta)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.skb_frag_size_addasbuh1hhj ubj)}(h h]h }(hj: hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjH hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hfragh]hfrag}(hjU hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int deltah](j)}(hinth]hint}(hjn hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj ubj)}(h h]h }(hj| hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj ubj%)}(hdeltah]hdelta}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(h2Increments the size of a skb fragment by **delta**h](h)Increments the size of a skb fragment by }(hj hhhNhNubj)}(h **delta**h]hdelta}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hQ**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to addh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hj h]hskb_frag_t *frag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hj< h]h int delta}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj: ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj6 ubj)}(hhh]jX)}(h value to addh]h value to add}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjR ubah}(h]h ]h"]h$]h&]uh1jhj6 ubeh}(h]h ]h"]h$]h&]uh1jhjQ hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_sub (C function)c.skb_frag_size_subhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4void skb_frag_size_sub (skb_frag_t *frag, int delta)h]h)}(h3void skb_frag_size_sub(skb_frag_t *frag, int delta)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hskb_frag_size_subh]j%)}(hskb_frag_size_subh]hskb_frag_size_sub}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h(skb_frag_t *frag, int delta)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.skb_frag_size_subasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hfragh]hfrag}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int deltah](j)}(hinth]hint}(hj* hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj& ubj)}(h h]h }(hj8 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj& ubj%)}(hdeltah]hdelta}(hjF hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj& ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(h2Decrements the size of a skb fragment by **delta**h](h)Decrements the size of a skb fragment by }(hjp hhhNhNubj)}(h **delta**h]hdelta}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjm hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hV**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to subtracth](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hj h]hskb_frag_t *frag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``int delta`` value to subtracth](j)}(h ``int delta``h]j)}(hj h]h int delta}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jX)}(hvalue to subtracth]hvalue to subtract}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_must_loop (C function)c.skb_frag_must_loophNtauh1hhj[hhhNhNubh)}(hhh](h)}(h(bool skb_frag_must_loop (struct page *p)h]h)}(h'bool skb_frag_must_loop(struct page *p)h](j)}(hboolh]hbool}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj`hMubj)}(hskb_frag_must_looph]j%)}(hskb_frag_must_looph]hskb_frag_must_loop}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj`hMubj)}(h(struct page *p)h]j)}(hstruct page *ph](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjusbc.skb_frag_must_loopasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj`hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj`hMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMhjGhhubjS)}(hhh]jX)}(h#Test if ``p`` is a high memory pageh](hTest if }(hjhhhNhNubj)}(h``p``h]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is a high memory page}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj`hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj[hNhNubj})}(h4**Parameters** ``struct page *p`` fragment's pageh](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj?ubj)}(hhh]j)}(h"``struct page *p`` fragment's pageh](j)}(h``struct page *p``h]j)}(hjdh]hstruct page *p}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^ubj)}(hhh]jX)}(hfragment's pageh]hfragment’s page}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_foreach_page (C macro)c.skb_frag_foreach_pagehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hskb_frag_foreach_pageh]h)}(hskb_frag_foreach_pageh]j)}(hskb_frag_foreach_pageh]j%)}(hjh]hskb_frag_foreach_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubjX)}(hD``skb_frag_foreach_page (f, f_off, f_len, p, p_off, p_len, copied)``h]j)}(hjh]h@skb_frag_foreach_page (f, f_off, f_len, p, p_off, p_len, copied)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubh block_quote)}(hloop over pages in a fragment h]jX)}(hloop over pages in a fragmenth]hloop over pages in a fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubah}(h]h ]h"]h$]h&]uh1j hjhMhj[hhubj})}(hXA**Parameters** ``f`` skb frag to operate on ``f_off`` offset from start of f->netmem ``f_len`` length from f_off to loop over ``p`` (temp var) current page ``p_off`` (temp var) offset from start of current page, non-zero only on first page. ``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. ``copied`` (temp var) length so far, excluding current p_len. **Description** A fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj)}(hhh](j)}(h``f`` skb frag to operate on h](j)}(h``f``h]j)}(hjJh]hf}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDubj)}(hhh]jX)}(hskb frag to operate onh]hskb frag to operate on}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(h)``f_off`` offset from start of f->netmem h](j)}(h ``f_off``h]j)}(hjh]hf_off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj}ubj)}(hhh]jX)}(hoffset from start of f->netmemh]hoffset from start of f->netmem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(h)``f_len`` length from f_off to loop over h](j)}(h ``f_len``h]j)}(hjh]hf_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength from f_off to loop overh]hlength from f_off to loop over}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(h``p`` (temp var) current page h](j)}(h``p``h]j)}(hjh]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h(temp var) current pageh]h(temp var) current page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjAubj)}(hU``p_off`` (temp var) offset from start of current page, non-zero only on first page. h](j)}(h ``p_off``h]j)}(hj.h]hp_off}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj(ubj)}(hhh]jX)}(hJ(temp var) offset from start of current page, non-zero only on first page.h]hJ(temp var) offset from start of current page, non-zero only on first page.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjAubj)}(hV``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. h](j)}(h ``p_len``h]j)}(hjhh]hp_len}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjbubj)}(hhh]jX)}(hK(temp var) length in current page, < PAGE_SIZE only on first and last page.h]hK(temp var) length in current page, < PAGE_SIZE only on first and last page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjAubj)}(h>``copied`` (temp var) length so far, excluding current p_len. h](j)}(h ``copied``h]j)}(hjh]hcopied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h2(temp var) length so far, excluding current p_len.h]h2(temp var) length so far, excluding current p_len.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj )}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]jX)}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_shared_hwtstamps (C struct)c.skb_shared_hwtstampshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hskb_shared_hwtstampsh]h)}(hstruct skb_shared_hwtstampsh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(hhhj9hMubj)}(hskb_shared_hwtstampsh]j%)}(hj&h]hskb_shared_hwtstamps}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj$hhhj9hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhj!hhubjS)}(hhh]jX)}(hhardware time stampsh]hhardware time stamps}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhj!hhhj9hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Definition**:: struct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; }; **Members** ``{unnamed_union}`` anonymous ``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time ``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjU)}(hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };h]hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hY``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time h](j)}(h ``hwtstamp``h]j)}(hjh]hhwtstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hKhardware time stamp transformed into duration since arbitrary point in timeh]hKhardware time stamp transformed into duration since arbitrary point in time}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubj)}(hg``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](j)}(h``netdev_data``h]j)}(hjNh]h netdev_data}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHubj)}(hhh]jX)}(hWaddress/cookie of network device driver used as reference to actual hardware time stamph]hWaddress/cookie of network device driver used as reference to actual hardware time stamp}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubjX)}(hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.h]hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubjX)}(hLhwtstamps can only be compared against other hwtstamps from the same device.h]hLhwtstamps can only be compared against other hwtstamps from the same device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubjX)}(huThis structure is attached to packets as part of the :c:type:`skb_shared_info`. Use skb_hwtstamps() to get a pointer.h](h5This structure is attached to packets as part of the }(hjhhhNhNubh)}(h:c:type:`skb_shared_info`h]j)}(hjh]hskb_shared_info}(hjhhhNhNubah}(h]h ](xrefjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocnetworking/kapi refdomainjqreftypetype refexplicitrefwarnjj!)}j$]sb reftargetskb_shared_infouh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubh'. Use skb_hwtstamps() to get a pointer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhj[hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_buff (C struct) c.sk_buffhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hsk_buffh]h)}(hstruct sk_buffh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubj)}(hsk_buffh]j%)}(hjh]hsk_buff}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj"hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMhj hhubjS)}(hhh]jX)}(h socket bufferh]h socket buffer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjThhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj[hNhNubj})}(hX'**Definition**:: struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48] ; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; }; **Members** ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``next`` Next buffer in list ``prev`` Previous buffer in list ``{unnamed_union}`` anonymous ``dev`` Device we arrived on/are leaving by ``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` ``rbnode`` RB tree node, alternative to next/prev for netem/tcp ``list`` queue head ``ll_node`` anchor in an llist (eg socket defer_list) ``sk`` Socket we are owned by ``{unnamed_union}`` anonymous ``tstamp`` Time we arrived/left ``skb_mstamp_ns`` (aka **tstamp**) earliest departure time; start point for retransmit timer ``cb`` Control buffer. Free for use by every layer. Put private vars here ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``_skb_refdst`` destination entry (with norefcount bit) ``destructor`` Destruct function ``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) ``_sk_redir`` socket redirection information for skmsg ``_nfct`` Associated connection, if any (with nfctinfo bits) ``len`` Length of actual data ``data_len`` Data length ``mac_len`` Length of link layer header ``hdr_len`` writable header length of cloned skb ``queue_mapping`` Queue mapping for multiqueue devices ``cloned`` Head may be cloned (check refcnt to be sure) ``nohdr`` Payload reference only, must not modify header ``fclone`` skbuff clone status ``peeked`` this packet has been seen already, so stats have been done for it, don't do them again ``head_frag`` skb was allocated from page fragments, not allocated by kmalloc() or vmalloc(). ``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves ``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) ``active_extensions`` active extensions (skb_ext_id types) ``pkt_type`` Packet class ``ignore_df`` allow local fragmentation ``dst_pending_confirm`` need to confirm neighbour ``ip_summed`` Driver fed us an IP checksum ``ooo_okay`` allow the mapping of a socket to a queue to be changed ``tstamp_type`` When set, skb->tstamp has the delivery_time clock base of skb->tstamp. ``tc_at_ingress`` used within tc_classify to distinguish in/egress ``tc_skip_classify`` do not classify packet. set by IFB device ``remcsum_offload`` remote checksum offload is enabled ``csum_complete_sw`` checksum was completed by software ``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) ``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO ``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. ``sw_hash`` indicates hash was computed in software stack ``wifi_acked_valid`` wifi_acked was set ``wifi_acked`` whether frame was acked on wifi or not ``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS ``encapsulation`` indicates the inner headers in the skbuff are valid ``encap_hdr_csum`` software checksum is needed ``csum_valid`` checksum is already valid ``ndisc_nodetype`` router type (from link layer) ``ipvs_property`` skbuff is owned by ipvs ``nf_trace`` netfilter packet trace flag ``offload_fwd_mark`` Packet was L2-forwarded in hardware ``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware ``redirected`` packet was redirected by packet classifier ``from_ingress`` packet was redirected from the ingress path ``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h ``decrypted`` Decrypted SKB ``slow_gro`` state present at GRO time, slower prepare step required ``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL ``unreadable`` indicates that at least 1 of the fragments in this skb is unreadable. ``tc_index`` Traffic control index ``alloc_cpu`` CPU which did the skb allocation. ``{unnamed_union}`` anonymous ``csum`` Checksum (must include start/offset pair) ``{unnamed_struct}`` anonymous ``csum_start`` Offset from skb->head where checksumming should start ``csum_offset`` Offset from csum_start where checksum should be stored ``priority`` Packet queueing priority ``skb_iif`` ifindex of device we arrived on ``hash`` the packet hash ``{unnamed_union}`` anonymous ``vlan_all`` vlan fields (proto & tci) ``{unnamed_struct}`` anonymous ``vlan_proto`` vlan encapsulation protocol ``vlan_tci`` vlan tag control information ``{unnamed_union}`` anonymous ``napi_id`` id of the NAPI struct this skb came from ``sender_cpu`` (aka **napi_id**) source CPU in XPS ``secmark`` security marking ``{unnamed_union}`` anonymous ``mark`` Generic packet mark ``reserved_tailroom`` (aka **mark**) number of bytes of free space available at the tail of an sk_buff ``{unnamed_union}`` anonymous ``inner_protocol`` Protocol (encapsulation) ``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; ``inner_transport_header`` Inner transport layer header (encapsulation) ``inner_network_header`` Network layer header (encapsulation) ``inner_mac_header`` Link layer header (encapsulation) ``protocol`` Packet protocol from driver ``transport_header`` Transport layer header ``network_header`` Network layer header ``mac_header`` Link layer header ``kcov_handle`` KCOV remote handle for remote coverage collection ``tail`` Tail pointer ``end`` End pointer ``head`` Head of buffer ``data`` Data head pointer ``truesize`` Buffer size ``users`` User count - see {datagram,tcp}.c ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh:}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubjU)}(hXstruct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48] ; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };h]hXstruct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48] ; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``next`` Next buffer in list h](j)}(h``next``h]j)}(hj6h]hnext}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0ubj)}(hhh]jX)}(hNext buffer in listh]hNext buffer in list}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(h!``prev`` Previous buffer in list h](j)}(h``prev``h]j)}(hjoh]hprev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjiubj)}(hhh]jX)}(hPrevious buffer in listh]hPrevious buffer in list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``dev`` Device we arrived on/are leaving by h](j)}(h``dev``h]j)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h#Device we arrived on/are leaving byh]h#Device we arrived on/are leaving by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hV``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` h](j)}(h``dev_scratch``h]j)}(hjh]h dev_scratch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hE(aka **dev**) alternate use of **dev** when **dev** would be ``NULL``h](h(aka }(hj3hhhNhNubj)}(h**dev**h]hdev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh) alternate use of }(hj3hhhNhNubj)}(h**dev**h]hdev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh when }(hj3hhhNhNubj)}(h**dev**h]hdev}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh would be }(hj3hhhNhNubj)}(h``NULL``h]hNULL}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h@``rbnode`` RB tree node, alternative to next/prev for netem/tcp h](j)}(h ``rbnode``h]j)}(hjh]hrbnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h4RB tree node, alternative to next/prev for netem/tcph]h4RB tree node, alternative to next/prev for netem/tcp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``list`` queue head h](j)}(h``list``h]j)}(hjh]hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h queue headh]h queue head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h6``ll_node`` anchor in an llist (eg socket defer_list) h](j)}(h ``ll_node``h]j)}(hj h]hll_node}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h)anchor in an llist (eg socket defer_list)h]h)anchor in an llist (eg socket defer_list)}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``sk`` Socket we are owned by h](j)}(h``sk``h]j)}(hjBh]hsk}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj<ubj)}(hhh]jX)}(hSocket we are owned byh]hSocket we are owned by}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj{h]h{unnamed_union}}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjuubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h ``tstamp`` Time we arrived/left h](j)}(h ``tstamp``h]j)}(hjh]htstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hTime we arrived/lefth]hTime we arrived/left}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h]``skb_mstamp_ns`` (aka **tstamp**) earliest departure time; start point for retransmit timer h](j)}(h``skb_mstamp_ns``h]j)}(hjh]h skb_mstamp_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hJ(aka **tstamp**) earliest departure time; start point for retransmit timerh](h(aka }(hjhhhNhNubj)}(h **tstamp**h]htstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh;) earliest departure time; start point for retransmit timer}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``cb`` Control buffer. Free for use by every layer. Put private vars here h](j)}(h``cb``h]j)}(hj9h]hcb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]jX)}(hBControl buffer. Free for use by every layer. Put private vars hereh]hBControl buffer. Free for use by every layer. Put private vars here}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjrh]h{unnamed_union}}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjlubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``_skb_refdst`` destination entry (with norefcount bit) h](j)}(h``_skb_refdst``h]j)}(hjh]h _skb_refdst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h'destination entry (with norefcount bit)h]h'destination entry (with norefcount bit)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``destructor`` Destruct function h](j)}(h``destructor``h]j)}(hjh]h destructor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hjubj)}(hhh]jX)}(hDestruct functionh]hDestruct function}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hM.hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM.hjubj)}(hG``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) h](j)}(h``tcp_tsorted_anchor``h]j)}(hjVh]htcp_tsorted_anchor}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hjPubj)}(hhh]jX)}(h/list structure for TCP (tp->tsorted_sent_queue)h]h/list structure for TCP (tp->tsorted_sent_queue)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhM/hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM/hjubj)}(h7``_sk_redir`` socket redirection information for skmsg h](j)}(h ``_sk_redir``h]j)}(hjh]h _sk_redir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjubj)}(hhh]jX)}(h(socket redirection information for skmsgh]h(socket redirection information for skmsg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h=``_nfct`` Associated connection, if any (with nfctinfo bits) h](j)}(h ``_nfct``h]j)}(hjh]h_nfct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjubj)}(hhh]jX)}(h2Associated connection, if any (with nfctinfo bits)h]h2Associated connection, if any (with nfctinfo bits)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h``len`` Length of actual data h](j)}(h``len``h]j)}(hjh]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hLength of actual datah]hLength of actual data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``data_len`` Data length h](j)}(h ``data_len``h]j)}(hj:h]hdata_len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubj)}(hhh]jX)}(h Data lengthh]h Data length}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h(``mac_len`` Length of link layer header h](j)}(h ``mac_len``h]j)}(hjsh]hmac_len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjmubj)}(hhh]jX)}(hLength of link layer headerh]hLength of link layer header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``hdr_len`` writable header length of cloned skb h](j)}(h ``hdr_len``h]j)}(hjh]hhdr_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h$writable header length of cloned skbh]h$writable header length of cloned skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``queue_mapping`` Queue mapping for multiqueue devices h](j)}(h``queue_mapping``h]j)}(hjh]h queue_mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjubj)}(hhh]jX)}(h$Queue mapping for multiqueue devicesh]h$Queue mapping for multiqueue devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(h8``cloned`` Head may be cloned (check refcnt to be sure) h](j)}(h ``cloned``h]j)}(hjh]hcloned}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h,Head may be cloned (check refcnt to be sure)h]h,Head may be cloned (check refcnt to be sure)}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h9``nohdr`` Payload reference only, must not modify header h](j)}(h ``nohdr``h]j)}(hjWh]hnohdr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubj)}(hhh]jX)}(h.Payload reference only, must not modify headerh]h.Payload reference only, must not modify header}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(h``fclone`` skbuff clone status h](j)}(h ``fclone``h]j)}(hjh]hfclone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hskbuff clone statush]hskbuff clone status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hb``peeked`` this packet has been seen already, so stats have been done for it, don't do them again h](j)}(h ``peeked``h]j)}(hjh]hpeeked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hjubj)}(hhh]jX)}(hVthis packet has been seen already, so stats have been done for it, don't do them againh]hXthis packet has been seen already, so stats have been done for it, don’t do them again}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h^``head_frag`` skb was allocated from page fragments, not allocated by kmalloc() or vmalloc(). h](j)}(h ``head_frag``h]j)}(hjh]h head_frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hjubj)}(hhh]jX)}(hOskb was allocated from page fragments, not allocated by kmalloc() or vmalloc().h]hOskb was allocated from page fragments, not allocated by kmalloc() or vmalloc().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h=``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves h](j)}(h``pfmemalloc``h]j)}(hj=h]h pfmemalloc}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hj7ubj)}(hhh]jX)}(h-skbuff was allocated from PFMEMALLOC reservesh]h-skbuff was allocated from PFMEMALLOC reserves}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM8hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM8hjubj)}(hf``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) h](j)}(h``pp_recycle``h]j)}(hjvh]h pp_recycle}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hjpubj)}(hhh]jX)}(hVmark the packet for recycling instead of freeing (implies page_pool support on driver)h]hVmark the packet for recycling instead of freeing (implies page_pool support on driver)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h;``active_extensions`` active extensions (skb_ext_id types) h](j)}(h``active_extensions``h]j)}(hjh]hactive_extensions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hjubj)}(hhh]jX)}(h$active extensions (skb_ext_id types)h]h$active extensions (skb_ext_id types)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(h``pkt_type`` Packet class h](j)}(h ``pkt_type``h]j)}(hjh]hpkt_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h Packet classh]h Packet class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``ignore_df`` allow local fragmentation h](j)}(h ``ignore_df``h]j)}(hj"h]h ignore_df}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hallow local fragmentationh]hallow local fragmentation}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h2``dst_pending_confirm`` need to confirm neighbour h](j)}(h``dst_pending_confirm``h]j)}(hj[h]hdst_pending_confirm}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhjUubj)}(hhh]jX)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMNhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMNhjubj)}(h+``ip_summed`` Driver fed us an IP checksum h](j)}(h ``ip_summed``h]j)}(hjh]h ip_summed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hDriver fed us an IP checksumh]hDriver fed us an IP checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``ooo_okay`` allow the mapping of a socket to a queue to be changed h](j)}(h ``ooo_okay``h]j)}(hjh]hooo_okay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hjubj)}(hhh]jX)}(h6allow the mapping of a socket to a queue to be changedh]h6allow the mapping of a socket to a queue to be changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(hW``tstamp_type`` When set, skb->tstamp has the delivery_time clock base of skb->tstamp. h](j)}(h``tstamp_type``h]j)}(hjh]h tstamp_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhjubj)}(hhh]jX)}(hFWhen set, skb->tstamp has the delivery_time clock base of skb->tstamp.h]hFWhen set, skb->tstamp has the delivery_time clock base of skb->tstamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(hC``tc_at_ingress`` used within tc_classify to distinguish in/egress h](j)}(h``tc_at_ingress``h]j)}(hj@h]h tc_at_ingress}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&hj:ubj)}(hhh]jX)}(h0used within tc_classify to distinguish in/egressh]h0used within tc_classify to distinguish in/egress}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM&hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM&hjubj)}(h?``tc_skip_classify`` do not classify packet. set by IFB device h](j)}(h``tc_skip_classify``h]j)}(hjyh]htc_skip_classify}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM%hjsubj)}(hhh]jX)}(h)do not classify packet. set by IFB deviceh]h)do not classify packet. set by IFB device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h7``remcsum_offload`` remote checksum offload is enabled h](j)}(h``remcsum_offload``h]j)}(hjh]hremcsum_offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjubj)}(hhh]jX)}(h"remote checksum offload is enabledh]h"remote checksum offload is enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h8``csum_complete_sw`` checksum was completed by software h](j)}(h``csum_complete_sw``h]j)}(hjh]hcsum_complete_sw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhjubj)}(hhh]jX)}(h"checksum was completed by softwareh]h"checksum was completed by software}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubj)}(h``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) h](j)}(h``csum_level``h]j)}(hj$h]h csum_level}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMKhjubj)}(hhh]jX)}(hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)h]hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMKhjubj)}(h]``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO h](j)}(h``inner_protocol_type``h]j)}(hj^h]hinner_protocol_type}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjXubj)}(hhh]jX)}(hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTOh]hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM!hjubj)}(hL``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. h](j)}(h ``l4_hash``h]j)}(hjh]hl4_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubj)}(hhh]jX)}(h?indicate hash is a canonical 4-tuple hash over transport ports.h]h?indicate hash is a canonical 4-tuple hash over transport ports.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h:``sw_hash`` indicates hash was computed in software stack h](j)}(h ``sw_hash``h]j)}(hjh]hsw_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjubj)}(hhh]jX)}(h-indicates hash was computed in software stackh]h-indicates hash was computed in software stack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(h(``wifi_acked_valid`` wifi_acked was set h](j)}(h``wifi_acked_valid``h]j)}(hj h]hwifi_acked_valid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhj ubj)}(hhh]jX)}(hwifi_acked was seth]hwifi_acked was set}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMAhj! ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMAhjubj)}(h6``wifi_acked`` whether frame was acked on wifi or not h](j)}(h``wifi_acked``h]j)}(hjD h]h wifi_acked}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhj> ubj)}(hhh]jX)}(h&whether frame was acked on wifi or noth]h&whether frame was acked on wifi or not}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjY hMBhjZ ubah}(h]h ]h"]h$]h&]uh1jhj> ubeh}(h]h ]h"]h$]h&]uh1jhjY hMBhjubj)}(h=``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS h](j)}(h ``no_fcs``h]j)}(hj} h]hno_fcs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChjw ubj)}(hhh]jX)}(h1Request NIC to treat last 4 bytes as Ethernet FCSh]h1Request NIC to treat last 4 bytes as Ethernet FCS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMChj ubah}(h]h ]h"]h$]h&]uh1jhjw ubeh}(h]h ]h"]h$]h&]uh1jhj hMChjubj)}(hF``encapsulation`` indicates the inner headers in the skbuff are valid h](j)}(h``encapsulation``h]j)}(hj h]h encapsulation}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhj ubj)}(hhh]jX)}(h3indicates the inner headers in the skbuff are validh]h3indicates the inner headers in the skbuff are valid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMDhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMDhjubj)}(h/``encap_hdr_csum`` software checksum is needed h](j)}(h``encap_hdr_csum``h]j)}(hj h]hencap_hdr_csum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhj ubj)}(hhh]jX)}(hsoftware checksum is neededh]hsoftware checksum is needed}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMEhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMEhjubj)}(h)``csum_valid`` checksum is already valid h](j)}(h``csum_valid``h]j)}(hj(!h]h csum_valid}(hj*!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj"!ubj)}(hhh]jX)}(hchecksum is already validh]hchecksum is already valid}(hjA!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=!hMFhj>!ubah}(h]h ]h"]h$]h&]uh1jhj"!ubeh}(h]h ]h"]h$]h&]uh1jhj=!hMFhjubj)}(h1``ndisc_nodetype`` router type (from link layer) h](j)}(h``ndisc_nodetype``h]j)}(hja!h]hndisc_nodetype}(hjc!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hj[!ubj)}(hhh]jX)}(hrouter type (from link layer)h]hrouter type (from link layer)}(hjz!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjv!hM<hjw!ubah}(h]h ]h"]h$]h&]uh1jhj[!ubeh}(h]h ]h"]h$]h&]uh1jhjv!hM<hjubj)}(h*``ipvs_property`` skbuff is owned by ipvs h](j)}(h``ipvs_property``h]j)}(hj!h]h ipvs_property}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj!ubj)}(hhh]jX)}(hskbuff is owned by ipvsh]hskbuff is owned by ipvs}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h)``nf_trace`` netfilter packet trace flag h](j)}(h ``nf_trace``h]j)}(hj!h]hnf_trace}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hj!ubj)}(hhh]jX)}(hnetfilter packet trace flagh]hnetfilter packet trace flag}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hM,hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hM,hjubj)}(h9``offload_fwd_mark`` Packet was L2-forwarded in hardware h](j)}(h``offload_fwd_mark``h]j)}(hj "h]hoffload_fwd_mark}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#hj"ubj)}(hhh]jX)}(h#Packet was L2-forwarded in hardwareh]h#Packet was L2-forwarded in hardware}(hj%"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!"hM#hj""ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj!"hM#hjubj)}(h<``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware h](j)}(h``offload_l3_fwd_mark``h]j)}(hjE"h]hoffload_l3_fwd_mark}(hjG"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$hj?"ubj)}(hhh]jX)}(h#Packet was L3-forwarded in hardwareh]h#Packet was L3-forwarded in hardware}(hj^"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZ"hM$hj["ubah}(h]h ]h"]h$]h&]uh1jhj?"ubeh}(h]h ]h"]h$]h&]uh1jhjZ"hM$hjubj)}(h:``redirected`` packet was redirected by packet classifier h](j)}(h``redirected``h]j)}(hj~"h]h redirected}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hjx"ubj)}(hhh]jX)}(h*packet was redirected by packet classifierh]h*packet was redirected by packet classifier}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM'hj"ubah}(h]h ]h"]h$]h&]uh1jhjx"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM'hjubj)}(h=``from_ingress`` packet was redirected from the ingress path h](j)}(h``from_ingress``h]j)}(hj"h]h from_ingress}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM(hj"ubj)}(hhh]jX)}(h+packet was redirected from the ingress pathh]h+packet was redirected from the ingress path}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM(hj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM(hjubj)}(hH``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h h](j)}(h``nf_skip_egress``h]j)}(hj"h]hnf_skip_egress}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM)hj"ubj)}(hhh]jX)}(h4packet shall skip nf egress - see netfilter_netdev.hh]h4packet shall skip nf egress - see netfilter_netdev.h}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM)hj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hM)hjubj)}(h``decrypted`` Decrypted SKB h](j)}(h ``decrypted``h]j)}(hj)#h]h decrypted}(hj+#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhj##ubj)}(hhh]jX)}(h Decrypted SKBh]h Decrypted SKB}(hjB#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>#hMOhj?#ubah}(h]h ]h"]h$]h&]uh1jhj##ubeh}(h]h ]h"]h$]h&]uh1jhj>#hMOhjubj)}(hE``slow_gro`` state present at GRO time, slower prepare step required h](j)}(h ``slow_gro``h]j)}(hjb#h]hslow_gro}(hjd#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhj\#ubj)}(hhh]jX)}(h7state present at GRO time, slower prepare step requiredh]h7state present at GRO time, slower prepare step required}(hj{#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjw#hMPhjx#ubah}(h]h ]h"]h$]h&]uh1jhj\#ubeh}(h]h ]h"]h$]h&]uh1jhjw#hMPhjubj)}(h9``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL h](j)}(h``csum_not_inet``h]j)}(hj#h]h csum_not_inet}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhj#ubj)}(hhh]jX)}(h&use CRC32c to resolve CHECKSUM_PARTIALh]h&use CRC32c to resolve CHECKSUM_PARTIAL}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMGhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMGhjubj)}(hU``unreadable`` indicates that at least 1 of the fragments in this skb is unreadable. h](j)}(h``unreadable``h]j)}(hj#h]h unreadable}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhj#ubj)}(hhh]jX)}(hEindicates that at least 1 of the fragments in this skb is unreadable.h]hEindicates that at least 1 of the fragments in this skb is unreadable.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMMhjubj)}(h#``tc_index`` Traffic control index h](j)}(h ``tc_index``h]j)}(hj$h]htc_index}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj $ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj$ubj)}(hhh]jX)}(hTraffic control indexh]hTraffic control index}(hj'$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#$hM3hj$$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj#$hM3hjubj)}(h0``alloc_cpu`` CPU which did the skb allocation. h](j)}(h ``alloc_cpu``h]j)}(hjG$h]h alloc_cpu}(hjI$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhjA$ubj)}(hhh]jX)}(h!CPU which did the skb allocation.h]h!CPU which did the skb allocation.}(hj`$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\$hMUhj]$ubah}(h]h ]h"]h$]h&]uh1jhjA$ubeh}(h]h ]h"]h$]h&]uh1jhj\$hMUhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj$h]h{unnamed_union}}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjz$ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hKhj$ubah}(h]h ]h"]h$]h&]uh1jhjz$ubeh}(h]h ]h"]h$]h&]uh1jhj$hKhjubj)}(h3``csum`` Checksum (must include start/offset pair) h](j)}(h``csum``h]j)}(hj$h]hcsum}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$ubj)}(hhh]jX)}(h)Checksum (must include start/offset pair)h]h)Checksum (must include start/offset pair)}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj$h]h{unnamed_struct}}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj$ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hKhj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhjubj)}(hE``csum_start`` Offset from skb->head where checksumming should start h](j)}(h``csum_start``h]j)}(hj+%h]h csum_start}(hj-%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%%ubj)}(hhh]jX)}(h5Offset from skb->head where checksumming should starth]h5Offset from skb->head where checksumming should start}(hjD%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@%hMhjA%ubah}(h]h ]h"]h$]h&]uh1jhj%%ubeh}(h]h ]h"]h$]h&]uh1jhj@%hMhjubj)}(hG``csum_offset`` Offset from csum_start where checksum should be stored h](j)}(h``csum_offset``h]j)}(hjd%h]h csum_offset}(hjf%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^%ubj)}(hhh]jX)}(h6Offset from csum_start where checksum should be storedh]h6Offset from csum_start where checksum should be stored}(hj}%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjy%hMhjz%ubah}(h]h ]h"]h$]h&]uh1jhj^%ubeh}(h]h ]h"]h$]h&]uh1jhjy%hMhjubj)}(h&``priority`` Packet queueing priority h](j)}(h ``priority``h]j)}(hj%h]hpriority}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj)}(hhh]jX)}(hPacket queueing priorityh]hPacket queueing priority}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(h,``skb_iif`` ifindex of device we arrived on h](j)}(h ``skb_iif``h]j)}(hj%h]hskb_iif}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hj%ubj)}(hhh]jX)}(hifindex of device we arrived onh]hifindex of device we arrived on}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM2hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM2hjubj)}(h``hash`` the packet hash h](j)}(h``hash``h]j)}(hj&h]hhash}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj &ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hj &ubj)}(hhh]jX)}(hthe packet hashh]hthe packet hash}(hj(&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$&hM4hj%&ubah}(h]h ]h"]h$]h&]uh1jhj &ubeh}(h]h ]h"]h$]h&]uh1jhj$&hM4hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjH&h]h{unnamed_union}}(hjJ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjB&ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hja&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]&hKhj^&ubah}(h]h ]h"]h$]h&]uh1jhjB&ubeh}(h]h ]h"]h$]h&]uh1jhj]&hKhjubj)}(h'``vlan_all`` vlan fields (proto & tci) h](j)}(h ``vlan_all``h]j)}(hj&h]hvlan_all}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZhj{&ubj)}(hhh]jX)}(hvlan fields (proto & tci)h]hvlan fields (proto & tci)}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMZhj&ubah}(h]h ]h"]h$]h&]uh1jhj{&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMZhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj&h]h{unnamed_struct}}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj&ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhjubj)}(h+``vlan_proto`` vlan encapsulation protocol h](j)}(h``vlan_proto``h]j)}(hj&h]h vlan_proto}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[hj&ubj)}(hhh]jX)}(hvlan encapsulation protocolh]hvlan encapsulation protocol}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM[hj 'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hM[hjubj)}(h*``vlan_tci`` vlan tag control information h](j)}(h ``vlan_tci``h]j)}(hj,'h]hvlan_tci}(hj.'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hj&'ubj)}(hhh]jX)}(hvlan tag control informationh]hvlan tag control information}(hjE'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA'hM\hjB'ubah}(h]h ]h"]h$]h&]uh1jhj&'ubeh}(h]h ]h"]h$]h&]uh1jhjA'hM\hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hje'h]h{unnamed_union}}(hjg'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj_'ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj~'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjz'hKhj{'ubah}(h]h ]h"]h$]h&]uh1jhj_'ubeh}(h]h ]h"]h$]h&]uh1jhjz'hKhjubj)}(h5``napi_id`` id of the NAPI struct this skb came from h](j)}(h ``napi_id``h]j)}(hj'h]hnapi_id}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShj'ubj)}(hhh]jX)}(h(id of the NAPI struct this skb came fromh]h(id of the NAPI struct this skb came from}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMShj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMShjubj)}(h3``sender_cpu`` (aka **napi_id**) source CPU in XPS h](j)}(h``sender_cpu``h]j)}(hj'h]h sender_cpu}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThj'ubj)}(hhh]jX)}(h#(aka **napi_id**) source CPU in XPSh](h(aka }(hj'hhhNhNubj)}(h **napi_id**h]hnapi_id}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh) source CPU in XPS}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj'hMThj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMThjubj)}(h``secmark`` security marking h](j)}(h ``secmark``h]j)}(hj"(h]hsecmark}(hj$(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj (ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMVhj(ubj)}(hhh]jX)}(hsecurity markingh]hsecurity marking}(hj;(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7(hMVhj8(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj7(hMVhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj[(h]h{unnamed_union}}(hj](hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjU(ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjt(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjp(hKhjq(ubah}(h]h ]h"]h$]h&]uh1jhjU(ubeh}(h]h ]h"]h$]h&]uh1jhjp(hKhjubj)}(h``mark`` Generic packet mark h](j)}(h``mark``h]j)}(hj(h]hmark}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhj(ubj)}(hhh]jX)}(hGeneric packet markh]hGeneric packet mark}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMWhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMWhjubj)}(hg``reserved_tailroom`` (aka **mark**) number of bytes of free space available at the tail of an sk_buff h](j)}(h``reserved_tailroom``h]j)}(hj(h]hreserved_tailroom}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhj(ubj)}(hhh]jX)}(hP(aka **mark**) number of bytes of free space available at the tail of an sk_buffh](h(aka }(hj(hhhNhNubj)}(h**mark**h]hmark}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubhC) number of bytes of free space available at the tail of an sk_buff}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMYhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj)h]h{unnamed_union}}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj)ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj2)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.)hKhj/)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj.)hKhjubj)}(h,``inner_protocol`` Protocol (encapsulation) h](j)}(h``inner_protocol``h]j)}(hjR)h]hinner_protocol}(hjT)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM]hjL)ubj)}(hhh]jX)}(hProtocol (encapsulation)h]hProtocol (encapsulation)}(hjk)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjg)hM]hjh)ubah}(h]h ]h"]h$]h&]uh1jhjL)ubeh}(h]h ]h"]h$]h&]uh1jhjg)hM]hjubj)}(ho``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; h](j)}(h``inner_ipproto``h]j)}(hj)h]h inner_ipproto}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hj)ubj)}(hhh]jX)}(h\(aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO;h](h(aka }(hj)hhhNhNubj)}(h**inner_protocol**h]hinner_protocol}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubhE) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO;}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM_hjubj)}(hH``inner_transport_header`` Inner transport layer header (encapsulation) h](j)}(h``inner_transport_header``h]j)}(hj)h]hinner_transport_header}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM`hj)ubj)}(hhh]jX)}(h,Inner transport layer header (encapsulation)h]h,Inner transport layer header (encapsulation)}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM`hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM`hjubj)}(h>``inner_network_header`` Network layer header (encapsulation) h](j)}(h``inner_network_header``h]j)}(hj*h]hinner_network_header}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahj *ubj)}(hhh]jX)}(h$Network layer header (encapsulation)h]h$Network layer header (encapsulation)}(hj)*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%*hMahj&*ubah}(h]h ]h"]h$]h&]uh1jhj *ubeh}(h]h ]h"]h$]h&]uh1jhj%*hMahjubj)}(h7``inner_mac_header`` Link layer header (encapsulation) h](j)}(h``inner_mac_header``h]j)}(hjI*h]hinner_mac_header}(hjK*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhjC*ubj)}(hhh]jX)}(h!Link layer header (encapsulation)h]h!Link layer header (encapsulation)}(hjb*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^*hMbhj_*ubah}(h]h ]h"]h$]h&]uh1jhjC*ubeh}(h]h ]h"]h$]h&]uh1jhj^*hMbhjubj)}(h)``protocol`` Packet protocol from driver h](j)}(h ``protocol``h]j)}(hj*h]hprotocol}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hj|*ubj)}(hhh]jX)}(hPacket protocol from driverh]hPacket protocol from driver}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hM-hj*ubah}(h]h ]h"]h$]h&]uh1jhj|*ubeh}(h]h ]h"]h$]h&]uh1jhj*hM-hjubj)}(h,``transport_header`` Transport layer header h](j)}(h``transport_header``h]j)}(hj*h]htransport_header}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj*ubj)}(hhh]jX)}(hTransport layer headerh]hTransport layer header}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMchj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMchjubj)}(h(``network_header`` Network layer header h](j)}(h``network_header``h]j)}(hj*h]hnetwork_header}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhj*ubj)}(hhh]jX)}(hNetwork layer headerh]hNetwork layer header}(hj +hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj +hMdhj +ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj +hMdhjubj)}(h!``mac_header`` Link layer header h](j)}(h``mac_header``h]j)}(hj-+h]h mac_header}(hj/+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj++ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehj'+ubj)}(hhh]jX)}(hLink layer headerh]hLink layer header}(hjF+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB+hMehjC+ubah}(h]h ]h"]h$]h&]uh1jhj'+ubeh}(h]h ]h"]h$]h&]uh1jhjB+hMehjubj)}(hB``kcov_handle`` KCOV remote handle for remote coverage collection h](j)}(h``kcov_handle``h]j)}(hjf+h]h kcov_handle}(hjh+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhj`+ubj)}(hhh]jX)}(h1KCOV remote handle for remote coverage collectionh]h1KCOV remote handle for remote coverage collection}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{+hMfhj|+ubah}(h]h ]h"]h$]h&]uh1jhj`+ubeh}(h]h ]h"]h$]h&]uh1jhj{+hMfhjubj)}(h``tail`` Tail pointer h](j)}(h``tail``h]j)}(hj+h]htail}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghj+ubj)}(hhh]jX)}(h Tail pointerh]h Tail pointer}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMghj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMghjubj)}(h``end`` End pointer h](j)}(h``end``h]j)}(hj+h]hend}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhj+ubj)}(hhh]jX)}(h End pointerh]h End pointer}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhhjubj)}(h``head`` Head of buffer h](j)}(h``head``h]j)}(hj,h]hhead}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihj ,ubj)}(hhh]jX)}(hHead of bufferh]hHead of buffer}(hj*,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&,hMihj',ubah}(h]h ]h"]h$]h&]uh1jhj ,ubeh}(h]h ]h"]h$]h&]uh1jhj&,hMihjubj)}(h``data`` Data head pointer h](j)}(h``data``h]j)}(hjJ,h]hdata}(hjL,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjD,ubj)}(hhh]jX)}(hData head pointerh]hData head pointer}(hjc,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_,hMjhj`,ubah}(h]h ]h"]h$]h&]uh1jhjD,ubeh}(h]h ]h"]h$]h&]uh1jhj_,hMjhjubj)}(h``truesize`` Buffer size h](j)}(h ``truesize``h]j)}(hj,h]htruesize}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhj},ubj)}(hhh]jX)}(h Buffer sizeh]h Buffer size}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMkhj,ubah}(h]h ]h"]h$]h&]uh1jhj},ubeh}(h]h ]h"]h$]h&]uh1jhj,hMkhjubj)}(h,``users`` User count - see {datagram,tcp}.c h](j)}(h ``users``h]j)}(hj,h]husers}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj,ubj)}(hhh]jX)}(h!User count - see {datagram,tcp}.ch]h!User count - see {datagram,tcp}.c}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMlhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMlhjubj)}(hJ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](j)}(h``extensions``h]j)}(hj,h]h extensions}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj,ubj)}(hhh]jX)}(h;allocated extensions, valid if active_extensions is nonzeroh]h;allocated extensions, valid if active_extensions is nonzero}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMmhj -ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj -hMlhjubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pfmemalloc (C function)c.skb_pfmemallochNtauh1hhj[hhhNhNubh)}(hhh](h)}(h/bool skb_pfmemalloc (const struct sk_buff *skb)h]h)}(h.bool skb_pfmemalloc(const struct sk_buff *skb)h](j)}(hjTh]hbool}(hjO-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK-hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjubj)}(h h]h }(hj]-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK-hhhj\-hMjubj)}(hskb_pfmemalloch]j%)}(hskb_pfmemalloch]hskb_pfmemalloc}(hjo-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjK-hhhj\-hMjubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjq-sbc.skb_pfmemallocasbuh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hskbh]hskb}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubah}(h]h ]h"]h$]h&]j<j=uh1jhjK-hhhj\-hMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjG-hhhj\-hMjubah}(h]jB-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\-hMjhjD-hhubjS)}(hhh]jX)}(h6Test if the skb was allocated from PFMEMALLOC reservesh]h6Test if the skb was allocated from PFMEMALLOC reserves}(hj).hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhj&.hhubah}(h]h ]h"]h$]h&]uh1jRhjD-hhhj\-hMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjA.jxjA.jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jX)}(h**Parameters**h]j)}(hjK.h]h Parameters}(hjM.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI.ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMnhjE.ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hjj.h]hconst struct sk_buff *skb}(hjl.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjd.ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhj.ubah}(h]h ]h"]h$]h&]uh1jhjd.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMphja.ubah}(h]h ]h"]h$]h&]uh1jhjE.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst (C function) c.skb_dsthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6struct dst_entry * skb_dst (const struct sk_buff *skb)h]h)}(h4struct dst_entry *skb_dst(const struct sk_buff *skb)h](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMzubh)}(hhh]j%)}(h dst_entryh]h dst_entry}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jskb_dstsb c.skb_dstasbuh1hhj.hhhj.hMzubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMzubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.hhhj.hMzubj)}(hskb_dsth]j%)}(hj/h]hskb_dst}(hj#/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hMzubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj>/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:/ubj)}(h h]h }(hjK/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:/ubh)}(hjh]hstruct}(hjY/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:/ubj)}(h h]h }(hjf/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:/ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjw/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjt/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjy/modnameN classnameNjj!)}j$]j. c.skb_dstasbuh1hhj:/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:/ubj%)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6/ubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hMzubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hMzubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMzhj.hhubjS)}(hhh]jX)}(hreturns skb dst_entryh]hreturns skb dst_entry}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzhj/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hMzubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj[hNhNubj})}(hx**Parameters** ``const struct sk_buff *skb`` buffer **Return** skb dst_entry, regardless of reference taken or not.h](jX)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM~hj/ubj)}(hhh]j)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hj0h]hconst struct sk_buff *skb}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hj0ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj40hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj00hM{hj10ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj00hM{hj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h **Return**h]j)}(hjV0h]hReturn}(hjX0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT0ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hj/ubjX)}(h4skb dst_entry, regardless of reference taken or not.h]h4skb dst_entry, regardless of reference taken or not.}(hjl0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst_set (C function) c.skb_dst_sethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=void skb_dst_set (struct sk_buff *skb, struct dst_entry *dst)h]h)}(hh]h*}(hj$1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hskbh]hskb}(hj11hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hstruct dst_entry *dsth](h)}(hjh]hstruct}(hjJ1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjF1ubj)}(h h]h }(hjW1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF1ubh)}(hhh]j%)}(h dst_entryh]h dst_entry}(hjh1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjj1modnameN classnameNjj!)}j$]j1 c.skb_dst_setasbuh1hhjF1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjF1ubj%)}(hdsth]hdst}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjF1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhj0hhubjS)}(hhh]jX)}(h sets skb dsth]h sets skb dst}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer ``struct dst_entry *dst`` dst entry **Description** Sets skb dst, assuming a reference was taken on dst and should be released by skb_dst_drop()h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj 2h]hstruct sk_buff *skb}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj%2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!2hMhj"2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj!2hMhj2ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hjE2h]hstruct dst_entry *dst}(hjG2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj?2ubj)}(hhh]jX)}(h dst entryh]h dst entry}(hj^2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZ2hMhj[2ubah}(h]h ]h"]h$]h&]uh1jhj?2ubeh}(h]h ]h"]h$]h&]uh1jhjZ2hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~2ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubjX)}(h\Sets skb dst, assuming a reference was taken on dst and should be released by skb_dst_drop()h]h\Sets skb dst, assuming a reference was taken on dst and should be released by skb_dst_drop()}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst_set_noref (C function)c.skb_dst_set_norefhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hCvoid skb_dst_set_noref (struct sk_buff *skb, struct dst_entry *dst)h]h)}(hBvoid skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst)h](j)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhj2hMubj)}(hskb_dst_set_norefh]j%)}(hskb_dst_set_norefh]hskb_dst_set_noref}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhj2hMubj)}(h,(struct sk_buff *skb, struct dst_entry *dst)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj 3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"3modnameN classnameNjj!)}j$]j')}jj2sbc.skb_dst_set_norefasbuh1hhj2ubj)}(h h]h }(hj@3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjN3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hskbh]hskb}(hj[3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(hstruct dst_entry *dsth](h)}(hjh]hstruct}(hjt3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjp3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp3ubh)}(hhh]j%)}(h dst_entryh]h dst_entry}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j<3c.skb_dst_set_norefasbuh1hhjp3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjp3ubj%)}(hdsth]hdst}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhj2hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj2hMubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hMhj2hhubjS)}(hhh]jX)}(h1sets skb dst, hopefully, without taking referenceh]h1sets skb dst, hopefully, without taking reference}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhj2hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj 4jxj 4jyjzj{uh1hhhhj[hNhNubj})}(hXl**Parameters** ``struct sk_buff *skb`` buffer ``struct dst_entry *dst`` dst entry **Description** Sets skb dst, assuming a reference was not taken on dst. If dst entry is cached, we do not take reference and dst_release will be avoided by refdst_drop. If dst entry is not cached, we take reference, so that last dst_release can destroy the dst immediately.h](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj64h]hstruct sk_buff *skb}(hj84hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj44ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj04ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjO4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjK4hMhjL4ubah}(h]h ]h"]h$]h&]uh1jhj04ubeh}(h]h ]h"]h$]h&]uh1jhjK4hMhj-4ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hjo4h]hstruct dst_entry *dst}(hjq4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhji4ubj)}(hhh]jX)}(h dst entryh]h dst entry}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhji4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj-4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubjX)}(hXSets skb dst, assuming a reference was not taken on dst. If dst entry is cached, we do not take reference and dst_release will be avoided by refdst_drop. If dst entry is not cached, we take reference, so that last dst_release can destroy the dst immediately.h]hXSets skb dst, assuming a reference was not taken on dst. If dst entry is cached, we do not take reference and dst_release will be avoided by refdst_drop. If dst entry is not cached, we take reference, so that last dst_release can destroy the dst immediately.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst_is_noref (C function)c.skb_dst_is_norefhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h1bool skb_dst_is_noref (const struct sk_buff *skb)h]h)}(h0bool skb_dst_is_noref(const struct sk_buff *skb)h](j)}(hjTh]hbool}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hMubj)}(hskb_dst_is_norefh]j%)}(hskb_dst_is_norefh]hskb_dst_is_noref}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj+5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'5ubj)}(h h]h }(hj85hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'5ubh)}(hjh]hstruct}(hjF5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'5ubj)}(h h]h }(hjS5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'5ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjd5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjf5modnameN classnameNjj!)}j$]j')}jj5sbc.skb_dst_is_norefasbuh1hhj'5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'5ubj%)}(hskbh]hskb}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#5ubah}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhj4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhj4hMubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMhj4hhubjS)}(hhh]jX)}(h Test if skb dst isn't refcountedh]h"Test if skb dst isn’t refcounted}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jX)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hj 6h]hconst struct sk_buff *skb}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj6ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj#6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj 6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_napi_id (C function) c.skb_napi_idhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4unsigned int skb_napi_id (const struct sk_buff *skb)h]h)}(h3unsigned int skb_napi_id(const struct sk_buff *skb)h](j)}(hunsignedh]hunsigned}(hjd6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`6hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjs6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`6hhhjr6hMubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`6hhhjr6hMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`6hhhjr6hMubj)}(h skb_napi_idh]j%)}(h skb_napi_idh]h skb_napi_id}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`6hhhjr6hMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jj6sb c.skb_napi_idasbuh1hhj6ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hj$7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hskbh]hskb}(hj17hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj`6hhhjr6hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\6hhhjr6hMubah}(h]jW6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjr6hMhjY6hhubjS)}(hhh]jX)}(hReturns the skb's NAPI idh]hReturns the skb’s NAPI id}(hj[7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjX7hhubah}(h]h ]h"]h$]h&]uh1jRhjY6hhhjr6hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjs7jxjs7jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jX)}(h**Parameters**h]j)}(hj}7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{7ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjw7ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hj7h]hconst struct sk_buff *skb}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjw7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unref (C function) c.skb_unrefhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h$bool skb_unref (struct sk_buff *skb)h]h)}(h#bool skb_unref(struct sk_buff *skb)h](j)}(hjTh]hbool}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj8hMubj)}(h skb_unrefh]j%)}(h skb_unrefh]h skb_unref}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj8hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj28hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.8ubj)}(h h]h }(hj?8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.8ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjP8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjR8modnameN classnameNjj!)}j$]j')}jj8sb c.skb_unrefasbuh1hhj.8ubj)}(h h]h }(hjp8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.8ubj;)}(hj>h]h*}(hj~8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.8ubj%)}(hskbh]hskb}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*8ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj8hMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMhj7hhubjS)}(hhh]jX)}(h#decrement the skb's reference counth]h%decrement the skb’s reference count}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhj[hNhNubj})}(hZ**Parameters** ``struct sk_buff *skb`` buffer **Return** true if we can free the skb.h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj8h]hstruct sk_buff *skb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 9hMhj 9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj 9hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h **Return**h]j)}(hj19h]hReturn}(hj39hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/9ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubjX)}(htrue if we can free the skb.h]htrue if we can free the skb.}(hjG9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkfree_skb (C function) c.kfree_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h$void kfree_skb (struct sk_buff *skb)h]h)}(h#void kfree_skb(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjv9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr9hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr9hhhj9hMubj)}(h kfree_skbh]j%)}(h kfree_skbh]h kfree_skb}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjr9hhhj9hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jj9sb c.kfree_skbasbuh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hskbh]hskb}(hj :hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhjr9hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjn9hhhj9hMubah}(h]ji9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhjk9hhubjS)}(hhh]jX)}(h+free an sk_buff with 'NOT_SPECIFIED' reasonh]h/free an sk_buff with ‘NOT_SPECIFIED’ reason}(hj6:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3:hhubah}(h]h ]h"]h$]h&]uh1jRhjk9hhhj9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjN:jxjN:jyjzj{uh1hhhhj[hNhNubj})}(h8**Parameters** ``struct sk_buff *skb`` buffer to freeh](jX)}(h**Parameters**h]j)}(hjX:h]h Parameters}(hjZ:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV:ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjR:ubj)}(hhh]j)}(h&``struct sk_buff *skb`` buffer to freeh](j)}(h``struct sk_buff *skb``h]j)}(hjw:h]hstruct sk_buff *skb}(hjy:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju:ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjq:ubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubah}(h]h ]h"]h$]h&]uh1jhjq:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjn:ubah}(h]h ]h"]h$]h&]uh1jhjR:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb (C function) c.alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>struct sk_buff * alloc_skb (unsigned int size, gfp_t priority)h]h)}(hh]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:hhhj:hM/ubj)}(h alloc_skbh]j%)}(hj;h]h alloc_skb}(hj0;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhj:hM/ubj)}(h#(unsigned int size, gfp_t priority)h](j)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjK;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG;ubj)}(h h]h }(hjY;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG;ubj)}(hinth]hint}(hjg;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG;ubj)}(h h]h }(hju;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG;ubj%)}(hsizeh]hsize}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjC;ubj)}(hgfp_t priorityh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j ; c.alloc_skbasbuh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(hpriorityh]hpriority}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjC;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhj:hM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhj:hM/ubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:hM/hj:hhubjS)}(hhh]jX)}(hallocate a network bufferh]hallocate a network buffer}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj;hhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhj:hM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj <jxj <jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``unsigned int size`` size to allocate ``gfp_t priority`` allocation mask **Description** This function is a convenient wrapper around __alloc_skb().h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj<ubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hj6<h]hunsigned int size}(hj8<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4<ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hj0<ubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hjO<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjK<hM0hjL<ubah}(h]h ]h"]h$]h&]uh1jhj0<ubeh}(h]h ]h"]h$]h&]uh1jhjK<hM0hj-<ubj)}(h#``gfp_t priority`` allocation mask h](j)}(h``gfp_t priority``h]j)}(hjo<h]hgfp_t priority}(hjq<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm<ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hji<ubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hM1hj<ubah}(h]h ]h"]h$]h&]uh1jhji<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM1hj-<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj<ubjX)}(h;This function is a convenient wrapper around __alloc_skb().h]h;This function is a convenient wrapper around __alloc_skb().}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_fclone_busy (C function)c.skb_fclone_busyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hGbool skb_fclone_busy (const struct sock *sk, const struct sk_buff *skb)h]h)}(hFbool skb_fclone_busy(const struct sock *sk, const struct sk_buff *skb)h](j)}(hjTh]hbool}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMLubj)}(hskb_fclone_busyh]j%)}(hskb_fclone_busyh]hskb_fclone_busy}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj =ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMLubj)}(h2(const struct sock *sk, const struct sk_buff *skb)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj+=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'=ubj)}(h h]h }(hj8=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'=ubh)}(hjh]hstruct}(hjF=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'=ubj)}(h h]h }(hjS=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'=ubh)}(hhh]j%)}(hsockh]hsock}(hjd=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjf=modnameN classnameNjj!)}j$]j')}jj=sbc.skb_fclone_busyasbuh1hhj'=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'=ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'=ubj%)}(hskh]hsk}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#=ubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j=c.skb_fclone_busyasbuh1hhj=ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hskbh]hskb}(hj*>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#=ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhj<hMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMLubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMLhj<hhubjS)}(hhh]jX)}(hcheck if fclone is busyh]hcheck if fclone is busy}(hjT>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLhjQ>hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjl>jxjl>jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sock *sk`` socket ``const struct sk_buff *skb`` buffer **Return** true if skb is a fast clone, and its clone is not freed. Some drivers call skb_orphan() in their ndo_start_xmit(), so we also check that didn't happen.h](jX)}(h**Parameters**h]j)}(hjv>h]h Parameters}(hjx>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt>ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhjp>ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj>h]hconst struct sock *sk}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhj>ubj)}(hhh]jX)}(hsocketh]hsocket}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMMhj>ubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hj>h]hconst struct sk_buff *skb}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhj>ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMNhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMNhj>ubeh}(h]h ]h"]h$]h&]uh1jhjp>ubjX)}(h **Return**h]j)}(hj ?h]hReturn}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhjp>ubjX)}(htrue if skb is a fast clone, and its clone is not freed. Some drivers call skb_orphan() in their ndo_start_xmit(), so we also check that didn't happen.h]htrue if skb is a fast clone, and its clone is not freed. Some drivers call skb_orphan() in their ndo_start_xmit(), so we also check that didn’t happen.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhjp>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb_fclone (C function)c.alloc_skb_fclonehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEstruct sk_buff * alloc_skb_fclone (unsigned int size, gfp_t priority)h]h)}(hCstruct sk_buff *alloc_skb_fclone(unsigned int size, gfp_t priority)h](h)}(hjh]hstruct}(hjN?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJ?hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMaubj)}(h h]h }(hj\?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ?hhhj[?hMaubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjm?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjo?modnameN classnameNjj!)}j$]j')}jalloc_skb_fclonesbc.alloc_skb_fcloneasbuh1hhjJ?hhhj[?hMaubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ?hhhj[?hMaubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJ?hhhj[?hMaubj)}(halloc_skb_fcloneh]j%)}(hj?h]halloc_skb_fclone}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJ?hhhj[?hMaubj)}(h#(unsigned int size, gfp_t priority)h](j)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hsizeh]hsize}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(hgfp_t priorityh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j?c.alloc_skb_fcloneasbuh1hhj@ubj)}(h h]h }(hj:@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj%)}(hpriorityh]hpriority}(hjH@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJ?hhhj[?hMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjF?hhhj[?hMaubah}(h]jA?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[?hMahjC?hhubjS)}(hhh]jX)}(h+allocate a network buffer from fclone cacheh]h+allocate a network buffer from fclone cache}(hjr@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahjo@hhubah}(h]h ]h"]h$]h&]uh1jRhjC?hhhj[?hMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``unsigned int size`` size to allocate ``gfp_t priority`` allocation mask **Description** This function is a convenient wrapper around __alloc_skb().h](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehj@ubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hj@h]hunsigned int size}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhj@ubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMbhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMbhj@ubj)}(h#``gfp_t priority`` allocation mask h](j)}(h``gfp_t priority``h]j)}(hj@h]hgfp_t priority}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj@ubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMchjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjAhMchj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hj'Ah]h Description}(hj)AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Aubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehj@ubjX)}(h;This function is a convenient wrapper around __alloc_skb().h]h;This function is a convenient wrapper around __alloc_skb().}(hj=AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pad (C function) c.skb_padhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h*int skb_pad (struct sk_buff *skb, int pad)h]h)}(h)int skb_pad(struct sk_buff *skb, int pad)h](j)}(hinth]hint}(hjlAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhAhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj{AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhAhhhjzAhMubj)}(hskb_padh]j%)}(hskb_padh]hskb_pad}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhAhhhjzAhMubj)}(h(struct sk_buff *skb, int pad)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jjAsb c.skb_padasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hskbh]hskb}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hint padh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hj)BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hpadh]hpad}(hj7BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhAhhhjzAhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdAhhhjzAhMubah}(h]j_Aah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzAhMhjaAhhubjS)}(hhh]jX)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjaBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^Bhhubah}(h]h ]h"]h$]h&]uh1jRhjaAhhhjzAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyBjxjyBjyjzj{uh1hhhhj[hNhNubj})}(hXb**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad **Description** Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error.h](jX)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj}Bubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjBh]hstruct sk_buff *skb}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjBh]hint pad}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubj)}(hhh]jX)}(h space to padh]h space to pad}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubeh}(h]h ]h"]h$]h&]uh1jhj}BubjX)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj}Bubj )}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error.h](jX)}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.h]hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.}(hj0ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,CubjX)}(hCMay return error in out of memory cases. The skb is freed on error.h]hCMay return error in out of memory cases. The skb is freed on error.}(hj?ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,Cubeh}(h]h ]h"]h$]h&]uh1j hj>ChMhj}Bubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_empty (C function)c.skb_queue_emptyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h5int skb_queue_empty (const struct sk_buff_head *list)h]h)}(h4int skb_queue_empty(const struct sk_buff_head *list)h](j)}(hinth]hint}(hjtChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpChhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpChhhjChMPubj)}(hskb_queue_emptyh]j%)}(hskb_queue_emptyh]hskb_queue_empty}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjpChhhjChMPubj)}(h!(const struct sk_buff_head *list)h]j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}jjCsbc.skb_queue_emptyasbuh1hhjCubj)}(h h]h }(hj DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hlisth]hlist}(hj%DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubah}(h]h ]h"]h$]h&]j<j=uh1jhjpChhhjChMPubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlChhhjChMPubah}(h]jgCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChMPhjiChhubjS)}(hhh]jX)}(hcheck if a queue is emptyh]hcheck if a queue is empty}(hjODhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhjLDhhubah}(h]h ]h"]h$]h&]uh1jRhjiChhhjChMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgDjxjgDjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head **Description** Returns true if the queue is empty, false otherwise.h](jX)}(h**Parameters**h]j)}(hjqDh]h Parameters}(hjsDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoDubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThjkDubj)}(hhh]j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjDh]hconst struct sk_buff_head *list}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQhjDubj)}(hhh]jX)}(h queue headh]h queue head}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMQhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMQhjDubah}(h]h ]h"]h$]h&]uh1jhjkDubjX)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShjkDubj )}(h4Returns true if the queue is empty, false otherwise.h]jX)}(hjDh]h4Returns true if the queue is empty, false otherwise.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhjDubah}(h]h ]h"]h$]h&]uh1j hjDhMRhjkDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_queue_empty_lockless (C function)c.skb_queue_empty_locklesshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h?bool skb_queue_empty_lockless (const struct sk_buff_head *list)h]h)}(h>bool skb_queue_empty_lockless(const struct sk_buff_head *list)h](j)}(hjTh]hbool}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ubj)}(h h]h }(hj'EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhj&EhM[ubj)}(hskb_queue_empty_locklessh]j%)}(hskb_queue_empty_locklessh]hskb_queue_empty_lockless}(hj9EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Eubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhj&EhM[ubj)}(h!(const struct sk_buff_head *list)h]j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjUEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQEubj)}(h h]h }(hjbEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQEubh)}(hjh]hstruct}(hjpEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQEubj)}(h h]h }(hj}EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQEubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj;Esbc.skb_queue_empty_locklessasbuh1hhjQEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQEubj%)}(hlisth]hlist}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMEubah}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhj&EhM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhj&EhM[ubah}(h]j Eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&EhM[hjEhhubjS)}(hhh]jX)}(hcheck if a queue is emptyh]hcheck if a queue is empty}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[hjEhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj&EhM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj Fjxj Fjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head **Description** Returns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hjFubj)}(hhh]j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hj4Fh]hconst struct sk_buff_head *list}(hj6FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Fubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hj.Fubj)}(hhh]jX)}(h queue headh]h queue head}(hjMFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIFhM\hjJFubah}(h]h ]h"]h$]h&]uh1jhj.Fubeh}(h]h ]h"]h$]h&]uh1jhjIFhM\hj+Fubah}(h]h ]h"]h$]h&]uh1jhjFubjX)}(h**Description**h]j)}(hjoFh]h Description}(hjqFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmFubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^hjFubj )}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]jX)}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM]hjFubah}(h]h ]h"]h$]h&]uh1j hjFhM]hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_is_last (C function)c.skb_queue_is_lasthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSbool skb_queue_is_last (const struct sk_buff_head *list, const struct sk_buff *skb)h]h)}(hRbool skb_queue_is_last(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hjTh]hbool}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhMhubj)}(hskb_queue_is_lasth]j%)}(hskb_queue_is_lasth]hskb_queue_is_last}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjFhMhubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hj"GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj3GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0Gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5GmodnameN classnameNjj!)}j$]j')}jjFsbc.skb_queue_is_lastasbuh1hhjFubj)}(h h]h }(hjSGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjaGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hlisth]hlist}(hjnGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]jOGc.skb_queue_is_lastasbuh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hskbh]hskb}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubeh}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjFhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhjFhMhubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhMhhjFhhubjS)}(hhh]jX)}(h+check if skb is the last entry in the queueh]h+check if skb is the last entry in the queue}(hj#HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhj Hhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhjFhMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;Hjxj;Hjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the last buffer on the list.h](jX)}(h**Parameters**h]j)}(hjEHh]h Parameters}(hjGHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCHubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj?Hubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjdHh]hconst struct sk_buff_head *list}(hjfHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihj^Hubj)}(hhh]jX)}(h queue headh]h queue head}(hj}HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyHhMihjzHubah}(h]h ]h"]h$]h&]uh1jhj^Hubeh}(h]h ]h"]h$]h&]uh1jhjyHhMihj[Hubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjHh]hconst struct sk_buff *skb}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjHubj)}(hhh]jX)}(hbufferh]hbuffer}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMjhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMjhj[Hubeh}(h]h ]h"]h$]h&]uh1jhj?HubjX)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj?Hubj )}(h7Returns true if **skb** is the last buffer on the list.h]jX)}(hjHh](hReturns true if }(hjHhhhNhNubj)}(h**skb**h]hskb}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh is the last buffer on the list.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhjHubah}(h]h ]h"]h$]h&]uh1j hjIhMkhj?Hubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_is_first (C function)c.skb_queue_is_firsthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hTbool skb_queue_is_first (const struct sk_buff_head *list, const struct sk_buff *skb)h]h)}(hSbool skb_queue_is_first(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hjTh]hbool}(hj8IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4IhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuubj)}(h h]h }(hjFIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4IhhhjEIhMuubj)}(hskb_queue_is_firsth]j%)}(hskb_queue_is_firsth]hskb_queue_is_first}(hjXIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4IhhhjEIhMuubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjtIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpIubh)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpIubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjZIsbc.skb_queue_is_firstasbuh1hhjpIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpIubj%)}(hlisth]hlist}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlIubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hj)JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj:JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Jubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjh]h*}(hjfJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hskbh]hskb}(hjsJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlIubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4IhhhjEIhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0IhhhjEIhMuubah}(h]j+Iah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEIhMuhj-IhhubjS)}(hhh]jX)}(h,check if skb is the first entry in the queueh]h,check if skb is the first entry in the queue}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuhjJhhubah}(h]h ]h"]h$]h&]uh1jRhj-IhhhjEIhMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the first buffer on the list.h](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhjJubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjJh]hconst struct sk_buff_head *list}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjJubj)}(hhh]jX)}(h queue headh]h queue head}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMvhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMvhjJubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjKh]hconst struct sk_buff *skb}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhjKubj)}(hhh]jX)}(hbufferh]hbuffer}(hj0KhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,KhMwhj-Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj,KhMwhjJubeh}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hjRKh]h Description}(hjTKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPKubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhjJubj )}(h8Returns true if **skb** is the first buffer on the list.h]jX)}(hjjKh](hReturns true if }(hjlKhhhNhNubj)}(h**skb**h]hskb}(hjsKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlKubh! is the first buffer on the list.}(hjlKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxhjhKubah}(h]h ]h"]h$]h&]uh1j hjKhMxhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_next (C function)c.skb_queue_nexthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\struct sk_buff * skb_queue_next (const struct sk_buff_head *list, const struct sk_buff *skb)h]h)}(hZstruct sk_buff *skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb)h](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjKhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jskb_queue_nextsbc.skb_queue_nextasbuh1hhjKhhhjKhMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjKhMubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKhhhjKhMubj)}(hskb_queue_nexth]j%)}(hjKh]hskb_queue_next}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Lubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhjKhMubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hj,LhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(Lubj)}(h h]h }(hj9LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Lubh)}(hjh]hstruct}(hjGLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(Lubj)}(h h]h }(hjTLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Lubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjeLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgLmodnameN classnameNjj!)}j$]jKc.skb_queue_nextasbuh1hhj(Lubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Lubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(Lubj%)}(hlisth]hlist}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Lubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Lubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jKc.skb_queue_nextasbuh1hhjLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hskbh]hskb}(hj)MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Lubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhMubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhjKhhubjS)}(hhh]jX)}(h#return the next packet in the queueh]h#return the next packet in the queue}(hjSMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPMhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkMjxjkMjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](jX)}(h**Parameters**h]j)}(hjuMh]h Parameters}(hjwMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsMubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjoMubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjMh]hconst struct sk_buff_head *list}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjMubj)}(hhh]jX)}(h queue headh]h queue head}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjMh]hconst struct sk_buff *skb}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjMubj)}(hhh]jX)}(hcurrent bufferh]hcurrent buffer}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjoMubjX)}(h**Description**h]j)}(hjNh]h Description}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjoMubj )}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h]jX)}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](hReturn the next packet in }(hj"NhhhNhNubj)}(h**list**h]hlist}(hj*NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Nubh after }(hj"NhhhNhNubj)}(h**skb**h]hskb}(hjh]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwNhhhjNhMubj)}(hskb_queue_prevh]j%)}(hjNh]hskb_queue_prev}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwNhhhjNhMubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj.OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+Oubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0OmodnameN classnameNjj!)}j$]jNc.skb_queue_prevasbuh1hhjNubj)}(h h]h }(hjLOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjZOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hlisth]hlist}(hjgOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|Oubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Oubh)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|Oubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Oubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jNc.skb_queue_prevasbuh1hhj|Oubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Oubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|Oubj%)}(hskbh]hskb}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Oubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjwNhhhjNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjsNhhhjNhMubah}(h]jnNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhMhjpNhhubjS)}(hhh]jX)}(h#return the prev packet in the queueh]h#return the prev packet in the queue}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPhhubah}(h]h ]h"]h$]h&]uh1jRhjpNhhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4Pjxj4Pjyjzj{uh1hhhhj[hNhNubj})}(hX **Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](jX)}(h**Parameters**h]j)}(hj>Ph]h Parameters}(hj@PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@QhhhjQQhMubj)}(hskb_geth]j%)}(hjQh]hskb_get}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@QhhhjQQhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jQ c.skb_getasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hskbh]hskb}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubah}(h]h ]h"]h$]h&]j<j=uh1jhj@QhhhjQQhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjh]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCSubj%)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?Subah}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjShMubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMhjRhhubjS)}(hhh]jX)}(his the buffer a cloneh]his the buffer a clone}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjShhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj[hNhNubj})}(hX#**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h](jX)}(h**Parameters**h]j)}(hjTh]h Parameters}(hj ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj&Th]hconst struct sk_buff *skb}(hj(ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Tubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj Tubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hj?ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;ThMhjh]h*}(hjTUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hskbh]hskb}(hjaUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjThMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhjThhubjS)}(hhh]jX)}(his the header a cloneh]his the header a clone}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if modifying the header part of the buffer requires the data to be copied.h](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjUh]hconst struct sk_buff *skb}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hjVh]h Description}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUubj )}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]jX)}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]hWReturns true if modifying the header part of the buffer requires the data to be copied.}(hj!VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubah}(h]h ]h"]h$]h&]uh1j hj/VhMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__skb_header_release (C function)c.__skb_header_releasehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h/void __skb_header_release (struct sk_buff *skb)h]h)}(h.void __skb_header_release(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjVVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRVhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjeVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRVhhhjdVhMubj)}(h__skb_header_releaseh]j%)}(h__skb_header_releaseh]h__skb_header_release}(hjwVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRVhhhjdVhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjyVsbc.__skb_header_releaseasbuh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hskbh]hskb}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubah}(h]h ]h"]h$]h&]j<j=uh1jhjRVhhhjdVhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNVhhhjdVhMubah}(h]jIVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdVhMhjKVhhubjS)}(hhh]jX)}(h allow clones to use the headroomh]h allow clones to use the headroom}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjWhhubah}(h]h ]h"]h$]h&]uh1jRhjKVhhhjdVhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.Wjxj.Wjyjzj{uh1hhhhj[hNhNubj})}(hx**Parameters** ``struct sk_buff *skb`` buffer to operate on **Description** See "DOC: dataref and headerless skbs".h](jX)}(h**Parameters**h]j)}(hj8Wh]h Parameters}(hj:WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Wubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2Wubj)}(hhh]j)}(h-``struct sk_buff *skb`` buffer to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjWWh]hstruct sk_buff *skb}(hjYWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUWubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQWubj)}(hhh]jX)}(hbuffer to operate onh]hbuffer to operate on}(hjpWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlWhMhjmWubah}(h]h ]h"]h$]h&]uh1jhjQWubeh}(h]h ]h"]h$]h&]uh1jhjlWhMhjNWubah}(h]h ]h"]h$]h&]uh1jhj2WubjX)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2WubjX)}(h'See "DOC: dataref and headerless skbs".h]h+See “DOC: dataref and headerless skbs”.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2Wubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_shared (C function) c.skb_sharedhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h*int skb_shared (const struct sk_buff *skb)h]h)}(h)int skb_shared(const struct sk_buff *skb)h](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhM ubj)}(h skb_sharedh]j%)}(h skb_sharedh]h skb_shared}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhM ubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hj!XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hjh]hstruct}(hj/XhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjh]h*}(hj{XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hskbh]hskb}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Xubah}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjWhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjWhM ubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhM hjWhhubjS)}(hhh]jX)}(his the buffer sharedh]his the buffer shared}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjXhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if more than one person has a reference to this buffer.h](jX)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjXubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjXh]hconst struct sk_buff *skb}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjXubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM hj Yubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjXubah}(h]h ]h"]h$]h&]uh1jhjXubjX)}(h**Description**h]j)}(hj.Yh]h Description}(hj0YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Yubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjXubj )}(hDReturns true if more than one person has a reference to this buffer.h]jX)}(hDReturns true if more than one person has a reference to this buffer.h]hDReturns true if more than one person has a reference to this buffer.}(hjHYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjDYubah}(h]h ]h"]h$]h&]uh1j hjVYhM hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_share_check (C function)c.skb_share_checkhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hAstruct sk_buff * skb_share_check (struct sk_buff *skb, gfp_t pri)h]h)}(h?struct sk_buff *skb_share_check(struct sk_buff *skb, gfp_t pri)h](h)}(hjh]hstruct}(hj}YhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyYhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyYhhhjYhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j')}jskb_share_checksbc.skb_share_checkasbuh1hhjyYhhhjYhMubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyYhhhjYhMubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyYhhhjYhMubj)}(hskb_share_checkh]j%)}(hjYh]hskb_share_check}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyYhhhjYhMubj)}(h (struct sk_buff *skb, gfp_t pri)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jYc.skb_share_checkasbuh1hhjYubj)}(h h]h }(hj3ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjAZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hskbh]hskb}(hjNZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(h gfp_t prih](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlZmodnameN classnameNjj!)}j$]jYc.skb_share_checkasbuh1hhjcZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcZubj%)}(hprih]hpri}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubeh}(h]h ]h"]h$]h&]j<j=uh1jhjyYhhhjYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuYhhhjYhMubah}(h]jpYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhMhjrYhhubjS)}(hhh]jX)}(h,check if buffer is shared and if so clone ith]h,check if buffer is shared and if so clone it}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjrYhhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.h](jX)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hj[h]hstruct sk_buff *skb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjZubj)}(h-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hj:[h]h gfp_t pri}(hj<[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4[ubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hjS[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjO[hMhjP[ubah}(h]h ]h"]h$]h&]uh1jhj4[ubeh}(h]h ]h"]h$]h&]uh1jhjO[hMhjZubeh}(h]h ]h"]h$]h&]uh1jhjZubjX)}(h**Description**h]j)}(hju[h]h Description}(hjw[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs[ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZubj )}(hXGIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.h](jX)}(hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.h]hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubjX)}(h0NULL is returned on a memory allocation failure.h]h0NULL is returned on a memory allocation failure.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubeh}(h]h ]h"]h$]h&]uh1j hj[hMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unshare (C function) c.skb_unsharehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=struct sk_buff * skb_unshare (struct sk_buff *skb, gfp_t pri)h]h)}(h;struct sk_buff *skb_unshare(struct sk_buff *skb, gfp_t pri)h](h)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhj[hM8ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j')}j skb_unsharesb c.skb_unshareasbuh1hhj[hhhj[hM8ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhj[hM8ubj;)}(hj>h]h*}(hj!\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[hhhj[hM8ubj)}(h skb_unshareh]j%)}(hj\h]h skb_unshare}(hj2\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhj[hM8ubj)}(h (struct sk_buff *skb, gfp_t pri)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjM\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjI\ubj)}(h h]h }(hjZ\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI\ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjk\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjm\modnameN classnameNjj!)}j$]j\ c.skb_unshareasbuh1hhjI\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI\ubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjI\ubj%)}(hskbh]hskb}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE\ubj)}(h gfp_t prih](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j\ c.skb_unshareasbuh1hhj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hprih]hpri}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE\ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhj[hM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhj[hM8ubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hM8hj[hhubjS)}(hhh]jX)}(hmake a copy of a shared bufferh]hmake a copy of a shared buffer}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hj]hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhj[hM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.]jxj.]jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jX)}(h**Parameters**h]j)}(hj8]h]h Parameters}(hj:]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6]ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hj2]ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjW]h]hstruct sk_buff *skb}(hjY]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjQ]ubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjp]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl]hM9hjm]ubah}(h]h ]h"]h$]h&]uh1jhjQ]ubeh}(h]h ]h"]h$]h&]uh1jhjl]hM9hjN]ubj)}(h-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hj]h]h gfp_t pri}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hj]ubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM:hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM:hjN]ubeh}(h]h ]h"]h$]h&]uh1jhj2]ubjX)}(h**Description**h]j)}(hj]h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hj2]ubj )}(hX~If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jX)}(hXHIf the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC``h](hX*If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state }(hj]hhhNhNubj)}(h**pri**h]hpri}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh must be }(hj]hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hj]ubjX)}(h4``NULL`` is returned on a memory allocation failure.h](j)}(h``NULL``h]hNULL}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh, is returned on a memory allocation failure.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhj]ubeh}(h]h ]h"]h$]h&]uh1j hj^hM;hj2]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_peek (C function) c.skb_peekhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjS^hhhjd^hMVubj)}(hskb_peekh]j%)}(hj^h]hskb_peek}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjS^hhhjd^hMVubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj _hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj _modnameN classnameNjj!)}j$]j^ c.skb_peekasbuh1hhj^ubj)}(h h]h }(hj(_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hj6_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hlist_h]hlist_}(hjC_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubah}(h]h ]h"]h$]h&]j<j=uh1jhjS^hhhjd^hMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjO^hhhjd^hMVubah}(h]jJ^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjd^hMVhjL^hhubjS)}(hhh]jX)}(h-peek at the head of an :c:type:`sk_buff_head`h](hpeek at the head of an }(hjm_hhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hjw_h]h sk_buff_head}(hjy_hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhju_ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j^ c.skb_peekasbj sk_buff_headuh1hhjhMphjm_ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMVhjj_hhubah}(h]h ]h"]h$]h&]uh1jRhjL^hhhjd^hMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff_head *list_`` list to peek at **Description** Peek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the head element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZhj_ubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hj_h]h const struct sk_buff_head *list_}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhj_ubj)}(hhh]jX)}(hlist to peek ath]hlist to peek at}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMWhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMWhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubjX)}(h**Description**h]j)}(hj `h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj `ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhj_ubj )}(hXPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the head element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(hPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.h](hPeek an }(hj'`hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj1`h]hsk_buff}(hj3`hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj/`ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhj'`ubh. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.}(hj'`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjN`hMXhj#`ubjX)}(hReturns ``NULL`` for an empty list or a pointer to the head element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](hReturns }(hjY`hhhNhNubj)}(h``NULL``h]hNULL}(hja`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY`ubh for an empty list or a pointer to the head element. The reference count is not incremented and the reference is therefore volatile. Use with caution.}(hjY`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM]hj#`ubeh}(h]h ]h"]h$]h&]uh1j hjN`hMXhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_peek (C function) c.__skb_peekhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>struct sk_buff * __skb_peek (const struct sk_buff_head *list_)h]h)}(hh]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`hhhj`hMlubj)}(h __skb_peekh]j%)}(hj`h]h __skb_peek}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhj`hMlubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hj'ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hjh]hstruct}(hj5ahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjBahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjSahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUamodnameN classnameNjj!)}j$]j` c.__skb_peekasbuh1hhjaubj)}(h h]h }(hjqahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hlist_h]hlist_}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubah}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhj`hMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhj`hMlubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMlhj`hhubjS)}(hhh]jX)}(h6peek at the head of a non-empty :c:type:`sk_buff_head`h](h peek at the head of a non-empty }(hjahhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hjah]h sk_buff_head}(hjahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j` c.__skb_peekasbj sk_buff_headuh1hhjhMphjaubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhjahhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhj`hMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to peek at **Description** Like skb_peek(), but the caller knows that the list is not empty.h](jX)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjaubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjbh]h const struct sk_buff_head *list_}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMmhjbubj)}(hhh]jX)}(hlist to peek ath]hlist to peek at}(hj4bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0bhMmhj1bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj0bhMmhjbubah}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hjVbh]h Description}(hjXbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTbubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMohjaubj )}(hALike skb_peek(), but the caller knows that the list is not empty.h]jX)}(hjnbh]hALike skb_peek(), but the caller knows that the list is not empty.}(hjpbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMnhjlbubah}(h]h ]h"]h$]h&]uh1j hj}bhMnhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_peek_next (C function)c.skb_peek_nexthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hVstruct sk_buff * skb_peek_next (struct sk_buff *skb, const struct sk_buff_head *list_)h]h)}(hTstruct sk_buff *skb_peek_next(struct sk_buff *skb, const struct sk_buff_head *list_)h](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhMwubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}j skb_peek_nextsbc.skb_peek_nextasbuh1hhjbhhhjbhMwubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhMwubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbhhhjbhMwubj)}(h skb_peek_nexth]j%)}(hjbh]h skb_peek_next}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjbhMwubj)}(h7(struct sk_buff *skb, const struct sk_buff_head *list_)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hj+chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjcmodnameN classnameNjj!)}j$]jbc.skb_peek_nextasbuh1hhjcubj)}(h h]h }(hjZchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hskbh]hskb}(hjuchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jbc.skb_peek_nextasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hlist_h]hlist_}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjbhMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhMwubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMwhjbhhubjS)}(hhh]jX)}(h-peek skb following the given one from a queueh]h-peek skb following the given one from a queue}(hj*dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhj'dhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBdjxjBdjyjzj{uh1hhhhj[hNhNubj})}(hXI**Parameters** ``struct sk_buff *skb`` skb to start from ``const struct sk_buff_head *list_`` list to peek at **Description** Returns ``NULL`` when the end of the list is met or a pointer to the next element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(h**Parameters**h]j)}(hjLdh]h Parameters}(hjNdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJdubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hjFdubj)}(hhh](j)}(h*``struct sk_buff *skb`` skb to start from h](j)}(h``struct sk_buff *skb``h]j)}(hjkdh]hstruct sk_buff *skb}(hjmdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjidubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxhjedubj)}(hhh]jX)}(hskb to start fromh]hskb to start from}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMxhjdubah}(h]h ]h"]h$]h&]uh1jhjedubeh}(h]h ]h"]h$]h&]uh1jhjdhMxhjbdubj)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjdh]h const struct sk_buff_head *list_}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhjdubj)}(hhh]jX)}(hlist to peek ath]hlist to peek at}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMyhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMyhjbdubeh}(h]h ]h"]h$]h&]uh1jhjFdubjX)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hjFdubj )}(hReturns ``NULL`` when the end of the list is met or a pointer to the next element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h]jX)}(hReturns ``NULL`` when the end of the list is met or a pointer to the next element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](hReturns }(hjdhhhNhNubj)}(h``NULL``h]hNULL}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh when the end of the list is met or a pointer to the next element. The reference count is not incremented and the reference is therefore volatile. Use with caution.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzhjdubah}(h]h ]h"]h$]h&]uh1j hjehMzhjFdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_peek_tail (C function)c.skb_peek_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hAstruct sk_buff * skb_peek_tail (const struct sk_buff_head *list_)h]h)}(h?struct sk_buff *skb_peek_tail(const struct sk_buff_head *list_)h](h)}(hjh]hstruct}(hj@ehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hlist_h]hlist_}(hj,fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubah}(h]h ]h"]h$]h&]j<j=uh1jhjh]h*}(hj@hhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hlist_h]hlist_}(hjMhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubah}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjghMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhjghMubah}(h]j|gah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghMhj~ghhubjS)}(hhh]jX)}(hget queue lengthh]hget queue length}(hjwhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjthhhubah}(h]h ]h"]h$]h&]uh1jRhj~ghhhjghMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue.h](jX)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjhh]h const struct sk_buff_head *list_}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhubj)}(hhh]jX)}(hlist to measureh]hlist to measure}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubjX)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhubj )}(h0Return the length of an :c:type:`sk_buff` queue.h]jX)}(hj ih](hReturn the length of an }(hj ihhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjih]hsk_buff}(hjihhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj iubh queue.}(hj ihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj3ihMhj iubah}(h]h ]h"]h$]h&]uh1j hj3ihMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_len_lockless (C function)c.skb_queue_len_locklesshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h?__u32 skb_queue_len_lockless (const struct sk_buff_head *list_)h]h)}(h>__u32 skb_queue_len_lockless(const struct sk_buff_head *list_)h](h)}(hhh]j%)}(h__u32h]h__u32}(hjgihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjiimodnameN classnameNjj!)}j$]j')}jskb_queue_len_locklesssbc.skb_queue_len_locklessasbuh1hhj`ihhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ihhhjihMubj)}(hskb_queue_len_locklessh]j%)}(hjih]hskb_queue_len_lockless}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`ihhhjihMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]jic.skb_queue_len_locklessasbuh1hhjiubj)}(h h]h }(hj jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hlist_h]hlist_}(hj(jhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubah}(h]h ]h"]h$]h&]j<j=uh1jhj`ihhhjihMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\ihhhjihMubah}(h]jWiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihMhjYihhubjS)}(hhh]jX)}(hget queue lengthh]hget queue length}(hjRjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjOjhhubah}(h]h ]h"]h$]h&]uh1jRhjYihhhjihMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjjxjjjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](jX)}(h**Parameters**h]j)}(hjtjh]h Parameters}(hjvjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnjubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjjh]h const struct sk_buff_head *list_}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubj)}(hhh]jX)}(hlist to measureh]hlist to measure}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjnjubjX)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnjubj )}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h]jX)}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](hReturn the length of an }(hjjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjjh]hsk_buff}(hjjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubh6 queue. This variant can be used in lockless contexts.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjkhMhjjubah}(h]h ]h"]h$]h&]uh1j hjkhMhjnjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__skb_queue_head_init (C function)c.__skb_queue_head_inithNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void __skb_queue_head_init (struct sk_buff_head *list)h]h)}(h5void __skb_queue_head_init(struct sk_buff_head *list)h](j)}(hvoidh]hvoid}(hj@khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjykubj%)}(hlisth]hlist}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjykubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjukubah}(h]h ]h"]h$]h&]j<j=uh1jhjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmmodnameN classnameNjj!)}j$]j')}jjlsbc.skb_queue_spliceasbuh1hhjmubj)}(h h]h }(hjamhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjomhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hlisth]hlist}(hj|mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j]mc.skb_queue_spliceasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hheadh]hhead}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhMubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMhjlhhubjS)}(hhh]jX)}(h/join two skb lists, this is designed for stacksh]h/join two skb lists, this is designed for stacks}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.njxj.njyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first listh](jX)}(h**Parameters**h]j)}(hj8nh]h Parameters}(hj:nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6nubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj2nubj)}(hhh](j)}(h8``const struct sk_buff_head *list`` the new list to add h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjWnh]hconst struct sk_buff_head *list}(hjYnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjQnubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjpnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlnhM hjmnubah}(h]h ]h"]h$]h&]uh1jhjQnubeh}(h]h ]h"]h$]h&]uh1jhjlnhM hjNnubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjnh]hstruct sk_buff_head *head}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjnubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjNnubeh}(h]h ]h"]h$]h&]uh1jhj2nubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_queue_splice_init (C function)c.skb_queue_splice_inithNtauh1hhj[hhhNhNubh)}(hhh](h)}(hQvoid skb_queue_splice_init (struct sk_buff_head *list, struct sk_buff_head *head)h]h)}(hPvoid skb_queue_splice_init(struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhM ubj)}(hskb_queue_splice_inith]j%)}(hskb_queue_splice_inith]hskb_queue_splice_init}(hj ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhM ubj)}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj'ohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#oubj)}(h h]h }(hj4ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#oubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjEohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGomodnameN classnameNjj!)}j$]j')}jj osbc.skb_queue_splice_initasbuh1hhj#oubj)}(h h]h }(hjeohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#oubj;)}(hj>h]h*}(hjsohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#oubj%)}(hlisth]hlist}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#oubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]jaoc.skb_queue_splice_initasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hheadh]hhead}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhM ubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhM hjnhhubjS)}(hhh]jX)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjphhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjnhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2pjxj2pjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** The list at **list** is reinitialisedh](jX)}(h**Parameters**h]j)}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:pubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj6pubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hj[ph]hstruct sk_buff_head *list}(hj]phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjUpubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjtphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjpphM hjqpubah}(h]h ]h"]h$]h&]uh1jhjUpubeh}(h]h ]h"]h$]h&]uh1jhjpphM hjRpubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjph]hstruct sk_buff_head *head}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphM hjRpubeh}(h]h ]h"]h$]h&]uh1jhj6pubjX)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj6pubj )}(h%The list at **list** is reinitialisedh]jX)}(hjph](h The list at }(hjphhhNhNubj)}(h**list**h]hlist}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh is reinitialised}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubah}(h]h ]h"]h$]h&]uh1j hjqhM hj6pubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_queue_splice_tail (C function)c.skb_queue_splice_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hWvoid skb_queue_splice_tail (const struct sk_buff_head *list, struct sk_buff_head *head)h]h)}(hVvoid skb_queue_splice_tail(const struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hvoidh]hvoid}(hj/qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+qhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hj>qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+qhhhj=qhM ubj)}(hskb_queue_splice_tailh]j%)}(hskb_queue_splice_tailh]hskb_queue_splice_tail}(hjPqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+qhhhj=qhM ubj)}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjlqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhqubj)}(h h]h }(hjyqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhqubh)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhqubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jjRqsbc.skb_queue_splice_tailasbuh1hhjhqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhqubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhqubj%)}(hlisth]hlist}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdqubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]jqc.skb_queue_splice_tailasbuh1hhjqubj)}(h h]h }(hj5rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjCrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hheadh]hhead}(hjPrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdqubeh}(h]h ]h"]h$]h&]j<j=uh1jhj+qhhhj=qhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'qhhhj=qhM ubah}(h]j"qah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=qhM hj$qhhubjS)}(hhh]jX)}(h+join two skb lists, each list being a queueh]h+join two skb lists, each list being a queue}(hjzrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjwrhhubah}(h]h ]h"]h$]h&]uh1jRhj$qhhhj=qhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first listh](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM" hjrubj)}(hhh](j)}(h8``const struct sk_buff_head *list`` the new list to add h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjrh]hconst struct sk_buff_head *list}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjrubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjrubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjrh]hstruct sk_buff_head *head}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM! hjrubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj subah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj shM! hjrubeh}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'skb_queue_splice_tail_init (C function)c.skb_queue_splice_tail_inithNtauh1hhj[hhhNhNubh)}(hhh](h)}(hVvoid skb_queue_splice_tail_init (struct sk_buff_head *list, struct sk_buff_head *head)h]h)}(hUvoid skb_queue_splice_tail_init(struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hvoidh]hvoid}(hjNshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJshhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM, ubj)}(h h]h }(hj]shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJshhhj\shM, ubj)}(hskb_queue_splice_tail_inith]j%)}(hskb_queue_splice_tail_inith]hskb_queue_splice_tail_init}(hjoshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjksubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJshhhj\shM, ubj)}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jjqssbc.skb_queue_splice_tail_initasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hlisth]hlist}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hj thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]jsc.skb_queue_splice_tail_initasbuh1hhjsubj)}(h h]h }(hj9thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjGthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hheadh]hhead}(hjTthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJshhhj\shM, ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFshhhj\shM, ubah}(h]jAsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\shM, hjCshhubjS)}(hhh]jX)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hj~thhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM, hj{thhubah}(h]h ]h"]h$]h&]uh1jRhjCshhhj\shM, ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** Each of the lists is a queue. The list at **list** is reinitialisedh](jX)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hjtubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjth]hstruct sk_buff_head *list}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM- hjtubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM- hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM- hjtubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjth]hstruct sk_buff_head *head}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM. hjtubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj uhM. hjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj uhM. hjtubeh}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h**Description**h]j)}(hj3uh]h Description}(hj5uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1uubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hjtubj )}(hCEach of the lists is a queue. The list at **list** is reinitialisedh]jX)}(hCEach of the lists is a queue. The list at **list** is reinitialisedh](h*Each of the lists is a queue. The list at }(hjMuhhhNhNubj)}(h**list**h]hlist}(hjUuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMuubh is reinitialised}(hjMuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ hjIuubah}(h]h ]h"]h$]h&]uh1j hjmuhM/ hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_after (C function)c.__skb_queue_afterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_void __skb_queue_after (struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h]h)}(h^void __skb_queue_after(struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h](j)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjuhM> ubj)}(h__skb_queue_afterh]j%)}(h__skb_queue_afterh]h__skb_queue_after}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjuhM> ubj)}(hH(struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jjusbc.__skb_queue_afterasbuh1hhjuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hlisth]hlist}(hj*vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubj)}(hstruct sk_buff *prevh](h)}(hjh]hstruct}(hjCvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?vubj)}(h h]h }(hjPvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?vubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjavhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^vubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcvmodnameN classnameNjj!)}j$]j vc.__skb_queue_afterasbuh1hhj?vubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?vubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?vubj%)}(hprevh]hprev}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j vc.__skb_queue_afterasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hnewskh]hnewsk}(hj whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjuhM> ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjuhM> ubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhM> hjuhhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hj4whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hj1whhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjuhM> ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLwjxjLwjyjzj{uh1hhhhj[hNhNubj})}(hX{**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *prev`` place after this buffer ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjVwh]h Parameters}(hjXwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTwubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMB hjPwubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjuwh]hstruct sk_buff_head *list}(hjwwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjswubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hjowubj)}(hhh]jX)}(h list to useh]h list to use}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhM? hjwubah}(h]h ]h"]h$]h&]uh1jhjowubeh}(h]h ]h"]h$]h&]uh1jhjwhM? hjlwubj)}(h1``struct sk_buff *prev`` place after this buffer h](j)}(h``struct sk_buff *prev``h]j)}(hjwh]hstruct sk_buff *prev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjwubj)}(hhh]jX)}(hplace after this bufferh]hplace after this buffer}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhM@ hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM@ hjlwubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjwh]hstruct sk_buff *newsk}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hjwubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMA hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMA hjlwubeh}(h]h ]h"]h$]h&]uh1jhjPwubjX)}(h**Description**h]j)}(hj"xh]h Description}(hj$xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj xubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMC hjPwubj )}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hjh]h*}(hj yhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hlisth]hlist}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hj/yhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+yubj)}(h h]h }(hjh]h*}(hjyyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+yubj%)}(hnewskh]hnewsk}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhj|xhhhjxhMZ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxxhhhjxhMZ ubah}(h]jsxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMZ hjuxhhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZ hjyhhubah}(h]h ]h"]h$]h&]uh1jRhjuxhhhjxhMZ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhj[hNhNubj})}(hXE**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hjyubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjyh]hstruct sk_buff_head *list}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ hjyubj)}(hhh]jX)}(h list to useh]h list to use}(hj zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhM[ hjzubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhM[ hjyubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj*zh]hstruct sk_buff *newsk}(hj,zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(zubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hj$zubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hjCzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?zhM\ hj@zubah}(h]h ]h"]h$]h&]uh1jhj$zubeh}(h]h ]h"]h$]h&]uh1jhj?zhM\ hjyubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(h**Description**h]j)}(hjezh]h Description}(hjgzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjczubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hjyubj )}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hj{zubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hj{zubeh}(h]h ]h"]h$]h&]uh1j hjzhM] hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_tail (C function)c.__skb_queue_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hHvoid __skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk)h]h)}(hGvoid __skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMk ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjzhMk ubj)}(h__skb_queue_tailh]j%)}(h__skb_queue_tailh]h__skb_queue_tail}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjzhMk ubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hj {hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj {modnameN classnameNjj!)}j$]j')}jjzsbc.__skb_queue_tailasbuh1hhjzubj)}(h h]h }(hj>{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjL{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hlisth]hlist}(hjY{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjr{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjn{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn{ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j:{c.__skb_queue_tailasbuh1hhjn{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn{ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn{ubj%)}(hnewskh]hnewsk}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhjzhMk ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjzhMk ubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMk hjzhhubjS)}(hhh]jX)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMk hj{hhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjzhMk ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj |jxj |jyjzj{uh1hhhhj[hNhNubj})}(hXC**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hj|ubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj4|h]hstruct sk_buff_head *list}(hj6|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMl hj.|ubj)}(hhh]jX)}(h list to useh]h list to use}(hjM|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjI|hMl hjJ|ubah}(h]h ]h"]h$]h&]uh1jhj.|ubeh}(h]h ]h"]h$]h&]uh1jhjI|hMl hj+|ubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjm|h]hstruct sk_buff *newsk}(hjo|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMm hjg|ubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMm hj|ubah}(h]h ]h"]h$]h&]uh1jhjg|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMm hj+|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubjX)}(h**Description**h]j)}(hj|h]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hj|ubj )}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn hj|ubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMq hj|ubeh}(h]h ]h"]h$]h&]uh1j hj|hMn hj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_dequeue (C function)c.__skb_dequeuehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:struct sk_buff * __skb_dequeue (struct sk_buff_head *list)h]h)}(h8struct sk_buff *__skb_dequeue(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj}hM ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj%}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'}modnameN classnameNjj!)}j$]j')}j __skb_dequeuesbc.__skb_dequeueasbuh1hhj}hhhj}hM ubj)}(h h]h }(hjF}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj}hM ubj;)}(hj>h]h*}(hjT}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}hhhj}hM ubj)}(h __skb_dequeueh]j%)}(hjC}h]h __skb_dequeue}(hje}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj}hM ubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|}ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jA}c.__skb_dequeueasbuh1hhj|}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|}ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|}ubj%)}(hlisth]hlist}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx}ubah}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhj}hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhj}hM ubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hM hj|hhubjS)}(hhh]jX)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj}hhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhj}hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hj#~h]h Parameters}(hj%~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!~ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj~ubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjB~h]hstruct sk_buff_head *list}(hjD~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj<~ubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hj[~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjW~hM hjX~ubah}(h]h ]h"]h$]h&]uh1jhj<~ubeh}(h]h ]h"]h$]h&]uh1jhjW~hM hj9~ubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hj}~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{~ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj~ubj )}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or }(hj~hhhNhNubj)}(h``NULL``h]hNULL}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh if the list is empty.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj~ubah}(h]h ]h"]h$]h&]uh1j hj~hM hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_dequeue_tail (C function)c.__skb_dequeue_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h?struct sk_buff * __skb_dequeue_tail (struct sk_buff_head *list)h]h)}(h=struct sk_buff *__skb_dequeue_tail(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hM ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}j__skb_dequeue_tailsbc.__skb_dequeue_tailasbuh1hhj~hhhj~hM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hM ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~hhhj~hM ubj)}(h__skb_dequeue_tailh]j%)}(hjh]h__skb_dequeue_tail}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hM ubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]jc.__skb_dequeue_tailasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubah}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhj~hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhj~hM ubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hM hj~hhubjS)}(hhh]jX)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhj~hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj )}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or }(hjohhhNhNubj)}(h``NULL``h]hNULL}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh if the list is empty.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjkubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_len_add (C function) c.skb_len_addhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h1void skb_len_add (struct sk_buff *skb, int delta)h]h)}(h0void skb_len_add(struct sk_buff *skb, int delta)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjŀhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjĀhM ubj)}(h skb_len_addh]j%)}(h skb_len_addh]h skb_len_add}(hj׀hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӀubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjĀhM ubj)}(h (struct sk_buff *skb, int delta)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjـsb c.skb_len_addasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int deltah](j)}(hinth]hint}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hdeltah]hdelta}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjĀhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjĀhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjĀhM hjhhubjS)}(hhh]jX)}(h"adds a number to len fields of skbh]h"adds a number to len fields of skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjĀhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjÁjxjÁjyjzj{uh1hhhhj[hNhNubj})}(hf**Parameters** ``struct sk_buff *skb`` buffer to add len to ``int delta`` number of bytes to addh](jX)}(h**Parameters**h]j)}(hj́h]h Parameters}(hjρhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˁubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjǁubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to add len to h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hbuffer to add len toh]hbuffer to add len to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h$``int delta`` number of bytes to addh](j)}(h ``int delta``h]j)}(hj%h]h int delta}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hnumber of bytes to addh]hnumber of bytes to add}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubeh}(h]h ]h"]h$]h&]uh1jhjǁubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__skb_fill_netmem_desc (C function)c.__skb_fill_netmem_deschNtauh1hhj[hhhNhNubh)}(hhh](h)}(h^void __skb_fill_netmem_desc (struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h]h)}(h]void __skb_fill_netmem_desc(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhjhM ubj)}(h__skb_fill_netmem_desch]j%)}(h__skb_fill_netmem_desch]h__skb_fill_netmem_desc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhjhM ubj)}(hB(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjɂhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjڂhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjׂubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj܂modnameN classnameNjj!)}j$]j')}jjsbc.__skb_fill_netmem_descasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint ih](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(hih]hi}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hnetmem_ref netmemh](h)}(hhh]j%)}(h netmem_refh]h netmem_ref}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jc.__skb_fill_netmem_descasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hnetmemh]hnetmem}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint offh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffh]hoff}(hjǃhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj܃ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj܃ubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj܃ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjhM ubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjthhubjS)}(hhh]jX)}(hinitialise a fragment in an skbh]hinitialise a fragment in an skb}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj#hhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` fragment index to initialise ``netmem_ref netmem`` the netmem to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** Initialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**. Does not take any additional reference on the fragment.h](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjBubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjgh]hstruct sk_buff *skb}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjaubj)}(hhh]jX)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hM hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM hj^ubj)}(h'``int i`` fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hfragment index to initialiseh]hfragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj^ubj)}(h:``netmem_ref netmem`` the netmem to use for this fragment h](j)}(h``netmem_ref netmem``h]j)}(hjلh]hnetmem_ref netmem}(hjۄhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjׄubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjӄubj)}(hhh]jX)}(h#the netmem to use for this fragmenth]h#the netmem to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjӄubeh}(h]h ]h"]h$]h&]uh1jhjhM hj^ubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjh]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj ubj)}(hhh]jX)}(h$the offset to the data with **page**h](hthe offset to the data with }(hj+hhhNhNubj)}(h**page**h]hpage}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jWhj'hM hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM hj^ubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjYh]hint size}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjSubj)}(hhh]jX)}(hthe length of the datah]hthe length of the data}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhM hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM hj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjBubjX)}(hpInitialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**.h](hInitialises the }(hjhhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh’th fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjąhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to point to }(hjhhhNhNubh)}(h:c:type:`size`h]j)}(hj؅h]hsize}(hjڅhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjօubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsizeuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubh bytes at offset }(hjhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh within }(hjhhhNhNubj)}(h**page**h]hpage}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjBubjX)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_fill_page_desc (C function)c.skb_fill_page_deschNtauh1hhj[hhhNhNubh)}(hhh](h)}(hZvoid skb_fill_page_desc (struct sk_buff *skb, int i, struct page *page, int off, int size)h]h)}(hYvoid skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM& ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjahM& ubj)}(hskb_fill_page_desch]j%)}(hskb_fill_page_desch]hskb_fill_page_desc}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjahM& ubj)}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjvsbc.skb_fill_page_descasbuh1hhjubj)}(h h]h }(hjΆhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj܆hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint ih](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hjLh]hi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page *pageh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hpageh]hpage}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jʆc.skb_fill_page_descasbuh1hhj2ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint offh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffh]hoff}(hj‡hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint sizeh](j)}(hinth]hint}(hjۇhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjׇubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjׇubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjׇubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhjahM& ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjahM& ubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahM& hjHhhubjS)}(hhh]jX)}(h%initialise a paged fragment in an skbh]h%initialise a paged fragment in an skb}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM& hjhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjahM& ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj[hNhNubj})}(hX5**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` paged fragment index to initialise ``struct page *page`` the page to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** As per __skb_fill_page_desc() -- initialises the **i**'th fragment of **skb** to point to **size** bytes at offset **off** within **page**. In addition updates **skb** such that **i** is the last fragment. Does not take any additional reference on the fragment.h](jX)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM* hj=ubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjbh]hstruct sk_buff *skb}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM' hj\ubj)}(hhh]jX)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhM' hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM' hjYubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( hjubj)}(hhh]jX)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM( hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM( hjYubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjԈh]hstruct page *page}(hjֈhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj҈ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hjΈubj)}(hhh]jX)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM) hjubah}(h]h ]h"]h$]h&]uh1jhjΈubeh}(h]h ]h"]h$]h&]uh1jhjhM) hjYubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hj h]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM* hjubj)}(hhh]jX)}(h$the offset to the data with **page**h](hthe offset to the data with }(hj&hhhNhNubj)}(h**page**h]hpage}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jWhj"hM* hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM* hjYubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjTh]hint size}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ hjNubj)}(hhh]jX)}(hthe length of the datah]hthe length of the data}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM+ hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM+ hjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM- hj=ubjX)}(hAs per __skb_fill_page_desc() -- initialises the **i**'th fragment of **skb** to point to **size** bytes at offset **off** within **page**. In addition updates **skb** such that **i** is the last fragment.h](h1As per __skb_fill_page_desc() -- initialises the }(hjhhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh’th fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to point to }(hjhhhNhNubj)}(h**size**h]hsize}(hjщhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes at offset }(hjhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh within }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. In addition updates }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh such that }(hjhhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is the last fragment.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM, hj=ubjX)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_fill_page_desc_noacc (C function)c.skb_fill_page_desc_noacchNtauh1hhj[hhhNhNubh)}(hhh](h)}(h`void skb_fill_page_desc_noacc (struct sk_buff *skb, int i, struct page *page, int off, int size)h]h)}(h_void skb_fill_page_desc_noacc(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM: ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohM: ubj)}(hskb_fill_page_desc_noacch]j%)}(hskb_fill_page_desc_noacch]hskb_fill_page_desc_noacc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhjohM: ubj)}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_fill_page_desc_noaccasbuh1hhjubj)}(h h]h }(hj܊hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint ih](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hjLh]hi}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page *pageh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hpageh]hpage}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j؊c.skb_fill_page_desc_noaccasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint offh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj‹hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffh]hoff}(hjЋhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhjohM: ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjohM: ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohM: hjVhhubjS)}(hhh]jX)}(h%initialise a paged fragment in an skbh]h%initialise a paged fragment in an skb}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM: hj,hhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjohM: ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` paged fragment index to initialise ``struct page *page`` the page to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.h](jX)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hjKubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjph]hstruct sk_buff *skb}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM; hjjubj)}(hhh]jX)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM; hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM; hjgubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM< hjubj)}(hhh]jX)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjŒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM< hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM< hjgubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjh]hstruct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= hj܌ubj)}(hhh]jX)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM= hjubah}(h]h ]h"]h$]h&]uh1jhj܌ubeh}(h]h ]h"]h$]h&]uh1jhjhM= hjgubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjh]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hjubj)}(hhh]jX)}(h$the offset to the data with **page**h](hthe offset to the data with }(hj4hhhNhNubj)}(h**page**h]hpage}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jWhj0hM> hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM> hjgubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjbh]hint size}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hj\ubj)}(hhh]jX)}(hthe length of the datah]hthe length of the data}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhM? hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM? hjgubeh}(h]h ]h"]h$]h&]uh1jhjKubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hjKubjX)}(h`Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.h]h`Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_headroom (C function)c.skb_headroomhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h5unsigned int skb_headroom (const struct sk_buff *skb)h]h)}(h4unsigned int skb_headroom(const struct sk_buff *skb)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjލhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjލhhhjhM ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjލhhhjhM ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjލhhhjhM ubj)}(h skb_headroomh]j%)}(h skb_headroomh]h skb_headroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjލhhhjhM ubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj!sbc.skb_headroomasbuh1hhj7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubah}(h]h ]h"]h$]h&]j<j=uh1jhjލhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjڍhhhjhM ubah}(h]jՍah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj׍hhubjS)}(hhh]jX)}(hbytes at buffer headh]hbytes at buffer head}(hjَhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj֎hhubah}(h]h ]h"]h$]h&]uh1jRhj׍hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the head of an :c:type:`sk_buff`.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj )}(hMReturn the number of bytes of free space at the head of an :c:type:`sk_buff`.h]jX)}(hjmh](h;Return the number of bytes of free space at the head of an }(hjohhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjxh]hsk_buff}(hjzhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjoubh.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjkubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tailroom (C function)c.skb_tailroomhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h,int skb_tailroom (const struct sk_buff *skb)h]h)}(h+int skb_tailroom(const struct sk_buff *skb)h](j)}(hinth]hint}(hjƏhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjՏhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjԏhM ubj)}(h skb_tailroomh]j%)}(h skb_tailroomh]h skb_tailroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjԏhM ubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jjsbc.skb_tailroomasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjԏhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjԏhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjԏhM hjhhubjS)}(hhh]jX)}(hbytes at buffer endh]hbytes at buffer end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjԏhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buffh](jX)}(h**Parameters**h]j)}(hjÐh]h Parameters}(hjŐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM! hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjܐubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjܐubeh}(h]h ]h"]h$]h&]uh1jhjhM hjِubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj )}(hBReturn the number of bytes of free space at the tail of an sk_buffh]jX)}(hj5h]hBReturn the number of bytes of free space at the tail of an sk_buff}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj3ubah}(h]h ]h"]h$]h&]uh1j hjDhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_availroom (C function)c.skb_availroomhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h-int skb_availroom (const struct sk_buff *skb)h]h)}(h,int skb_availroom(const struct sk_buff *skb)h](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjyhM( ubj)}(h skb_availroomh]j%)}(h skb_availroomh]h skb_availroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjyhM( ubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjÑhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjБhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjޑubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_availroomasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjyhM( ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjyhM( ubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhM( hj`hhubjS)}(hhh]jX)}(hbytes at buffer endh]hbytes at buffer end}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( hjChhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjyhM( ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h](jX)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM, hjbubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hjubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM) hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM) hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubjX)}(h**Description**h]j)}(hj’h]h Description}(hjĒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ hjbubj )}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]jX)}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()}(hjܒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM* hjؒubah}(h]h ]h"]h$]h&]uh1j hjhM* hjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_reserve (C function) c.skb_reservehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h/void skb_reserve (struct sk_buff *skb, int len)h]h)}(h.void skb_reserve(struct sk_buff *skb, int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7 ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM7 ubj)}(h skb_reserveh]j%)}(h skb_reserveh]h skb_reserve}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM7 ubj)}(h(struct sk_buff *skb, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jj4sb c.skb_reserveasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjΓhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjܓhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM7 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhM7 ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM7 hjhhubjS)}(hhh]jX)}(hadjust headroomh]hadjust headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM7 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to alter ``int len`` bytes to move **Description** Increase the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM; hj"ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjGh]hstruct sk_buff *skb}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8 hjAubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hM8 hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM8 hj>ubj)}(h``int len`` bytes to move h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9 hjzubj)}(hhh]jX)}(h bytes to moveh]h bytes to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9 hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM9 hj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM; hj"ubj )}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h]jX)}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](h"Increase the headroom of an empty }(hjՔhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjߔh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjݔubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM: hjՔubhE by reducing the tail room. This is only allowed for an empty buffer.}(hjՔhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM: hjєubah}(h]h ]h"]h$]h&]uh1j hjhM: hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_tailroom_reserve (C function)c.skb_tailroom_reservehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_void skb_tailroom_reserve (struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h]h)}(h^void skb_tailroom_reserve(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](j)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhME ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hME ubj)}(hskb_tailroom_reserveh]j%)}(hskb_tailroom_reserveh]hskb_tailroom_reserve}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hME ubj)}(hE(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjPsbc.skb_tailroom_reserveasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hskbh]hskb}(hjÕhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hunsigned int mtuh](j)}(hunsignedh]hunsigned}(hjܕhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjؕubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjؕubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjؕubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjؕubj%)}(hmtuh]hmtu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjؕubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hunsigned int needed_tailroomh](j)}(hunsignedh]hunsigned}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj%)}(hneeded_tailroomh]hneeded_tailroom}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)hhhj;hME ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj;hME ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hME hj"hhubjS)}(hhh]jX)}(hadjust reserved_tailroomh]hadjust reserved_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhME hjhhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj;hME ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int mtu`` maximum amount of headlen permitted ``unsigned int needed_tailroom`` minimum amount of reserved_tailroom **Description** Set reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMI hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjЖh]hstruct sk_buff *skb}(hjҖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΖubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMF hjʖubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMF hjubah}(h]h ]h"]h$]h&]uh1jhjʖubeh}(h]h ]h"]h$]h&]uh1jhjhMF hjǖubj)}(h9``unsigned int mtu`` maximum amount of headlen permitted h](j)}(h``unsigned int mtu``h]j)}(hj h]hunsigned int mtu}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMG hjubj)}(hhh]jX)}(h#maximum amount of headlen permittedh]h#maximum amount of headlen permitted}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMG hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMG hjǖubj)}(hE``unsigned int needed_tailroom`` minimum amount of reserved_tailroom h](j)}(h ``unsigned int needed_tailroom``h]j)}(hjBh]hunsigned int needed_tailroom}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMH hj<ubj)}(hhh]jX)}(h#minimum amount of reserved_tailroomh]h#minimum amount of reserved_tailroom}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMH hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMH hjǖubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJ hjubj )}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]jX)}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMI hjubah}(h]h ]h"]h$]h&]uh1j hjhMI hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/skb_reset_transport_header_careful (C function)$c.skb_reset_transport_header_carefulhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=bool skb_reset_transport_header_careful (struct sk_buff *skb)h]h)}(hh]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjȗhhhjٗhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjėhhhjٗhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjٗhM hjhhubjS)}(hhh]jX)}(h$conditionally reset transport headerh]h$conditionally reset transport header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjٗhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to alter **Description** Hardened version of skb_reset_transport_header(). **Return** true if the operation was a success.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hj̘h]hstruct sk_buff *skb}(hjΘhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʘubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjƘubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjƘubeh}(h]h ]h"]h$]h&]uh1jhjhM hjØubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(h1Hardened version of skb_reset_transport_header().h]h1Hardened version of skb_reset_transport_header().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(h **Return**h]j)}(hj.h]hReturn}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(h$true if the operation was a success.h]h$true if the operation was a success.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_trim_unique (C function)c.pskb_trim_uniquehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=void pskb_trim_unique (struct sk_buff *skb, unsigned int len)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj hhhN(hNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhM ubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhhubjS)}(hhh]jX)}(h2remove end from a paged unique (not cloned) bufferh]h2remove end from a paged unique (not cloned) buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX **Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length **Description** This is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjŚh]hstruct sk_buff *skb}(hjǚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÚubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjޚhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjښhM hjۚubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjښhM hjubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h new lengthh]h new length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj )}(hThis is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.h]jX)}(hThis is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.h]hThis is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjOubah}(h]h ]h"]h$]h&]uh1j hjahM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_orphan (C function) c.skb_orphanhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h%void skb_orphan (struct sk_buff *skb)h]h)}(h$void skb_orphan(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h skb_orphanh]j%)}(h skb_orphanh]h skb_orphan}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjśhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjқhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.skb_orphanasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj}hhubjS)}(hhh]jX)}(horphan a bufferh]horphan a buffer}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjEhhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to orphan **Description** If a buffer currently has an owner then we call the owner's destructor function and make the **skb** unowned. The buffer continues to exist but is no longer charged to its former owner.h](jX)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjdubj)}(hhh]j)}(h)``struct sk_buff *skb`` buffer to orphan h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hbuffer to orphanh]hbuffer to orphan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjdubjX)}(h**Description**h]j)}(hjĜh]h Description}(hjƜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjœubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjdubj )}(hIf a buffer currently has an owner then we call the owner's destructor function and make the **skb** unowned. The buffer continues to exist but is no longer charged to its former owner.h]jX)}(hIf a buffer currently has an owner then we call the owner's destructor function and make the **skb** unowned. The buffer continues to exist but is no longer charged to its former owner.h](h_If a buffer currently has an owner then we call the owner’s destructor function and make the }(hjޜhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޜubhU unowned. The buffer continues to exist but is no longer charged to its former owner.}(hjޜhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjڜubah}(h]h ]h"]h$]h&]uh1j hjhM hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_orphan_frags (C function)c.skb_orphan_fragshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:int skb_orphan_frags (struct sk_buff *skb, gfp_t gfp_mask)h]h)}(h9int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hM ubj)}(hskb_orphan_fragsh]j%)}(hskb_orphan_fragsh]hskb_orphan_frags}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hM ubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsbc.skb_orphan_fragsasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjםhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԝubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjٝmodnameN classnameNjj!)}j$]jc.skb_orphan_fragsasbuh1hhjНubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjНubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjНubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj3hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hM hjhhubjS)}(hhh]jX)}(h&orphan the frags contained in a bufferh]h&orphan the frags contained in a buffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj*hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhj[hNhNubj})}(hX<**Parameters** ``struct sk_buff *skb`` buffer to orphan frags from ``gfp_t gfp_mask`` allocation mask for replacement pages **Description** For each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h](jX)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjIubj)}(hhh](j)}(h4``struct sk_buff *skb`` buffer to orphan frags from h](j)}(h``struct sk_buff *skb``h]j)}(hjnh]hstruct sk_buff *skb}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhubj)}(hhh]jX)}(hbuffer to orphan frags fromh]hbuffer to orphan frags from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM hjeubj)}(h9``gfp_t gfp_mask`` allocation mask for replacement pages h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h%allocation mask for replacement pagesh]h%allocation mask for replacement pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjeubeh}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjIubj )}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]jX)}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1j hj hM hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__skb_queue_purge_reason (C function)c.__skb_queue_purge_reasonhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hVvoid __skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]h)}(hUvoid __skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](j)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$ ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj?hM$ ubj)}(h__skb_queue_purge_reasonh]j%)}(h__skb_queue_purge_reasonh]h__skb_queue_purge_reason}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hM$ ubj)}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjTsbc.__skb_queue_purge_reasonasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hlisth]hlist}(hjǟhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjܟubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܟubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__skb_queue_purge_reasonasbuh1hhjܟubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܟubj%)}(hreasonh]hreason}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܟubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj?hM$ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj?hM$ ubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?hM$ hj&hhubjS)}(hhh]jX)}(h empty a listh]h empty a list}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$ hjQhhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj?hM$ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj[hNhNubj})}(hX_**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h](jX)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( hjpubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM% hjubj)}(hhh]jX)}(h list to emptyh]h list to empty}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM% hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM% hjubj)}(h,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hjΠh]henum skb_drop_reason reason}(hjРhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̠ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM& hjȠubj)}(hhh]jX)}(h drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM& hjubah}(h]h ]h"]h$]h&]uh1jhjȠubeh}(h]h ]h"]h$]h&]uh1jhjhM& hjubeh}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( hjpubj )}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h]jX)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h](hDelete all buffers on an }(hj#hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj-h]hsk_buff}(hj/hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM' hj#ubh list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhM' hjubah}(h]h ]h"]h$]h&]uh1j hjJhM' hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_alloc_frag (C function)c.netdev_alloc_fraghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h.void * netdev_alloc_frag (unsigned int fragsz)h]h)}(h,void *netdev_alloc_frag(unsigned int fragsz)h](j)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMH ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjhMH ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwhhhjhMH ubj)}(hnetdev_alloc_fragh]j%)}(hnetdev_alloc_fragh]hnetdev_alloc_frag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjhMH ubj)}(h(unsigned int fragsz)h]j)}(hunsigned int fragszh](j)}(hunsignedh]hunsigned}(hjšhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjӡhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfragszh]hfragsz}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjhMH ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjhMH ubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMH hjphhubjS)}(hhh]jX)}(hallocate a page fragmenth]hallocate a page fragment}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMH hj$hhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjhMH ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``unsigned int fragsz`` fragment size **Description** Allocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.h](jX)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhML hjCubj)}(hhh]j)}(h&``unsigned int fragsz`` fragment size h](j)}(h``unsigned int fragsz``h]j)}(hjhh]hunsigned int fragsz}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMI hjbubj)}(hhh]jX)}(h fragment sizeh]h fragment size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMI hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMI hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMK hjCubjX)}(hMAllocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.h]hMAllocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJ hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_alloc_skb (C function)c.netdev_alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOstruct sk_buff * netdev_alloc_skb (struct net_device *dev, unsigned int length)h]h)}(hMstruct sk_buff *netdev_alloc_skb(struct net_device *dev, unsigned int length)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM^ ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jnetdev_alloc_skbsbc.netdev_alloc_skbasbuh1hhjhhhjhM^ ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM^ ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM^ ubj)}(hnetdev_alloc_skbh]j%)}(hj%h]hnetdev_alloc_skb}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM^ ubj)}(h-(struct net_device *dev, unsigned int length)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j#c.netdev_alloc_skbasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hjңhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjΣubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjΣubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjΣubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjΣubj%)}(hlengthh]hlength}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjΣubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM^ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM^ ubah}(h]jۢah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM^ hjݢhhubjS)}(hhh]jX)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hj1hhubah}(h]h ]h"]h$]h&]uh1jRhjݢhhhjhM^ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhj[hNhNubj})}(hX)**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int length`` length to allocate **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jX)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMb hjPubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjuh]hstruct net_device *dev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hjoubj)}(hhh]jX)}(hnetwork device to receive onh]hnetwork device to receive on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM_ hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM_ hjlubj)}(h+``unsigned int length`` length to allocate h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hjubj)}(hhh]jX)}(hlength to allocateh]hlength to allocate}(hjǤhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjähM` hjĤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjähM` hjlubeh}(h]h ]h"]h$]h&]uh1jhjPubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMb hjPubj )}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jX)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj h]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMa hjubh and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj*hMa hjubjX)}(h|``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](j)}(h``NULL``h]hNULL}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubht is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMf hjubeh}(h]h ]h"]h$]h&]uh1j hj*hMa hjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_alloc_pages (C function)c.__dev_alloc_pageshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hDstruct page * __dev_alloc_pages (gfp_t gfp_mask, unsigned int order)h]h)}(hBstruct page *__dev_alloc_pages(gfp_t gfp_mask, unsigned int order)h](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjthhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhM ubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__dev_alloc_pagessbc.__dev_alloc_pagesasbuh1hhjthhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhM ubj;)}(hj>h]h*}(hjƥhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjthhhjhM ubj)}(h__dev_alloc_pagesh]j%)}(hjh]h__dev_alloc_pages}(hjץhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӥubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhM ubj)}(h$(gfp_t gfp_mask, unsigned int order)h](j)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__dev_alloc_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfp_maskh]hgfp_mask}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(horderh]horder}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhM ubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjmhhubjS)}(hhh]jX)}(hallocate page for network Rxh]hallocate page for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx ``unsigned int order`` size of the allocation **Description** Allocate a new page. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx h](j)}(h``gfp_t gfp_mask``h]j)}(hjݦh]hgfp_t gfp_mask}(hjߦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۦubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjצubj)}(hhh]jX)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjצubeh}(h]h ]h"]h$]h&]uh1jhjhM hjԦubj)}(h.``unsigned int order`` size of the allocation h](j)}(h``unsigned int order``h]j)}(hjh]hunsigned int order}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hsize of the allocationh]hsize of the allocation}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hM hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM hjԦubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(hAllocate a new page.h]hAllocate a new page.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh( is returned if there is no free memory.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_alloc_page (C function)c.__dev_alloc_pagehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h/struct page * __dev_alloc_page (gfp_t gfp_mask)h]h)}(h-struct page *__dev_alloc_page(gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubh)}(hhh]j%)}(hpageh]hpage}(hjҧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϧubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjԧmodnameN classnameNjj!)}j$]j')}j__dev_alloc_pagesbc.__dev_alloc_pageasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(h__dev_alloc_pageh]j%)}(hjh]h__dev_alloc_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(gfp_t gfp_mask)h]j)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jc.__dev_alloc_pageasbuh1hhj)ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj%)}(hgfp_maskh]hgfp_mask}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hallocate a page for network Rxh]hallocate a page for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx **Description** Allocate a new page. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx h](j)}(h``gfp_t gfp_mask``h]j)}(hjǨh]hgfp_t gfp_mask}(hjɨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŨubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjܨhM hjݨubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܨhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(hAllocate a new page.h]hAllocate a new page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh( is returned if there is no free memory.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_page_is_reusable (C function)c.dev_page_is_reusablehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3bool dev_page_is_reusable (const struct page *page)h]h)}(h2bool dev_page_is_reusable(const struct page *page)h](j)}(hjTh]hbool}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjqhM ubj)}(hdev_page_is_reusableh]j%)}(hdev_page_is_reusableh]hdev_page_is_reusable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhjqhM ubj)}(h(const struct page *page)h]j)}(hconst struct page *pageh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjȩhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hj٩hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֩ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj۩modnameN classnameNjj!)}j$]j')}jjsbc.dev_page_is_reusableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhjqhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhjqhM ubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhM hjYhhubjS)}(hhh]jX)}(h1check whether a page can be reused for network Rxh]h1check whether a page can be reused for network Rx}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj;hhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjqhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj[hNhNubj})}(hX"**Parameters** ``const struct page *page`` the page to test **Description** A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node. **Return** false if this page should be returned to page allocator, true otherwise.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubj)}(hhh]j)}(h-``const struct page *page`` the page to test h](j)}(h``const struct page *page``h]j)}(hjh]hconst struct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjyubj)}(hhh]jX)}(hthe page to testh]hthe page to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubjX)}(h{A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node.h]h}A page shouldn’t be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node.}(hjЪhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߪubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubjX)}(hHfalse if this page should be returned to page allocator, true otherwise.h]hHfalse if this page should be returned to page allocator, true otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_propagate_pfmemalloc (C function)c.skb_propagate_pfmemallochNtauh1hhj[hhhNhNubh)}(hhh](h)}(hLvoid skb_propagate_pfmemalloc (const struct page *page, struct sk_buff *skb)h]h)}(hKvoid skb_propagate_pfmemalloc(const struct page *page, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj4hM ubj)}(hskb_propagate_pfmemalloch]j%)}(hskb_propagate_pfmemalloch]hskb_propagate_pfmemalloc}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj4hM ubj)}(h.(const struct page *page, struct sk_buff *skb)h](j)}(hconst struct page *pageh](h)}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjIsbc.skb_propagate_pfmemallocasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjʫhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hpageh]hpage}(hj׫hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_propagate_pfmemallocasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj4hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj4hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hM hjhhubjS)}(hhh]jX)}(h6Propagate pfmemalloc if skb is allocated after RX pageh]h6Propagate pfmemalloc if skb is allocated after RX page}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjnhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj4hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct page *page`` The page that was allocated from skb_alloc_page ``struct sk_buff *skb`` The skb that may need pfmemalloc seth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(hL``const struct page *page`` The page that was allocated from skb_alloc_page h](j)}(h``const struct page *page``h]j)}(hjh]hconst struct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h/The page that was allocated from skb_alloc_pageh]h/The page that was allocated from skb_alloc_page}(hjˬhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjǬhM hjȬubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǬhM hjubj)}(h<``struct sk_buff *skb`` The skb that may need pfmemalloc seth](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h$The skb that may need pfmemalloc seth]h$The skb that may need pfmemalloc set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off (C function)c.skb_frag_offhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h2unsigned int skb_frag_off (const skb_frag_t *frag)h]h)}(h1unsigned int skb_frag_off(const skb_frag_t *frag)h](j)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShM ubj)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhjShM ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShM ubj)}(h skb_frag_offh]j%)}(h skb_frag_offh]h skb_frag_off}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShM ubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_offasbuh1hhjubj)}(h h]h }(hjܭhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjShM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjShM ubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShM hj:hhubjS)}(hhh]jX)}(h$Returns the offset of a skb fragmenth]h$Returns the offset of a skb fragment}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjShM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj[hNhNubj})}(h?**Parameters** ``const skb_frag_t *frag`` the paged fragmenth](jX)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj=ubj)}(hhh]j)}(h-``const skb_frag_t *frag`` the paged fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjbh]hconst skb_frag_t *frag}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj\ubj)}(hhh]jX)}(hthe paged fragmenth]hthe paged fragment}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_add (C function)c.skb_frag_off_addhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3void skb_frag_off_add (skb_frag_t *frag, int delta)h]h)}(h2void skb_frag_off_add(skb_frag_t *frag, int delta)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjˮhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjʮhMubj)}(hskb_frag_off_addh]j%)}(hskb_frag_off_addh]hskb_frag_off_add}(hjݮhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjٮubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjʮhMubj)}(h(skb_frag_t *frag, int delta)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj߮sbc.skb_frag_off_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int deltah](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hdeltah]hdelta}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjʮhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjʮhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjʮhMhjhhubjS)}(hhh]jX)}(h4Increments the offset of a skb fragment by **delta**h](h+Increments the offset of a skb fragment by }(hjhhhNhNubj)}(h **delta**h]hdelta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjʮhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hQ**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to addh](jX)}(h**Parameters**h]j)}(hjƯh]h Parameters}(hjȯhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjįubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjh]hskb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj߯ubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj߯ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjܯubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hjh]h int delta}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h value to addh]h value to add}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjܯubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_set (C function)c.skb_frag_off_sethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=void skb_frag_off_set (skb_frag_t *frag, unsigned int offset)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhM ubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjmhhubjS)}(hhh]jX)}(h!Sets the offset of a skb fragmenth]h!Sets the offset of a skb fragment}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjkhhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(ha**Parameters** ``skb_frag_t *frag`` skb fragment ``unsigned int offset`` offset of fragmenth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjh]hskb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hjȱhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjıhM hjűubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjıhM hjubj)}(h*``unsigned int offset`` offset of fragmenth](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hoffset of fragmenth]hoffset of fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_copy (C function)c.skb_frag_off_copyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hGvoid skb_frag_off_copy (skb_frag_t *fragto, const skb_frag_t *fragfrom)h]h)}(hFvoid skb_frag_off_copy(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhMubj)}(hskb_frag_off_copyh]j%)}(hskb_frag_off_copyh]hskb_frag_off_copy}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjPhMubj)}(h0(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](j)}(hskb_frag_t *fragtoh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesbc.skb_frag_off_copyasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hfragtoh]hfragto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hconst skb_frag_t *fragfromh](h)}(hjh]hconst}(hjֲhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjҲubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҲubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_frag_off_copyasbuh1hhjҲubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҲubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjҲubj%)}(hfragfromh]hfragfrom}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjҲubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhjPhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhjPhMubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhMhj7hhubjS)}(hhh]jX)}(h7Sets the offset of a skb fragment from another fragmenth]h7Sets the offset of a skb fragment from another fragment}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjThhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhjPhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``skb_frag_t *fragto`` skb fragment where offset is set ``const skb_frag_t *fragfrom`` skb fragment offset is copied fromh](jX)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubj)}(hhh](j)}(h8``skb_frag_t *fragto`` skb fragment where offset is set h](j)}(h``skb_frag_t *fragto``h]j)}(hjh]hskb_frag_t *fragto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h skb fragment where offset is seth]h skb fragment where offset is set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``const skb_frag_t *fragfrom`` skb fragment offset is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjѳh]hconst skb_frag_t *fragfrom}(hjӳhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϳubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj˳ubj)}(hhh]jX)}(h"skb fragment offset is copied fromh]h"skb fragment offset is copied from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj˳ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_net_iov (C function)c.skb_frag_net_iovhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:struct net_iov * skb_frag_net_iov (const skb_frag_t *frag)h]h)}(h8struct net_iov *skb_frag_net_iov(const skb_frag_t *frag)h](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj8hM&ubh)}(hhh]j%)}(hnet_iovh]hnet_iov}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jskb_frag_net_iovsbc.skb_frag_net_iovasbuh1hhj'hhhj8hM&ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj8hM&ubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'hhhj8hM&ubj)}(hskb_frag_net_iovh]j%)}(hjhh]hskb_frag_net_iov}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj8hM&ubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjôhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjŴmodnameN classnameNjj!)}j$]jfc.skb_frag_net_iovasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj8hM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj8hM&ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hM&hj hhubjS)}(hhh]jX)}(h,retrieve the net_iov referred to by fragmenth]h,retrieve the net_iov referred to by fragment}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&hj#hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj8hM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const skb_frag_t *frag`` the fragment **Return** the :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM*hjBubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjgh]hconst skb_frag_t *frag}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hjaubj)}(hhh]jX)}(h the fragmenth]h the fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hM'hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM'hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM)hjBubjX)}(huthe :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](hthe }(hjhhhNhNubh)}(h":c:type:`struct net_iov `h]j)}(hjµh]hstruct net_iov}(hjĵhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_iovuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM)hjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh6. Returns NULL if this frag has no associated net_iov.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjߵhM)hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_page (C function)c.skb_frag_pagehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4struct page * skb_frag_page (const skb_frag_t *frag)h]h)}(h2struct page *skb_frag_page(const skb_frag_t *frag)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hM5ubh)}(hhh]j%)}(hpageh]hpage}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}j skb_frag_pagesbc.skb_frag_pageasbuh1hhjhhhj)hM5ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hM5ubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj)hM5ubj)}(h skb_frag_pageh]j%)}(hjYh]h skb_frag_page}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hM5ubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jWc.skb_frag_pageasbuh1hhjubj)}(h h]h }(hjҶhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj)hM5ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj)hM5ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hM5hjhhubjS)}(hhh]jX)}(h1retrieve the page referred to by a paged fragmenth]h1retrieve the page referred to by a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj)hM5ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment **Return** the :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hj3ubj)}(hhh]j)}(h.``const skb_frag_t *frag`` the paged fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjXh]hconst skb_frag_t *frag}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hjRubj)}(hhh]jX)}(hthe paged fragmenth]hthe paged fragment}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM6hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM6hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hj3ubjX)}(hlthe :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](hthe }(hjhhhNhNubh)}(h:c:type:`struct page `h]j)}(hjh]h struct page}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjpageuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjշhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3. Returns NULL if this frag has no associated page.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjзhM8hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_netmem (C function)c.skb_frag_netmemhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3netmem_ref skb_frag_netmem (const skb_frag_t *frag)h]h)}(h2netmem_ref skb_frag_netmem(const skb_frag_t *frag)h](h)}(hhh]j%)}(h netmem_refh]h netmem_ref}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_frag_netmemsbc.skb_frag_netmemasbuh1hhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj1hMDubj)}(hskb_frag_netmemh]j%)}(hj.h]hskb_frag_netmem}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj1hMDubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j,c.skb_frag_netmemasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj1hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj1hMDubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hMDhjhhubjS)}(hhh]jX)}(h-retrieve the netmem referred to by a fragmenth]h-retrieve the netmem referred to by a fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhjݸhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj1hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hy**Parameters** ``const skb_frag_t *frag`` the fragment **Return** the :c:type:`netmem_ref` associated with **frag**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhjubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hj!h]hconst skb_frag_t *frag}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhjubj)}(hhh]jX)}(h the fragmenth]h the fragment}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMEhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMEhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hj\h]hReturn}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjubjX)}(h2the :c:type:`netmem_ref` associated with **frag**.h](hthe }(hjrhhhNhNubh)}(h:c:type:`netmem_ref`h]j)}(hj|h]h netmem_ref}(hj~hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj netmem_refuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjrubh associated with }(hjrhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMGhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_address (C function)c.skb_frag_addresshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h0void * skb_frag_address (const skb_frag_t *frag)h]h)}(h.void *skb_frag_address(const skb_frag_t *frag)h](j)}(hvoidh]hvoid}(hjֹhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҹhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҹhhhjhMTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjҹhhhjhMTubj)}(hskb_frag_addressh]j%)}(hskb_frag_addressh]hskb_frag_address}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjҹhhhjhMTubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_addressasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjҹhhhjhMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjιhhhjhMTubah}(h]jɹah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMThj˹hhubjS)}(hhh]jX)}(h:gets the address of the data contained in a paged fragmenth]h:gets the address of the data contained in a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThjhhubah}(h]h ]h"]h$]h&]uh1jRhj˹hhhjhMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. The page must already be mapped.h](jX)}(h**Parameters**h]j)}(hjźh]h Parameters}(hjǺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjúubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhjubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhj޺ubj)}(hhh]jX)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhj޺ubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjۺubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhjubjX)}(hIthe address of the data within **frag**. The page must already be mapped.h](hthe address of the data within }(hj5hhhNhNubj)}(h**frag**h]hfrag}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh". The page must already be mapped.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_frag_address_safe (C function)c.skb_frag_address_safehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h5void * skb_frag_address_safe (const skb_frag_t *frag)h]h)}(h3void *skb_frag_address_safe(const skb_frag_t *frag)h](j)}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhMcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrhhhjhMcubj)}(hskb_frag_address_safeh]j%)}(hskb_frag_address_safeh]hskb_frag_address_safe}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjhMcubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjͻhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj޻hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjۻubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_address_safeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjhMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhMcubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMchjkhhubjS)}(hhh]jX)}(h:gets the address of the data contained in a paged fragmenth]h:gets the address of the data contained in a paged fragment}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj@hhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](jX)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghj_ubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhj~ubj)}(hhh]jX)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhj_ubjX)}(hgthe address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](hthe address of the data within }(hjռhhhNhNubj)}(h**frag**h]hfrag}(hjݼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjռubh-. Checks that the page is mapped and returns }(hjռhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjռubh otherwise.}(hjռhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_page_copy (C function)c.skb_frag_page_copyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hHvoid skb_frag_page_copy (skb_frag_t *fragto, const skb_frag_t *fragfrom)h]h)}(hGvoid skb_frag_page_copy(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj6hMyubj)}(hskb_frag_page_copyh]j%)}(hskb_frag_page_copyh]hskb_frag_page_copy}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$hhhj6hMyubj)}(h0(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](j)}(hskb_frag_t *fragtoh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jjKsbc.skb_frag_page_copyasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hfragtoh]hfragto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hconst skb_frag_t *fragfromh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjɽhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjڽhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj׽ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjܽmodnameN classnameNjj!)}j$]jc.skb_frag_page_copyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj$hhhj6hMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj6hMyubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hMyhjhhubjS)}(hhh]jX)}(h1sets the page in a fragment from another fragmenth]h1sets the page in a fragment from another fragment}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhj:hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj6hMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``skb_frag_t *fragto`` skb fragment where page is set ``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](jX)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hjYubj)}(hhh](j)}(h6``skb_frag_t *fragto`` skb fragment where page is set h](j)}(h``skb_frag_t *fragto``h]j)}(hj~h]hskb_frag_t *fragto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzhjxubj)}(hhh]jX)}(hskb fragment where page is seth]hskb fragment where page is set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjuubj)}(h?``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjh]hconst skb_frag_t *fragfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM|hjubj)}(hhh]jX)}(h skb fragment page is copied fromh]h skb fragment page is copied from}(hjоhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̾hM|hjuubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_frag_dma_map (C function)c.__skb_frag_dma_maphNtauh1hhj[hhhNhNubh)}(hhh](h)}(hdma_addr_t __skb_frag_dma_map (struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h]h)}(hdma_addr_t __skb_frag_dma_map(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h](h)}(hhh]j%)}(h dma_addr_th]h dma_addr_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__skb_frag_dma_mapsbc.__skb_frag_dma_mapasbuh1hhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj5hMubj)}(h__skb_frag_dma_maph]j%)}(hj2h]h__skb_frag_dma_map}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj5hMubj)}(he(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j0c.__skb_frag_dma_mapasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hjӿhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjϿubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϿubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j0c.__skb_frag_dma_mapasbuh1hhjϿubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϿubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjϿubj%)}(hfragh]hfrag}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϿubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(h size_t offseth](h)}(hhh]j%)}(hsize_th]hsize_t}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j0c.__skb_frag_dma_mapasbuh1hhj?ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hoffseth]hoffset}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j0c.__skb_frag_dma_mapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(henum dma_data_direction dirh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hdma_data_directionh]hdma_data_direction}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j0c.__skb_frag_dma_mapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj5hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj5hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMhjhhubjS)}(hhh]jX)}(h%maps a paged fragment via the DMA APIh]h%maps a paged fragment via the DMA API}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj5hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct device *dev`` the device to map the fragment to ``const skb_frag_t *frag`` the paged fragment to map ``size_t offset`` the offset within the fragment (starting at the fragment's own offset) ``size_t size`` the number of bytes to map ``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) **Description** Maps the page associated with **frag** to **device**.h](jX)}(h**Parameters**h]j)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubj)}(hhh](j)}(h9``struct device *dev`` the device to map the fragment to h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h!the device to map the fragment toh]h!the device to map the fragment to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``const skb_frag_t *frag`` the paged fragment to map h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hthe paged fragment to maph]hthe paged fragment to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hY``size_t offset`` the offset within the fragment (starting at the fragment's own offset) h](j)}(h``size_t offset``h]j)}(hjh]h size_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hFthe offset within the fragment (starting at the fragment's own offset)h]hHthe offset within the fragment (starting at the fragment’s own offset)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``size_t size`` the number of bytes to map h](j)}(h``size_t size``h]j)}(hj4h]h size_t size}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj.ubj)}(hhh]jX)}(hthe number of bytes to maph]hthe number of bytes to map}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(hM``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) h](j)}(h``enum dma_data_direction dir``h]j)}(hjmh]henum dma_data_direction dir}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjgubj)}(hhh]jX)}(h,the direction of the mapping (``PCI_DMA_*``)h](hthe direction of the mapping (}(hjhhhNhNubj)}(h ``PCI_DMA_*``h]h PCI_DMA_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubjX)}(h5Maps the page associated with **frag** to **device**.h](hMaps the page associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h **device**h]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_writable (C function)c.skb_clone_writablehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hDint skb_clone_writable (const struct sk_buff *skb, unsigned int len)h]h)}(hCint skb_clone_writable(const struct sk_buff *skb, unsigned int len)h](j)}(hinth]hint}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj1hMubj)}(hskb_clone_writableh]j%)}(hskb_clone_writableh]hskb_clone_writable}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj1hMubj)}(h-(const struct sk_buff *skb, unsigned int len)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjFsbc.skb_clone_writableasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj1hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj1hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hMhjhhubjS)}(hhh]jX)}(h!is the header of a clone writableh]h!is the header of a clone writable}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj1hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check ``unsigned int len`` length up to which to write **Description** Returns true if modifying the header part of the cloned buffer does not requires the data to be copied.h](jX)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjkubj)}(hhh](j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``unsigned int len`` length up to which to write h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength up to which to writeh]hlength up to which to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjkubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjkubj )}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]jX)}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hj,hMhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow (C function) c.skb_cowhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8int skb_cow (struct sk_buff *skb, unsigned int headroom)h]h)}(h7int skb_cow(struct sk_buff *skb, unsigned int headroom)h](j)}(hinth]hint}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjahMubj)}(hskb_cowh]j%)}(hskb_cowh]hskb_cow}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjahMubj)}(h,(struct sk_buff *skb, unsigned int headroom)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjvsb c.skb_cowasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int headroomh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hheadroomh]hheadroom}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhjahMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjahMubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahMhjHhhubjS)}(hhh]jX)}(h© header of skb when it is requiredh]h© header of skb when it is required}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjahhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom **Description** If the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h buffer to cowh]h buffer to cow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hXIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jX)}(hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.h]hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/ubjX)}(hfThe result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](hHThe result is skb with writable area skb->head...skb->tail and at least }(hjBhhhNhNubj)}(h **headroom**h]hheadroom}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh of space at head.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/ubeh}(h]h ]h"]h$]h&]uh1j hjAhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow_head (C function)c.skb_cow_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=int skb_cow_head (struct sk_buff *skb, unsigned int headroom)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int headroomh](j)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj%)}(hheadroomh]hheadroom}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj~hhubjS)}(hhh]jX)}(h)skb_cow but only making the head writableh]h)skb_cow but only making the head writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXS**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom **Description** This function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h buffer to cowh]h buffer to cow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hneeded headroomh]hneeded headroom}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h]jX)}(hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h]hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjeubah}(h]h ]h"]h$]h&]uh1j hjwhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_padto (C function) c.skb_padtohNtauh1hhj[hhhNhNubh)}(hhh](h)}(h5int skb_padto (struct sk_buff *skb, unsigned int len)h]h)}(h4int skb_padto(struct sk_buff *skb, unsigned int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_padtoh]j%)}(h skb_padtoh]h skb_padto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.skb_padtoasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(hinth]hint}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h"pad an skbuff up to a minimal sizeh]h"pad an skbuff up to a minimal size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hj)h]hunsigned int len}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj#ubj)}(hhh]jX)}(hminimal lengthh]hminimal length}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jX)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_put_padto (C function)c.__skb_put_padtohNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOint __skb_put_padto (struct sk_buff *skb, unsigned int len, bool free_on_error)h]h)}(hNint __skb_put_padto(struct sk_buff *skb, unsigned int len, bool free_on_error)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__skb_put_padtoh]j%)}(h__skb_put_padtoh]h__skb_put_padto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h;(struct sk_buff *skb, unsigned int len, bool free_on_error)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__skb_put_padtoasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(hinth]hint}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool free_on_errorh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h free_on_errorh]h free_on_error}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length ``bool free_on_error`` free buffer on error **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hj9h]hstruct sk_buff *skb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhj0ubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjrh]hunsigned int len}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubj)}(hhh]jX)}(hminimal lengthh]hminimal length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhj0ubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjh]hbool free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hfree buffer on errorh]hfree buffer on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj0ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h]jX)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if }(hjhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is true.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hj hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put_padto (C function)c.skb_put_padtohNtauh1hhj[hhhNhNubh)}(hhh](h)}(h9int skb_put_padto (struct sk_buff *skb, unsigned int len)h]h)}(h8int skb_put_padto(struct sk_buff *skb, unsigned int len)h](j)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjUhM0ubj)}(h skb_put_padtoh]j%)}(h skb_put_padtoh]h skb_put_padto}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjUhM0ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjjsbc.skb_put_padtoasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhjUhM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhjUhM0ubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhM0hj<hhubjS)}(hhh]jX)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjUhhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhjUhM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhj[hNhNubj})}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jX)}(h**Parameters**h]j)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hjtubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hjubj)}(hhh]jX)}(hminimal lengthh]hminimal length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubeh}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hjtubj )}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jX)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj#ubah}(h]h ]h"]h$]h&]uh1j hj5hM3hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_linearize (C function)c.skb_linearizehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h'int skb_linearize (struct sk_buff *skb)h]h)}(h&int skb_linearize(struct sk_buff *skb)h](j)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjjhM[ubj)}(h skb_linearizeh]j%)}(h skb_linearizeh]h skb_linearize}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjjhM[ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_linearizeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhjjhM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjjhM[ubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhM[hjQhhubjS)}(hhh]jX)}(hconvert paged skb to linear oneh]hconvert paged skb to linear one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[hjhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjjhM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to linarize **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hj8ubj)}(hhh]j)}(h+``struct sk_buff *skb`` buffer to linarize h](j)}(h``struct sk_buff *skb``h]j)}(hj]h]hstruct sk_buff *skb}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hjWubj)}(hhh]jX)}(hbuffer to linarizeh]hbuffer to linarize}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM\hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM\hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^hj8ubj )}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jX)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM]hjubah}(h]h ]h"]h$]h&]uh1j hjhM]hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_has_shared_frag (C function)c.skb_has_shared_fraghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4bool skb_has_shared_frag (const struct sk_buff *skb)h]h)}(h3bool skb_has_shared_frag(const struct sk_buff *skb)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMgubj)}(hskb_has_shared_fragh]j%)}(hskb_has_shared_fragh]hskb_has_shared_frag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMgubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj sbc.skb_has_shared_fragasbuh1hhjubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMgubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMghjhhubjS)}(hhh]jX)}(hcan any frag be overwrittenh]hcan any frag be overwritten}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to test **Return** true if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhjubj)}(hhh]j)}(h-``const struct sk_buff *skb`` buffer to test h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjubj)}(hhh]jX)}(hbuffer to testh]hbuffer to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hj=h]hReturn}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjubjX)}(hptrue if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())h]hptrue if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_linearize_cow (C function)c.skb_linearize_cowhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h+int skb_linearize_cow (struct sk_buff *skb)h]h)}(h*int skb_linearize_cow(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhjhMtubj)}(hskb_linearize_cowh]j%)}(hskb_linearize_cowh]hskb_linearize_cow}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhjhMtubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_linearize_cowasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhMtubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMthjwhhubjS)}(hhh]jX)}(h$make sure skb is linear and writableh]h$make sure skb is linear and writable}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthj?hhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjhMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to process **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxhj^ubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuhj}ubj)}(hhh]jX)}(hbuffer to processh]hbuffer to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhj^ubj )}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jX)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjubah}(h]h ]h"]h$]h&]uh1j hjhMvhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_postpull_rcsum (C function)c.skb_postpull_rcsumhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hRvoid skb_postpull_rcsum (struct sk_buff *skb, const void *start, unsigned int len)h]h)}(hQvoid skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hskb_postpull_rcsumh]j%)}(hskb_postpull_rcsumh]hskb_postpull_rcsum}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj0sbc.skb_postpull_rcsumasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hconst void *starth](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h+update checksum for received skb after pullh]h+update checksum for received skb after pull}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjxhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXr**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data before pull ``unsigned int len`` length of data pulled **Description** After doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``const void *start`` start of data before pull h](j)}(h``const void *start``h]j)}(hjh]hconst void *start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hstart of data before pullh]hstart of data before pull}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hj.h]hunsigned int len}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj(ubj)}(hhh]jX)}(hlength of data pulledh]hlength of data pulled}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]jX)}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_postpush_rcsum (C function)c.skb_postpush_rcsumhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hRvoid skb_postpush_rcsum (struct sk_buff *skb, const void *start, unsigned int len)h]h)}(hQvoid skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_postpush_rcsumh]j%)}(hskb_postpush_rcsumh]hskb_postpush_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_postpush_rcsumasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst void *starth](h)}(hjh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h+update checksum for received skb after pushh]h+update checksum for received skb after push}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj#hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data after push ``unsigned int len`` length of data pushed **Description** After doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjgh]hstruct sk_buff *skb}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjaubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(h/``const void *start`` start of data after push h](j)}(h``const void *start``h]j)}(hjh]hconst void *start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hstart of data after pushh]hstart of data after push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(h+``unsigned int len`` length of data pushed h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength of data pushedh]hlength of data pushed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubj )}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]jX)}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj*ubah}(h]h ]h"]h$]h&]uh1j hj<hMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_push_rcsum (C function)c.skb_push_rcsumhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=void * skb_push_rcsum (struct sk_buff *skb, unsigned int len)h]h)}(h;void *skb_push_rcsum(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjqhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_hhhjqhMubj)}(hskb_push_rcsumh]j%)}(hskb_push_rcsumh]hskb_push_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhjqhMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_push_rcsumasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhjqhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjqhMubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMhjXhhubjS)}(hhh]jX)}(h$push skb and update receive checksumh]h$push skb and update receive checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj~hhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhjqhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jX)}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubah}(h]h ]h"]h$]h&]uh1j hj^hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_trim_rcsum (C function)c.pskb_trim_rcsumhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h;int pskb_trim_rcsum (struct sk_buff *skb, unsigned int len)h]h)}(h:int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hpskb_trim_rcsumh]j%)}(hpskb_trim_rcsumh]hpskb_trim_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.pskb_trim_rcsumasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hlenh]hlen}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhMubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjzhhubjS)}(hhh]jX)}(h%trim received skb and update checksumh]h%trim received skb and update checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to trim ``unsigned int len`` new length **Description** This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to trim h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hbuffer to trimh]hbuffer to trim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jX)}(h new lengthh]h new length}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]jX)}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjaubah}(h]h ]h"]h$]h&]uh1j hjshMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_needs_linearize (C function)c.skb_needs_linearizehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hJbool skb_needs_linearize (struct sk_buff *skb, netdev_features_t features)h]h)}(hIbool skb_needs_linearize(struct sk_buff *skb, netdev_features_t features)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_needs_linearizeh]j%)}(hskb_needs_linearizeh]hskb_needs_linearize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct sk_buff *skb, netdev_features_t features)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_needs_linearizeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hnetdev_features_t featuresh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jc.skb_needs_linearizeasbuh1hhjDubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj%)}(hfeaturesh]hfeatures}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hQcheck if we need to linearize a given skb depending on the given device features.h]hQcheck if we need to linearize a given skb depending on the given device features.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX)**Parameters** ``struct sk_buff *skb`` socket buffer to check ``netdev_features_t features`` net device features **Description** Returns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h/``struct sk_buff *skb`` socket buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hsocket buffer to checkh]hsocket buffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``netdev_features_t features`` net device features h](j)}(h``netdev_features_t features``h]j)}(hjh]hnetdev_features_t features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hnet device featuresh]hnet device features}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]jX)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]hReturns true if either: 1. skb has frag_list and the device doesn’t support FRAGLIST, or 2. skb is fragmented and the device does not support SG.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubah}(h]h ]h"]h$]h&]uh1j hj~hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_get_timestamp (C function)c.skb_get_timestamphNtauh1hhj[hhhNhNubh)}(hhh](h)}(hVvoid skb_get_timestamp (const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h]h)}(hUvoid skb_get_timestamp(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_get_timestamph]j%)}(hskb_get_timestamph]hskb_get_timestamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h?(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_get_timestampasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h"struct __kernel_old_timeval *stamph](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(h__kernel_old_timevalh]h__kernel_old_timeval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.skb_get_timestampasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hstamph]hstamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hget timestamp from a skbh]hget timestamp from a skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX]**Parameters** ``const struct sk_buff *skb`` skb to get stamp from ``struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in **Description** Timestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh](j)}(h4``const struct sk_buff *skb`` skb to get stamp from h](j)}(h``const struct sk_buff *skb``h]j)}(hj1h]hconst struct sk_buff *skb}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj+ubj)}(hhh]jX)}(hskb to get stamp fromh]hskb to get stamp from}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h```struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in h](j)}(h&``struct __kernel_old_timeval *stamp``h]j)}(hjjh]h"struct __kernel_old_timeval *stamp}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjdubj)}(hhh]jX)}(h8pointer to struct __kernel_old_timeval to store stamp inh]h8pointer to struct __kernel_old_timeval to store stamp in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj )}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]jX)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&skb_complete_tx_timestamp (C function)c.skb_complete_tx_timestamphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\void skb_complete_tx_timestamp (struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h]h)}(h[void skb_complete_tx_timestamp(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_complete_tx_timestamph]j%)}(hskb_complete_tx_timestamph]hskb_complete_tx_timestamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h=(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjsbc.skb_complete_tx_timestampasbuh1hhj-ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(h&struct skb_shared_hwtstamps *hwtstampsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jkc.skb_complete_tx_timestampasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%deliver cloned skb with tx timestampsh]h%deliver cloned skb with tx timestamps}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj!hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj[hNhNubj})}(hXl**Parameters** ``struct sk_buff *skb`` clone of the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps **Description** PHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj@ubj)}(hhh](j)}(h>``struct sk_buff *skb`` clone of the original outgoing packet h](j)}(h``struct sk_buff *skb``h]j)}(hjeh]hstruct sk_buff *skb}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj_ubj)}(hhh]jX)}(h%clone of the original outgoing packeth]h%clone of the original outgoing packet}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(h@``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hhardware time stampsh]hhardware time stamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj@ubjX)}(hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h]hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tstamp_tx (C function)c.skb_tstamp_txhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hUvoid skb_tstamp_tx (struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h]h)}(hTvoid skb_tstamp_tx(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj,hMubj)}(h skb_tstamp_txh]j%)}(h skb_tstamp_txh]h skb_tstamp_tx}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj,hMubj)}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hstruct sk_buff *orig_skbh](h)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j')}jjAsbc.skb_tstamp_txasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(horig_skbh]horig_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(h&struct skb_shared_hwtstamps *hwtstampsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_tstamp_txasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h hwtstampsh]h hwtstamps}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj,hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj,hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hMhjhhubjS)}(hhh]jX)}(h(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj,hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *orig_skb`` the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available **Description** If the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h](jX)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubj)}(hhh](j)}(h:``struct sk_buff *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hjh]hstruct sk_buff *orig_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hthe original outgoing packeth]hthe original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h^``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h2hardware time stamps, may be NULL if not availableh]h2hardware time stamps, may be NULL if not available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubjX)}(hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h]hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tx_timestamp (C function)c.skb_tx_timestamphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h+void skb_tx_timestamp (struct sk_buff *skb)h]h)}(h*void skb_tx_timestamp(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhMubj)}(hskb_tx_timestamph]j%)}(hskb_tx_timestamph]hskb_tx_timestamp}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjVhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjksbc.skb_tx_timestampasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubah}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjVhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjVhMubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMhj=hhubjS)}(hhh]jX)}(h%Driver hook for transmit timestampingh]h%Driver hook for transmit timestamping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhjVhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` A socket buffer. **Description** Ethernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware. Specifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h](jX)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$ubj)}(hhh]j)}(h)``struct sk_buff *skb`` A socket buffer. h](j)}(h``struct sk_buff *skb``h]j)}(hjIh]hstruct sk_buff *skb}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjCubj)}(hhh]jX)}(hA socket buffer.h]hA socket buffer.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$ubjX)}(hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.h]hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$ubjX)}(hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h]hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_complete_wifi_ack (C function)c.skb_complete_wifi_ackhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h bool ackedh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hackedh]hacked}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hdeliver skb with wifi statush]hdeliver skb with wifi status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hc**Parameters** ``struct sk_buff *skb`` the original outgoing packet ``bool acked`` ack statush](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h5``struct sk_buff *skb`` the original outgoing packet h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hthe original outgoing packeth]hthe original outgoing packet}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(h``bool acked`` ack statush](j)}(h``bool acked``h]j)}(hjFh]h bool acked}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj@ubj)}(hhh]jX)}(h ack statush]h ack status}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_checksum_complete (C function)c.skb_checksum_completehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3__sum16 skb_checksum_complete (struct sk_buff *skb)h]h)}(h2__sum16 skb_checksum_complete(struct sk_buff *skb)h](h)}(hhh]j%)}(h__sum16h]h__sum16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_checksum_completesbc.skb_checksum_completeasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_checksum_completeh]j%)}(hjh]hskb_checksum_complete}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_checksum_completeasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&Calculate checksum of an entire packeth]h&Calculate checksum of an entire packet}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` packet to process **Description** This function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` packet to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hpacket to processh]hpacket to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hXPThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jX)}(hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.h]hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(hXFor protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h]hXFor protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_ext (C struct) c.skb_exthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hskb_exth]h)}(hstruct skb_exth](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjZhMubj)}(hskb_exth]j%)}(hjGh]hskb_ext}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhjZhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhjZhMubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhMhjBhhubjS)}(hhh]jX)}(hsk_buff extensionsh]hsk_buff extensions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhjZhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Definition**:: struct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[] ; }; **Members** ``refcnt`` 1 on allocation, deallocated on 0 ``offset`` offset to add to **data** to obtain extension address ``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units ``data`` start of extension data, variable sizedh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjU)}(hgstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[] ; };h]hgstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[] ; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h-``refcnt`` 1 on allocation, deallocated on 0 h](j)}(h ``refcnt``h]j)}(hjh]hrefcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h!1 on allocation, deallocated on 0h]h!1 on allocation, deallocated on 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``offset`` offset to add to **data** to obtain extension address h](j)}(h ``offset``h]j)}(hj5h]hoffset}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/ubj)}(hhh]jX)}(h5offset to add to **data** to obtain extension addressh](hoffset to add to }(hjNhhhNhNubj)}(h**data**h]hdata}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh to obtain extension address}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(hI``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units h](j)}(h ``chunks``h]j)}(hjh]hchunks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzubj)}(hhh]jX)}(h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT unitsh]h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``data`` start of extension data, variable sizedh](j)}(h``data``h]j)}(hjh]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h'start of extension data, variable sizedh]h'start of extension data, variable sized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj[hhubj)}(hhh]j)}(hoffsets/lengths are stored in chunks of 8 bytes, this allows to use 'u8' types while allowing up to 2kb worth of extension data. h](j)}(hh]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjshM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjshM*ubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshM*hjZhhubjS)}(hhh]jX)}(h(make sure skb ip_summed is CHECKSUM_NONEh]h(make sure skb ip_summed is CHECKSUM_NONE}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM*hj=hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjshM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` skb to check **Description** fresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hj\ubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hj{ubj)}(hhh]jX)}(h skb to checkh]h skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hj\ubjX)}(hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h]hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_head_is_locked (C function)c.skb_head_is_lockedhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3bool skb_head_is_locked (const struct sk_buff *skb)h]h)}(h2bool skb_head_is_locked(const struct sk_buff *skb)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM>ubj)}(hskb_head_is_lockedh]j%)}(hskb_head_is_lockedh]hskb_head_is_locked}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM>ubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jj#sbc.skb_head_is_lockedasbuh1hhj9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM>ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM>ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM>hjhhubjS)}(hhh]jX)}(h)Determine if the skb->head is locked downh]h)Determine if the skb->head is locked down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM>ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX?**Parameters** ``const struct sk_buff *skb`` skb to check **Description** The head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhjubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubj)}(hhh]jX)}(h skb to checkh]h skb to check}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM?hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM?hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhjubjX)}(hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h]hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_common (C struct) c.sock_commonhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h sock_commonh]h)}(hstruct sock_commonh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h sock_commonh]j%)}(hjh]h sock_common}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h/minimal network layer representation of socketsh]h/minimal network layer representation of sockets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKjhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX***Definition**:: struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; }; **Members** ``{unnamed_union}`` anonymous ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** ``{unnamed_struct}`` anonymous ``skc_daddr`` Foreign IPv4 addr ``skc_rcv_saddr`` Bound local IPv4 addr ``{unnamed_union}`` anonymous ``skc_hash`` hash value used with various protocol lookup tables ``skc_u16hashes`` two u16 hash values used by UDP lookup tables ``{unnamed_union}`` anonymous ``skc_portpair`` __u32 union of **skc_dport** & **skc_num** ``{unnamed_struct}`` anonymous ``skc_dport`` placeholder for inet_dport/tw_dport ``skc_num`` placeholder for inet_num/tw_num ``skc_family`` network address family ``skc_state`` Connection state ``skc_reuse`` ``SO_REUSEADDR`` setting ``skc_reuseport`` ``SO_REUSEPORT`` setting ``skc_ipv6only`` socket is IPV6 only ``skc_net_refcnt`` socket is using net ref counting ``skc_bound_dev_if`` bound device index if != 0 ``{unnamed_union}`` anonymous ``skc_bind_node`` bind hash linkage for various protocol lookup tables ``skc_portaddr_node`` second hash linkage for UDP/UDP-Lite protocol ``skc_prot`` protocol handlers inside a network family ``skc_net`` reference to the network namespace of this socket ``skc_v6_daddr`` IPV6 destination address ``skc_v6_rcv_saddr`` IPV6 source address ``skc_cookie`` socket's cookie value ``{unnamed_union}`` anonymous ``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings ``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] ``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] ``{unnamed_union}`` anonymous ``skc_node`` main hash linkage for various protocol lookup tables ``skc_nulls_node`` main hash linkage for TCP/UDP/UDP-Lite protocol ``skc_tx_queue_mapping`` tx queue number for this connection ``skc_rx_queue_mapping`` rx queue number for this connection ``{unnamed_union}`` anonymous ``skc_incoming_cpu`` record/match cpu processing incoming packets ``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] ``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] ``skc_refcnt`` reference counth](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKnhjubjU)}(hXstruct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };h]hXstruct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKphjubjX)}(h **Members**h]j)}(hj,h]hMembers}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjKh]h{unnamed_union}}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjEubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hKhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hKhjBubj)}(hQ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** h](j)}(h``skc_addrpair``h]j)}(hjh]h skc_addrpair}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKnhj~ubj)}(hhh]jX)}(h?8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr**h](h8-byte-aligned __u64 union of }(hjhhhNhNubj)}(h **skc_daddr**h]h skc_daddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**skc_rcv_saddr**h]h skc_rcv_saddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjBubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h ``skc_daddr`` Foreign IPv4 addr h](j)}(h ``skc_daddr``h]j)}(hjh]h skc_daddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKlhjubj)}(hhh]jX)}(hForeign IPv4 addrh]hForeign IPv4 addr}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hKlhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hKlhjBubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hjOh]h skc_rcv_saddr}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKmhjIubj)}(hhh]jX)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhKmhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhKmhjBubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(hA``skc_hash`` hash value used with various protocol lookup tables h](j)}(h ``skc_hash``h]j)}(hjh]hskc_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKohjubj)}(hhh]jX)}(h3hash value used with various protocol lookup tablesh]h3hash value used with various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKohjBubj)}(h@``skc_u16hashes`` two u16 hash values used by UDP lookup tables h](j)}(h``skc_u16hashes``h]j)}(hjh]h skc_u16hashes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKphjubj)}(hhh]jX)}(h-two u16 hash values used by UDP lookup tablesh]h-two u16 hash values used by UDP lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKphjBubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj3h]h{unnamed_union}}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj-ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhKhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhKhjBubj)}(h<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hjlh]h skc_portpair}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKshjfubj)}(hhh]jX)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hjhhhNhNubj)}(h **skc_dport**h]h skc_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h **skc_num**h]hskc_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhKshjBubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h2``skc_dport`` placeholder for inet_dport/tw_dport h](j)}(h ``skc_dport``h]j)}(hjh]h skc_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKqhjubj)}(hhh]jX)}(h#placeholder for inet_dport/tw_dporth]h#placeholder for inet_dport/tw_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKqhjBubj)}(h,``skc_num`` placeholder for inet_num/tw_num h](j)}(h ``skc_num``h]j)}(hj7h]hskc_num}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKrhj1ubj)}(hhh]jX)}(hplaceholder for inet_num/tw_numh]hplaceholder for inet_num/tw_num}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhKrhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhKrhjBubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hjph]h skc_family}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKthjjubj)}(hhh]jX)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhKthjBubj)}(h``skc_state`` Connection state h](j)}(h ``skc_state``h]j)}(hjh]h skc_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhjubj)}(hhh]jX)}(hConnection stateh]hConnection state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjBubj)}(h'``skc_reuse`` ``SO_REUSEADDR`` setting h](j)}(h ``skc_reuse``h]j)}(hjh]h skc_reuse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKvhjubj)}(hhh]jX)}(h``SO_REUSEADDR`` settingh](j)}(h``SO_REUSEADDR``h]h SO_REUSEADDR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjBubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hj)h]h skc_reuseport}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKwhj#ubj)}(hhh]jX)}(h``SO_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh setting}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj>hKwhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hKwhjBubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hjph]h skc_ipv6only}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKxhjjubj)}(hhh]jX)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKxhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhKxhjBubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hjh]hskc_net_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKyhjubj)}(hhh]jX)}(h socket is using net ref countingh]h socket is using net ref counting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKyhjBubj)}(h0``skc_bound_dev_if`` bound device index if != 0 h](j)}(h``skc_bound_dev_if``h]j)}(hjh]hskc_bound_dev_if}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKzhjubj)}(hhh]jX)}(hbound device index if != 0h]hbound device index if != 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKzhjBubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhjBubj)}(hG``skc_bind_node`` bind hash linkage for various protocol lookup tables h](j)}(h``skc_bind_node``h]j)}(hjTh]h skc_bind_node}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK{hjNubj)}(hhh]jX)}(h4bind hash linkage for various protocol lookup tablesh]h4bind hash linkage for various protocol lookup tables}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihK{hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihK{hjBubj)}(hD``skc_portaddr_node`` second hash linkage for UDP/UDP-Lite protocol h](j)}(h``skc_portaddr_node``h]j)}(hjh]hskc_portaddr_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK|hjubj)}(hhh]jX)}(h-second hash linkage for UDP/UDP-Lite protocolh]h-second hash linkage for UDP/UDP-Lite protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK|hjBubj)}(h7``skc_prot`` protocol handlers inside a network family h](j)}(h ``skc_prot``h]j)}(hjh]hskc_prot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK}hjubj)}(hhh]jX)}(h)protocol handlers inside a network familyh]h)protocol handlers inside a network family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK}hjBubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hjh]hskc_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK~hjubj)}(hhh]jX)}(h1reference to the network namespace of this socketh]h1reference to the network namespace of this socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK~hjBubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hj8h]h skc_v6_daddr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj2ubj)}(hhh]jX)}(hIPV6 destination addressh]hIPV6 destination address}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhKhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjBubj)}(h)``skc_v6_rcv_saddr`` IPV6 source address h](j)}(h``skc_v6_rcv_saddr``h]j)}(hjqh]hskc_v6_rcv_saddr}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjkubj)}(hhh]jX)}(hIPV6 source addressh]hIPV6 source address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h%``skc_cookie`` socket's cookie value h](j)}(h``skc_cookie``h]j)}(hjh]h skc_cookie}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hsocket's cookie valueh]hsocket’s cookie value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings h](j)}(h ``skc_flags``h]j)}(hjh]h skc_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hplace holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settingsh](hplace holder for sk_flags }(hj5hhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh (l_onoff), }(hj5hhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh, }(hj5hhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh, }(hj5hhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh settings, }(hj5hhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh settings}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKhjBubj)}(hb``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] h](j)}(h``skc_listener``h]j)}(hjh]h skc_listener}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hPconnection request listener socket (aka rsk_listener) [union with **skc_flags**]h](hBconnection request listener socket (aka rsk_listener) [union with }(hjhhhNhNubj)}(h **skc_flags**h]h skc_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] h](j)}(h ``skc_tw_dr``h]j)}(hjh]h skc_tw_dr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hp(aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**]h](h(aka tw_dr) ptr to }(hjhhhNhNubh)}(hB:c:type:`struct inet_timewait_death_row `h]j)}(hjh]hstruct inet_timewait_death_row}(hj!hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjinet_timewait_death_rowuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubh [union with }(hjhhhNhNubj)}(h **skc_flags**h]h skc_flags}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj<hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjkh]h{unnamed_union}}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjeubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(hB``skc_node`` main hash linkage for various protocol lookup tables h](j)}(h ``skc_node``h]j)}(hjh]hskc_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h4main hash linkage for various protocol lookup tablesh]h4main hash linkage for various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(hC``skc_nulls_node`` main hash linkage for TCP/UDP/UDP-Lite protocol h](j)}(h``skc_nulls_node``h]j)}(hjh]hskc_nulls_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h/main hash linkage for TCP/UDP/UDP-Lite protocolh]h/main hash linkage for TCP/UDP/UDP-Lite protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(h=``skc_tx_queue_mapping`` tx queue number for this connection h](j)}(h``skc_tx_queue_mapping``h]j)}(hjh]hskc_tx_queue_mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h#tx queue number for this connectionh]h#tx queue number for this connection}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hKhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hKhjBubj)}(h=``skc_rx_queue_mapping`` rx queue number for this connection h](j)}(h``skc_rx_queue_mapping``h]j)}(hjOh]hskc_rx_queue_mapping}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjIubj)}(hhh]jX)}(h#rx queue number for this connectionh]h#rx queue number for this connection}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhKhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjBubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(hB``skc_incoming_cpu`` record/match cpu processing incoming packets h](j)}(h``skc_incoming_cpu``h]j)}(hjh]hskc_incoming_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h,record/match cpu processing incoming packetsh]h,record/match cpu processing incoming packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(hn``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] h](j)}(h``skc_rcv_wnd``h]j)}(hjh]h skc_rcv_wnd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h](aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**]h](hH(aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with }(hjhhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubj)}(hj``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] h](j)}(h``skc_tw_rcv_nxt``h]j)}(hjFh]hskc_tw_rcv_nxt}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj@ubj)}(hhh]jX)}(hV(aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**]h](hA(aka tw_rcv_nxt) TCP window next expected seq number [union with }(hj_hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh]}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hKhjBubj)}(h``skc_refcnt`` reference counth](j)}(h``skc_refcnt``h]j)}(hjh]h skc_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hreference counth]hreference count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjBubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj[hhubj )}(hzThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock. h]jX)}(hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h]hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1j hjhKhj[hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock (C struct)c.sockhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hsockh]h)}(h struct sockh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hKubj)}(hsockh]j%)}(hjh]hsock}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj*hKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hKhjhhubjS)}(hhh]jX)}(h'network layer representation of socketsh]h'network layer representation of sockets}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj\hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj[hNhNubj})}(hXD2**Definition**:: struct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; __cacheline_group_begin(sock_write_rx); atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; __cacheline_group_end(sock_write_rx); __cacheline_group_begin(sock_read_rx); struct dst_entry __rcu *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter __rcu *sk_filter; union { struct socket_wq __rcu *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; __cacheline_group_end(sock_read_rx); __cacheline_group_begin(sock_read_rxtx); int sk_err; struct socket *sk_socket; struct mem_cgroup *sk_memcg; #ifdef CONFIG_XFRM; struct xfrm_policy __rcu *sk_policy[2]; #endif; __cacheline_group_end(sock_read_rxtx); __cacheline_group_begin(sock_write_rxtx); socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; __cacheline_group_end(sock_write_rxtx); __cacheline_group_begin(sock_write_tx); int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; u32 sk_dst_pending_confirm; u32 sk_pacing_status; struct page_frag sk_frag; struct timer_list sk_timer; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; __cacheline_group_end(sock_write_tx); __cacheline_group_begin(sock_read_tx); unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; struct dst_entry __rcu *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; u8 sk_pacing_shift; bool sk_use_task_frag; __cacheline_group_end(sock_read_tx); u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; u16 sk_type; u16 sk_protocol; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport __rcu *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage __rcu *sk_bpf_storage; #endif; struct rcu_head sk_rcu; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; }; **Members** ``__sk_common`` shared layout with inet_timewait_sock ``sk_drops`` raw/udp drops counter ``sk_peek_off`` current peek_offset value ``sk_error_queue`` rarely used ``sk_receive_queue`` incoming packets ``sk_backlog`` always used with the per-socket spinlock held ``sk_rx_dst`` receive input route used by early demux ``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** ``sk_rx_dst_cookie`` cookie for **sk_rx_dst** ``sk_ll_usec`` usecs to busypoll when there is no data ``sk_napi_id`` id of the last napi context to receive data for sk ``sk_busy_poll_budget`` napi processing budget when busypolling ``sk_prefer_busy_poll`` prefer busypolling over softirq processing ``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings ``sk_rcvbuf`` size of receive buffer in bytes ``sk_filter`` socket filtering instructions ``{unnamed_union}`` anonymous ``sk_wq`` sock wait queue and async head ``sk_data_ready`` callback to indicate there is data to be processed ``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting ``sk_rcvlowat`` ``SO_RCVLOWAT`` setting ``sk_err`` last error ``sk_socket`` Identd and reporting IO signals ``sk_memcg`` this socket's memory cgroup association ``sk_policy`` flow policy ``sk_lock`` synchronizer ``sk_reserved_mem`` space reserved and non-reclaimable for the socket ``sk_forward_alloc`` space allocated forward ``sk_tsflags`` SO_TIMESTAMPING flags ``sk_write_pending`` a write to stream socket waits to start ``sk_omem_alloc`` "o" is "option" or "other" ``sk_sndbuf`` size of send buffer in bytes ``sk_wmem_queued`` persistent queue size ``sk_wmem_alloc`` transmit queue bytes committed ``sk_tsq_flags`` TCP Small Queues flags ``{unnamed_union}`` anonymous ``sk_send_head`` front of stuff to transmit ``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] ``sk_write_queue`` Packet sending queue ``sk_dst_pending_confirm`` need to confirm neighbour ``sk_pacing_status`` Pacing status (requested, handled by sch_fq) ``sk_frag`` cached page frag ``sk_timer`` sock cleanup timer ``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) ``sk_zckey`` counter to order MSG_ZEROCOPY notifications ``sk_tskey`` counter to disambiguate concurrent tstamp requests ``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) ``sk_sndtimeo`` ``SO_SNDTIMEO`` setting ``sk_priority`` ``SO_PRIORITY`` setting ``sk_mark`` generic packet mark ``sk_dst_cache`` destination cache ``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) ``sk_validate_xmit_skb`` ptr to an optional validate function ``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) ``sk_gso_max_segs`` Maximum number of GSO segments ``sk_gso_max_size`` Maximum GSO segment size to build ``sk_allocation`` allocation mode ``sk_txhash`` computed flow hash for use on transmit ``sk_pacing_shift`` scaling factor for TCP Small Queues ``sk_use_task_frag`` allow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false. ``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. ``sk_kern_sock`` True if sock is using kernel lock classes ``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets ``sk_no_check_rx`` allow zero checksum in RX packets ``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` ``sk_type`` socket type (``SOCK_STREAM``, etc) ``sk_protocol`` which protocol this socket belongs in this network family ``sk_lingertime`` ``SO_LINGER`` l_linger setting ``sk_prot_creator`` sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance) ``sk_callback_lock`` used with the callbacks in the end of this struct ``sk_err_soft`` errors that don't cause failure but are the cause of a persistent failure not just 'timed out' ``sk_ack_backlog`` current listen backlog ``sk_max_ack_backlog`` listen backlog set in listen() ``sk_uid`` user id of owner ``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** ``sk_bind_phc`` SO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping ``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer ``sk_peer_cred`` ``SO_PEERCRED`` setting ``sk_stamp`` time stamp of last packet received ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only ``sk_disconnects`` number of disconnect operations performed on this sock ``{unnamed_union}`` anonymous ``sk_txrehash`` enable TX hash rethink ``sk_scm_recv_flags`` all flags used by scm_recv() ``{unnamed_struct}`` anonymous ``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS ``sk_scm_security`` flagged by SO_PASSSEC to recv SCM_SECURITY ``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD ``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS ``sk_scm_unused`` unused flags for scm_recv() ``sk_clockid`` clockid used by time-based scheduling (SO_TXTIME) ``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME ``sk_txtime_report_errors`` set report errors mode for SO_TXTIME ``sk_txtime_unused`` unused txtime flags ``sk_bpf_cb_flags`` used in bpf_setsockopt() ``sk_user_data`` RPC layer private data. Write-protected by **sk_callback_lock**. ``sk_security`` used by security modules ``sk_cgrp_data`` cgroup data for this cgroup ``sk_state_change`` callback to indicate change in the state of the sock ``sk_write_space`` callback to indicate there is bf sending space available ``sk_error_report`` callback to indicate errors (e.g. ``MSG_ERRQUEUE``) ``sk_backlog_rcv`` callback to process the backlog ``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 ``sk_reuseport_cb`` reuseport group container ``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage ``sk_rcu`` used during RCU grace period ``ns_tracker`` tracker for netns reference ``sk_user_frags`` xarray of pages the user is holding a reference on. ``sk_owner`` reference to the real owner of the socket that calls sock_lock_init_class_and_name().h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj{ubjU)}(hXcstruct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; __cacheline_group_begin(sock_write_rx); atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; __cacheline_group_end(sock_write_rx); __cacheline_group_begin(sock_read_rx); struct dst_entry __rcu *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter __rcu *sk_filter; union { struct socket_wq __rcu *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; __cacheline_group_end(sock_read_rx); __cacheline_group_begin(sock_read_rxtx); int sk_err; struct socket *sk_socket; struct mem_cgroup *sk_memcg; #ifdef CONFIG_XFRM; struct xfrm_policy __rcu *sk_policy[2]; #endif; __cacheline_group_end(sock_read_rxtx); __cacheline_group_begin(sock_write_rxtx); socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; __cacheline_group_end(sock_write_rxtx); __cacheline_group_begin(sock_write_tx); int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; u32 sk_dst_pending_confirm; u32 sk_pacing_status; struct page_frag sk_frag; struct timer_list sk_timer; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; __cacheline_group_end(sock_write_tx); __cacheline_group_begin(sock_read_tx); unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; struct dst_entry __rcu *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; u8 sk_pacing_shift; bool sk_use_task_frag; __cacheline_group_end(sock_read_tx); u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; u16 sk_type; u16 sk_protocol; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport __rcu *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage __rcu *sk_bpf_storage; #endif; struct rcu_head sk_rcu; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; };h]hXcstruct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; __cacheline_group_begin(sock_write_rx); atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; __cacheline_group_end(sock_write_rx); __cacheline_group_begin(sock_read_rx); struct dst_entry __rcu *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter __rcu *sk_filter; union { struct socket_wq __rcu *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; __cacheline_group_end(sock_read_rx); __cacheline_group_begin(sock_read_rxtx); int sk_err; struct socket *sk_socket; struct mem_cgroup *sk_memcg; #ifdef CONFIG_XFRM; struct xfrm_policy __rcu *sk_policy[2]; #endif; __cacheline_group_end(sock_read_rxtx); __cacheline_group_begin(sock_write_rxtx); socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; __cacheline_group_end(sock_write_rxtx); __cacheline_group_begin(sock_write_tx); int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; u32 sk_dst_pending_confirm; u32 sk_pacing_status; struct page_frag sk_frag; struct timer_list sk_timer; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; __cacheline_group_end(sock_write_tx); __cacheline_group_begin(sock_read_tx); unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; struct dst_entry __rcu *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; u8 sk_pacing_shift; bool sk_use_task_frag; __cacheline_group_end(sock_read_tx); u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; u16 sk_type; u16 sk_protocol; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport __rcu *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage __rcu *sk_bpf_storage; #endif; struct rcu_head sk_rcu; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj{ubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj{ubj)}(hhh](j)}(h6``__sk_common`` shared layout with inet_timewait_sock h](j)}(h``__sk_common``h]j)}(hjh]h __sk_common}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h%shared layout with inet_timewait_sockh]h%shared layout with inet_timewait_sock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h#``sk_drops`` raw/udp drops counter h](j)}(h ``sk_drops``h]j)}(hjh]hsk_drops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hraw/udp drops counterh]hraw/udp drops counter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``sk_peek_off`` current peek_offset value h](j)}(h``sk_peek_off``h]j)}(hj>h]h sk_peek_off}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM>hj8ubj)}(hhh]jX)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM>hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM>hjubj)}(h``sk_error_queue`` rarely used h](j)}(h``sk_error_queue``h]j)}(hjwh]hsk_error_queue}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjqubj)}(hhh]jX)}(h rarely usedh]h rarely used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``sk_receive_queue`` incoming packets h](j)}(h``sk_receive_queue``h]j)}(hjh]hsk_receive_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hincoming packetsh]hincoming packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``sk_backlog`` always used with the per-socket spinlock held h](j)}(h``sk_backlog``h]j)}(hjh]h sk_backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``sk_rx_dst`` receive input route used by early demux h](j)}(h ``sk_rx_dst``h]j)}(hj"h]h sk_rx_dst}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h'receive input route used by early demuxh]h'receive input route used by early demux}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hj[h]hsk_rx_dst_ifindex}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjUubj)}(hhh]jX)}(hifindex for **sk_rx_dst**h](h ifindex for }(hjthhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jWhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjubj)}(h.``sk_rx_dst_cookie`` cookie for **sk_rx_dst** h](j)}(h``sk_rx_dst_cookie``h]j)}(hjh]hsk_rx_dst_cookie}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hcookie for **sk_rx_dst**h](h cookie for }(hjhhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h7``sk_ll_usec`` usecs to busypoll when there is no data h](j)}(h``sk_ll_usec``h]j)}(hjh]h sk_ll_usec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``sk_napi_id`` id of the last napi context to receive data for sk h](j)}(h``sk_napi_id``h]j)}(hj"h]h sk_napi_id}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hj[h]hsk_busy_poll_budget}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM"hjUubj)}(hhh]jX)}(h'napi processing budget when busypollingh]h'napi processing budget when busypolling}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM"hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM"hjubj)}(hC``sk_prefer_busy_poll`` prefer busypolling over softirq processing h](j)}(h``sk_prefer_busy_poll``h]j)}(hjh]hsk_prefer_busy_poll}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM!hjubj)}(hhh]jX)}(h*prefer busypolling over softirq processingh]h*prefer busypolling over softirq processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(h:``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings h](j)}(h``sk_userlocks``h]j)}(hjh]h sk_userlocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h(``SO_SNDBUF`` and ``SO_RCVBUF`` settingsh](j)}(h ``SO_SNDBUF``h]h SO_SNDBUF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``SO_RCVBUF``h]h SO_RCVBUF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h.``sk_rcvbuf`` size of receive buffer in bytes h](j)}(h ``sk_rcvbuf``h]j)}(hj&h]h sk_rcvbuf}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hKhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hKhjubj)}(h,``sk_filter`` socket filtering instructions h](j)}(h ``sk_filter``h]j)}(hj_h]h sk_filter}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM.hjYubj)}(hhh]jX)}(hsocket filtering instructionsh]hsocket filtering instructions}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM.hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM.hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h)``sk_wq`` sock wait queue and async head h](j)}(h ``sk_wq``h]j)}(hjh]hsk_wq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hsock wait queue and async headh]hsock wait queue and async head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hE``sk_data_ready`` callback to indicate there is data to be processed h](j)}(h``sk_data_ready``h]j)}(hj h]h sk_data_ready}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMHhjubj)}(hhh]jX)}(h2callback to indicate there is data to be processedh]h2callback to indicate there is data to be processed}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubj)}(h(``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting h](j)}(h``sk_rcvtimeo``h]j)}(hjCh]h sk_rcvtimeo}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM*hj=ubj)}(hhh]jX)}(h``SO_RCVTIMEO`` settingh](j)}(h``SO_RCVTIMEO``h]h SO_RCVTIMEO}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh setting}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjXhM*hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM*hjubj)}(h(``sk_rcvlowat`` ``SO_RCVLOWAT`` setting h](j)}(h``sk_rcvlowat``h]j)}(hjh]h sk_rcvlowat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM)hjubj)}(hhh]jX)}(h``SO_RCVLOWAT`` settingh](j)}(h``SO_RCVLOWAT``h]h SO_RCVLOWAT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(h``sk_err`` last error h](j)}(h ``sk_err``h]j)}(hjh]hsk_err}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h last errorh]h last error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``sk_socket`` Identd and reporting IO signals h](j)}(h ``sk_socket``h]j)}(hj h]h sk_socket}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM;hjubj)}(hhh]jX)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM;hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(h5``sk_memcg`` this socket's memory cgroup association h](j)}(h ``sk_memcg``h]j)}(hjCh]hsk_memcg}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMDhj=ubj)}(hhh]jX)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMDhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMDhjubj)}(h``sk_policy`` flow policy h](j)}(h ``sk_policy``h]j)}(hj|h]h sk_policy}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjvubj)}(hhh]jX)}(h flow policyh]h flow policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``sk_lock`` synchronizer h](j)}(h ``sk_lock``h]j)}(hjh]hsk_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h synchronizerh]h synchronizer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hF``sk_reserved_mem`` space reserved and non-reclaimable for the socket h](j)}(h``sk_reserved_mem``h]j)}(hjh]hsk_reserved_mem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h1space reserved and non-reclaimable for the socketh]h1space reserved and non-reclaimable for the socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``sk_forward_alloc`` space allocated forward h](j)}(h``sk_forward_alloc``h]j)}(hj'h]hsk_forward_alloc}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj!ubj)}(hhh]jX)}(hspace allocated forwardh]hspace allocated forward}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(h%``sk_tsflags`` SO_TIMESTAMPING flags h](j)}(h``sk_tsflags``h]j)}(hj`h]h sk_tsflags}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM2hjZubj)}(hhh]jX)}(hSO_TIMESTAMPING flagsh]hSO_TIMESTAMPING flags}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM2hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM2hjubj)}(h=``sk_write_pending`` a write to stream socket waits to start h](j)}(h``sk_write_pending``h]j)}(hjh]hsk_write_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMEhjubj)}(hhh]jX)}(h'a write to stream socket waits to starth]h'a write to stream socket waits to start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(h-``sk_omem_alloc`` "o" is "option" or "other" h](j)}(h``sk_omem_alloc``h]j)}(hjh]h sk_omem_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h"o" is "option" or "other"h]h&“o” is “option” or “other”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hj h]h sk_sndbuf}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jX)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h)``sk_wmem_queued`` persistent queue size h](j)}(h``sk_wmem_queued``h]j)}(hjDh]hsk_wmem_queued}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj>ubj)}(hhh]jX)}(hpersistent queue sizeh]hpersistent queue size}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h1``sk_wmem_alloc`` transmit queue bytes committed h](j)}(h``sk_wmem_alloc``h]j)}(hj}h]h sk_wmem_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjwubj)}(hhh]jX)}(htransmit queue bytes committedh]htransmit queue bytes committed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h(``sk_tsq_flags`` TCP Small Queues flags h](j)}(h``sk_tsq_flags``h]j)}(hjh]h sk_tsq_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``sk_send_head`` front of stuff to transmit h](j)}(h``sk_send_head``h]j)}(hj(h]h sk_send_head}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM?hj"ubj)}(hhh]jX)}(hfront of stuff to transmith]hfront of stuff to transmit}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hM?hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hM?hjubj)}(hF``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] h](j)}(h``tcp_rtx_queue``h]j)}(hjah]h tcp_rtx_queue}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM@hj[ubj)}(hhh]jX)}(h3TCP re-transmit queue [union with **sk_send_head**]h](h"TCP re-transmit queue [union with }(hjzhhhNhNubj)}(h**sk_send_head**h]h sk_send_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh]}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjvhM@hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM@hjubj)}(h(``sk_write_queue`` Packet sending queue h](j)}(h``sk_write_queue``h]j)}(hjh]hsk_write_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hPacket sending queueh]hPacket sending queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``sk_dst_pending_confirm`` need to confirm neighbour h](j)}(h``sk_dst_pending_confirm``h]j)}(hjh]hsk_dst_pending_confirm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hB``sk_pacing_status`` Pacing status (requested, handled by sch_fq) h](j)}(h``sk_pacing_status``h]j)}(hjh]hsk_pacing_status}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jX)}(h,Pacing status (requested, handled by sch_fq)h]h,Pacing status (requested, handled by sch_fq)}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM hjubj)}(h``sk_frag`` cached page frag h](j)}(h ``sk_frag``h]j)}(hjWh]hsk_frag}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM=hjQubj)}(hhh]jX)}(hcached page fragh]hcached page frag}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM=hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM=hjubj)}(h ``sk_timer`` sock cleanup timer h](j)}(h ``sk_timer``h]j)}(hjh]hsk_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM/hjubj)}(hhh]jX)}(hsock cleanup timerh]hsock cleanup timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(hL``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) h](j)}(h``sk_pacing_rate``h]j)}(hjh]hsk_pacing_rate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``sk_zckey`` counter to order MSG_ZEROCOPY notifications h](j)}(h ``sk_zckey``h]j)}(hjh]hsk_zckey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM:hjubj)}(hhh]jX)}(h+counter to order MSG_ZEROCOPY notificationsh]h+counter to order MSG_ZEROCOPY notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h@``sk_tskey`` counter to disambiguate concurrent tstamp requests h](j)}(h ``sk_tskey``h]j)}(hj;h]hsk_tskey}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM9hj5ubj)}(hhh]jX)}(h2counter to disambiguate concurrent tstamp requestsh]h2counter to disambiguate concurrent tstamp requests}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhM9hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM9hjubj)}(hD``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) h](j)}(h``sk_max_pacing_rate``h]j)}(hjth]hsk_max_pacing_rate}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjnubj)}(hhh]jX)}(h,Maximum pacing rate (``SO_MAX_PACING_RATE``)h](hMaximum pacing rate (}(hjhhhNhNubj)}(h``SO_MAX_PACING_RATE``h]hSO_MAX_PACING_RATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h(``sk_sndtimeo`` ``SO_SNDTIMEO`` setting h](j)}(h``sk_sndtimeo``h]j)}(hjh]h sk_sndtimeo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM+hjubj)}(hhh]jX)}(h``SO_SNDTIMEO`` settingh](j)}(h``SO_SNDTIMEO``h]h SO_SNDTIMEO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h(``sk_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hj h]h sk_priority}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM#hj ubj)}(hhh]jX)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh setting}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM#hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM#hjubj)}(h ``sk_mark`` generic packet mark h](j)}(h ``sk_mark``h]j)}(hjM h]hsk_mark}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMBhjG ubj)}(hhh]jX)}(hgeneric packet markh]hgeneric packet mark}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb hMBhjc ubah}(h]h ]h"]h$]h&]uh1jhjG ubeh}(h]h ]h"]h$]h&]uh1jhjb hMBhjubj)}(h#``sk_dst_cache`` destination cache h](j)}(h``sk_dst_cache``h]j)}(hj h]h sk_dst_cache}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(hdestination cacheh]hdestination cache}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h<``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) h](j)}(h``sk_route_caps``h]j)}(hj h]h sk_route_caps}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(h)route capabilities (e.g. ``NETIF_F_TSO``)h](hroute capabilities (e.g. }(hj hhhNhNubj)}(h``NETIF_F_TSO``h]h NETIF_F_TSO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h>``sk_validate_xmit_skb`` ptr to an optional validate function h](j)}(h``sk_validate_xmit_skb``h]j)}(hj h]hsk_validate_xmit_skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMLhj ubj)}(hhh]jX)}(h$ptr to an optional validate functionh]h$ptr to an optional validate function}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMLhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMLhjubj)}(h2``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) h](j)}(h``sk_gso_type``h]j)}(hjC h]h sk_gso_type}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj= ubj)}(hhh]jX)}(h!GSO type (e.g. ``SKB_GSO_TCPV4``)h](hGSO type (e.g. }(hj\ hhhNhNubj)}(h``SKB_GSO_TCPV4``h]h SKB_GSO_TCPV4}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ ubh)}(hj\ hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjX hMhjY ubah}(h]h ]h"]h$]h&]uh1jhj= ubeh}(h]h ]h"]h$]h&]uh1jhjX hMhjubj)}(h3``sk_gso_max_segs`` Maximum number of GSO segments h](j)}(h``sk_gso_max_segs``h]j)}(hj h]hsk_gso_max_segs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(hMaximum number of GSO segmentsh]hMaximum number of GSO segments}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h6``sk_gso_max_size`` Maximum GSO segment size to build h](j)}(h``sk_gso_max_size``h]j)}(hj h]hsk_gso_max_size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(h!Maximum GSO segment size to buildh]h!Maximum GSO segment size to build}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h"``sk_allocation`` allocation mode h](j)}(h``sk_allocation``h]j)}(hj h]h sk_allocation}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(hallocation modeh]hallocation mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hj9 h]h sk_txhash}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM,hj3 ubj)}(hhh]jX)}(h&computed flow hash for use on transmith]h&computed flow hash for use on transmit}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjN hM,hjO ubah}(h]h ]h"]h$]h&]uh1jhj3 ubeh}(h]h ]h"]h$]h&]uh1jhjN hM,hjubj)}(h8``sk_pacing_shift`` scaling factor for TCP Small Queues h](j)}(h``sk_pacing_shift``h]j)}(hjr h]hsk_pacing_shift}(hjt hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjl ubj)}(hhh]jX)}(h#scaling factor for TCP Small Queuesh]h#scaling factor for TCP Small Queues}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjl ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``sk_use_task_frag`` allow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false. h](j)}(h``sk_use_task_frag``h]j)}(hj h]hsk_use_task_frag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM6hj ubj)}(hhh]jX)}(hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.h]hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM6hjubj)}(h;``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. h](j)}(h``sk_gso_disabled``h]j)}(hj h]hsk_gso_disabled}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(h&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h;``sk_kern_sock`` True if sock is using kernel lock classes h](j)}(h``sk_kern_sock``h]j)}(hj h]h sk_kern_sock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(h)True if sock is using kernel lock classesh]h)True if sock is using kernel lock classes}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3 hKhj4 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj3 hKhjubj)}(hG``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets h](j)}(h``sk_no_check_tx``h]j)}(hjW h]hsk_no_check_tx}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjQ ubj)}(hhh]jX)}(h3``SO_NO_CHECK`` setting, set checksum in TX packetsh](j)}(h``SO_NO_CHECK``h]h SO_NO_CHECK}(hjt hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp ubh$ setting, set checksum in TX packets}(hjp hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjl hM hjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hM hjubj)}(h5``sk_no_check_rx`` allow zero checksum in RX packets h](j)}(h``sk_no_check_rx``h]j)}(hj h]hsk_no_check_rx}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj ubj)}(hhh]jX)}(h!allow zero checksum in RX packetsh]h!allow zero checksum in RX packets}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hB``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` h](j)}(h``sk_shutdown``h]j)}(hj h]h sk_shutdown}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hj hhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and/or }(hj hhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hj0 h]hsk_type}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM$hj* ubj)}(hhh]jX)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hjI hhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubh, etc)}(hjI hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjE hM$hjF ubah}(h]h ]h"]h$]h&]uh1jhj* ubeh}(h]h ]h"]h$]h&]uh1jhjE hM$hjubj)}(hJ``sk_protocol`` which protocol this socket belongs in this network family h](j)}(h``sk_protocol``h]j)}(hj{ h]h sk_protocol}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM%hju ubj)}(hhh]jX)}(h9which protocol this socket belongs in this network familyh]h9which protocol this socket belongs in this network family}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM%hj ubah}(h]h ]h"]h$]h&]uh1jhju ubeh}(h]h ]h"]h$]h&]uh1jhj hM%hjubj)}(h1``sk_lingertime`` ``SO_LINGER`` l_linger setting h](j)}(h``sk_lingertime``h]j)}(hj h]h sk_lingertime}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(h``SO_LINGER`` l_linger settingh](j)}(h ``SO_LINGER``h]h SO_LINGER}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh l_linger setting}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hg``sk_prot_creator`` sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance) h](j)}(h``sk_prot_creator``h]j)}(hj h]hsk_prot_creator}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)h]hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``sk_callback_lock`` used with the callbacks in the end of this struct h](j)}(h``sk_callback_lock``h]j)}(hj5h]hsk_callback_lock}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubj)}(hhh]jX)}(h1used with the callbacks in the end of this structh]h1used with the callbacks in the end of this struct}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(ho``sk_err_soft`` errors that don't cause failure but are the cause of a persistent failure not just 'timed out' h](j)}(h``sk_err_soft``h]j)}(hjnh]h sk_err_soft}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjhubj)}(hhh]jX)}(h^errors that don't cause failure but are the cause of a persistent failure not just 'timed out'h]hderrors that don’t cause failure but are the cause of a persistent failure not just ‘timed out’}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``sk_ack_backlog`` current listen backlog h](j)}(h``sk_ack_backlog``h]j)}(hjh]hsk_ack_backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hcurrent listen backlogh]hcurrent listen backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``sk_max_ack_backlog`` listen backlog set in listen() h](j)}(h``sk_max_ack_backlog``h]j)}(hjh]hsk_max_ack_backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hlisten backlog set in listen()h]hlisten backlog set in listen()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk_uid`` user id of owner h](j)}(h ``sk_uid``h]j)}(hjh]hsk_uid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jX)}(huser id of ownerh]huser id of owner}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM hjubj)}(hF``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** h](j)}(h``sk_peer_lock``h]j)}(hjSh]h sk_peer_lock}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM&hjMubj)}(hhh]jX)}(h4lock protecting **sk_peer_pid** and **sk_peer_cred**h](hlock protecting }(hjlhhhNhNubj)}(h**sk_peer_pid**h]h sk_peer_pid}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh and }(hjlhhhNhNubj)}(h**sk_peer_cred**h]h sk_peer_cred}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jWhjhhM&hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM&hjubj)}(hU``sk_bind_phc`` SO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping h](j)}(h``sk_bind_phc``h]j)}(hjh]h sk_bind_phc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM8hjubj)}(hhh]jX)}(hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestampingh]hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(hB``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer h](j)}(h``sk_peer_pid``h]j)}(hjh]h sk_peer_pid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM'hjubj)}(hhh]jX)}(h1:c:type:`struct pid ` for this socket's peerh](h)}(h:c:type:`struct pid `h]j)}(hjh]h struct pid}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjpiduh1hhjhM'hjubh for this socket’s peer}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(h)``sk_peer_cred`` ``SO_PEERCRED`` setting h](j)}(h``sk_peer_cred``h]j)}(hj>h]h sk_peer_cred}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM(hj8ubj)}(hhh]jX)}(h``SO_PEERCRED`` settingh](j)}(h``SO_PEERCRED``h]h SO_PEERCRED}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh setting}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjShM(hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM(hjubj)}(h0``sk_stamp`` time stamp of last packet received h](j)}(h ``sk_stamp``h]j)}(hjh]hsk_stamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0hjubj)}(hhh]jX)}(h"time stamp of last packet receivedh]h"time stamp of last packet received}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(hJ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only h](j)}(h``sk_stamp_seq``h]j)}(hjh]h sk_stamp_seq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1hjubj)}(hhh]jX)}(h8lock for accessing sk_stamp on 32 bit architectures onlyh]h8lock for accessing sk_stamp on 32 bit architectures only}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(hJ``sk_disconnects`` number of disconnect operations performed on this sock h](j)}(h``sk_disconnects``h]j)}(hjh]hsk_disconnects}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMFhjubj)}(hhh]jX)}(h6number of disconnect operations performed on this sockh]h6number of disconnect operations performed on this sock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMFhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMFhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj0h]h{unnamed_union}}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj*ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKhjubj)}(h'``sk_txrehash`` enable TX hash rethink h](j)}(h``sk_txrehash``h]j)}(hjih]h sk_txrehash}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM-hjcubj)}(hhh]jX)}(henable TX hash rethinkh]henable TX hash rethink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hM-hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM-hjubj)}(h3``sk_scm_recv_flags`` all flags used by scm_recv() h](j)}(h``sk_scm_recv_flags``h]j)}(hjh]hsk_scm_recv_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMUhjubj)}(hhh]jX)}(hall flags used by scm_recv()h]hall flags used by scm_recv()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hF``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS h](j)}(h``sk_scm_credentials``h]j)}(hjh]hsk_scm_credentials}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMVhjubj)}(hhh]jX)}(h.flagged by SO_PASSCRED to recv SCM_CREDENTIALSh]h.flagged by SO_PASSCRED to recv SCM_CREDENTIALS}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMVhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMVhjubj)}(h?``sk_scm_security`` flagged by SO_PASSSEC to recv SCM_SECURITY h](j)}(h``sk_scm_security``h]j)}(hjMh]hsk_scm_security}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMWhjGubj)}(hhh]jX)}(h*flagged by SO_PASSSEC to recv SCM_SECURITYh]h*flagged by SO_PASSSEC to recv SCM_SECURITY}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMWhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMWhjubj)}(h;``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD h](j)}(h``sk_scm_pidfd``h]j)}(hjh]h sk_scm_pidfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMXhjubj)}(hhh]jX)}(h)flagged by SO_PASSPIDFD to recv SCM_PIDFDh]h)flagged by SO_PASSPIDFD to recv SCM_PIDFD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h>``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS h](j)}(h``sk_scm_rights``h]j)}(hjh]h sk_scm_rights}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMYhjubj)}(hhh]jX)}(h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTSh]h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h.``sk_scm_unused`` unused flags for scm_recv() h](j)}(h``sk_scm_unused``h]j)}(hjh]h sk_scm_unused}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMZhjubj)}(hhh]jX)}(hunused flags for scm_recv()h]hunused flags for scm_recv()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMZhjubj)}(hA``sk_clockid`` clockid used by time-based scheduling (SO_TXTIME) h](j)}(h``sk_clockid``h]j)}(hj1h]h sk_clockid}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMQhj+ubj)}(hhh]jX)}(h1clockid used by time-based scheduling (SO_TXTIME)h]h1clockid used by time-based scheduling (SO_TXTIME)}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMQhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMQhjubj)}(h<``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME h](j)}(h``sk_txtime_deadline_mode``h]j)}(hjjh]hsk_txtime_deadline_mode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMRhjdubj)}(hhh]jX)}(hset deadline mode for SO_TXTIMEh]hset deadline mode for SO_TXTIME}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(hA``sk_txtime_report_errors`` set report errors mode for SO_TXTIME h](j)}(h``sk_txtime_report_errors``h]j)}(hjh]hsk_txtime_report_errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMShjubj)}(hhh]jX)}(h$set report errors mode for SO_TXTIMEh]h$set report errors mode for SO_TXTIME}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hjh]hsk_txtime_unused}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMThjubj)}(hhh]jX)}(hunused txtime flagsh]hunused txtime flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(h-``sk_bpf_cb_flags`` used in bpf_setsockopt() h](j)}(h``sk_bpf_cb_flags``h]j)}(hjh]hsk_bpf_cb_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3hjubj)}(hhh]jX)}(hused in bpf_setsockopt()h]hused in bpf_setsockopt()}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hM3hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM3hjubj)}(hR``sk_user_data`` RPC layer private data. Write-protected by **sk_callback_lock**. h](j)}(h``sk_user_data``h]j)}(hjNh]h sk_user_data}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM<hjHubj)}(hhh]jX)}(h@RPC layer private data. Write-protected by **sk_callback_lock**.h](h+RPC layer private data. Write-protected by }(hjghhhNhNubj)}(h**sk_callback_lock**h]hsk_callback_lock}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjchM<hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM<hjubj)}(h)``sk_security`` used by security modules h](j)}(h``sk_security``h]j)}(hjh]h sk_security}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMAhjubj)}(hhh]jX)}(hused by security modulesh]hused by security modules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hjh]h sk_cgrp_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMChjubj)}(hhh]jX)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(hI``sk_state_change`` callback to indicate change in the state of the sock h](j)}(h``sk_state_change``h]j)}(hj h]hsk_state_change}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMGhjubj)}(hhh]jX)}(h4callback to indicate change in the state of the sockh]h4callback to indicate change in the state of the sock}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMGhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMGhjubj)}(hL``sk_write_space`` callback to indicate there is bf sending space available h](j)}(h``sk_write_space``h]j)}(hjDh]hsk_write_space}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMIhj>ubj)}(hhh]jX)}(h8callback to indicate there is bf sending space availableh]h8callback to indicate there is bf sending space available}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMIhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMIhjubj)}(hH``sk_error_report`` callback to indicate errors (e.g. ``MSG_ERRQUEUE``) h](j)}(h``sk_error_report``h]j)}(hj}h]hsk_error_report}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJhjwubj)}(hhh]jX)}(h3callback to indicate errors (e.g. ``MSG_ERRQUEUE``)h](h"callback to indicate errors (e.g. }(hjhhhNhNubj)}(h``MSG_ERRQUEUE``h]h MSG_ERRQUEUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(h3``sk_backlog_rcv`` callback to process the backlog h](j)}(h``sk_backlog_rcv``h]j)}(hjh]hsk_backlog_rcv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMKhjubj)}(hhh]jX)}(hcallback to process the backlogh]hcallback to process the backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hG``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 h](j)}(h``sk_destruct``h]j)}(hjh]h sk_destruct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMMhjubj)}(hhh]jX)}(h6called at sock freeing time, i.e. when all refcnt == 0h]h6called at sock freeing time, i.e. when all refcnt == 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h.``sk_reuseport_cb`` reuseport group container h](j)}(h``sk_reuseport_cb``h]j)}(hj:h]hsk_reuseport_cb}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMNhj4ubj)}(hhh]jX)}(hreuseport group containerh]hreuseport group container}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMNhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMNhjubj)}(h?``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage h](j)}(h``sk_bpf_storage``h]j)}(hjsh]hsk_bpf_storage}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMOhjmubj)}(hhh]jX)}(h+ptr to cache and control for bpf_sk_storageh]h+ptr to cache and control for bpf_sk_storage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h(``sk_rcu`` used during RCU grace period h](j)}(h ``sk_rcu``h]j)}(hjh]hsk_rcu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMPhjubj)}(hhh]jX)}(hused during RCU grace periodh]hused during RCU grace period}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h+``ns_tracker`` tracker for netns reference h](j)}(h``ns_tracker``h]j)}(hjh]h ns_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM[hjubj)}(hhh]jX)}(htracker for netns referenceh]htracker for netns reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(hF``sk_user_frags`` xarray of pages the user is holding a reference on. h](j)}(h``sk_user_frags``h]j)}(hjh]h sk_user_frags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM\hjubj)}(hhh]jX)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM\hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM\hjubj)}(hb``sk_owner`` reference to the real owner of the socket that calls sock_lock_init_class_and_name().h](j)}(h ``sk_owner``h]j)}(hjWh]hsk_owner}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM]hjQubj)}(hhh]jX)}(hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().h]hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM]hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM]hjubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sk_user_data_is_nocopy (C function)c.sk_user_data_is_nocopyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3bool sk_user_data_is_nocopy (const struct sock *sk)h]h)}(h2bool sk_user_data_is_nocopy(const struct sock *sk)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM_ubj)}(hsk_user_data_is_nocopyh]j%)}(hsk_user_data_is_nocopyh]hsk_user_data_is_nocopy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM_ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jjsbc.sk_user_data_is_nocopyasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM_ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM_ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM_hjhhubjS)}(hhh]jX)}(h/Test if sk_user_data pointer must not be copiedh]h/Test if sk_user_data pointer must not be copied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM_ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h2**Parameters** ``const struct sock *sk`` socketh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMchjubj)}(hhh]j)}(h ``const struct sock *sk`` socketh](j)}(h``const struct sock *sk``h]j)}(hjh]hconst struct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMehjubj)}(hhh]jX)}(hsocketh]hsocket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h2__locked_read_sk_user_data_with_flags (C function)'c.__locked_read_sk_user_data_with_flagshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hUvoid * __locked_read_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]h)}(hSvoid *__locked_read_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](j)}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!hhhj3hMjubj)}(h%__locked_read_sk_user_data_with_flagsh]j%)}(h%__locked_read_sk_user_data_with_flagsh]h%__locked_read_sk_user_data_with_flags}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hMjubj)}(h((const struct sock *sk, uintptr_t flags)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsb'c.__locked_read_sk_user_data_with_flagsasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(huintptr_t flagsh](h)}(hhh]j%)}(h uintptr_th]h uintptr_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.__locked_read_sk_user_data_with_flagsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj3hMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMjubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMjhjhhubjS)}(hhh]jX)}(hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULLh]hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULL}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMjhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bits **Description** The caller must be holding sk->sk_callback_lock.h](jX)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMnhjqubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjh]hconst struct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMnhjubj)}(hhh]jX)}(hsocketh]hsocket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h``uintptr_t flags`` flag bits h](j)}(h``uintptr_t flags``h]j)}(hjh]huintptr_t flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMohjubj)}(hhh]jX)}(h flag bitsh]h flag bits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(h]h ]h"]h$]h&]uh1jhjqubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMqhjqubjX)}(h0The caller must be holding sk->sk_callback_lock.h]h0The caller must be holding sk->sk_callback_lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMphjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h6__rcu_dereference_sk_user_data_with_flags (C function)+c.__rcu_dereference_sk_user_data_with_flagshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hYvoid * __rcu_dereference_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]h)}(hWvoid *__rcu_dereference_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](j)}(hvoidh]hvoid}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhj]hMubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKhhhj]hMubj)}(h)__rcu_dereference_sk_user_data_with_flagsh]j%)}(h)__rcu_dereference_sk_user_data_with_flagsh]h)__rcu_dereference_sk_user_data_with_flags}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhj]hMubj)}(h((const struct sock *sk, uintptr_t flags)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(huintptr_t flagsh](h)}(hhh]j%)}(h uintptr_th]h uintptr_t}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]j+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj"ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hflagsh]hflags}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj]hMubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhjDhhubjS)}(hhh]jX)}(hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULLh]hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj|hhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hS**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bitsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjh]hconst struct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hsocketh]hsocket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``uintptr_t flags`` flag bitsh](j)}(h``uintptr_t flags``h]j)}(hjh]huintptr_t flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h flag bitsh]h flag bits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&sk_for_each_entry_offset_rcu (C macro)c.sk_for_each_entry_offset_rcuhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hsk_for_each_entry_offset_rcuh]h)}(hsk_for_each_entry_offset_rcuh]j)}(hsk_for_each_entry_offset_rcuh]j%)}(hjMh]hsk_for_each_entry_offset_rcu}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjjhMubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMhjHhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjHhhhjjhMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubjX)}(h:``sk_for_each_entry_offset_rcu (tpos, pos, head, offset)``h]j)}(hjh]h6sk_for_each_entry_offset_rcu (tpos, pos, head, offset)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj[hhubj )}(h-iterate over a list at a given struct offset h]jX)}(h,iterate over a list at a given struct offseth]h,iterate over a list at a given struct offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj[hhubj})}(h**Parameters** ``tpos`` the type * to use as a loop cursor. ``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. ``head`` the head for your list. ``offset`` offset of hlist_node within the struct.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh](j)}(h-``tpos`` the type * to use as a loop cursor. h](j)}(h``tpos``h]j)}(hjh]htpos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h#the type * to use as a loop cursor.h]h#the type * to use as a loop cursor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hjh]hpos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hEthe :c:type:`struct hlist_node ` to use as a loop cursor.h](hthe }(hj/hhhNhNubh)}(h(:c:type:`struct hlist_node `h]j)}(hj9h]hstruct hlist_node}(hj;hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj hlist_nodeuh1hhj+hMhj/ubh to use as a loop cursor.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hjrh]hhead}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjlubj)}(hhh]jX)}(hthe head for your list.h]hthe head for your list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``offset`` offset of hlist_node within the struct.h](j)}(h ``offset``h]j)}(hjh]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h'offset of hlist_node within the struct.h]h'offset of hlist_node within the struct.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlock_sock_fast (C function)c.lock_sock_fasthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h%bool lock_sock_fast (struct sock *sk)h]h)}(h$bool lock_sock_fast(struct sock *sk)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hlock_sock_fasth]j%)}(hlock_sock_fasth]hlock_sock_fast}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hsockh]hsock}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj'sbc.lock_sock_fastasbuh1hhj=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hfast version of lock_sockh]hfast version of lock_sock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX5**Parameters** ``struct sock *sk`` socket **Description** This version should be used for very small section, where process won't block return false if fast path is taken: sk_lock.slock locked, owned = 0, BH disabled return true if slow path is taken: sk_lock.slock unlocked, owned = 1, BH enabledh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj h]hstruct sock *sk}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hsocketh]hsocket}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj@ h]h Description}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubjX)}(hqThis version should be used for very small section, where process won't block return false if fast path is taken:h]hsThis version should be used for very small section, where process won’t block return false if fast path is taken:}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj )}(h-sk_lock.slock locked, owned = 0, BH disabled h]jX)}(h,sk_lock.slock locked, owned = 0, BH disabledh]h,sk_lock.slock locked, owned = 0, BH disabled}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhje ubah}(h]h ]h"]h$]h&]uh1j hjw hMhjubjX)}(h"return true if slow path is taken:h]h"return true if slow path is taken:}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj )}(h-sk_lock.slock unlocked, owned = 1, BH enabledh]jX)}(hj h]h-sk_lock.slock unlocked, owned = 1, BH enabled}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubah}(h]h ]h"]h$]h&]uh1j hj hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunlock_sock_fast (C function)c.unlock_sock_fasthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h2void unlock_sock_fast (struct sock *sk, bool slow)h]h)}(h1void unlock_sock_fast(struct sock *sk, bool slow)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hunlock_sock_fasth]j%)}(hunlock_sock_fasth]hunlock_sock_fast}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h(struct sock *sk, bool slow)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hsockh]hsock}(hj !hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"!modnameN classnameNjj!)}j$]j')}jj sbc.unlock_sock_fastasbuh1hhj ubj)}(h h]h }(hj@!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjN!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hskh]hsk}(hj[!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h bool slowh](j)}(hjTh]hbool}(hjt!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp!ubj%)}(hslowh]hslow}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sock *sk`` socket ``bool slow`` slow mode **Description** fast unlock socket for user context. If slow mode is on, we call regular release_sock()h](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj!ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj!h]hstruct sock *sk}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj!ubj)}(hhh]jX)}(hsocketh]hsocket}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj!ubj)}(h``bool slow`` slow mode h](j)}(h ``bool slow``h]j)}(hj3"h]h bool slow}(hj5"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-"ubj)}(hhh]jX)}(h slow modeh]h slow mode}(hjL"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjH"hMhjI"ubah}(h]h ]h"]h$]h&]uh1jhj-"ubeh}(h]h ]h"]h$]h&]uh1jhjH"hMhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjX)}(h**Description**h]j)}(hjn"h]h Description}(hjp"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl"ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj!ubjX)}(hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()h]hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_wmem_alloc_get (C function)c.sk_wmem_alloc_gethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h-int sk_wmem_alloc_get (const struct sock *sk)h]h)}(h,int sk_wmem_alloc_get(const struct sock *sk)h](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj"hMubj)}(hsk_wmem_alloc_geth]j%)}(hsk_wmem_alloc_geth]hsk_wmem_alloc_get}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj"hMubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hjh]hstruct}(hj #hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(hsockh]hsock}(hj)#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+#modnameN classnameNjj!)}j$]j')}jj"sbc.sk_wmem_alloc_getasbuh1hhj"ubj)}(h h]h }(hjI#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjW#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hskh]hsk}(hjd#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubah}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj"hMubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMhj"hhubjS)}(hhh]jX)}(hreturns write allocationsh]hreturns write allocations}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj#hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#jxj#jyjzj{uh1hhhhj[hNhNubj})}(hi**Parameters** ``const struct sock *sk`` socket **Return** sk_wmem_alloc minus initial offset of oneh](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj#ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj#h]hconst struct sock *sk}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj#ubj)}(hhh]jX)}(hsocketh]hsocket}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubjX)}(h **Return**h]j)}(hj $h]hReturn}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj#ubjX)}(h)sk_wmem_alloc minus initial offset of oneh]h)sk_wmem_alloc minus initial offset of one}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_rmem_alloc_get (C function)c.sk_rmem_alloc_gethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h-int sk_rmem_alloc_get (const struct sock *sk)h]h)}(h,int sk_rmem_alloc_get(const struct sock *sk)h](j)}(hinth]hint}(hjO$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK$hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj^$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK$hhhj]$hMubj)}(hsk_rmem_alloc_geth]j%)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hjp$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjK$hhhj]$hMubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(hsockh]hsock}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jjr$sbc.sk_rmem_alloc_getasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hskh]hsk}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubah}(h]h ]h"]h$]h&]j<j=uh1jhjK$hhhj]$hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjG$hhhj]$hMubah}(h]jB$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]$hMhjD$hhubjS)}(hhh]jX)}(hreturns read allocationsh]hreturns read allocations}(hj*%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj'%hhubah}(h]h ]h"]h$]h&]uh1jRhjD$hhhj]$hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjB%jxjB%jyjzj{uh1hhhhj[hNhNubj})}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](jX)}(h**Parameters**h]j)}(hjL%h]h Parameters}(hjN%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ%ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjF%ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjk%h]hconst struct sock *sk}(hjm%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhje%ubj)}(hhh]jX)}(hsocketh]hsocket}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhje%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjb%ubah}(h]h ]h"]h$]h&]uh1jhjF%ubjX)}(h **Return**h]j)}(hj%h]hReturn}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjF%ubjX)}(h sk_rmem_alloch]h sk_rmem_alloc}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjF%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_has_allocations (C function)c.sk_has_allocationshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h/bool sk_has_allocations (const struct sock *sk)h]h)}(h.bool sk_has_allocations(const struct sock *sk)h](j)}(hjTh]hbool}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj%hM ubj)}(hsk_has_allocationsh]j%)}(hsk_has_allocationsh]hsk_has_allocations}(hj &hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj%hM ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj'&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#&ubj)}(h h]h }(hj4&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#&ubh)}(hjh]hstruct}(hjB&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#&ubj)}(h h]h }(hjO&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#&ubh)}(hhh]j%)}(hsockh]hsock}(hj`&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjb&modnameN classnameNjj!)}j$]j')}jj &sbc.sk_has_allocationsasbuh1hhj#&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#&ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#&ubj%)}(hskh]hsk}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubah}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj%hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj%hM ubah}(h]j%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hM hj%hhubjS)}(hhh]jX)}(h$check if allocations are outstandingh]h$check if allocations are outstanding}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj&hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj%hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj[hNhNubj})}(hl**Parameters** ``const struct sock *sk`` socket **Return** true if socket has write or read allocationsh](jX)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj&ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj'h]hconst struct sock *sk}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj'ubj)}(hhh]jX)}(hsocketh]hsocket}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubjX)}(h **Return**h]j)}(hjA'h]hReturn}(hjC'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?'ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj&ubjX)}(h,true if socket has write or read allocationsh]h,true if socket has write or read allocations}(hjW'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskwq_has_sleeper (C function)c.skwq_has_sleeperhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h,bool skwq_has_sleeper (struct socket_wq *wq)h]h)}(h+bool skwq_has_sleeper(struct socket_wq *wq)h](j)}(hjTh]hbool}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj'hM ubj)}(hskwq_has_sleeperh]j%)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj'hM ubj)}(h(struct socket_wq *wq)h]j)}(hstruct socket_wq *wqh](h)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(h socket_wqh]h socket_wq}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jj'sbc.skwq_has_sleeperasbuh1hhj'ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hwqh]hwq}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubah}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj'hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~'hhhj'hM ubah}(h]jy'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hM hj{'hhubjS)}(hhh]jX)}(h(check if there are any waiting processesh]h(check if there are any waiting processes}(hjE(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjB(hhubah}(h]h ]h"]h$]h&]uh1jRhj{'hhhj'hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj](jxj](jyjzj{uh1hhhhj[hNhNubj})}(hX$**Parameters** ``struct socket_wq *wq`` struct socket_wq **Return** true if socket_wq has waiting processes **Description** The purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code. Consider following tcp code paths:: CPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... } The race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h](jX)}(h**Parameters**h]j)}(hjg(h]h Parameters}(hji(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje(ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hja(ubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hj(h]hstruct socket_wq *wq}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(ubj)}(hhh]jX)}(hstruct socket_wqh]hstruct socket_wq}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hM hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM hj}(ubah}(h]h ]h"]h$]h&]uh1jhja(ubjX)}(h **Return**h]j)}(hj(h]hReturn}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hja(ubjX)}(h'true if socket_wq has waiting processesh]h'true if socket_wq has waiting processes}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hja(ubjX)}(h**Description**h]j)}(hj(h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hja(ubjX)}(hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.h]hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hja(ubjX)}(h#Consider following tcp code paths::h]h"Consider following tcp code paths:}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hja(ubjU)}(hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }h]hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }}hj)sbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hja(ubjX)}(hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h]hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.}(hj+)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM' hja(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_poll_wait (C function)c.sock_poll_waithNtauh1hhj[hhhNhNubh)}(hhh](h)}(hKvoid sock_poll_wait (struct file *filp, struct socket *sock, poll_table *p)h]h)}(hJvoid sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p)h](j)}(hvoidh]hvoid}(hjZ)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV)hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4 ubj)}(h h]h }(hji)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV)hhhjh)hM4 ubj)}(hsock_poll_waith]j%)}(hsock_poll_waith]hsock_poll_wait}(hj{)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjV)hhhjh)hM4 ubj)}(h7(struct file *filp, struct socket *sock, poll_table *p)h](j)}(hstruct file *filph](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hfileh]hfile}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jj})sbc.sock_poll_waitasbuh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hfilph]hfilp}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj *hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(hsocketh]hsocket}(hj'*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)*modnameN classnameNjj!)}j$]j)c.sock_poll_waitasbuh1hhj*ubj)}(h h]h }(hjE*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hjS*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hsockh]hsock}(hj`*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(h poll_table *ph](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hj|*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~*modnameN classnameNjj!)}j$]j)c.sock_poll_waitasbuh1hhju*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hju*ubj%)}(hjGh]hp}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjV)hhhjh)hM4 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjR)hhhjh)hM4 ubah}(h]jM)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjh)hM4 hjO)hhubjS)}(hhh]jX)}(hwrapper for the poll_wait call.h]hwrapper for the poll_wait call.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4 hj*hhubah}(h]h ]h"]h$]h&]uh1jRhjO)hhhjh)hM4 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct file *filp`` file ``struct socket *sock`` socket to wait on ``poll_table *p`` poll_table **Description** See the comments in the wq_has_sleeper function.h](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM8 hj*ubj)}(hhh](j)}(h``struct file *filp`` file h](j)}(h``struct file *filp``h]j)}(hj+h]hstruct file *filp}(hj!+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM5 hj+ubj)}(hhh]jX)}(hfileh]hfile}(hj8+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4+hM5 hj5+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj4+hM5 hj+ubj)}(h*``struct socket *sock`` socket to wait on h](j)}(h``struct socket *sock``h]j)}(hjX+h]hstruct socket *sock}(hjZ+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM6 hjR+ubj)}(hhh]jX)}(hsocket to wait onh]hsocket to wait on}(hjq+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjm+hM6 hjn+ubah}(h]h ]h"]h$]h&]uh1jhjR+ubeh}(h]h ]h"]h$]h&]uh1jhjm+hM6 hj+ubj)}(h``poll_table *p`` poll_table h](j)}(h``poll_table *p``h]j)}(hj+h]h poll_table *p}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM7 hj+ubj)}(hhh]jX)}(h poll_tableh]h poll_table}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hM7 hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM7 hj+ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM9 hj*ubjX)}(h0See the comments in the wq_has_sleeper function.h]h0See the comments in the wq_has_sleeper function.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM8 hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_page_frag (C function)c.sk_page_fraghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h1struct page_frag * sk_page_frag (struct sock *sk)h]h)}(h/struct page_frag *sk_page_frag(struct sock *sk)h](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ,hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ,hhhj,hM ubh)}(hhh]j%)}(h page_fragh]h page_frag}(hj0,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2,modnameN classnameNjj!)}j$]j')}j sk_page_fragsbc.sk_page_fragasbuh1hhj ,hhhj,hM ubj)}(h h]h }(hjQ,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ,hhhj,hM ubj;)}(hj>h]h*}(hj_,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ,hhhj,hM ubj)}(h sk_page_fragh]j%)}(hjN,h]h sk_page_frag}(hjp,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj ,hhhj,hM ubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hsockh]hsock}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]jL,c.sk_page_fragasbuh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hskh]hsk}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubah}(h]h ]h"]h$]h&]j<j=uh1jhj ,hhhj,hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj ,hhhj,hM ubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hM hj,hhubjS)}(hhh]jX)}(hreturn an appropriate page_fragh]hreturn an appropriate page_frag}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj -hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhj,hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$-jxj$-jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` socket **Description** Use the per task page_frag instead of the per socket one for optimization when we know that we're in process context and own everything that's associated with ``current``. Both direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it's already in use: explicitly avoid task page_frag when users disable sk_use_task_frag. **Return** a per task page_frag if context allows that, otherwise a per socket one.h](jX)}(h**Parameters**h]j)}(hj.-h]h Parameters}(hj0-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(-ubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjM-h]hstruct sock *sk}(hjO-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjG-ubj)}(hhh]jX)}(hsocketh]hsocket}(hjf-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb-hM hjc-ubah}(h]h ]h"]h$]h&]uh1jhjG-ubeh}(h]h ]h"]h$]h&]uh1jhjb-hM hjD-ubah}(h]h ]h"]h$]h&]uh1jhj(-ubjX)}(h**Description**h]j)}(hj-h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(-ubjX)}(hUse the per task page_frag instead of the per socket one for optimization when we know that we're in process context and own everything that's associated with ``current``.h](hUse the per task page_frag instead of the per socket one for optimization when we know that we’re in process context and own everything that’s associated with }(hj-hhhNhNubj)}(h ``current``h]hcurrent}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(-ubjX)}(hBoth direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it's already in use: explicitly avoid task page_frag when users disable sk_use_task_frag.h]hBoth direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it’s already in use: explicitly avoid task page_frag when users disable sk_use_task_frag.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(-ubjX)}(h **Return**h]j)}(hj-h]hReturn}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(-ubjX)}(hHa per task page_frag if context allows that, otherwise a per socket one.h]hHa per task page_frag if context allows that, otherwise a per socket one.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_sock_tx_timestamp (C function)c._sock_tx_timestamphNtauh1hhj[hhhNhNubh)}(hhh](h)}(hjvoid _sock_tx_timestamp (struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h]h)}(hivoid _sock_tx_timestamp(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj$.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj#.hM ubj)}(h_sock_tx_timestamph]j%)}(h_sock_tx_timestamph]h_sock_tx_timestamp}(hj6.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj#.hM ubj)}(hR(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjR.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjN.ubj)}(h h]h }(hj_.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN.ubh)}(hhh]j%)}(hsockh]hsock}(hjp.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr.modnameN classnameNjj!)}j$]j')}jj8.sbc._sock_tx_timestampasbuh1hhjN.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN.ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjN.ubj%)}(hskh]hsk}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ.ubj)}(h!const struct sockcm_cookie *sockch](h)}(hjh]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h sockcm_cookieh]h sockcm_cookie}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j.c._sock_tx_timestampasbuh1hhj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj)/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hsockch]hsockc}(hj6/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ.ubj)}(h__u8 *tx_flagsh](h)}(hhh]j%)}(h__u8h]h__u8}(hjR/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjT/modnameN classnameNjj!)}j$]j.c._sock_tx_timestampasbuh1hhjK/ubj)}(h h]h }(hjp/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK/ubj;)}(hj>h]h*}(hj~/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjK/ubj%)}(htx_flagsh]htx_flags}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ.ubj)}(h __u32 *tskeyh](h)}(hhh]j%)}(h__u32h]h__u32}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j.c._sock_tx_timestampasbuh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(htskeyh]htskey}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj#.hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj .hhhj#.hM ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#.hM hj .hhubjS)}(hhh]jX)}(h8checks whether the outgoing packet is to be time stampedh]h8checks whether the outgoing packet is to be time stamped}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhj .hhhj#.hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"0jxj"0jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` socket sending this packet ``const struct sockcm_cookie *sockc`` pointer to socket cmsg cookie to get timestamping info ``__u8 *tx_flags`` completed with instructions for time stamping ``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) **Note** callers should take care of initial ``*tx_flags`` value (usually 0)h](jX)}(h**Parameters**h]j)}(hj,0h]h Parameters}(hj.0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*0ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj&0ubj)}(hhh](j)}(h/``struct sock *sk`` socket sending this packet h](j)}(h``struct sock *sk``h]j)}(hjK0h]hstruct sock *sk}(hjM0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjE0ubj)}(hhh]jX)}(hsocket sending this packeth]hsocket sending this packet}(hjd0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`0hM hja0ubah}(h]h ]h"]h$]h&]uh1jhjE0ubeh}(h]h ]h"]h$]h&]uh1jhj`0hM hjB0ubj)}(h]``const struct sockcm_cookie *sockc`` pointer to socket cmsg cookie to get timestamping info h](j)}(h%``const struct sockcm_cookie *sockc``h]j)}(hj0h]h!const struct sockcm_cookie *sockc}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj~0ubj)}(hhh]jX)}(h6pointer to socket cmsg cookie to get timestamping infoh]h6pointer to socket cmsg cookie to get timestamping info}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj~0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjB0ubj)}(hA``__u8 *tx_flags`` completed with instructions for time stamping h](j)}(h``__u8 *tx_flags``h]j)}(hj0h]h__u8 *tx_flags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj0ubj)}(hhh]jX)}(h-completed with instructions for time stampingh]h-completed with instructions for time stamping}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjB0ubj)}(hN``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) h](j)}(h``__u32 *tskey``h]j)}(hj0h]h __u32 *tskey}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj0ubj)}(hhh]jX)}(hh]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hskh]hsk}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj72hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj32ubj)}(h h]h }(hjD2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj32ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjU2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjW2modnameN classnameNjj!)}j$]j1 c.sk_eat_skbasbuh1hhj32ubj)}(h h]h }(hjs2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj32ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj32ubj%)}(hskbh]hskb}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj32ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhj1hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhj1hM ubah}(h]j{1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hM hj}1hhubjS)}(hhh]jX)}(h'Release a skb if it is no longer neededh]h'Release a skb if it is no longer needed}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj2hhubah}(h]h ]h"]h$]h&]uh1jRhj}1hhhj1hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sock *sk`` socket to eat this skb from ``struct sk_buff *skb`` socket buffer to eat **Description** This routine must be called with interrupts disabled or with the socket locked so that the sk_buff queue operation is ok.h](jX)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj2ubj)}(hhh](j)}(h0``struct sock *sk`` socket to eat this skb from h](j)}(h``struct sock *sk``h]j)}(hj2h]hstruct sock *sk}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj2ubj)}(hhh]jX)}(hsocket to eat this skb fromh]hsocket to eat this skb from}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hj2ubj)}(h-``struct sk_buff *skb`` socket buffer to eat h](j)}(h``struct sk_buff *skb``h]j)}(hj23h]hstruct sk_buff *skb}(hj43hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj03ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj,3ubj)}(hhh]jX)}(hsocket buffer to eath]hsocket buffer to eat}(hjK3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjG3hM hjH3ubah}(h]h ]h"]h$]h&]uh1jhj,3ubeh}(h]h ]h"]h$]h&]uh1jhjG3hM hj2ubeh}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hjm3h]h Description}(hjo3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk3ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj2ubjX)}(hyThis routine must be called with interrupts disabled or with the socket locked so that the sk_buff queue operation is ok.h]hyThis routine must be called with interrupts disabled or with the socket locked so that the sk_buff queue operation is ok.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_alloc_file (C function)c.sock_alloc_filehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hQstruct file * sock_alloc_file (struct socket *sock, int flags, const char *dname)h]h)}(hOstruct file *sock_alloc_file(struct socket *sock, int flags, const char *dname)h](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hMubh)}(hhh]j%)}(hfileh]hfile}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jsock_alloc_filesbc.sock_alloc_fileasbuh1hhj3hhhj3hMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hMubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3hhhj3hMubj)}(hsock_alloc_fileh]j%)}(hj3h]hsock_alloc_file}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hMubj)}(h3(struct socket *sock, int flags, const char *dname)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj,4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(4ubj)}(h h]h }(hj94hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(4ubh)}(hhh]j%)}(hsocketh]hsocket}(hjJ4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjL4modnameN classnameNjj!)}j$]j3c.sock_alloc_fileasbuh1hhj(4ubj)}(h h]h }(hjh4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(4ubj;)}(hj>h]h*}(hjv4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(4ubj%)}(hsockh]hsock}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$4ubj)}(h int flagsh](j)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj%)}(hflagsh]hflags}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$4ubj)}(hconst char *dnameh](h)}(hjh]hconst}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(hcharh]hchar}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hdnameh]hdname}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhj3hhubjS)}(hhh]jX)}(h+Bind a :c:type:`socket` to a :c:type:`file`h](hBind a }(hj?5hhhNhNubh)}(h:c:type:`socket`h]j)}(hjI5h]hsocket}(hjK5hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjG5ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j3c.sock_alloc_fileasbjsocketuh1hhj3hMhj?5ubh to a }(hj?5hhhNhNubh)}(h:c:type:`file`h]j)}(hjq5h]hfile}(hjs5hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjo5ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjje5jfileuh1hhj3hMhj?5ubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj<5hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``int flags`` file status flags ``const char *dname`` protocol name **Description** Returns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jX)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj5ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj5h]hstruct socket *sock}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj5ubj)}(hhh]jX)}(hsocketh]hsocket}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(h ``int flags`` file status flags h](j)}(h ``int flags``h]j)}(hj6h]h int flags}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj5ubj)}(hhh]jX)}(hfile status flagsh]hfile status flags}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubj)}(h$``const char *dname`` protocol name h](j)}(h``const char *dname``h]j)}(hj96h]hconst char *dname}(hj;6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj76ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj36ubj)}(hhh]jX)}(h protocol nameh]h protocol name}(hjR6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjN6hMhjO6ubah}(h]h ]h"]h$]h&]uh1jhj36ubeh}(h]h ]h"]h$]h&]uh1jhjN6hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(h**Description**h]j)}(hjt6h]h Description}(hjv6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr6ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj5ubj )}(hReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jX)}(hvReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "".h](h Returns the }(hj6hhhNhNubh)}(h:c:type:`file`h]j)}(hj6h]hfile}(hj6hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjfileuh1hhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj6ubh bound with }(hj6hhhNhNubj)}(h**sock**h]hsock}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh3, implicitly storing it in sock->file. If dname is }(hj6hhhNhNubj)}(h``NULL``h]hNULL}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh, sets to “”.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubjX)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hj6hhhNhNubj)}(h**sock**h]hsock}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh- is released, and an ERR pointer is returned.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj6ubjX)}(h)This function uses GFP_KERNEL internally.h]h)This function uses GFP_KERNEL internally.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj6ubeh}(h]h ]h"]h$]h&]uh1j hj6hMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_from_file (C function)c.sock_from_filehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h2struct socket * sock_from_file (struct file *file)h]h)}(h0struct socket *sock_from_file(struct file *file)h](h)}(hjh]hstruct}(hj:7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj67hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjH7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj67hhhjG7hMubh)}(hhh]j%)}(hsocketh]hsocket}(hjY7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[7modnameN classnameNjj!)}j$]j')}jsock_from_filesbc.sock_from_fileasbuh1hhj67hhhjG7hMubj)}(h h]h }(hjz7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj67hhhjG7hMubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj67hhhjG7hMubj)}(hsock_from_fileh]j%)}(hjw7h]hsock_from_file}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj67hhhjG7hMubj)}(h(struct file *file)h]j)}(hstruct file *fileh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hfileh]hfile}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]ju7c.sock_from_fileasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hfileh]hfile}(hj 8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubah}(h]h ]h"]h$]h&]j<j=uh1jhj67hhhjG7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj27hhhjG7hMubah}(h]j-7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjG7hMhj/7hhubjS)}(hhh]jX)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hj58hhhNhNubh)}(h:c:type:`socket`h]j)}(hj?8h]hsocket}(hjA8hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj=8ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]ju7c.sock_from_fileasbjsocketuh1hhj3hMhj58ubh bounded to }(hj58hhhNhNubj)}(h**file**h]hfile}(hje8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj58ubh.}(hj58hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj28hhubah}(h]h ]h"]h$]h&]uh1jRhj/7hhhjG7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhj[hNhNubj})}(h`**Parameters** ``struct file *file`` file **Description** On failure returns ``NULL``.h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj8ubj)}(hhh]j)}(h``struct file *file`` file h](j)}(h``struct file *file``h]j)}(hj8h]hstruct file *file}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj8ubj)}(hhh]jX)}(hfileh]hfile}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj8ubj )}(hOn failure returns ``NULL``.h]jX)}(hj9h](hOn failure returns }(hj9hhhNhNubj)}(h``NULL``h]hNULL}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj9ubah}(h]h ]h"]h$]h&]uh1j hj$9hMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsockfd_lookup (C function)c.sockfd_lookuphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h0struct socket * sockfd_lookup (int fd, int *err)h]h)}(h.struct socket *sockfd_lookup(int fd, int *err)h](h)}(hjh]hstruct}(hjK9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjG9hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjY9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG9hhhjX9hMubh)}(hhh]j%)}(hsocketh]hsocket}(hjj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjl9modnameN classnameNjj!)}j$]j')}j sockfd_lookupsbc.sockfd_lookupasbuh1hhjG9hhhjX9hMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG9hhhjX9hMubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjG9hhhjX9hMubj)}(h sockfd_lookuph]j%)}(hj9h]h sockfd_lookup}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjG9hhhjX9hMubj)}(h(int fd, int *err)h](j)}(hint fdh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hfdh]hfd}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hint *errh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(herrh]herr}(hj#:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjG9hhhjX9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjC9hhhjX9hMubah}(h]j>9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjX9hMhj@9hhubjS)}(hhh]jX)}(h(Go from a file number to its socket sloth]h(Go from a file number to its socket slot}(hjM:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJ:hhubah}(h]h ]h"]h$]h&]uh1jRhj@9hhhjX9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwje:jxje:jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int fd`` file handle ``int *err`` pointer to an error code return **Description** The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jX)}(h**Parameters**h]j)}(hjo:h]h Parameters}(hjq:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm:ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhji:ubj)}(hhh](j)}(h``int fd`` file handle h](j)}(h ``int fd``h]j)}(hj:h]hint fd}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:ubj)}(hhh]jX)}(h file handleh]h file handle}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj:ubj)}(h-``int *err`` pointer to an error code return h](j)}(h ``int *err``h]j)}(hj:h]hint *err}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:ubj)}(hhh]jX)}(hpointer to an error code returnh]hpointer to an error code return}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj:ubeh}(h]h ]h"]h$]h&]uh1jhji:ubjX)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhji:ubj )}(hX?The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jX)}(hX The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket.h]hX The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj;ubjX)}(h3On a success the socket object pointer is returned.h]h3On a success the socket object pointer is returned.}(hj+;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj;ubeh}(h]h ]h"]h$]h&]uh1j hj*;hMhji:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_alloc (C function) c.sock_allochNtauh1hhj[hhhNhNubh)}(hhh](h)}(h!struct socket * sock_alloc (void)h]h)}(hstruct socket *sock_alloc(void)h](h)}(hjh]hstruct}(hj`;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\;hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMdubj)}(h h]h }(hjn;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\;hhhjm;hMdubh)}(hhh]j%)}(hsocketh]hsocket}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}j sock_allocsb c.sock_allocasbuh1hhj\;hhhjm;hMdubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\;hhhjm;hMdubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\;hhhjm;hMdubj)}(h sock_alloch]j%)}(hj;h]h sock_alloc}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\;hhhjm;hMdubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubah}(h]h ]h"]h$]h&]j<j=uh1jhj\;hhhjm;hMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjX;hhhjm;hMdubah}(h]jS;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjm;hMdhjU;hhubjS)}(hhh]jX)}(hallocate a socketh]hallocate a socket}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMdhj<hhubah}(h]h ]h"]h$]h&]uh1jRhjU;hhhjm;hMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``void`` no arguments **Description** Allocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.h](jX)}(h**Parameters**h]j)}(hj&<h]h Parameters}(hj(<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$<ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhhj <ubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjE<h]hvoid}(hjG<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC<ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhj?<ubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hj^<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZ<hKhj[<ubah}(h]h ]h"]h$]h&]uh1jhj?<ubeh}(h]h ]h"]h$]h&]uh1jhjZ<hKhj<<ubah}(h]h ]h"]h$]h&]uh1jhj <ubjX)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~<ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhj <ubj )}(hAllocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.h]jX)}(hAllocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.h]hAllocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMehj<ubah}(h]h ]h"]h$]h&]uh1j hj<hMehj <ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_release (C function)c.sock_releasehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h'void sock_release (struct socket *sock)h]h)}(h&void sock_release(struct socket *sock)h](j)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMubj)}(h sock_releaseh]j%)}(h sock_releaseh]h sock_release}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMubj)}(h(struct socket *sock)h]j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj =hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hsocketh]hsocket}(hj*=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,=modnameN classnameNjj!)}j$]j')}jj<sbc.sock_releaseasbuh1hhj=ubj)}(h h]h }(hjJ=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hjX=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hsockh]hsock}(hje=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubah}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhj<hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMhj<hhubjS)}(hhh]jX)}(hclose a socketh]hclose a socket}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket to close **Description** The socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ubj)}(hhh]j)}(h(``struct socket *sock`` socket to close h](j)}(h``struct socket *sock``h]j)}(hj=h]hstruct socket *sock}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ubj)}(hhh]jX)}(hsocket to closeh]hsocket to close}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubjX)}(h**Description**h]j)}(hj >h]h Description}(hj >hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj >ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ubj )}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]jX)}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.}(hj%>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj!>ubah}(h]h ]h"]h$]h&]uh1j hj3>hMhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_sendmsg (C function)c.sock_sendmsghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:int sock_sendmsg (struct socket *sock, struct msghdr *msg)h]h)}(h9int sock_sendmsg(struct socket *sock, struct msghdr *msg)h](j)}(hinth]hint}(hjZ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV>hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hji>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV>hhhjh>hMubj)}(h sock_sendmsgh]j%)}(h sock_sendmsgh]h sock_sendmsg}(hj{>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjV>hhhjh>hMubj)}(h)(struct socket *sock, struct msghdr *msg)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hhh]j%)}(hsocketh]hsocket}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jj}>sbc.sock_sendmsgasbuh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>ubj%)}(hsockh]hsock}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hj ?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj'?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)?modnameN classnameNjj!)}j$]j>c.sock_sendmsgasbuh1hhj?ubj)}(h h]h }(hjE?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjS?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hmsgh]hmsg}(hj`?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjV>hhhjh>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjR>hhhjh>hMubah}(h]jM>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjh>hMhjO>hhubjS)}(hhh]jX)}(hsend a message through **sock**h](hsend a message through }(hj?hhhNhNubj)}(h**sock**h]hsock}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jRhjO>hhhjh>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to send **Description** Sends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj?h]hstruct socket *sock}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?ubj)}(hhh]jX)}(hsocketh]hsocket}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubj)}(h'``struct msghdr *msg`` message to send h](j)}(h``struct msghdr *msg``h]j)}(hj@h]hstruct msghdr *msg}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj @ubj)}(hhh]jX)}(hmessage to sendh]hmessage to send}(hj+@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'@hMhj(@ubah}(h]h ]h"]h$]h&]uh1jhj @ubeh}(h]h ]h"]h$]h&]uh1jhj'@hMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hjM@h]h Description}(hjO@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK@ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?ubj )}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h]jX)}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](hSends }(hjg@hhhNhNubj)}(h**msg**h]hmsg}(hjo@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg@ubh through }(hjg@hhhNhNubj)}(h**sock**h]hsock}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg@ubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hjg@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjc@ubah}(h]h ]h"]h$]h&]uh1j hj@hMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_sendmsg (C function)c.kernel_sendmsghNtauh1hhj[hhhNhNubh)}(hhh](h)}(hgint kernel_sendmsg (struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h]h)}(hfint kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hMubj)}(hkernel_sendmsgh]j%)}(hkernel_sendmsgh]hkernel_sendmsg}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hMubj)}(hT(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hj AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hsocketh]hsocket}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jj@sbc.kernel_sendmsgasbuh1hhj@ubj)}(h h]h }(hj;AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjIAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hsockh]hsock}(hjVAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjoAhhhNhNubah}(h]h ]ja h"]h$]h&]uh1hhjkAubj)}(h h]h }(hj|AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkAubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j7Ac.kernel_sendmsgasbuh1hhjkAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkAubj%)}(hmsgh]hmsg}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hkvech]hkvec}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j7Ac.kernel_sendmsgasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hj)BhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hvech]hvec}(hj6BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h size_t numh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjRBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTBmodnameN classnameNjj!)}j$]j7Ac.kernel_sendmsgasbuh1hhjKBubj)}(h h]h }(hjpBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKBubj%)}(hnumh]hnum}(hj~BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j7Ac.kernel_sendmsgasbuh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hsizeh]hsize}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhj@hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj@hMubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hMhj@hhubjS)}(hhh]jX)}(h.send a message through **sock** (kernel-space)h](hsend a message through }(hjBhhhNhNubj)}(h**sock**h]hsock}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh (kernel-space)}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhj[hNhNubj})}(hX^**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message header ``struct kvec *vec`` kernel vec ``size_t num`` vec array length ``size_t size`` total message data size **Description** Builds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](jX)}(h**Parameters**h]j)}(hj$Ch]h Parameters}(hj&ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Cubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjCubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjCCh]hstruct socket *sock}(hjEChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjACubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=Cubj)}(hhh]jX)}(hsocketh]hsocket}(hj\ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXChMhjYCubah}(h]h ]h"]h$]h&]uh1jhj=Cubeh}(h]h ]h"]h$]h&]uh1jhjXChMhj:Cubj)}(h&``struct msghdr *msg`` message header h](j)}(h``struct msghdr *msg``h]j)}(hj|Ch]hstruct msghdr *msg}(hj~ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzCubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjvCubj)}(hhh]jX)}(hmessage headerh]hmessage header}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjvCubeh}(h]h ]h"]h$]h&]uh1jhjChMhj:Cubj)}(h ``struct kvec *vec`` kernel vec h](j)}(h``struct kvec *vec``h]j)}(hjCh]hstruct kvec *vec}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjCubj)}(hhh]jX)}(h kernel vech]h kernel vec}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhj:Cubj)}(h ``size_t num`` vec array length h](j)}(h``size_t num``h]j)}(hjCh]h size_t num}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjCubj)}(hhh]jX)}(hvec array lengthh]hvec array length}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj:Cubj)}(h(``size_t size`` total message data size h](j)}(h``size_t size``h]j)}(hj'Dh]h size_t size}(hj)DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Dubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj!Dubj)}(hhh]jX)}(htotal message data sizeh]htotal message data size}(hj@DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh]h*}(hj^EhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hsockh]hsock}(hjkEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Eubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jLEc.sock_recvmsgasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hmsgh]hmsg}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Eubj)}(h int flagsh](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hflagsh]hflags}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Eubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjDhM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhM3ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhM3hjDhhubjS)}(hhh]jX)}(hreceive a message from **sock**h](hreceive a message from }(hj:FhhhNhNubj)}(h**sock**h]hsock}(hjBFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Fubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM3hj7Fhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjDhM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`Fjxj`Fjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to receive ``int flags`` message flags **Description** Receives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](jX)}(h**Parameters**h]j)}(hjjFh]h Parameters}(hjlFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhFubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hjdFubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjFh]hstruct socket *sock}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM4hjFubj)}(hhh]jX)}(hsocketh]hsocket}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM4hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM4hjFubj)}(h*``struct msghdr *msg`` message to receive h](j)}(h``struct msghdr *msg``h]j)}(hjFh]hstruct msghdr *msg}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM5hjFubj)}(hhh]jX)}(hmessage to receiveh]hmessage to receive}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM5hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM5hjFubj)}(h``int flags`` message flags h](j)}(h ``int flags``h]j)}(hjFh]h int flags}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6hjFubj)}(hhh]jX)}(h message flagsh]h message flags}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhM6hjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjGhM6hjFubeh}(h]h ]h"]h$]h&]uh1jhjdFubjX)}(h**Description**h]j)}(hj6Gh]h Description}(hj8GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Gubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM8hjdFubj )}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h]jX)}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](h Receives }(hjPGhhhNhNubj)}(h**msg**h]hmsg}(hjXGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPGubh from }(hjPGhhhNhNubj)}(h**sock**h]hsock}(hjjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPGubhO, passing through LSM. Returns the total number of bytes received, or an error.}(hjPGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hjLGubah}(h]h ]h"]h$]h&]uh1j hjGhM7hjdFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_recvmsg (C function)c.kernel_recvmsghNtauh1hhj[hhhNhNubh)}(hhh](h)}(hrint kernel_recvmsg (struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h]h)}(hqint kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h](j)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjGhMDubj)}(hkernel_recvmsgh]j%)}(hkernel_recvmsgh]hkernel_recvmsg}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjGhMDubj)}(h_(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hsocketh]hsocket}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjGsbc.kernel_recvmsgasbuh1hhjGubj)}(h h]h }(hj$HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hj2HhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hsockh]hsock}(hj?HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjXHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTHubj)}(h h]h }(hjeHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTHubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjvHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxHmodnameN classnameNjj!)}j$]j Hc.kernel_recvmsgasbuh1hhjTHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTHubj%)}(hmsgh]hmsg}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hkvech]hkvec}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j Hc.kernel_recvmsgasbuh1hhjHubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hvech]hvec}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h size_t numh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj;IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8Iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=ImodnameN classnameNjj!)}j$]j Hc.kernel_recvmsgasbuh1hhj4Iubj)}(h h]h }(hjYIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Iubj%)}(hnumh]hnum}(hjgIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4Iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j Hc.kernel_recvmsgasbuh1hhj|Iubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Iubj%)}(hsizeh]hsize}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h int flagsh](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(hflagsh]hflags}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhjGhMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhjGhMDubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMDhjGhhubjS)}(hhh]jX)}(h.Receive a message from a socket (kernel space)h]h.Receive a message from a socket (kernel space)}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhj Jhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjGhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&Jjxj&Jjyjzj{uh1hhhhj[hNhNubj})}(hX`**Parameters** ``struct socket *sock`` The socket to receive the message from ``struct msghdr *msg`` Received message ``struct kvec *vec`` Input s/g array for message data ``size_t num`` Size of input s/g array ``size_t size`` Number of bytes to read ``int flags`` Message flags (MSG_DONTWAIT, etc...) **Description** On return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jX)}(h**Parameters**h]j)}(hj0Jh]h Parameters}(hj2JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Jubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhj*Jubj)}(hhh](j)}(h?``struct socket *sock`` The socket to receive the message from h](j)}(h``struct socket *sock``h]j)}(hjOJh]hstruct socket *sock}(hjQJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMJubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjIJubj)}(hhh]jX)}(h&The socket to receive the message fromh]h&The socket to receive the message from}(hjhJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdJhMEhjeJubah}(h]h ]h"]h$]h&]uh1jhjIJubeh}(h]h ]h"]h$]h&]uh1jhjdJhMEhjFJubj)}(h(``struct msghdr *msg`` Received message h](j)}(h``struct msghdr *msg``h]j)}(hjJh]hstruct msghdr *msg}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMFhjJubj)}(hhh]jX)}(hReceived messageh]hReceived message}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMFhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMFhjFJubj)}(h6``struct kvec *vec`` Input s/g array for message data h](j)}(h``struct kvec *vec``h]j)}(hjJh]hstruct kvec *vec}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMGhjJubj)}(hhh]jX)}(h Input s/g array for message datah]h Input s/g array for message data}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMGhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMGhjFJubj)}(h'``size_t num`` Size of input s/g array h](j)}(h``size_t num``h]j)}(hjJh]h size_t num}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjJubj)}(hhh]jX)}(hSize of input s/g arrayh]hSize of input s/g array}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMHhjKubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjKhMHhjFJubj)}(h(``size_t size`` Number of bytes to read h](j)}(h``size_t size``h]j)}(hj3Kh]h size_t size}(hj5KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Kubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMIhj-Kubj)}(hhh]jX)}(hNumber of bytes to readh]hNumber of bytes to read}(hjLKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHKhMIhjIKubah}(h]h ]h"]h$]h&]uh1jhj-Kubeh}(h]h ]h"]h$]h&]uh1jhjHKhMIhjFJubj)}(h3``int flags`` Message flags (MSG_DONTWAIT, etc...) h](j)}(h ``int flags``h]j)}(hjlKh]h int flags}(hjnKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMJhjfKubj)}(hhh]jX)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMJhjKubah}(h]h ]h"]h$]h&]uh1jhjfKubeh}(h]h ]h"]h$]h&]uh1jhjKhMJhjFJubeh}(h]h ]h"]h$]h&]uh1jhj*JubjX)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMLhj*Jubj )}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jX)}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.h]hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMKhjKubjX)}(hFThe returned value is the total number of bytes received, or an error.h]hFThe returned value is the total number of bytes received, or an error.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMOhjKubeh}(h]h ]h"]h$]h&]uh1j hjKhMKhj*Jubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create_lite (C function)c.sock_create_litehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hNint sock_create_lite (int family, int type, int protocol, struct socket **res)h]h)}(hMint sock_create_lite(int family, int type, int protocol, struct socket **res)h](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhMVubj)}(hsock_create_liteh]j%)}(hsock_create_liteh]hsock_create_lite}(hj&LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Lubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhMVubj)}(h9(int family, int type, int protocol, struct socket **res)h](j)}(h int familyh](j)}(hinth]hint}(hjBLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>Lubj)}(h h]h }(hjPLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Lubj%)}(hfamilyh]hfamily}(hj^LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>Lubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Lubj)}(hint typeh](j)}(hinth]hint}(hjwLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsLubj%)}(htypeh]htype}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Lubj)}(h int protocolh](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hprotocolh]hprotocol}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Lubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hsocketh]hsocket}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jj(Lsbc.sock_create_liteasbuh1hhjLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hj-MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj;)}(hj>h]h*}(hj:MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hresh]hres}(hjGMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Lubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhjLhMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjLhMVubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMVhjKhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hjqMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVhjnMhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjLhMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** Creates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMZhjMubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjMh]h int family}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMWhjMubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMWhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMWhjMubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjMh]hint type}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMXhjMubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMXhjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjNhMXhjMubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hj$Nh]h int protocol}(hj&NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Nubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMYhjNubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj=NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9NhMYhj:Nubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhj9NhMYhjMubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hj]Nh]hstruct socket **res}(hj_NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Nubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMZhjWNubj)}(hhh]jX)}(h new socketh]h new socket}(hjvNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrNhMZhjsNubah}(h]h ]h"]h$]h&]uh1jhjWNubeh}(h]h ]h"]h$]h&]uh1jhjrNhMZhjMubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM\hjMubj )}(hCreates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h]jX)}(hCreates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h](h'Creates a new socket and assigns it to }(hjNhhhNhNubj)}(h**res**h]hres}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh}, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure }(hjNhhhNhNubj)}(h**res**h]hres}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh is set to }(hjNhhhNhNubj)}(h``NULL``h]hNULL}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh+. This function internally uses GFP_KERNEL.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM[hjNubah}(h]h ]h"]h$]h&]uh1j hjNhM[hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sock_create (C function)c.__sock_createhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hfint __sock_create (struct net *net, int family, int type, int protocol, struct socket **res, int kern)h]h)}(heint __sock_create(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj,OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhj+OhMubj)}(h __sock_createh]j%)}(h __sock_createh]h __sock_create}(hj>OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Oubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhj+OhMubj)}(hT(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjZOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVOubj)}(h h]h }(hjgOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVOubh)}(hhh]j%)}(hneth]hnet}(hjxOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzOmodnameN classnameNjj!)}j$]j')}jj@Osbc.__sock_createasbuh1hhjVOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVOubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVOubj%)}(hneth]hnet}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjROubj)}(h int familyh](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(hfamilyh]hfamily}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjROubj)}(hint typeh](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(htypeh]htype}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjROubj)}(h int protocolh](j)}(hinth]hint}(hj6PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2Pubj)}(h h]h }(hjDPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2Pubj%)}(hprotocolh]hprotocol}(hjRPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2Pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjROubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hjkPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgPubj)}(h h]h }(hjxPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgPubh)}(hhh]j%)}(hsocketh]hsocket}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jOc.__sock_createasbuh1hhjgPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgPubj%)}(hresh]hres}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjROubj)}(hint kernh](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hkernh]hkern}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjROubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhj+OhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhj+OhMubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+OhMhjOhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hj.QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj+Qhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhj+OhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFQjxjFQjyjzj{uh1hhhhj[hNhNubj})}(hX.**Parameters** ``struct net *net`` net namespace ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket ``int kern`` boolean for kernel space sockets **Description** Creates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(hjPQh]h Parameters}(hjRQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNQubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJQubj)}(hhh](j)}(h"``struct net *net`` net namespace h](j)}(h``struct net *net``h]j)}(hjoQh]hstruct net *net}(hjqQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmQubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjiQubj)}(hhh]jX)}(h net namespaceh]h net namespace}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjiQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjfQubj)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjQh]h int family}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjQubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjfQubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjQh]hint type}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjQubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjfQubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjRh]h int protocol}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjRubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj3RhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/RhMhj0Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj/RhMhjfQubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjSRh]hstruct socket **res}(hjURhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQRubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjMRubj)}(hhh]jX)}(h new socketh]h new socket}(hjlRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhRhMhjiRubah}(h]h ]h"]h$]h&]uh1jhjMRubeh}(h]h ]h"]h$]h&]uh1jhjhRhMhjfQubj)}(h.``int kern`` boolean for kernel space sockets h](j)}(h ``int kern``h]j)}(hjRh]hint kern}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjRubj)}(hhh]jX)}(h boolean for kernel space socketsh]h boolean for kernel space sockets}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjfQubeh}(h]h ]h"]h$]h&]uh1jhjJQubjX)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJQubj )}(hCreates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h]jX)}(hCreates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h](h'Creates a new socket and assigns it to }(hjRhhhNhNubj)}(h**res**h]hres}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh9, passing through LSM. Returns 0 or an error. On failure }(hjRhhhNhNubj)}(h**res**h]hres}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh is set to }(hjRhhhNhNubj)}(h``NULL``h]hNULL}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh. }(hjRhhhNhNubj)}(h**kern**h]hkern}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhe must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjRubah}(h]h ]h"]h$]h&]uh1j hj7ShMhjJQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create (C function) c.sock_createhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIint sock_create (int family, int type, int protocol, struct socket **res)h]h)}(hHint sock_create(int family, int type, int protocol, struct socket **res)h](j)}(hinth]hint}(hj^ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZShhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMcubj)}(h h]h }(hjmShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZShhhjlShMcubj)}(h sock_createh]j%)}(h sock_createh]h sock_create}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{Subah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZShhhjlShMcubj)}(h9(int family, int type, int protocol, struct socket **res)h](j)}(h int familyh](j)}(hinth]hint}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj%)}(hfamilyh]hfamily}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hint typeh](j)}(hinth]hint}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj%)}(htypeh]htype}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(h int protocolh](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hprotocolh]hprotocol}(hj!ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hj:ThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6Tubj)}(h h]h }(hjGThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Tubh)}(hhh]j%)}(hsocketh]hsocket}(hjXThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZTmodnameN classnameNjj!)}j$]j')}jjSsb c.sock_createasbuh1hhj6Tubj)}(h h]h }(hjxThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Tubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6Tubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6Tubj%)}(hresh]hres}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Tubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZShhhjlShMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVShhhjlShMcubah}(h]jQSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlShMchjSShhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMchjThhubah}(h]h ]h"]h$]h&]uh1jRhjSShhhjlShMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj[hNhNubj})}(hX@**Parameters** ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMghjTubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hj Uh]h int family}(hj UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Uubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMdhjUubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hj$UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj UhMdhj!Uubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhj UhMdhjUubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjDUh]hint type}(hjFUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBUubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMehj>Uubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hj]UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYUhMehjZUubah}(h]h ]h"]h$]h&]uh1jhj>Uubeh}(h]h ]h"]h$]h&]uh1jhjYUhMehjUubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hj}Uh]h int protocol}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Uubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMfhjwUubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMfhjUubah}(h]h ]h"]h$]h&]uh1jhjwUubeh}(h]h ]h"]h$]h&]uh1jhjUhMfhjUubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjUh]hstruct socket **res}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMghjUubj)}(hhh]jX)}(h new socketh]h new socket}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMghjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMghjUubeh}(h]h ]h"]h$]h&]uh1jhjTubjX)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMihjTubj )}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]jX)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhhjVubah}(h]h ]h"]h$]h&]uh1j hjVhMhhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create_kern (C function)c.sock_create_kernhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_int sock_create_kern (struct net *net, int family, int type, int protocol, struct socket **res)h]h)}(h^int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res)h](j)}(hinth]hint}(hj@VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyVubj%)}(hneth]hnet}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuVubj)}(h int familyh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hfamilyh]hfamily}(hj WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuVubj)}(hint typeh](j)}(hinth]hint}(hj$WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Wubj)}(h h]h }(hj2WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Wubj%)}(htypeh]htype}(hj@WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuVubj)}(h int protocolh](j)}(hinth]hint}(hjYWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUWubj)}(h h]h }(hjgWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUWubj%)}(hprotocolh]hprotocol}(hjuWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuVubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hsocketh]hsocket}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jVc.sock_create_kernasbuh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hresh]hres}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuVubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXh]h Parameters}(hj@XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCZmodnameN classnameNjj!)}j$]j')}jjYsbc.sock_registerasbuh1hhjZubj)}(h h]h }(hjaZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjoZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hopsh]hops}(hj|ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubah}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjYhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjYhM ubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhM hjYhhubjS)}(hhh]jX)}(hadd a socket protocol handlerh]hadd a socket protocol handler}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjZhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjYhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhj[hNhNubj})}(hXK**Parameters** ``const struct net_proto_family *ops`` description of protocol **Description** This function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h](jX)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjZubj)}(hhh]j)}(h?``const struct net_proto_family *ops`` description of protocol h](j)}(h&``const struct net_proto_family *ops``h]j)}(hjZh]h"const struct net_proto_family *ops}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjZubj)}(hhh]jX)}(hdescription of protocolh]hdescription of protocol}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhM hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhM hjZubah}(h]h ]h"]h$]h&]uh1jhjZubjX)}(h**Description**h]j)}(hj"[h]h Description}(hj$[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj [ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjZubj )}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]jX)}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.}(hj<[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj8[ubah}(h]h ]h"]h$]h&]uh1j hjJ[hM hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_unregister (C function)c.sock_unregisterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h!void sock_unregister (int family)h]h)}(h void sock_unregister(int family)h](j)}(hvoidh]hvoid}(hjq[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm[hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm[hhhj[hM ubj)}(hsock_unregisterh]j%)}(hsock_unregisterh]hsock_unregister}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjm[hhhj[hM ubj)}(h (int family)h]j)}(h int familyh](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hfamilyh]hfamily}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubah}(h]h ]h"]h$]h&]j<j=uh1jhjm[hhhj[hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhji[hhhj[hM ubah}(h]jd[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hM hjf[hhubjS)}(hhh]jX)}(hremove a protocol handlerh]hremove a protocol handler}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj[hhubah}(h]h ]h"]h$]h&]uh1jRhjf[hhhj[hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj \jxj \jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int family`` protocol family to remove **Description** This function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj\ubj)}(hhh]j)}(h)``int family`` protocol family to remove h](j)}(h``int family``h]j)}(hj5\h]h int family}(hj7\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3\ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj/\ubj)}(hhh]jX)}(hprotocol family to removeh]hprotocol family to remove}(hjN\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJ\hM hjK\ubah}(h]h ]h"]h$]h&]uh1jhj/\ubeh}(h]h ]h"]h$]h&]uh1jhjJ\hM hj,\ubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjp\h]h Description}(hjr\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn\ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj\ubj )}(hXbThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h](jX)}(hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.h]hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj\ubjX)}(hIf protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h]hIf protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj\ubeh}(h]h ]h"]h$]h&]uh1j hj\hM hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_bind (C function) c.kernel_bindhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIint kernel_bind (struct socket *sock, struct sockaddr *addr, int addrlen)h]h)}(hHint kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen)h](j)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhj\hM ubj)}(h kernel_bindh]j%)}(h kernel_bindh]h kernel_bind}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhj\hM ubj)}(h9(struct socket *sock, struct sockaddr *addr, int addrlen)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj ]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hhh]j%)}(hsocketh]hsocket}(hj)]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+]modnameN classnameNjj!)}j$]j')}jj\sb c.kernel_bindasbuh1hhj]ubj)}(h h]h }(hjI]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hjW]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hsockh]hsock}(hjd]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hj}]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjy]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy]ubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]jE] c.kernel_bindasbuh1hhjy]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy]ubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjy]ubj%)}(haddrh]haddr}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(h int addrlenh](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj%)}(haddrlenh]haddrlen}(hj ^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhj\hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhj\hM ubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hM hj\hhubjS)}(hhh]jX)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hj3^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj0^hhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhj\hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjK^jxjK^jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address ``int addrlen`` length of address **Description** Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjU^h]h Parameters}(hjW^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS^ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjO^ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjt^h]hstruct socket *sock}(hjv^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjn^ubj)}(hhh]jX)}(hsocketh]hsocket}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hM hj^ubah}(h]h ]h"]h$]h&]uh1jhjn^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hjk^ubj)}(h"``struct sockaddr *addr`` address h](j)}(h``struct sockaddr *addr``h]j)}(hj^h]hstruct sockaddr *addr}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj^ubj)}(hhh]jX)}(haddressh]haddress}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hM hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hjk^ubj)}(h"``int addrlen`` length of address h](j)}(h``int addrlen``h]j)}(hj^h]h int addrlen}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj^ubj)}(hhh]jX)}(hlength of addressh]hlength of address}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hM hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hjk^ubeh}(h]h ]h"]h$]h&]uh1jhjO^ubjX)}(h**Description**h]j)}(hj!_h]h Description}(hj#_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjO^ubj )}(hReturns 0 or an error.h]jX)}(hj9_h]hReturns 0 or an error.}(hj;_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj7_ubah}(h]h ]h"]h$]h&]uh1j hjH_hM hjO^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_listen (C function)c.kernel_listenhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4int kernel_listen (struct socket *sock, int backlog)h]h)}(h3int kernel_listen(struct socket *sock, int backlog)h](j)}(hinth]hint}(hjo_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk_hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hj~_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk_hhhj}_hM ubj)}(h kernel_listenh]j%)}(h kernel_listenh]h kernel_listen}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjk_hhhj}_hM ubj)}(h"(struct socket *sock, int backlog)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hsocketh]hsocket}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}jj_sbc.kernel_listenasbuh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hsockh]hsock}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(h int backlogh](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hj,`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hbacklogh]hbacklog}(hj:`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjk_hhhj}_hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjg_hhhj}_hM ubah}(h]jb_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}_hM hjd_hhubjS)}(hhh]jX)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hjd`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hja`hhubah}(h]h ]h"]h$]h&]uh1jRhjd_hhhj}_hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|`jxj|`jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``int backlog`` pending connections queue size **Description** Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj`h]hstruct socket *sock}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj`ubj)}(hhh]jX)}(hsocketh]hsocket}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM hj`ubj)}(h/``int backlog`` pending connections queue size h](j)}(h``int backlog``h]j)}(hj`h]h int backlog}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`ubj)}(hhh]jX)}(hpending connections queue sizeh]hpending connections queue size}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjX)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`ubj )}(hReturns 0 or an error.h]jX)}(hj1ah]hReturns 0 or an error.}(hj3ahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj/aubah}(h]h ]h"]h$]h&]uh1j hj@ahMhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_accept (C function)c.kernel_accepthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hKint kernel_accept (struct socket *sock, struct socket **newsock, int flags)h]h)}(hJint kernel_accept(struct socket *sock, struct socket **newsock, int flags)h](j)}(hinth]hint}(hjgahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcahhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjvahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcahhhjuahM ubj)}(h kernel_accepth]j%)}(h kernel_accepth]h kernel_accept}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjcahhhjuahM ubj)}(h9(struct socket *sock, struct socket **newsock, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(hsocketh]hsocket}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jjasbc.kernel_acceptasbuh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hsockh]hsock}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubj)}(hstruct socket **newsockh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hj#bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(hsocketh]hsocket}(hj4bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6bmodnameN classnameNjj!)}j$]jac.kernel_acceptasbuh1hhjbubj)}(h h]h }(hjRbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hj`bhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj;)}(hj>h]h*}(hjmbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hnewsockh]hnewsock}(hjzbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubj)}(h int flagsh](j)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hflagsh]hflags}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubeh}(h]h ]h"]h$]h&]j<j=uh1jhjcahhhjuahM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_ahhhjuahM ubah}(h]jZaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuahM hj\ahhubjS)}(hhh]jX)}(h"accept a connection (kernel space)h]h"accept a connection (kernel space)}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjbhhubah}(h]h ]h"]h$]h&]uh1jRhj\ahhhjuahM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhj[hNhNubj})}(hX(**Parameters** ``struct socket *sock`` listening socket ``struct socket **newsock`` new connected socket ``int flags`` flags **Description** **flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjbubj)}(hhh](j)}(h)``struct socket *sock`` listening socket h](j)}(h``struct socket *sock``h]j)}(hjch]hstruct socket *sock}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjcubj)}(hhh]jX)}(hlistening socketh]hlistening socket}(hj3chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/chM hj0cubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj/chM hjcubj)}(h1``struct socket **newsock`` new connected socket h](j)}(h``struct socket **newsock``h]j)}(hjSch]hstruct socket **newsock}(hjUchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjMcubj)}(hhh]jX)}(hnew connected socketh]hnew connected socket}(hjlchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhchMhjicubah}(h]h ]h"]h$]h&]uh1jhjMcubeh}(h]h ]h"]h$]h&]uh1jhjhchMhjcubj)}(h``int flags`` flags h](j)}(h ``int flags``h]j)}(hjch]h int flags}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjcubj)}(hhh]jX)}(hflagsh]hflags}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjcubeh}(h]h ]h"]h$]h&]uh1jhjbubjX)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjbubj )}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h]jX)}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](j)}(h **flags**h]hflags}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh8 must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, }(hjchhhNhNubj)}(h **newsock**h]hnewsock}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh is guaranteed to be }(hjchhhNhNubj)}(h``NULL``h]hNULL}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh. Returns 0 or an error.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjcubah}(h]h ]h"]h$]h&]uh1j hj!dhMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_connect (C function)c.kernel_connecthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hWint kernel_connect (struct socket *sock, struct sockaddr *addr, int addrlen, int flags)h]h)}(hVint kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, int flags)h](j)}(hinth]hint}(hjHdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDdhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM5ubj)}(h h]h }(hjWdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDdhhhjVdhM5ubj)}(hkernel_connecth]j%)}(hkernel_connecth]hkernel_connect}(hjidhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjedubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDdhhhjVdhM5ubj)}(hD(struct socket *sock, struct sockaddr *addr, int addrlen, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hsocketh]hsocket}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jjkdsbc.kernel_connectasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hsockh]hsock}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}dubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]jdc.kernel_connectasbuh1hhjdubj)}(h h]h }(hj3ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjAehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(haddrh]haddr}(hjNehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}dubj)}(h int addrlenh](j)}(hinth]hint}(hjgehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjceubj)}(h h]h }(hjuehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjceubj%)}(haddrlenh]haddrlen}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjceubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}dubj)}(h int flagsh](j)}(hinth]hint}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(hflagsh]hflags}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}dubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDdhhhjVdhM5ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@dhhhjVdhM5ubah}(h]j;dah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVdhM5hj=dhhubjS)}(hhh]jX)}(hconnect a socket (kernel space)h]hconnect a socket (kernel space)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM5hjehhubah}(h]h ]h"]h$]h&]uh1jRhj=dhhhjVdhM5ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address ``int addrlen`` address length ``int flags`` flags (O_NONBLOCK, ...) **Description** For datagram sockets, **addr** is the address to which datagrams are sent by default, and the only address from which datagrams are received. For stream sockets, attempts to connect to **addr**. Returns 0 or an error code.h](jX)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM9hjeubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj#fh]hstruct socket *sock}(hj%fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!fubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6hjfubj)}(hhh]jX)}(hsocketh]hsocket}(hjh]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hsockh]hsock}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hj+hhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'hubj)}(h h]h }(hj8hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjIhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKhmodnameN classnameNjj!)}j$]jgc.kernel_getsocknameasbuh1hhj'hubj)}(h h]h }(hjghhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hubj;)}(hj>h]h*}(hjuhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'hubj%)}(haddrh]haddr}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'hubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubeh}(h]h ]h"]h$]h&]j<j=uh1jhjxghhhjghMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjtghhhjghMNubah}(h]jogah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghMNhjqghhubjS)}(hhh]jX)}(h8get the address which the socket is bound (kernel space)h]h8get the address which the socket is bound (kernel space)}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMNhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjqghhhjghMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address holder **Description** Fills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h](jX)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRhjhubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjhh]hstruct socket *sock}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMOhjhubj)}(hhh]jX)}(hsocketh]hsocket}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMOhjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihMOhjhubj)}(h)``struct sockaddr *addr`` address holder h](j)}(h``struct sockaddr *addr``h]j)}(hj&ih]hstruct sockaddr *addr}(hj(ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$iubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMPhj iubj)}(hhh]jX)}(haddress holderh]haddress holder}(hj?ihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;ihMPhjh]h*}(hjKjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hsockh]hsock}(hjXjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjqjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmjubj)}(h h]h }(hj~jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmjubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j9jc.kernel_getpeernameasbuh1hhjmjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmjubj%)}(haddrh]haddr}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubeh}(h]h ]h"]h$]h&]j<j=uh1jhjihhhjihM]ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjihM]ubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihM]hjihhubjS)}(hhh]jX)}(hh]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAlubj%)}(hsockh]hsock}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=lubj)}(henum sock_shutdown_cmd howh](h)}(hhh]henum}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hsock_shutdown_cmdh]hsock_shutdown_cmd}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]jlc.kernel_sock_shutdownasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hhowh]hhow}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=lubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhMlubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMlhjkhhubjS)}(hhh]jX)}(h9shut down part of a full-duplex connection (kernel space)h]h9shut down part of a full-duplex connection (kernel space)}(hj+mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMlhj(mhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjlhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCmjxjCmjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``enum sock_shutdown_cmd how`` connection part **Description** Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjMmh]h Parameters}(hjOmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKmubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMphjGmubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjlmh]hstruct socket *sock}(hjnmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjmubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMmhjfmubj)}(hhh]jX)}(hsocketh]hsocket}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMmhjmubah}(h]h ]h"]h$]h&]uh1jhjfmubeh}(h]h ]h"]h$]h&]uh1jhjmhMmhjcmubj)}(h/``enum sock_shutdown_cmd how`` connection part h](j)}(h``enum sock_shutdown_cmd how``h]j)}(hjmh]henum sock_shutdown_cmd how}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMnhjmubj)}(hhh]jX)}(hconnection parth]hconnection part}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMnhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMnhjcmubeh}(h]h ]h"]h$]h&]uh1jhjGmubjX)}(h**Description**h]j)}(hjmh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMphjGmubj )}(hReturns 0 or an error.h]jX)}(hjmh]hReturns 0 or an error.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMohjmubah}(h]h ]h"]h$]h&]uh1j hjnhMohjGmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$kernel_sock_ip_overhead (C function)c.kernel_sock_ip_overheadhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h-u32 kernel_sock_ip_overhead (struct sock *sk)h]h)}(h,u32 kernel_sock_ip_overhead(struct sock *sk)h](h)}(hhh]j%)}(hu32h]hu32}(hj1nhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3nmodnameN classnameNjj!)}j$]j')}jkernel_sock_ip_overheadsbc.kernel_sock_ip_overheadasbuh1hhj*nhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMzubj)}(h h]h }(hjSnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*nhhhjRnhMzubj)}(hkernel_sock_ip_overheadh]j%)}(hjOnh]hkernel_sock_ip_overhead}(hjenhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjanubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*nhhhjRnhMzubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|nubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|nubh)}(hhh]j%)}(hsockh]hsock}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]jMnc.kernel_sock_ip_overheadasbuh1hhj|nubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|nubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|nubj%)}(hskh]hsk}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxnubah}(h]h ]h"]h$]h&]j<j=uh1jhj*nhhhjRnhMzubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&nhhhjRnhMzubah}(h]j!nah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRnhMzhj#nhhubjS)}(hhh]jX)}(h+returns the IP overhead imposed by a socketh]h+returns the IP overhead imposed by a socket}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMzhjnhhubah}(h]h ]h"]h$]h&]uh1jRhj#nhhhjRnhMzubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj[hNhNubj})}(hXV**Parameters** ``struct sock *sk`` socket **Description** This routine returns the IP overhead imposed by a socket i.e. the length of the underlying IP header, depending on whether this is an IPv4 or IPv6 socket and the length from IP options turned on at the socket. Assumes that the caller has a lock on the socket.h](jX)}(h**Parameters**h]j)}(hj#oh]h Parameters}(hj%ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!oubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM~hjoubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjBoh]hstruct sock *sk}(hjDohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@oubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM{hjh]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjpubj%)}(hlisth]hlist}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjohKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjohKubah}(h]joah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohKhjohhubjS)}(hhh]jX)}(h®ister another drop reason subsystemh]h®ister another drop reason subsystem}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjqhhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjohKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"qjxj"qjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``enum skb_drop_reason_subsys subsys`` the subsystem to register, must not be the core ``const struct drop_reason_list *list`` the list of drop reasons within the subsystem, must point to a statically initialized listh](jX)}(h**Parameters**h]j)}(hj,qh]h Parameters}(hj.qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*qubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj&qubj)}(hhh](j)}(hW``enum skb_drop_reason_subsys subsys`` the subsystem to register, must not be the core h](j)}(h&``enum skb_drop_reason_subsys subsys``h]j)}(hjKqh]h"enum skb_drop_reason_subsys subsys}(hjMqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjEqubj)}(hhh]jX)}(h/the subsystem to register, must not be the coreh]h/the subsystem to register, must not be the core}(hjdqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`qhKhjaqubah}(h]h ]h"]h$]h&]uh1jhjEqubeh}(h]h ]h"]h$]h&]uh1jhj`qhKhjBqubj)}(h``const struct drop_reason_list *list`` the list of drop reasons within the subsystem, must point to a statically initialized listh](j)}(h'``const struct drop_reason_list *list``h]j)}(hjqh]h#const struct drop_reason_list *list}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj~qubj)}(hhh]jX)}(hZthe list of drop reasons within the subsystem, must point to a statically initialized listh]hZthe list of drop reasons within the subsystem, must point to a statically initialized list}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhKhjqubah}(h]h ]h"]h$]h&]uh1jhj~qubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjBqubeh}(h]h ]h"]h$]h&]uh1jhj&qubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+drop_reasons_unregister_subsys (C function) c.drop_reasons_unregister_subsyshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hHvoid drop_reasons_unregister_subsys (enum skb_drop_reason_subsys subsys)h]h)}(hGvoid drop_reasons_unregister_subsys(enum skb_drop_reason_subsys subsys)h](j)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjqhKubj)}(hdrop_reasons_unregister_subsysh]j%)}(hdrop_reasons_unregister_subsysh]hdrop_reasons_unregister_subsys}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjqhKubj)}(h$(enum skb_drop_reason_subsys subsys)h]j)}(h"enum skb_drop_reason_subsys subsysh](h)}(hhh]henum}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hj'rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(hskb_drop_reason_subsysh]hskb_drop_reason_subsys}(hj8rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5rubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:rmodnameN classnameNjj!)}j$]j')}jjrsb c.drop_reasons_unregister_subsysasbuh1hhjrubj)}(h h]h }(hjXrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj%)}(hsubsysh]hsubsys}(hjfrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjqhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjqhKubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhKhjqhhubjS)}(hhh]jX)}(h"unregister a drop reason subsystemh]h"unregister a drop reason subsystem}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjqhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``enum skb_drop_reason_subsys subsys`` the subsystem to remove, must not be the core **Note** This will synchronize_rcu() to ensure no users when it returns.h](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjrubj)}(hhh]j)}(hU``enum skb_drop_reason_subsys subsys`` the subsystem to remove, must not be the core h](j)}(h&``enum skb_drop_reason_subsys subsys``h]j)}(hjrh]h"enum skb_drop_reason_subsys subsys}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjrubj)}(hhh]jX)}(h-the subsystem to remove, must not be the coreh]h-the subsystem to remove, must not be the core}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjrubjX)}(h**Note**h]j)}(hj sh]hNote}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj subah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjrubjX)}(h?This will synchronize_rcu() to ensure no users when it returns.h]h?This will synchronize_rcu() to ensure no users when it returns.}(hj"shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$napi_skb_cache_get_bulk (C function)c.napi_skb_cache_get_bulkhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h0u32 napi_skb_cache_get_bulk (void **skbs, u32 n)h]h)}(h/u32 napi_skb_cache_get_bulk(void **skbs, u32 n)h](h)}(hhh]j%)}(hu32h]hu32}(hjTshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVsmodnameN classnameNjj!)}j$]j')}jnapi_skb_cache_get_bulksbc.napi_skb_cache_get_bulkasbuh1hhjMshhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-ubj)}(h h]h }(hjvshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMshhhjushM-ubj)}(hnapi_skb_cache_get_bulkh]j%)}(hjrsh]hnapi_skb_cache_get_bulk}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMshhhjushM-ubj)}(h(void **skbs, u32 n)h](j)}(h void **skbsh](j)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hskbsh]hskbs}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hu32 nh](h)}(hhh]j%)}(hu32h]hu32}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jpsc.napi_skb_cache_get_bulkasbuh1hhjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hj0h]hn}(hj!thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMshhhjushM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIshhhjushM-ubah}(h]jDsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjushM-hjFshhubjS)}(hhh]jX)}(h2obtain a number of zeroed skb heads from the cacheh]h2obtain a number of zeroed skb heads from the cache}(hjJthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjGthhubah}(h]h ]h"]h$]h&]uh1jRhjFshhhjushM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbtjxjbtjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``void **skbs`` pointer to an at least **n**-sized array to fill with skb pointers ``u32 n`` number of entries to provide **Description** Tries to obtain **n** :c:type:`sk_buff` entries from the NAPI percpu cache and writes the pointers into the provided array **skbs**. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or ``__GFP_ZERO``, so they are ready for {,__}build_skb_around() and don't have any data buffers attached. Must be called *only* from the BH context. **Return** number of successfully allocated skbs (**n** if no actual allocation needed or kmem_cache_alloc_bulk() didn't fail).h](jX)}(h**Parameters**h]j)}(hjlth]h Parameters}(hjnthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjtubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjftubj)}(hhh](j)}(hS``void **skbs`` pointer to an at least **n**-sized array to fill with skb pointers h](j)}(h``void **skbs``h]j)}(hjth]h void **skbs}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hjtubj)}(hhh]jX)}(hBpointer to an at least **n**-sized array to fill with skb pointersh](hpointer to an at least }(hjthhhNhNubj)}(h**n**h]hn}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh&-sized array to fill with skb pointers}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjthM.hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM.hjtubj)}(h'``u32 n`` number of entries to provide h](j)}(h ``u32 n``h]j)}(hjth]hu32 n}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjtubj)}(hhh]jX)}(hnumber of entries to provideh]hnumber of entries to provide}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM/hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM/hjtubeh}(h]h ]h"]h$]h&]uh1jhjftubjX)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjftubjX)}(hXTries to obtain **n** :c:type:`sk_buff` entries from the NAPI percpu cache and writes the pointers into the provided array **skbs**. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or ``__GFP_ZERO``, so they are ready for {,__}build_skb_around() and don't have any data buffers attached. Must be called *only* from the BH context.h](hTries to obtain }(hj'uhhhNhNubj)}(h**n**h]hn}(hj/uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'uubh }(hj'uhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjCuh]hsk_buff}(hjEuhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjAuubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hj'uubhT entries from the NAPI percpu cache and writes the pointers into the provided array }(hj'uhhhNhNubj)}(h**skbs**h]hskbs}(hjeuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'uubh. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or }(hj'uhhhNhNubj)}(h``__GFP_ZERO``h]h __GFP_ZERO}(hjwuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'uubhk, so they are ready for {,__}build_skb_around() and don’t have any data buffers attached. Must be called }(hj'uhhhNhNubhemphasis)}(h*only*h]honly}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1juhj'uubh from the BH context.}(hj'uhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj`uhM0hjftubjX)}(h **Return**h]j)}(hjuh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM8hjftubjX)}(htnumber of successfully allocated skbs (**n** if no actual allocation needed or kmem_cache_alloc_bulk() didn't fail).h](h'number of successfully allocated skbs (}(hjuhhhNhNubj)}(h**n**h]hn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubhJ if no actual allocation needed or kmem_cache_alloc_bulk() didn’t fail).}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hjftubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbuild_skb_around (C function)c.build_skb_aroundhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h[struct sk_buff * build_skb_around (struct sk_buff *skb, void *data, unsigned int frag_size)h]h)}(hYstruct sk_buff *build_skb_around(struct sk_buff *skb, void *data, unsigned int frag_size)h](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhj vhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jbuild_skb_aroundsbc.build_skb_aroundasbuh1hhjuhhhj vhMubj)}(h h]h }(hjh]h*}(hjJvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuhhhj vhMubj)}(hbuild_skb_aroundh]j%)}(hj9vh]hbuild_skb_around}(hj[vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhj vhMubj)}(h9(struct sk_buff *skb, void *data, unsigned int frag_size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjvvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrvubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j7vc.build_skb_aroundasbuh1hhjrvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrvubj%)}(hskbh]hskb}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnvubj)}(h void *datah](j)}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hdatah]hdata}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnvubj)}(hunsigned int frag_sizeh](j)}(hunsignedh]hunsigned}(hj(whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$wubj)}(h h]h }(hj6whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$wubj)}(hinth]hint}(hjDwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$wubj)}(h h]h }(hjRwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$wubj%)}(h frag_sizeh]h frag_size}(hj`whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnvubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhj vhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhj vhMubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj vhMhjuhhubjS)}(hhh]jX)}(h*build a network buffer around provided skbh]h*build a network buffer around provided skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhj vhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` sk_buff provide by caller, must be memset cleared ``void *data`` data buffer provided by caller ``unsigned int frag_size`` size of datah](jX)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubj)}(hhh](j)}(hJ``struct sk_buff *skb`` sk_buff provide by caller, must be memset cleared h](j)}(h``struct sk_buff *skb``h]j)}(hjwh]hstruct sk_buff *skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubj)}(hhh]jX)}(h1sk_buff provide by caller, must be memset clearedh]h1sk_buff provide by caller, must be memset cleared}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubj)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjxh]h void *data}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubj)}(hhh]jX)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjwubj)}(h'``unsigned int frag_size`` size of datah](j)}(h``unsigned int frag_size``h]j)}(hj=xh]hunsigned int frag_size}(hj?xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;xubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj7xubj)}(hhh]jX)}(h size of datah]h size of data}(hjVxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjSxubah}(h]h ]h"]h$]h&]uh1jhj7xubeh}(h]h ]h"]h$]h&]uh1jhjRxhMhjwubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_build_skb (C function)c.napi_build_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hDstruct sk_buff * napi_build_skb (void *data, unsigned int frag_size)h]h)}(hBstruct sk_buff *napi_build_skb(void *data, unsigned int frag_size)h](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjxhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jnapi_build_skbsbc.napi_build_skbasbuh1hhjxhhhjxhMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjxhMubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxhhhjxhMubj)}(hnapi_build_skbh]j%)}(hjxh]hnapi_build_skb}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxhhhjxhMubj)}(h$(void *data, unsigned int frag_size)h](j)}(h void *datah](j)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj yubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj yubj;)}(hj>h]h*}(hj-yhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj yubj%)}(hdatah]hdata}(hj:yhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj yubj)}(hunsigned int frag_sizeh](j)}(hunsignedh]hunsigned}(hjSyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOyubj)}(h h]h }(hjayhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOyubj)}(hinth]hint}(hjoyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOyubj)}(h h]h }(hj}yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOyubj%)}(h frag_sizeh]h frag_size}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj yubeh}(h]h ]h"]h$]h&]j<j=uh1jhjxhhhjxhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjxhMubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMhjxhhubjS)}(hhh]jX)}(hbuild a network bufferh]hbuild a network buffer}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyhhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjxhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhj[hNhNubj})}(hXG**Parameters** ``void *data`` data buffer provided by caller ``unsigned int frag_size`` size of data **Description** Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment. Returns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](jX)}(h**Parameters**h]j)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(hhh](j)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjyh]h void *data}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(hhh]jX)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj zhMhj zubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj zhMhjyubj)}(h(``unsigned int frag_size`` size of data h](j)}(h``unsigned int frag_size``h]j)}(hj/zh]hunsigned int frag_size}(hj1zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-zubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj)zubj)}(hhh]jX)}(h size of datah]h size of data}(hjHzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDzhMhjEzubah}(h]h ]h"]h$]h&]uh1jhj)zubeh}(h]h ]h"]h$]h&]uh1jhjDzhMhjyubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(h**Description**h]j)}(hjjzh]h Description}(hjlzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhzubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubjX)}(h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.h]h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubjX)}(hKReturns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](hReturns a new }(hjzhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjzh]hsk_buff}(hjzhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM!hjzubh on success, }(hjzhhhNhNubj)}(h``NULL``h]hNULL}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh on allocation failure.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjzhM!hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__alloc_skb (C function) c.__alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hUstruct sk_buff * __alloc_skb (unsigned int size, gfp_t gfp_mask, int flags, int node)h]h)}(hSstruct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, int flags, int node)h](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMpubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhj{hMpubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j')}j __alloc_skbsb c.__alloc_skbasbuh1hhjzhhhj{hMpubj)}(h h]h }(hj3{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhj{hMpubj;)}(hj>h]h*}(hjA{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzhhhj{hMpubj)}(h __alloc_skbh]j%)}(hj0{h]h __alloc_skb}(hjR{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhj{hMpubj)}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjm{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji{ubj)}(h h]h }(hj{{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji{ubj)}(hinth]hint}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji{ubj%)}(hsizeh]hsize}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhje{ubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j.{ c.__alloc_skbasbuh1hhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hgfp_maskh]hgfp_mask}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhje{ubj)}(h int flagsh](j)}(hinth]hint}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(hflagsh]hflags}(hj"|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhje{ubj)}(hint nodeh](j)}(hinth]hint}(hj;|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7|ubj)}(h h]h }(hjI|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7|ubj%)}(hnodeh]hnode}(hjW|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhje{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhj{hMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhj{hMpubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMphjzhhubjS)}(hhh]jX)}(hallocate a network bufferh]hallocate a network buffer}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMphj~|hhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhj{hMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``unsigned int size`` size to allocate ``gfp_t gfp_mask`` allocation mask ``int flags`` If SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback ``int node`` numa node to allocate memory on **Description** Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jX)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMthj|ubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hj|h]hunsigned int size}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhj|ubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMqhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMqhj|ubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hj|h]hgfp_t gfp_mask}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhj|ubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMrhj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hMrhj|ubj)}(h``int flags`` If SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback h](j)}(h ``int flags``h]j)}(hj4}h]h int flags}(hj6}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhj.}ubj)}(hhh]jX)}(hIf SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writebackh]hIf SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback}(hjM}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMshjJ}ubah}(h]h ]h"]h$]h&]uh1jhj.}ubeh}(h]h ]h"]h$]h&]uh1jhjI}hMvhj|ubj)}(h-``int node`` numa node to allocate memory on h](j)}(h ``int node``h]j)}(hjn}h]hint node}(hjp}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMwhjh}ubj)}(hhh]jX)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMwhj}ubah}(h]h ]h"]h$]h&]uh1jhjh}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMwhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubjX)}(h**Description**h]j)}(hj}h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhj|ubj )}(hX,Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jX)}(hAllocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``.h](hAllocate a new }(hj}hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj}h]hsk_buff}(hj}hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhj}ubh. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is }(hj}hhhNhNubj)}(h``NULL``h]hNULL}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj}hMxhj}ubjX)}(hUBuffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](h6Buffers may only be allocated from interrupts using a }(hj~hhhNhNubj)}(h **gfp_mask**h]hgfp_mask}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh of }(hj~hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj!~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hj}ubeh}(h]h ]h"]h$]h&]uh1j hj}hMxhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netdev_alloc_skb (C function)c.__netdev_alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h^struct sk_buff * __netdev_alloc_skb (struct net_device *dev, unsigned int len, gfp_t gfp_mask)h]h)}(h\struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hj`~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\~hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjn~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\~hhhjm~hMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}j__netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhj\~hhhjm~hMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\~hhhjm~hMubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\~hhhjm~hMubj)}(h__netdev_alloc_skbh]j%)}(hj~h]h__netdev_alloc_skb}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\~hhhjm~hMubj)}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j~c.__netdev_alloc_skbasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hdevh]hdev}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j~c.__netdev_alloc_skbasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\~hhhjm~hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjX~hhhjm~hMubah}(h]jS~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjm~hMhjU~hhubjS)}(hhh]jX)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjU~hhhjm~hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int len`` length to allocate ``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hj5h]hstruct net_device *dev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj/ubj)}(hhh]jX)}(hnetwork device to receive onh]hnetwork device to receive on}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hjnh]hunsigned int len}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhubj)}(hhh]jX)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(h<``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h(get_free_pages mask, passed to alloc_skbh]h(get_free_pages mask, passed to alloc_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hX5Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jX)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj#hMhjubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh( is returned if there is no free memory.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hj#hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_alloc_skb (C function)c.napi_alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hLstruct sk_buff * napi_alloc_skb (struct napi_struct *napi, unsigned int len)h]h)}(hJstruct sk_buff *napi_alloc_skb(struct napi_struct *napi, unsigned int len)h](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhj~hMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnapi_alloc_skbsbc.napi_alloc_skbasbuh1hhjmhhhj~hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhj~hMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmhhhj~hMubj)}(hnapi_alloc_skbh]j%)}(hjh]hnapi_alloc_skb}(hjЁhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj́ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhj~hMubj)}(h,(struct napi_struct *napi, unsigned int len)h](j)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.napi_alloc_skbasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhj~hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhj~hMubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMhjfhhubjS)}(hhh]jX)}(h2allocate skbuff for rx in a specific NAPI instanceh]h2allocate skbuff for rx in a specific NAPI instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhj~hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjՂjxjՂjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct napi_struct *napi`` napi instance this buffer was allocated for ``unsigned int len`` length to allocate **Description** Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hj߂h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݂ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjقubj)}(hhh](j)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h+napi instance this buffer was allocated forh]h+napi instance this buffer was allocated for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hj7h]hunsigned int len}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1ubj)}(hhh]jX)}(hlength to allocateh]hlength to allocate}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjقubjX)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjقubj )}(hX1Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jX)}(hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.h]hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjقubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__kfree_skb (C function) c.__kfree_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h&void __kfree_skb (struct sk_buff *skb)h]h)}(h%void __kfree_skb(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjރhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڃhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڃhhhjhMubj)}(h __kfree_skbh]j%)}(h __kfree_skbh]h __kfree_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjڃhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjsb c.__kfree_skbasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjڃhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjփhhhjhMubah}(h]jуah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjӃhhubjS)}(hhh]jX)}(hprivate functionh]hprivate function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjӃhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Free an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hj„hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj߄h]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݄ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjلubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjلubeh}(h]h ]h"]h$]h&]uh1jhjhMhjքubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]jX)}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj0ubah}(h]h ]h"]h$]h&]uh1j hjBhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_skb_reason_drop (C function)c.sk_skb_reason_drophNtauh1hhj[hhhNhNubh)}(hhh](h)}(hivoid __fix_address sk_skb_reason_drop (struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h]h)}(hhvoid __fix_address sk_skb_reason_drop(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhMubh __fix_address}(hjehhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhMubj)}(hsk_skb_reason_droph]j%)}(hsk_skb_reason_droph]hsk_skb_reason_drop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjwhMubj)}(hC(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjŅhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hjօhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӅubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj؅modnameN classnameNjj!)}j$]j')}jjsbc.sk_skb_reason_dropasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jc.sk_skb_reason_dropasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.sk_skb_reason_dropasbuh1hhjubj)}(h h]h }(hjֆhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjwhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjwhMubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMhj^hhubjS)}(hhh]jX)}(h#free an sk_buff with special reasonh]h#free an sk_buff with special reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhjwhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` the socket to receive **skb**, or NULL if not applicable ``struct sk_buff *skb`` buffer to free ``enum skb_drop_reason reason`` reason why this skb is dropped **Description** Drop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubj)}(hhh](j)}(hM``struct sock *sk`` the socket to receive **skb**, or NULL if not applicable h](j)}(h``struct sock *sk``h]j)}(hjOh]hstruct sock *sk}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubj)}(hhh]jX)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hjhhhhNhNubj)}(h**skb**h]hskb}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh, or NULL if not applicable}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(h?``enum skb_drop_reason reason`` reason why this skb is dropped h](j)}(h``enum skb_drop_reason reason``h]j)}(hjӇh]henum skb_drop_reason reason}(hjՇhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjчubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj͇ubj)}(hhh]jX)}(hreason why this skb is droppedh]hreason why this skb is dropped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj͇ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubj )}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]jX)}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to ‘kfree_skb’ tracepoint.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubah}(h]h ]h"]h$]h&]uh1j hj6hMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tx_error (C function)c.skb_tx_errorhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h'void skb_tx_error (struct sk_buff *skb)h]h)}(h&void skb_tx_error(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMWubj)}(h skb_tx_errorh]j%)}(h skb_tx_errorh]h skb_tx_error}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMWubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_tx_errorasbuh1hhjubj)}(h h]h }(hj؈hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjkhMWubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMWubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMWhjRhhubjS)}(hhh]jX)}(hreport an sk_buff xmit errorh]hreport an sk_buff xmit error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMWubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer that triggered an error **Description** Report xmit error if a device callback is tracking this skb. skb must be freed afterwards.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[hj9ubj)}(hhh]j)}(h7``struct sk_buff *skb`` buffer that triggered an error h](j)}(h``struct sk_buff *skb``h]j)}(hj^h]hstruct sk_buff *skb}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMXhjXubj)}(hhh]jX)}(hbuffer that triggered an errorh]hbuffer that triggered an error}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMXhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMXhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZhj9ubj )}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]jX)}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMYhjubah}(h]h ]h"]h$]h&]uh1j hjhMYhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hconsume_skb (C function) c.consume_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h&void consume_skb (struct sk_buff *skb)h]h)}(h%void consume_skb(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMhubj)}(h consume_skbh]j%)}(h consume_skbh]h consume_skb}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMhubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj sb c.consume_skbasbuh1hhj!ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hskbh]hskb}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMhubah}(h]jۉah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhhj݉hhubjS)}(hhh]jX)}(hfree an skbuffh]hfree an skbuff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhhjhhubah}(h]h ]h"]h$]h&]uh1jRhj݉hhhjhMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to free **Description** Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath](jX)}(h**Parameters**h]j)}(hjʊh]h Parameters}(hj̊hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȊubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjĊubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjĊubjX)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhjĊubj )}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]jX)}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes that}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMjhj:ubah}(h]h ]h"]h$]h&]uh1j hjLhMjhjĊubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb_for_msg (C function)c.alloc_skb_for_msghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:struct sk_buff * alloc_skb_for_msg (struct sk_buff *first)h]h)}(h8struct sk_buff *alloc_skb_for_msg(struct sk_buff *first)h](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhM&ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jalloc_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhjohhhjhM&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhM&ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjohhhjhM&ubj)}(halloc_skb_for_msgh]j%)}(hjh]halloc_skb_for_msg}(hjҋhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj΋ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjhM&ubj)}(h(struct sk_buff *first)h]j)}(hstruct sk_buff *firsth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.alloc_skb_for_msgasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfirsth]hfirst}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhM&ubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM&hjhhhubjS)}(hhh]jX)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&hjkhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hjubj)}(hhh]j)}(h2``struct sk_buff *first`` first sk_buff of the msgh](j)}(h``struct sk_buff *first``h]j)}(hjh]hstruct sk_buff *first}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hjubj)}(hhh]jX)}(hfirst sk_buff of the msgh]hfirst sk_buff of the msg}(hjȌhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjŌubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjČhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_morph (C function) c.skb_morphhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEstruct sk_buff * skb_morph (struct sk_buff *dst, struct sk_buff *src)h]h)}(hCstruct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src)h](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM?ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}j skb_morphsb c.skb_morphasbuh1hhjhhhjhM?ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM?ubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM?ubj)}(h skb_morphh]j%)}(hjFh]h skb_morph}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM?ubj)}(h*(struct sk_buff *dst, struct sk_buff *src)h](j)}(hstruct sk_buff *dsth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jD c.skb_morphasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj͍hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdsth]hdst}(hjڍhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hstruct sk_buff *srch](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jD c.skb_morphasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrch]hsrc}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM?ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM?hjhhubjS)}(hhh]jX)}(hmorph one skb into anotherh]hmorph one skb into another}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hjqhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *dst`` the skb to receive the contents ``struct sk_buff *src`` the skb to supply the contents **Description** This is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjubj)}(hhh](j)}(h8``struct sk_buff *dst`` the skb to receive the contents h](j)}(h``struct sk_buff *dst``h]j)}(hjh]hstruct sk_buff *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hjubj)}(hhh]jX)}(hthe skb to receive the contentsh]hthe skb to receive the contents}(hjΎhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjʎhM@hjˎubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʎhM@hjubj)}(h7``struct sk_buff *src`` the skb to supply the contents h](j)}(h``struct sk_buff *src``h]j)}(hjh]hstruct sk_buff *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhjubj)}(hhh]jX)}(hthe skb to supply the contentsh]hthe skb to supply the contents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj)h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjubj )}(hyThis is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jX)}(hRThis is identical to skb_clone except that the target skb is supplied by the user.h]hRThis is identical to skb_clone except that the target skb is supplied by the user.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhj?ubjX)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMEhj?ubeh}(h]h ]h"]h$]h&]uh1j hjQhMBhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_ubufs (C function)c.skb_copy_ubufshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8int skb_copy_ubufs (struct sk_buff *skb, gfp_t gfp_mask)h]h)}(h7int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM|ubj)}(hskb_copy_ubufsh]j%)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM|ubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjďhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjяhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߏubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_copy_ubufsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]jc.skb_copy_ubufsasbuh1hhj2ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hgfp_maskh]hgfp_mask}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM|ubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM|hj|hhubjS)}(hhh]jX)}(h*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to modify ``gfp_t gfp_mask`` allocation priority **Description** This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjАh]hstruct sk_buff *skb}(hjҐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΐubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}hjʐubj)}(hhh]jX)}(hthe skb to modifyh]hthe skb to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjʐubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjǐubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hj h]hgfp_t gfp_mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjǐubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hX5This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jX)}(hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.h]hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubjX)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hjmhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubjX)}(h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h]h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubeh}(h]h ]h"]h$]h&]uh1j hjlhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone (C function) c.skb_clonehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@struct sk_buff * skb_clone (struct sk_buff *skb, gfp_t gfp_mask)h]h)}(h>struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjÑhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjёhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjБhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߑubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j skb_clonesb c.skb_cloneasbuh1hhjhhhjБhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjБhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjБhMubj)}(h skb_cloneh]j%)}(hjh]h skb_clone}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjБhMubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j c.skb_cloneasbuh1hhj9ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_cloneasbuh1hhjubj)}(h h]h }(hjΒhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfp_maskh]hgfp_mask}(hjܒhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjБhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjБhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjБhMhjhhubjS)}(hhh]jX)}(hduplicate an sk_buffh]hduplicate an sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjБhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to clone ``gfp_t gfp_mask`` allocation priority **Description** Duplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj"ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clone h](j)}(h``struct sk_buff *skb``h]j)}(hjGh]hstruct sk_buff *skb}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubj)}(hhh]jX)}(hbuffer to cloneh]hbuffer to clone}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj"ubj )}(hXWDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jX)}(hXDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned.h](h Duplicate an }(hjՓhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjߓh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjݓubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjՓubh. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns }(hjՓhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՓubh& otherwise the new buffer is returned.}(hjՓhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjѓubjX)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjѓubeh}(h]h ]h"]h$]h&]uh1j hjhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy (C function) c.skb_copyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEstruct sk_buff * skb_copy (const struct sk_buff *skb, gfp_t gfp_mask)h]h)}(hCstruct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhM.ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_copysb c.skb_copyasbuh1hhj\hhhjmhM.ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhM.ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\hhhjmhM.ubj)}(hskb_copyh]j%)}(hjh]hskb_copy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjmhM.ubj)}(h+(const struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjڔhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֔ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֔ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֔ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֔ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhj֔ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֔ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj֔ubj%)}(hskbh]hskb}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֔ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҔubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҔubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjmhM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjmhM.ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhM.hjUhhubjS)}(hhh]jX)}(h!create private copy of an sk_buffh]h!create private copy of an sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjmhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj֕jxj֕jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޕubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjڕubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hj8h]hgfp_t gfp_mask}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hj2ubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhM0hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM0hjubeh}(h]h ]h"]h$]h&]uh1jhjڕubjX)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjڕubj )}(hXfMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jX)}(hXMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjubh} and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM1hjubjX)}(hXSAs by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](h0As by-product this function converts non-linear }(hjіhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjۖh]hsk_buff}(hjݖhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjٖubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM6hjіubh to linear one, so that }(hjіhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhM6hjіubh becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.}(hjіhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM6hjubeh}(h]h ]h"]h$]h&]uh1j hjhM1hjڕubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__pskb_copy_fclone (C function)c.__pskb_copy_fclonehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hdstruct sk_buff * __pskb_copy_fclone (struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h]h)}(hbstruct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM^ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjYhM^ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}j__pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjHhhhjYhM^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjYhM^ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHhhhjYhM^ubj)}(h__pskb_copy_fcloneh]j%)}(hjh]h__pskb_copy_fclone}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjYhM^ubj)}(h@(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjƗhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj—ubj)}(h h]h }(hjӗhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj—ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__pskb_copy_fcloneasbuh1hhj—ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj—ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj—ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj—ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int headroomh](j)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hheadroomh]hheadroom}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]jc.__pskb_copy_fcloneasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool fcloneh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfcloneh]hfclone}(hjΘhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjYhM^ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjYhM^ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhM^hjAhhubjS)}(hhh]jX)}(h,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private head.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM^hjhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjYhM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int headroom`` headroom of new skb ``gfp_t gfp_mask`` allocation priority ``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned **Description** Make a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMbhjubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj9h]hstruct sk_buff *skb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_hj3ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM_hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM_hj0ubj)}(h%``int headroom`` headroom of new skb h](j)}(h``int headroom``h]j)}(hjrh]h int headroom}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`hjlubj)}(hhh]jX)}(hheadroom of new skbh]hheadroom of new skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj0ubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjęhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahj0ubj)}(h``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned h](j)}(h``bool fclone``h]j)}(hjh]h bool fclone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMdhjޙubj)}(hhh]jX)}(hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be clonedh]hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMbhjubah}(h]h ]h"]h$]h&]uh1jhjޙubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj0ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMfhjubj )}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h]jX)}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hj:hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjDh]hsk_buff}(hjFhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMehj:ubh and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(hj:hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjhh]hsk_buff}(hjjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjahMehj:ubh8 and needs private copy of the header to alter. Returns }(hj:hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjahMehj6ubah}(h]h ]h"]h$]h&]uh1j hjahMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_expand_head (C function)c.pskb_expand_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hPint pskb_expand_head (struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h]h)}(hOint pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h](j)}(hinth]hint}(hjǚhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjÚhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj֚hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjÚhhhj՚hMubj)}(hpskb_expand_headh]j%)}(hpskb_expand_headh]hpskb_expand_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjÚhhhj՚hMubj)}(h;(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jjsbc.pskb_expand_headasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int nheadh](j)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj%)}(hnheadh]hnhead}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int ntailh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hntailh]hntail}(hjǛhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j>c.pskb_expand_headasbuh1hhjܛubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܛubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܛubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjÚhhhj՚hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj՚hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj՚hMhjhhubjS)}(hhh]jX)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hj9hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjCh]hsk_buff}(hjEhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j>c.pskb_expand_headasbjsk_buffuh1hhjohKhj9ubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj՚hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj[hNhNubj})}(hXx**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int nhead`` room to add at head ``int ntail`` room to add at tail ``gfp_t gfp_mask`` allocation priority **Description** Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int nhead`` room to add at head h](j)}(h ``int nhead``h]j)}(hjלh]h int nhead}(hjٜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj՜ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjќubj)}(hhh]jX)}(hroom to add at headh]hroom to add at head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjќubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hjh]h int ntail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(hroom to add at tailh]hroom to add at tail}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjIh]hgfp_t gfp_mask}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjCubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj )}(hXExpands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(hX-Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed.h](h'Expands (or creates identical copy, if }(hjhhhNhNubj)}(h **nhead**h]hnhead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **ntail**h]hntail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are zero) header of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjʝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjޝh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjܝubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh itself is not changed. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubhv MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj%h]hsk_buff}(hj'hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubh is not changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubjX)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_expand_head (C function)c.skb_expand_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hMstruct sk_buff * skb_expand_head (struct sk_buff *skb, unsigned int headroom)h]h)}(hKstruct sk_buff *skb_expand_head(struct sk_buff *skb, unsigned int headroom)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMJ ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_expand_headsbc.skb_expand_headasbuh1hhj}hhhjhMJ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMJ ubj;)}(hj>h]h*}(hjϞhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}hhhjhMJ ubj)}(hskb_expand_headh]j%)}(hjh]hskb_expand_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܞubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMJ ubj)}(h,(struct sk_buff *skb, unsigned int headroom)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_expand_headasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int headroomh](j)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhMJ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMJ ubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMJ hjvhhubjS)}(hhh]jX)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hj͟hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjןh]hsk_buff}(hjٟhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj՟ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jc.skb_expand_headasbjsk_buffuh1hhjohKhj͟ubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJ hjʟhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhMJ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hXo**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``unsigned int headroom`` needed headroom **Description** Unlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMN hj ubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hj2h]hstruct sk_buff *skb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMK hj,ubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMK hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMK hj)ubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjkh]hunsigned int headroom}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chML hjeubj)}(hhh]jX)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhML hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhML hj)ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMN hj ubj )}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jX)}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.h]hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMM hjubjX)}(h=It expect increased headroom and generates warning otherwise.h]h=It expect increased headroom and generates warning otherwise.}(hjϠhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMQ hjubeh}(h]h ]h"]h$]h&]uh1j hjΠhMM hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_expand (C function)c.skb_copy_expandhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hnstruct sk_buff * skb_copy_expand (const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h]h)}(hlstruct sk_buff *skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM} ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM} ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j')}jskb_copy_expandsbc.skb_copy_expandasbuh1hhjhhhjhM} ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM} ubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM} ubj)}(hskb_copy_expandh]j%)}(hjAh]hskb_copy_expand}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM} ubj)}(hM(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j?c.skb_copy_expandasbuh1hhjzubj)}(h h]h }(hjաhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hint newheadroomh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h newheadroomh]h newheadroom}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hint newtailroomh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(h newtailroomh]h newtailroom}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j?c.skb_copy_expandasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM} ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM} ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM} hjhhubjS)}(hhh]jX)}(hcopy and expand sk_buffh]hcopy and expand sk_buff}(hj̢hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM} hjɢhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM} ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int newheadroom`` new free bytes at head ``int newtailroom`` new free bytes at tail ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hj h]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~ hjubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM~ hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM~ hjubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hjFh]hint newheadroom}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj@ubj)}(hhh]jX)}(hnew free bytes at headh]hnew free bytes at head}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hM hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hjubj)}(h+``int newtailroom`` new free bytes at tail h](j)}(h``int newtailroom``h]j)}(hjh]hint newtailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjyubj)}(hhh]jX)}(hnew free bytes at tailh]hnew free bytes at tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjѣhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjͣhM hjΣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͣhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jX)}(hcMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space.h](hMake a copy of both an }(hj hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubh; and its data and while doing so allocate additional space.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hM hj ubjX)}(hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns }(hj?hhhNhNubj)}(h``NULL``h]hNULL}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubjX)}(heYou must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](hYou must pass }(hj`hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubhI as the allocation priority if this function is called from an interrupt.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubeh}(h]h ]h"]h$]h&]uh1j hj4hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_pad (C function) c.__skb_padhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@int __skb_pad (struct sk_buff *skb, int pad, bool free_on_error)h]h)}(h?int __skb_pad(struct sk_buff *skb, int pad, bool free_on_error)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h __skb_padh]j%)}(h __skb_padh]h __skb_pad}(hjȤhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĤubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h2(struct sk_buff *skb, int pad, bool free_on_error)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjʤsb c.__skb_padasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjܤubj)}(hint padh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hpadh]hpad}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjܤubj)}(hbool free_on_errorh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h free_on_errorh]h free_on_error}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjܤubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjХhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjͥhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad ``bool free_on_error`` free buffer on error **Description** Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hjubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjJh]hint pad}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjDubj)}(hhh]jX)}(h space to padh]h space to pad}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM hjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjh]hbool free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj}ubj)}(hhh]jX)}(hfree buffer on errorh]hfree buffer on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jX)}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.h]hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.}(hjئhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjԦubjX)}(h`May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](hFMay return error in out of memory cases. The skb is freed on error if }(hjhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is true.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjԦubeh}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_put (C function) c.pskb_puthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hDvoid * pskb_put (struct sk_buff *skb, struct sk_buff *tail, int len)h]h)}(hBvoid *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len)h](j)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj<hM ubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*hhhj<hM ubj)}(hpskb_puth]j%)}(hpskb_puth]hpskb_put}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj<hM ubj)}(h4(struct sk_buff *skb, struct sk_buff *tail, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj^sb c.pskb_putasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjħhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hskbh]hskb}(hjѧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct sk_buff *tailh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.pskb_putasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htailh]htail}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hint lenh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hlenh]hlen}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj*hhhj<hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj<hM ubah}(h]j!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hM hj#hhubjS)}(hhh]jX)}(h7add data to the tail of a potentially fragmented bufferh]h7add data to the tail of a potentially fragmented buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj<hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` start of the buffer to use ``struct sk_buff *tail`` tail fragment of the buffer to use ``int len`` amount of data to add **Description** This function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hj¨h]h Parameters}(hjĨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h3``struct sk_buff *skb`` start of the buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߨubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjۨubj)}(hhh]jX)}(hstart of the buffer to useh]hstart of the buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjۨubeh}(h]h ]h"]h$]h&]uh1jhjhM hjبubj)}(h<``struct sk_buff *tail`` tail fragment of the buffer to use h](j)}(h``struct sk_buff *tail``h]j)}(hjh]hstruct sk_buff *tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(h"tail fragment of the buffer to useh]h"tail fragment of the buffer to use}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM hjبubj)}(h"``int len`` amount of data to add h](j)}(h ``int len``h]j)}(hjSh]hint len}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjMubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjبubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](hOThis function extends the used data area of the potentially fragmented buffer. }(hjhhhNhNubj)}(h**tail**h]htail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be the last fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hj©hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh -- or }(hjhhhNhNubj)}(h**skb**h]hskb}(hjԩhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put (C function) c.skb_puthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void * skb_put (struct sk_buff *skb, unsigned int len)h]h)}(h4void *skb_put(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj!hM ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj!hM ubj)}(hskb_puth]j%)}(hskb_puth]hskb_put}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj!hM ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsb c.skb_putasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjϪhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˪ubj)}(h h]h }(hjݪhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˪ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˪ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˪ubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˪ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj!hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hM hjhhubjS)}(hhh]jX)}(hadd data to a bufferh]hadd data to a buffer}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj.hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj!hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj[hNhNubj})}(hX;**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjMubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjrh]hstruct sk_buff *skb}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjlubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM hjiubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjīhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjiubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjMubj )}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_push (C function) c.skb_pushhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h7void * skb_push (struct sk_buff *skb, unsigned int len)h]h)}(h5void *skb_push(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhjChM ubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1hhhjChM ubj)}(hskb_pushh]j%)}(hskb_pushh]hskb_push}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhjChM ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesb c.skb_pushasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjˬhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hskbh]hskb}(hjجhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhjChM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhjChM ubah}(h]j(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChM hj*hhubjS)}(hhh]jX)}(h!add data to the start of a bufferh]h!add data to the start of a buffer}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjPhhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhjChM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhj[hNhNubj})}(hXS**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjoubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjͭh]hunsigned int len}(hjϭhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˭ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjǭubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjǭubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjoubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjoubj )}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hj0hM hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull (C function) c.skb_pullhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h7void * skb_pull (struct sk_buff *skb, unsigned int len)h]h)}(h5void *skb_pull(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehM/ ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjShhhjehM/ ubj)}(hskb_pullh]j%)}(hskb_pullh]hskb_pull}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjehM/ ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.skb_pullasbuh1hhjubj)}(h h]h }(hj߮hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjehM/ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjehM/ ubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehM/ hjLhhubjS)}(hhh]jX)}(h&remove data from the start of a bufferh]h&remove data from the start of a buffer}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ hjrhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjehM/ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXj**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to remove **Description** This function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3 hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0 hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjϯhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj˯hM0 hj̯ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˯hM0 hjubj)}(h.``unsigned int len`` amount of data to remove h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1 hjubj)}(hhh]jX)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3 hjubj )}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]jX)}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2 hj@ubah}(h]h ]h"]h$]h&]uh1j hjRhM2 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_data (C function)c.skb_pull_datahNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void * skb_pull_data (struct sk_buff *skb, size_t len)h]h)}(h4void *skb_pull_data(struct sk_buff *skb, size_t len)h](j)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM? ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhM? ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuhhhjhM? ubj)}(h skb_pull_datah]j%)}(h skb_pull_datah]h skb_pull_data}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjhM? ubj)}(h!(struct sk_buff *skb, size_t len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjðhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjаhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjްubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_pull_dataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]jc.skb_pull_dataasbuh1hhj1ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(hlenh]hlen}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhM? ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhM? ubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM? hjnhhubjS)}(hhh]jX)}(hGremove data from the start of a buffer returning its original position.h]hGremove data from the start of a buffer returning its original position.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM? hjhhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhM? ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to use ``size_t len`` amount of data to remove **Description** This function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMC hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjϱh]hstruct sk_buff *skb}(hjѱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͱubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMA hjɱubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMA hjubah}(h]h ]h"]h$]h&]uh1jhjɱubeh}(h]h ]h"]h$]h&]uh1jhjhMA hjƱubj)}(h(``size_t len`` amount of data to remove h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMB hjubj)}(hhh]jX)}(hamount of data to removeh]hamount of data to remove}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMB hjƱubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMD hjubj )}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]jX)}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMC hjYubah}(h]h ]h"]h$]h&]uh1j hjkhMC hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_trim (C function) c.skb_trimhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h5void skb_trim (struct sk_buff *skb, unsigned int len)h]h)}(h4void skb_trim(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMW ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMW ubj)}(hskb_trimh]j%)}(hskb_trimh]hskb_trim}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMW ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjϲhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj˲ubj)}(h h]h }(hjܲhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˲ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.skb_trimasbuh1hhj˲ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˲ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj˲ubj%)}(hskbh]hskb}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˲ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDzubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hlenh]hlen}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMW ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMW ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMW hjhhubjS)}(hhh]jX)}(hremove end from a bufferh]hremove end from a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMW hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMW ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length **Description** Cut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h](jX)}(h**Parameters**h]j)}(hjųh]h Parameters}(hjdzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjóubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMX hj޳ubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMX hjubah}(h]h ]h"]h$]h&]uh1jhj޳ubeh}(h]h ]h"]h$]h&]uh1jhjhMX hj۳ubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMY hjubj)}(hhh]jX)}(h new lengthh]h new length}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMY hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMY hj۳ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ hjubj )}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]jX)}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZ hjnubah}(h]h ]h"]h$]h&]uh1j hjhMZ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__pskb_pull_tail (C function)c.__pskb_pull_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8void * __pskb_pull_tail (struct sk_buff *skb, int delta)h]h)}(h6void *__pskb_pull_tail(struct sk_buff *skb, int delta)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjĴhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(h__pskb_pull_tailh]j%)}(h__pskb_pull_tailh]h__pskb_pull_tail}(hjմhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjѴubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h (struct sk_buff *skb, int delta)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj״sbc.__pskb_pull_tailasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int deltah](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hdeltah]hdelta}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hadvance tail of skb headerh]hadvance tail of skb header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX_**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int delta`` number of bytes to advance tail **Description** The function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(h**Parameters**h]j)}(hj˵h]h Parameters}(hj͵hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɵubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjŵubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h.``int delta`` number of bytes to advance tail h](j)}(h ``int delta``h]j)}(hj#h]h int delta}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hnumber of bytes to advance tailh]hnumber of bytes to advance tail}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hM hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM hjubeh}(h]h ]h"]h$]h&]uh1jhjŵubjX)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjŵubj )}(hXThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(hThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part.h](h0The function makes a sense only on a fragmented }(hjxhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjxubh\, it expands header moving its tail forward and copying necessary data from fragmented part.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjtubjX)}(h1:c:type:`sk_buff` MUST have reference count of 1.h](h)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubh MUST have reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjͶhM hjtubjX)}(h{Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success.h](hReturns }(hjضhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjضubh (and }(hjضhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjضubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjضhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjtubjX)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjtubeh}(h]h ]h"]h$]h&]uh1j hjhM hjŵubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_bits (C function)c.skb_copy_bitshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hLint skb_copy_bits (const struct sk_buff *skb, int offset, void *to, int len)h]h)}(hKint skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMn ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj_hMn ubj)}(h skb_copy_bitsh]j%)}(h skb_copy_bitsh]h skb_copy_bits}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hMn ubj)}(h:(const struct sk_buff *skb, int offset, void *to, int len)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjǷhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjķubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjɷmodnameN classnameNjj!)}j$]j')}jjtsbc.skb_copy_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int offseth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *toh](j)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(htoh]hto}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhj_hMn ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hMn ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMn hjFhhubjS)}(hhh]jX)}(h#copy bits from skb to kernel bufferh]h#copy bits from skb to kernel buffer}(hjظhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMn hjոhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hMn ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` source skb ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr hjubj)}(hhh](j)}(h)``const struct sk_buff *skb`` source skb h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMo hjubj)}(hhh]jX)}(h source skbh]h source skb}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMo hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMo hjubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjRh]h int offset}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMp hjLubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMp hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMp hjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMq hjubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMq hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjĹh]hint len}(hjƹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¹ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr hjubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjݹhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjٹhMr hjڹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٹhMr hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMt hjubj )}(hCopy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jX)}(hQCopy the specified number of bytes from the source skb to the destination buffer.h]hQCopy the specified number of bytes from the source skb to the destination buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMs hjubj)}(hhh]j)}(hxCAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](j)}(h CAUTION ! :h]h CAUTION ! :}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMx hj+ubj)}(hhh]jX)}(hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h]hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMw hj>ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj=hMx hj(ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j hj'hMs hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_store_bits (C function)c.skb_store_bitshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOint skb_store_bits (struct sk_buff *skb, int offset, const void *from, int len)h]h)}(hNint skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hskb_store_bitsh]j%)}(hskb_store_bitsh]hskb_store_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h<(struct sk_buff *skb, int offset, const void *from, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjźhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjҺhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_store_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int offseth](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj%)}(hoffseth]hoffset}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst void *fromh](h)}(hjh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjɻhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŻubj)}(h h]h }(hj׻hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjŻubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjŻubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj}hhubjS)}(hhh]jX)}(h$store bits from kernel buffer to skbh]h$store bits from kernel buffer to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj[hNhNubj})}(hXu**Parameters** ``struct sk_buff *skb`` destination buffer ``int offset`` offset in destination ``const void *from`` source buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj+ubj)}(hhh](j)}(h+``struct sk_buff *skb`` destination buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjPh]hstruct sk_buff *skb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjJubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjGubj)}(h%``int offset`` offset in destination h](j)}(h``int offset``h]j)}(hjh]h int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hoffset in destinationh]hoffset in destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjGubj)}(h#``const void *from`` source buffer h](j)}(h``const void *from``h]j)}(hj¼h]hconst void *from}(hjļhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(h source bufferh]h source buffer}(hjۼhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj׼hM hjؼubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׼hM hjGubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM" hj+ubj )}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]jX)}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM! hjLubah}(h]h ]h"]h$]h&]uh1j hj^hM! hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_zerocopy (C function)c.skb_zerocopyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hNint skb_zerocopy (struct sk_buff *to, struct sk_buff *from, int len, int hlen)h]h)}(hMint skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_zerocopyh]j%)}(h skb_zerocopyh]h skb_zerocopy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h=(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j)}(hstruct sk_buff *toh](h)}(hjh]hstruct}(hj½hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjϽhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݽubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_zerocopyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *fromh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jc.skb_zerocopyasbuh1hhj0ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint hlenh](j)}(hinth]hint}(hjپhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjվubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjվubj%)}(hhlenh]hhlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjվubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhMubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjzhhubjS)}(hhh]jX)}(hZero copy skb to skbh]hZero copy skb to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *to`` destination buffer ``struct sk_buff *from`` source buffer ``int len`` number of bytes to copy from source buffer ``int hlen`` size of linear headroom in destination buffer **Description** Copies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jX)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj)}(hhh](j)}(h*``struct sk_buff *to`` destination buffer h](j)}(h``struct sk_buff *to``h]j)}(hj`h]hstruct sk_buff *to}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubj)}(h'``struct sk_buff *from`` source buffer h](j)}(h``struct sk_buff *from``h]j)}(hjh]hstruct sk_buff *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjWubj)}(h7``int len`` number of bytes to copy from source buffer h](j)}(h ``int len``h]j)}(hjҿh]hint len}(hjԿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjпubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj̿ubj)}(hhh]jX)}(h*number of bytes to copy from source bufferh]h*number of bytes to copy from source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj̿ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjWubj)}(h;``int hlen`` size of linear headroom in destination buffer h](j)}(h ``int hlen``h]j)}(hj h]hint hlen}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h-size of linear headroom in destination bufferh]h-size of linear headroom in destination buffer}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj )}(hXgCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jX)}(hfCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer.h](h Copies up to }(hj`hhhNhNubhtitle_reference)}(h`len`h]hlen}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj`ubh bytes from }(hj`hhhNhNubji)}(h`from`h]hfrom}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj`ubh to }(hj`hhhNhNubji)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj`ubh: by creating references to the frags in the source buffer.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj\ubjX)}(h]The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer.h](hThe }(hjhhhNhNubji)}(h`hlen`h]hhlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hjhhhNhNubji)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubh buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj\ubjX)}(hReturn value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](hFReturn value: 0: everything is OK -ENOMEM: couldn’t orphan frags of }(hjhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhT due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj\ubeh}(h]h ]h"]h$]h&]uh1j hjhMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue (C function) c.skb_dequeuehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8struct sk_buff * skb_dequeue (struct sk_buff_head *list)h]h)}(h6struct sk_buff *skb_dequeue(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM*ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}j skb_dequeuesb c.skb_dequeueasbuh1hhjhhhj.hM*ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM*ubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj.hM*ubj)}(h skb_dequeueh]j%)}(hj^h]h skb_dequeue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hM*ubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j\ c.skb_dequeueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj.hM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj.hM*ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM*hjhhubjS)}(hhh]jX)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hj8ubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj]h]hstruct sk_buff_head *list}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hjWubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM+hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM+hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hj8ubj )}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hjubah}(h]h ]h"]h$]h&]uh1j hjhM,hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue_tail (C function)c.skb_dequeue_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=struct sk_buff * skb_dequeue_tail (struct sk_buff_head *list)h]h)}(h;struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM?ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_dequeue_tailsbc.skb_dequeue_tailasbuh1hhjhhhjhM?ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM?ubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM?ubj)}(hskb_dequeue_tailh]j%)}(hj6h]hskb_dequeue_tail}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM?ubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j4c.skb_dequeue_tailasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM?ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM?hjhhubjS)}(hhh]jX)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj5h]hstruct sk_buff_head *list}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hj/ubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM@hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM@hj,ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhjubj )}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhjubah}(h]h ]h"]h$]h&]uh1j hjhMAhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_purge_reason (C function)c.skb_queue_purge_reasonhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hTvoid skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]h)}(hSvoid skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMSubj)}(hskb_queue_purge_reasonh]j%)}(hskb_queue_purge_reasonh]hskb_queue_purge_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMSubj)}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jjsbc.skb_queue_purge_reasonasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hlisth]hlist}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.skb_queue_purge_reasonasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMSubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMShjhhubjS)}(hhh]jX)}(h empty a listh]h empty a list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMShjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX\**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWhjubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hj5h]hstruct sk_buff_head *list}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThj/ubj)}(hhh]jX)}(h list to emptyh]h list to empty}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMThjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMThj,ubj)}(h,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hjnh]henum skb_drop_reason reason}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhjhubj)}(hhh]jX)}(h drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWhjubj )}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h]jX)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](hDelete all buffers on an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMVhjubh list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMVhjubah}(h]h ]h"]h$]h&]uh1j hjhMVhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_head (C function)c.skb_queue_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hFvoid skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk)h]h)}(hEvoid skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hMubj)}(hskb_queue_headh]j%)}(hskb_queue_headh]hskb_queue_head}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hMubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jj>sbc.skb_queue_headasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_queue_headasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnewskh]hnewsk}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj)hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj)hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hMhjhhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj)hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj[hNhNubj})}(hXa**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj )}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](huQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj$h]hsk_buff}(hj&hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh functions safely.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjAhMhjubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjAhMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_tail (C function)c.skb_queue_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hFvoid skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk)h]h)}(hEvoid skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMubj)}(hskb_queue_tailh]j%)}(hskb_queue_tailh]hskb_queue_tail}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_queue_tailasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jc.skb_queue_tailasbuh1hhj,ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjvhhubjS)}(hhh]jX)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX`**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h list to useh]h list to use}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj+h]hstruct sk_buff *newsk}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](htQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh functions safely.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhj|ubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj|ubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unlink (C function) c.skb_unlinkhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@void skb_unlink (struct sk_buff *skb, struct sk_buff_head *list)h]h)}(h?void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_unlinkh]j%)}(h skb_unlinkh]h skb_unlink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h0(struct sk_buff *skb, struct sk_buff_head *list)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jj sb c.skb_unlinkasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hskbh]hskb}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j^ c.skb_unlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hremove a buffer from a listh]hremove a buffer from a list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj[hNhNubj})}(hX***Parameters** ``struct sk_buff *skb`` buffer to remove ``struct sk_buff_head *list`` list to use **Description** Remove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to remove h](j)}(h``struct sk_buff *skb``h]j)}(hjXh]hstruct sk_buff *skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjRubj)}(hhh]jX)}(hbuffer to removeh]hbuffer to remove}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubj )}(hRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jX)}(hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked callsh]hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h&You must know what list the SKB is on.h]h&You must know what list the SKB is on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_append (C function) c.skb_appendhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hWvoid skb_append (struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h]h)}(hVvoid skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj8hMubj)}(h skb_appendh]j%)}(h skb_appendh]h skb_append}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj8hMubj)}(hG(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j)}(hstruct sk_buff *oldh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjMsb c.skb_appendasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(holdh]hold}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_appendasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnewskh]hnewsk}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j c.skb_appendasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&hhhj8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj8hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMhjhhubjS)}(hhh]jX)}(happend a bufferh]happend a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *old`` buffer to insert after ``struct sk_buff *newsk`` buffer to insert ``struct sk_buff_head *list`` list to use **Description** Place a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h/``struct sk_buff *old`` buffer to insert after h](j)}(h``struct sk_buff *old``h]j)}(hj h]hstruct sk_buff *old}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to insert afterh]hbuffer to insert after}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h+``struct sk_buff *newsk`` buffer to insert h](j)}(h``struct sk_buff *newsk``h]j)}(hjDh]hstruct sk_buff *newsk}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj>ubj)}(hhh]jX)}(hbuffer to inserth]hbuffer to insert}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj}h]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]jX)}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_split (C function) c.skb_splithNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIvoid skb_split (struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h]h)}(hHvoid skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM1ubj)}(h skb_splith]j%)}(h skb_splith]h skb_split}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM1ubj)}(h:(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jj*sb c.skb_splitasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hstruct sk_buff *skb1h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j~ c.skb_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskb1h]hskb1}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h const u32 lenh](h)}(hjh]hconst}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(hu32h]hu32}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j~ c.skb_splitasbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hlenh]hlen}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM1ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM1hjhhubjS)}(hhh]jX)}(h0Split fragmented skb to two parts at length len.h]h0Split fragmented skb to two parts at length len.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` the buffer to split ``struct sk_buff *skb1`` the buffer to receive the second part ``const u32 len`` new length for skbh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM5hjubj)}(hhh](j)}(h,``struct sk_buff *skb`` the buffer to split h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjubj)}(hhh]jX)}(hthe buffer to splith]hthe buffer to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h?``struct sk_buff *skb1`` the buffer to receive the second part h](j)}(h``struct sk_buff *skb1``h]j)}(hjh]hstruct sk_buff *skb1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3hjubj)}(hhh]jX)}(h%the buffer to receive the second parth]h%the buffer to receive the second part}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM3hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM3hjubj)}(h$``const u32 len`` new length for skbh](j)}(h``const u32 len``h]j)}(hjMh]h const u32 len}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM5hjGubj)}(hhh]jX)}(hnew length for skbh]hnew length for skb}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM4hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM5hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_prepare_seq_read (C function)c.skb_prepare_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hmvoid skb_prepare_seq_read (struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h]h)}(hlvoid skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_prepare_seq_readh]j%)}(hskb_prepare_seq_readh]hskb_prepare_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_prepare_seq_readasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int fromh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int toh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_prepare_seq_readasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%Prepare a sequential read of skb datah]h%Prepare a sequential read of skb data}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXY**Parameters** ``struct sk_buff *skb`` the buffer to read ``unsigned int from`` lower offset of data to be read ``unsigned int to`` upper offset of data to be read ``struct skb_seq_state *st`` state variable **Description** Initializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h+``struct sk_buff *skb`` the buffer to read h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hthe buffer to readh]hthe buffer to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hlower offset of data to be readh]hlower offset of data to be read}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``unsigned int to`` upper offset of data to be read h](j)}(h``unsigned int to``h]j)}(hj,h]hunsigned int to}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubj)}(hhh]jX)}(hupper offset of data to be readh]hupper offset of data to be read}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjeh]hstruct skb_seq_state *st}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj_ubj)}(hhh]jX)}(hstate variableh]hstate variable}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h]hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_seq_read (C function)c.skb_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\unsigned int skb_seq_read (unsigned int consumed, const u8 **data, struct skb_seq_state *st)h]h)}(h[unsigned int skb_seq_read(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_seq_readh]j%)}(h skb_seq_readh]h skb_seq_read}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j)}(hunsigned int consumedh](j)}(hunsignedh]hunsigned}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hconsumedh]hconsumed}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(hconst u8 **datah](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj$sbc.skb_seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]jc.skb_seq_readasbuh1hhj ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hsth]hst}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hSequentially read skb datah]hSequentially read skb data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``unsigned int consumed`` number of bytes consumed by the caller so far ``const u8 **data`` destination pointer for data to be returned ``struct skb_seq_state *st`` state variable **Description** Reads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached. The caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block. Note 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. Note 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hjh]hunsigned int consumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h-number of bytes consumed by the caller so farh]h-number of bytes consumed by the caller so far}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``const u8 **data`` destination pointer for data to be returned h](j)}(h``const u8 **data``h]j)}(hj h]hconst u8 **data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h+destination pointer for data to be returnedh]h+destination pointer for data to be returned}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjBh]hstruct skb_seq_state *st}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj<ubj)}(hhh]jX)}(hstate variableh]hstate variable}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hXReads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.h](hReads a block of skb data at }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhi relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhj and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hThe caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.h](hEThe caller is not required to consume all of the data returned, i.e. }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hNote 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. h](j)}(hANote 1: The size of each block of data returned can be arbitrary,h]hANote 1: The size of each block of data returned can be arbitrary,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.h]hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hNote 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](j)}(h;Note 2: Fragment lists within fragments are not implementedh]h;Note 2: Fragment lists within fragments are not implemented}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hOat the moment, state->root_skb could be replaced with a stack for this purpose.h]hOat the moment, state->root_skb could be replaced with a stack for this purpose.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_abort_seq_read (C function)c.skb_abort_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h2void skb_abort_seq_read (struct skb_seq_state *st)h]h)}(h1void skb_abort_seq_read(struct skb_seq_state *st)h](j)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjhM]ubj)}(hskb_abort_seq_readh]j%)}(hskb_abort_seq_readh]hskb_abort_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjhM]ubj)}(h(struct skb_seq_state *st)h]j)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_abort_seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjhM]ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhM]ubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM]hjfhhubjS)}(hhh]jX)}(h#Abort a sequential read of skb datah]h#Abort a sequential read of skb data}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM]hj.hhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjhM]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct skb_seq_state *st`` state variable **Description** Must be called if skb_seq_read() was not called until it returned 0.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahjMubj)}(hhh]j)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjrh]hstruct skb_seq_state *st}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM^hjlubj)}(hhh]jX)}(hstate variableh]hstate variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjiubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`hjMubjX)}(hDMust be called if skb_seq_read() was not called until it returned 0.h]hDMust be called if skb_seq_read() was not called until it returned 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_seq_read (C function)c.skb_copy_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOint skb_copy_seq_read (struct skb_seq_state *st, int offset, void *to, int len)h]h)}(hNint skb_copy_seq_read(struct skb_seq_state *st, int offset, void *to, int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMkubj)}(hskb_copy_seq_readh]j%)}(hskb_copy_seq_readh]hskb_copy_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMkubj)}(h9(struct skb_seq_state *st, int offset, void *to, int len)h](j)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjsbc.skb_copy_seq_readasbuh1hhj+ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(h int offseth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(hvoid *toh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMkhjhhubjS)}(hhh]jX)}(h%copy from a skb_seq_state to a bufferh]h%copy from a skb_seq_state to a buffer}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhj[hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct skb_seq_state *st`` source skb_seq_state ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **Description** Copy **len** bytes from **offset** bytes into the source **st** to the destination buffer **to**. `offset` should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use `st` should be reset first. **Return** 0 on success or -EINVAL if the copy ended earlyh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohjzubj)}(hhh](j)}(h2``struct skb_seq_state *st`` source skb_seq_state h](j)}(h``struct skb_seq_state *st``h]j)}(hjh]hstruct skb_seq_state *st}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjubj)}(hhh]jX)}(hsource skb_seq_stateh]hsource skb_seq_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjh]h int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMmhjubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnhj ubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMnhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMnhjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjJh]hint len}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohjDubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMohj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMohjubeh}(h]h ]h"]h$]h&]uh1jhjzubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhjzubjX)}(hXCopy **len** bytes from **offset** bytes into the source **st** to the destination buffer **to**. `offset` should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use `st` should be reset first.h](hCopy }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes into the source }(hjhhhNhNubj)}(h**st**h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to the destination buffer }(hjhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubji)}(h`offset`h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubh should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use }(hjhhhNhNubji)}(h`st`h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubh should be reset first.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMphjzubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuhjzubjX)}(h/0 on success or -EINVAL if the copy ended earlyh]h/0 on success or -EINVAL if the copy ended early}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_find_text (C function)c.skb_find_texthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hnunsigned int skb_find_text (struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h]h)}(hmunsigned int skb_find_text(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](j)}(hunsignedh]hunsigned}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(hinth]hint}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhjkhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(h skb_find_texth]j%)}(h skb_find_texth]h skb_find_text}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMubj)}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_find_textasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int fromh](j)}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hfromh]hfrom}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int toh](j)}(hunsignedh]hunsigned}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ts_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h ts_configh]h ts_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_find_textasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjRhhubjS)}(hhh]jX)}(hFind a text pattern in skb datah]hFind a text pattern in skb data}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the buffer to look in ``unsigned int from`` search offset ``unsigned int to`` search limit ``struct ts_config *config`` textsearch configuration **Description** Finds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj)}(hhh](j)}(h.``struct sk_buff *skb`` the buffer to look in h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hthe buffer to look inh]hthe buffer to look in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``unsigned int from`` search offset h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h search offseth]h search offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``unsigned int to`` search limit h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h search limith]h search limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``struct ts_config *config`` textsearch configuration h](j)}(h``struct ts_config *config``h]j)}(hj7h]hstruct ts_config *config}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1ubj)}(hhh]jX)}(htextsearch configurationh]htextsearch configuration}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubjX)}(hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h]hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_rcsum (C function)c.skb_pull_rcsumhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=void * skb_pull_rcsum (struct sk_buff *skb, unsigned int len)h]h)}(h;void *skb_pull_rcsum(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hskb_pull_rcsumh]j%)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jjsbc.skb_pull_rcsumasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj ubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjOh]hunsigned int len}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubj)}(hhh]jX)}(hlength of data pulledh]hlength of data pulled}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jX)}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_segment (C function) c.skb_segmenthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSstruct sk_buff * skb_segment (struct sk_buff *head_skb, netdev_features_t features)h]h)}(hQstruct sk_buff *skb_segment(struct sk_buff *head_skb, netdev_features_t features)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j skb_segmentsb c.skb_segmentasbuh1hhjhhhjhMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMLubj)}(h skb_segmenth]j%)}(hjh]h skb_segment}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMLubj)}(h6(struct sk_buff *head_skb, netdev_features_t features)h](j)}(hstruct sk_buff *head_skbh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j c.skb_segmentasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hhead_skbh]hhead_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hnetdev_features_t featuresh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_segmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMLubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMLhjhhubjS)}(hhh]jX)}(h%Perform protocol segmentation on skb.h]h%Perform protocol segmentation on skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(hX_**Parameters** ``struct sk_buff *head_skb`` buffer to segment ``netdev_features_t features`` features for the output path (see dev->features) **Description** This function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhj8ubj)}(hhh](j)}(h/``struct sk_buff *head_skb`` buffer to segment h](j)}(h``struct sk_buff *head_skb``h]j)}(hj]h]hstruct sk_buff *head_skb}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMMhjWubj)}(hhh]jX)}(hbuffer to segmenth]hbuffer to segment}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMMhjTubj)}(hP``netdev_features_t features`` features for the output path (see dev->features) h](j)}(h``netdev_features_t features``h]j)}(hjh]hnetdev_features_t features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMNhjubj)}(hhh]jX)}(h0features for the output path (see dev->features)h]h0features for the output path (see dev->features)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhj8ubj )}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]jX)}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhjubah}(h]h ]h"]h$]h&]uh1j hjhMOhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_to_sgvec (C function)c.skb_to_sgvechNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSint skb_to_sgvec (struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h]h)}(hRint skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hMUubj)}(h skb_to_sgvech]j%)}(h skb_to_sgvech]h skb_to_sgvec}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hMUubj)}(hB(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsbc.skb_to_sgvecasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hstruct scatterlist *sgh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_to_sgvecasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsgh]hsg}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(h int offseth](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(hoffseth]hoffset}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hint lenh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj.hMUubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj.hMUubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMUhjhhubjS)}(hhh]jX)}(h/Fill a scatter-gather list from a socket bufferh]h/Fill a scatter-gather list from a socket buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hMUubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped ``struct scatterlist *sg`` The scatter-gather list to map into ``int offset`` The offset into the buffer's contents to start mapping ``int len`` Length of buffer space to be mapped **Description** Fill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMYhjubj)}(hhh](j)}(hJ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMVhjubj)}(hhh]jX)}(h1Socket buffer containing the buffers to be mappedh]h1Socket buffer containing the buffers to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubj)}(h?``struct scatterlist *sg`` The scatter-gather list to map into h](j)}(h``struct scatterlist *sg``h]j)}(hj4h]hstruct scatterlist *sg}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWhj.ubj)}(hhh]jX)}(h#The scatter-gather list to map intoh]h#The scatter-gather list to map into}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMWhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMWhjubj)}(hF``int offset`` The offset into the buffer's contents to start mapping h](j)}(h``int offset``h]j)}(hjmh]h int offset}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMXhjgubj)}(hhh]jX)}(h6The offset into the buffer's contents to start mappingh]h8The offset into the buffer’s contents to start mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h0``int len`` Length of buffer space to be mapped h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMYhjubj)}(hhh]jX)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[hjubj )}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]jX)}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZhjubah}(h]h ]h"]h$]h&]uh1j hj hMZhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow_data (C function)c.skb_cow_datahNtauh1hhj[hhhNhNubh)}(hhh](h)}(hNint skb_cow_data (struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h]h)}(hMint skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj>hMubj)}(h skb_cow_datah]j%)}(h skb_cow_datah]h skb_cow_data}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj>hMubj)}(h=(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjSsbc.skb_cow_dataasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h int tailbitsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htailbitsh]htailbits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hstruct sk_buff **trailerh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]jc.skb_cow_dataasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htrailerh]htrailer}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(hhhj>hMubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMhj%hhubjS)}(hhh]jX)}(h6Check that a socket buffer's data buffers are writableh]h8Check that a socket buffer’s data buffers are writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` The socket buffer to check. ``int tailbits`` Amount of trailing space to be added ``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins **Description** Make sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h4``struct sk_buff *skb`` The socket buffer to check. h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hThe socket buffer to check.h]hThe socket buffer to check.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``int tailbits`` Amount of trailing space to be added h](j)}(h``int tailbits``h]j)}(hjh]h int tailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h$Amount of trailing space to be addedh]h$Amount of trailing space to be added}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h]``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins h](j)}(h``struct sk_buff **trailer``h]j)}(hjUh]hstruct sk_buff **trailer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjOubj)}(hhh]jX)}(h?Returned pointer to the skb where the **tailbits** space beginsh](h&Returned pointer to the skb where the }(hjnhhhNhNubj)}(h **tailbits**h]htailbits}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh space begins}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jX)}(hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.h]hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hIf **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins.h](hIf }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2 is given, make sure that there is space to write }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 bytes of data beyond current end of socket buffer. }(hjhhhNhNubj)}(h **trailer**h]htrailer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< will be set to point to the skb in which this space begins.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(htThe number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h]hvThe number of scatterlist elements required to completely map the COW’d and extended socket buffer will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_sk (C function)c.skb_clone_skhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3struct sk_buff * skb_clone_sk (struct sk_buff *skb)h]h)}(h1struct sk_buff *skb_clone_sk(struct sk_buff *skb)h](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjRhMDubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}j skb_clone_sksbc.skb_clone_skasbuh1hhjAhhhjRhMDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjRhMDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAhhhjRhMDubj)}(h skb_clone_skh]j%)}(hjh]h skb_clone_sk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjRhMDubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_clone_skasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjRhMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjRhMDubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMDhj:hhubjS)}(hhh]jX)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjRhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to clone **Description** This function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb. When passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMHhj\ubj)}(hhh]j)}(h)``struct sk_buff *skb`` the skb to clone h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMEhj{ubj)}(hhh]jX)}(hthe skb to cloneh]hthe skb to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMGhj\ubjX)}(hThis function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb.h]hThis function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFhj\ubjX)}(hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h]hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_partial_csum_set (C function)c.skb_partial_csum_sethNtauh1hhj[hhhNhNubh)}(hhh](h)}(hCbool skb_partial_csum_set (struct sk_buff *skb, u16 start, u16 off)h]h)}(hBbool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM<ubj)}(hskb_partial_csum_seth]j%)}(hskb_partial_csum_seth]hskb_partial_csum_set}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM<ubj)}(h)(struct sk_buff *skb, u16 start, u16 off)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jj2sbc.skb_partial_csum_setasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(h u16 starth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_partial_csum_setasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hu16 offh](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.skb_partial_csum_setasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffh]hoff}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM<ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM<ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM<hjhhubjS)}(hhh]jX)}(h0set up and verify partial csum values for packeth]h0set up and verify partial csum values for packet}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hj\hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM<ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to set ``u16 start`` the number of bytes after skb->data to start checksumming. ``u16 off`` the offset from start to place the checksum. **Description** For untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops. This function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hj{ubj)}(hhh](j)}(h'``struct sk_buff *skb`` the skb to set h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hjubj)}(hhh]jX)}(hthe skb to seth]hthe skb to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(hI``u16 start`` the number of bytes after skb->data to start checksumming. h](j)}(h ``u16 start``h]j)}(hjh]h u16 start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hjubj)}(hhh]jX)}(h:the number of bytes after skb->data to start checksumming.h]h:the number of bytes after skb->data to start checksumming.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h9``u16 off`` the offset from start to place the checksum. h](j)}(h ``u16 off``h]j)}(hjh]hu16 off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hj ubj)}(hhh]jX)}(h,the offset from start to place the checksum.h]h,the offset from start to place the checksum.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM?hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM?hjubeh}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhj{ubjX)}(hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops.h]hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don’t oops.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hj{ubjX)}(hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h]hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_checksum_setup (C function)c.skb_checksum_setuphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>int skb_checksum_setup (struct sk_buff *skb, bool recalculate)h]h)}(h=int skb_checksum_setup(struct sk_buff *skb, bool recalculate)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM'ubj)}(hskb_checksum_setuph]j%)}(hskb_checksum_setuph]hskb_checksum_setup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM'ubj)}(h'(struct sk_buff *skb, bool recalculate)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_checksum_setupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool recalculateh](j)}(hjTh]hbool}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(h recalculateh]h recalculate}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM'ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hjhhubjS)}(hhh]jX)}(hset up partial checksum offseth]hset up partial checksum offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` the skb to set up ``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hjubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to set up h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjubj)}(hhh]jX)}(hthe skb to set uph]hthe skb to set up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(hL``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](j)}(h``bool recalculate``h]j)}(hjh]hbool recalculate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hj ubj)}(hhh]jX)}(h7if true the pseudo-header checksum will be recalculatedh]h7if true the pseudo-header checksum will be recalculated}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM)hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM*hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_checksum_trimmed (C function)c.skb_checksum_trimmedhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hstruct sk_buff * skb_checksum_trimmed (struct sk_buff *skb, unsigned int transport_len, __sum16(*skb_chkf)(struct sk_buff *skb))h]h)}(hstruct sk_buff *skb_checksum_trimmed(struct sk_buff *skb, unsigned int transport_len, __sum16 (*skb_chkf)(struct sk_buff *skb))h](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjvhMhubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_checksum_trimmedsbc.skb_checksum_trimmedasbuh1hhjehhhjvhMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjvhMhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjehhhjvhMhubj)}(hskb_checksum_trimmedh]j%)}(hjh]hskb_checksum_trimmed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjvhMhubj)}(h[(struct sk_buff *skb, unsigned int transport_len, __sum16 (*skb_chkf)(struct sk_buff *skb))h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int transport_lenh](j)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(h transport_lenh]h transport_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h(__sum16 (*skb_chkf)(struct sk_buff *skb)h](h)}(hhh]j%)}(h__sum16h]h__sum16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(h(h]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskb_chkfh]hskb_chkf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(h)h]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jc.skb_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjvhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjvhMhubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMhhj^hhubjS)}(hhh]jX)}(hvalidate checksum of an skbh]hvalidate checksum of an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhhjhhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhjvhMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX<**Parameters** ``struct sk_buff *skb`` the skb to check ``unsigned int transport_len`` the data length beyond the network header ``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use **Description** Applies the given checksum function skb_chkf to the provided skb. Returns a checked and maybe trimmed skb. Returns NULL on error. If the skb has data beyond the given transport length, then a trimmed & cloned skb is checked and returned. Caller needs to set the skb transport header and free any returned skb if it differs from the provided skb.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` the skb to check h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjubj)}(hhh]jX)}(hthe skb to checkh]hthe skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(hI``unsigned int transport_len`` the data length beyond the network header h](j)}(h``unsigned int transport_len``h]j)}(hjh]hunsigned int transport_len}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMjhjubj)}(hhh]jX)}(h)the data length beyond the network headerh]h)the data length beyond the network header}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMjhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMjhjubj)}(hE``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use h](j)}(h+``__sum16(*skb_chkf)(struct sk_buff *skb)``h]j)}(hjXh]h'__sum16(*skb_chkf)(struct sk_buff *skb)}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhjRubj)}(hhh]jX)}(hchecksum function to useh]hchecksum function to use}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMkhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMkhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMmhjubjX)}(hApplies the given checksum function skb_chkf to the provided skb. Returns a checked and maybe trimmed skb. Returns NULL on error.h]hApplies the given checksum function skb_chkf to the provided skb. Returns a checked and maybe trimmed skb. Returns NULL on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjubjX)}(hkIf the skb has data beyond the given transport length, then a trimmed & cloned skb is checked and returned.h]hkIf the skb has data beyond the given transport length, then a trimmed & cloned skb is checked and returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohjubjX)}(hkCaller needs to set the skb transport header and free any returned skb if it differs from the provided skb.h]hkCaller needs to set the skb transport header and free any returned skb if it differs from the provided skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_try_coalesce (C function)c.skb_try_coalescehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hgbool skb_try_coalesce (struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h]h)}(hfbool skb_try_coalesce(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_try_coalesceh]j%)}(hskb_try_coalesceh]hskb_try_coalesce}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hQ(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](j)}(hstruct sk_buff *toh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]j')}jjsbc.skb_try_coalesceasbuh1hhj.ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hstruct sk_buff *fromh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jlc.skb_try_coalesceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hbool *fragstolenh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h fragstolenh]h fragstolen}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hint *delta_truesizeh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hdelta_truesizeh]hdelta_truesize}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(htry to merge skb to prior oneh]htry to merge skb to prior one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *to`` prior buffer ``struct sk_buff *from`` buffer to add ``bool *fragstolen`` pointer to boolean ``int *delta_truesize`` how much more was allocated than was requestedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h$``struct sk_buff *to`` prior buffer h](j)}(h``struct sk_buff *to``h]j)}(hjh]hstruct sk_buff *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h prior bufferh]h prior buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct sk_buff *from`` buffer to add h](j)}(h``struct sk_buff *from``h]j)}(hj"h]hstruct sk_buff *from}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h buffer to addh]h buffer to add}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h(``bool *fragstolen`` pointer to boolean h](j)}(h``bool *fragstolen``h]j)}(hj[h]hbool *fragstolen}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjUubj)}(hhh]jX)}(hpointer to booleanh]hpointer to boolean}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(hF``int *delta_truesize`` how much more was allocated than was requestedh](j)}(h``int *delta_truesize``h]j)}(hjh]hint *delta_truesize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h.how much more was allocated than was requestedh]h.how much more was allocated than was requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_scrub_packet (C function)c.skb_scrub_packethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void skb_scrub_packet (struct sk_buff *skb, bool xnet)h]h)}(h5void skb_scrub_packet(struct sk_buff *skb, bool xnet)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hskb_scrub_packeth]j%)}(hskb_scrub_packeth]hskb_scrub_packet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h (struct sk_buff *skb, bool xnet)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsbc.skb_scrub_packetasbuh1hhj'ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(h bool xneth](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hxneth]hxnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h scrub an skbh]h scrub an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to clean ``bool xnet`` packet is crossing netns **Description** skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clean h](j)}(h``struct sk_buff *skb``h]j)}(hj#h]hstruct sk_buff *skb}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to cleanh]hbuffer to clean}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h'``bool xnet`` packet is crossing netns h](j)}(h ``bool xnet``h]j)}(hj\h]h bool xnet}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjVubj)}(hhh]jX)}(hpacket is crossing netnsh]hpacket is crossing netns}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hX\skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](hskb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (}(hjhhhNhNubj)}(h**xnet**h]hxnet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] == true). We have to clear all information in the skb that could impact namespace isolation.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_eth_pop (C function) c.skb_eth_pophNtauh1hhj[hhhNhNubh)}(hhh](h)}(h%int skb_eth_pop (struct sk_buff *skb)h]h)}(h$int skb_eth_pop(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_eth_poph]j%)}(h skb_eth_poph]h skb_eth_pop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsb c.skb_eth_popasbuh1hhj'ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h0Drop the Ethernet header at the head of a packeth]h0Drop the Ethernet header at the head of a packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` Socket buffer to modify **Description** Drop the Ethernet header of **skb**. Expects that skb->data points to the mac header and that no VLAN tags are present. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h$Drop the Ethernet header of **skb**.h](hDrop the Ethernet header of }(hj@hhhNhNubj)}(h**skb**h]hskb}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hRExpects that skb->data points to the mac header and that no VLAN tags are present.h]hRExpects that skb->data points to the mac header and that no VLAN tags are present.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_eth_push (C function)c.skb_eth_pushhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hZint skb_eth_push (struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h]h)}(hYint skb_eth_push(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_eth_pushh]j%)}(h skb_eth_pushh]h skb_eth_push}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hI(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_eth_pushasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned char *dsth](h)}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hunsignedh]hunsigned}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned char *srch](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrch]hsrc}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1Add a new Ethernet header at the head of a packeth]h1Add a new Ethernet header at the head of a packet}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj[hNhNubj})}(hX~**Parameters** ``struct sk_buff *skb`` Socket buffer to modify ``const unsigned char *dst`` Destination MAC address of the new header ``const unsigned char *src`` Source MAC address of the new header **Description** Prepend **skb** with a new Ethernet header. Expects that skb->data points to the mac header, which must be empty. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubj)}(hhh](j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``const unsigned char *dst`` Destination MAC address of the new header h](j)}(h``const unsigned char *dst``h]j)}(hjh]hconst unsigned char *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h)Destination MAC address of the new headerh]h)Destination MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``const unsigned char *src`` Source MAC address of the new header h](j)}(h``const unsigned char *src``h]j)}(hjh]hconst unsigned char *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h$Source MAC address of the new headerh]h$Source MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubjX)}(h+Prepend **skb** with a new Ethernet header.h](hPrepend }(hjUhhhNhNubj)}(h**skb**h]hskb}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh with a new Ethernet header.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubjX)}(hEExpects that skb->data points to the mac header, which must be empty.h]hEExpects that skb->data points to the mac header, which must be empty.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_push (C function)c.skb_mpls_pushhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hgint skb_mpls_push (struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h]h)}(hfint skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMIubj)}(h skb_mpls_pushh]j%)}(h skb_mpls_pushh]h skb_mpls_push}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMIubj)}(hU(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_mpls_pushasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h__be32 mpls_lseh](h)}(hhh]j%)}(h__be32h]h__be32}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j+c.skb_mpls_pushasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hmpls_lseh]hmpls_lse}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h__be16 mpls_protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j+c.skb_mpls_pushasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h mpls_protoh]h mpls_proto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int mac_lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_lenh]hmac_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool etherneth](j)}(hjTh]hbool}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hetherneth]hethernet}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMIubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMIhjhhubjS)}(hhh]jX)}(hCpush a new MPLS header after mac_len bytes from start of the packeth]hCpush a new MPLS header after mac_len bytes from start of the packet}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIhjjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` MPLS label stack entry to push ``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMMhjubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLhjubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubj)}(h3``__be32 mpls_lse`` MPLS label stack entry to push h](j)}(h``__be32 mpls_lse``h]j)}(hjh]h__be32 mpls_lse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMMhjubj)}(hhh]jX)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(hR``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) h](j)}(h``__be16 mpls_proto``h]j)}(hj h]h__be16 mpls_proto}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMNhjubj)}(hhh]jX)}(h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)h]h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMNhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMNhjubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjYh]h int mac_len}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhjSubj)}(hhh]jX)}(hlength of the MAC headerh]hlength of the MAC header}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMOhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMOhjubj)}(h[``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet h](j)}(h``bool ethernet``h]j)}(hjh]h bool ethernet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMQhjubj)}(hhh]jX)}(hHflag to indicate if the resulting packet after skb_mpls_push is etherneth]hHflag to indicate if the resulting packet after skb_mpls_push is ethernet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMShjubjX)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMRhjubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_pop (C function)c.skb_mpls_pophNtauh1hhj[hhhNhNubh)}(hhh](h)}(hUint skb_mpls_pop (struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h]h)}(hTint skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hMubj)}(h skb_mpls_poph]j%)}(h skb_mpls_poph]h skb_mpls_pop}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hMubj)}(hD(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjEsbc.skb_mpls_popasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(h__be16 next_protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_mpls_popasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h next_protoh]h next_proto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(h int mac_lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_lenh]hmac_len}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(h bool etherneth](j)}(hjTh]hbool}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hetherneth]hethernet}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj0hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhjhhubjS)}(hhh]jX)}(hpop the outermost MPLS headerh]hpop the outermost MPLS header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX>**Parameters** ``struct sk_buff *skb`` buffer ``__be16 next_proto`` ethertype of header after popped MPLS header ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the packet is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``__be16 next_proto`` ethertype of header after popped MPLS header h](j)}(h``__be16 next_proto``h]j)}(hj h]h__be16 next_proto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h,ethertype of header after popped MPLS headerh]h,ethertype of header after popped MPLS header}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjFh]h int mac_len}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj@ubj)}(hhh]jX)}(hlength of the MAC headerh]hlength of the MAC header}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubj)}(h=``bool ethernet`` flag to indicate if the packet is ethernet h](j)}(h``bool ethernet``h]j)}(hjh]h bool ethernet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(hhh]jX)}(h*flag to indicate if the packet is etherneth]h*flag to indicate if the packet is ethernet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_mpls_update_lse (C function)c.skb_mpls_update_lsehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>int skb_mpls_update_lse (struct sk_buff *skb, __be32 mpls_lse)h]h)}(h=int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hskb_mpls_update_lseh]j%)}(hskb_mpls_update_lseh]hskb_mpls_update_lse}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h&(struct sk_buff *skb, __be32 mpls_lse)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jj1sbc.skb_mpls_update_lseasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(h__be32 mpls_lseh](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_mpls_update_lseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmpls_lseh]hmpls_lse}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h,modify outermost MPLS header and update csumh]h,modify outermost MPLS header and update csum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` new MPLS label stack entry to update to **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjWh]hstruct sk_buff *skb}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjQubj)}(hhh]jX)}(hbufferh]hbuffer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(h<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hjh]h__be32 mpls_lse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h'new MPLS label stack entry to update toh]h'new MPLS label stack entry to update to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubjX)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_dec_ttl (C function)c.skb_mpls_dec_ttlhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h*int skb_mpls_dec_ttl (struct sk_buff *skb)h]h)}(h)int skb_mpls_dec_ttl(struct sk_buff *skb)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj. hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj- hMubj)}(hskb_mpls_dec_ttlh]j%)}(hskb_mpls_dec_ttlh]hskb_mpls_dec_ttl}(hj@ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj< ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj- hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj\ hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjX ubj)}(h h]h }(hji hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjz hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj| modnameN classnameNjj!)}j$]j')}jjB sbc.skb_mpls_dec_ttlasbuh1hhjX ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjX ubj%)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjT ubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj- hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj- hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj- hMhj hhubjS)}(hhh]jX)}(h.decrement the TTL of the outermost MPLS headerh]h.decrement the TTL of the outermost MPLS header}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj- hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hj" hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5 hMhj6 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj5 hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj[ h]h Description}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!alloc_skb_with_frags (C function)c.alloc_skb_with_fragshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hstruct sk_buff * alloc_skb_with_frags (unsigned long header_len, unsigned long data_len, int order, int *errcode, gfp_t gfp_mask)h]h)}(hstruct sk_buff *alloc_skb_with_frags(unsigned long header_len, unsigned long data_len, int order, int *errcode, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jalloc_skb_with_fragssbc.alloc_skb_with_fragsasbuh1hhj hhhj hMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhj hMubj)}(halloc_skb_with_fragsh]j%)}(hj h]halloc_skb_with_frags}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h[(unsigned long header_len, unsigned long data_len, int order, int *errcode, gfp_t gfp_mask)h](j)}(hunsigned long header_lenh](j)}(hunsignedh]hunsigned}(hj) hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj% ubj)}(h h]h }(hj7 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj% ubj)}(hlongh]hlong}(hjE hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj% ubj)}(h h]h }(hjS hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj% ubj%)}(h header_lenh]h header_len}(hja hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj% ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj! ubj)}(hunsigned long data_lenh](j)}(hunsignedh]hunsigned}(hjz hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv ubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv ubj%)}(hdata_lenh]hdata_len}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj! ubj)}(h int orderh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(horderh]horder}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj! ubj)}(h int *errcodeh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(herrcodeh]herrcode}(hj) hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj! ubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjE hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjG modnameN classnameNjj!)}j$]j c.alloc_skb_with_fragsasbuh1hhj> ubj)}(h h]h }(hjc hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj> ubj%)}(hgfp_maskh]hgfp_mask}(hjq hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj> ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj! ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(hallocate skb with page fragsh]hallocate skb with page frags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hXT**Parameters** ``unsigned long header_len`` size of linear part ``unsigned long data_len`` needed length in frags ``int order`` max page order desired. ``int *errcode`` pointer to error code if any ``gfp_t gfp_mask`` allocation mask **Description** This can be used to allocate a paged skb, given a maximal order for frags.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh](j)}(h1``unsigned long header_len`` size of linear part h](j)}(h``unsigned long header_len``h]j)}(hj h]hunsigned long header_len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(hsize of linear parth]hsize of linear part}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h2``unsigned long data_len`` needed length in frags h](j)}(h``unsigned long data_len``h]j)}(hj h]hunsigned long data_len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(hneeded length in fragsh]hneeded length in frags}(hj. hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj* hMhj+ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj* hMhj ubj)}(h&``int order`` max page order desired. h](j)}(h ``int order``h]j)}(hjN h]h int order}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjH ubj)}(hhh]jX)}(hmax page order desired.h]hmax page order desired.}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjc hMhjd ubah}(h]h ]h"]h$]h&]uh1jhjH ubeh}(h]h ]h"]h$]h&]uh1jhjc hMhj ubj)}(h.``int *errcode`` pointer to error code if any h](j)}(h``int *errcode``h]j)}(hj h]h int *errcode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(hpointer to error code if anyh]hpointer to error code if any}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hj h]hgfp_t gfp_mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(hJThis can be used to allocate a paged skb, given a maximal order for frags.h]hJThis can be used to allocate a paged skb, given a maximal order for frags.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_condense (C function)c.skb_condensehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h'void skb_condense (struct sk_buff *skb)h]h)}(h&void skb_condense(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjNhMubj)}(h skb_condenseh]j%)}(h skb_condenseh]h skb_condense}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhjNhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjcsbc.skb_condenseasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubah}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhjNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhjNhMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhMhj5hhubjS)}(hhh]jX)}(h1try to get rid of fragments/frag_list if possibleh]h1try to get rid of fragments/frag_list if possible}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer **Description** Can be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize. **Notes** We do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h](jX)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjAh]hstruct sk_buff *skb}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.h]hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h]jX)}(hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h]hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_ext_add (C function) c.skb_ext_addhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h skb_ext_addh]j%)}(h skb_ext_addh]h skb_ext_add}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h)(struct sk_buff *skb, enum skb_ext_id id)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j')}jj"sb c.skb_ext_addasbuh1hhj8ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(henum skb_ext_id idh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_ext_idh]h skb_ext_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jv c.skb_ext_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hidh]hid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1allocate space for given extension, COW if neededh]h1allocate space for given extension, COW if needed}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer ``enum skb_ext_id id`` extension to allocate space for **Description** Allocates enough space for the given extension. If the extension is already present, a pointer to that extension is returned. If the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers. Returns pointer to the extension or NULL on allocation failure.h](jX)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj>ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjch]hstruct sk_buff *skb}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj]ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjZubj)}(h7``enum skb_ext_id id`` extension to allocate space for h](j)}(h``enum skb_ext_id id``h]j)}(hjh]henum skb_ext_id id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hextension to allocate space forh]hextension to allocate space for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjZubeh}(h]h ]h"]h$]h&]uh1jhj>ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj>ubjX)}(h}Allocates enough space for the given extension. If the extension is already present, a pointer to that extension is returned.h]h}Allocates enough space for the given extension. If the extension is already present, a pointer to that extension is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj>ubjX)}(hIf the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers.h]hIf the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj>ubjX)}(h?Returns pointer to the extension or NULL on allocation failure.h]h?Returns pointer to the extension or NULL on allocation failure.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_splice_from_iter (C function)c.skb_splice_from_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hZssize_t skb_splice_from_iter (struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize)h]h)}(hYssize_t skb_splice_from_iter(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jskb_splice_from_itersbc.skb_splice_from_iterasbuh1hhj6hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhj^hM@ubj)}(hskb_splice_from_iterh]j%)}(hj[h]hskb_splice_from_iter}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhj^hM@ubj)}(h=(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jYc.skb_splice_from_iterasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct iov_iter *iterh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jYc.skb_splice_from_iterasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hssize_t maxsizeh](h)}(hhh]j%)}(hssize_th]hssize_t}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jYc.skb_splice_from_iterasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hmaxsizeh]hmaxsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhj^hM@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj^hM@ubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hM@hj/hhubjS)}(hhh]jX)}(h Splice (or copy) pages to skbuffh]h Splice (or copy) pages to skbuff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hjhhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj^hM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX5**Parameters** ``struct sk_buff *skb`` The buffer to add pages to ``struct iov_iter *iter`` Iterator representing the pages to be added ``ssize_t maxsize`` Maximum amount of pages to be added **Description** This is a common helper function for supporting MSG_SPLICE_PAGES. It extracts pages from an iterator and adds them to the socket buffer if possible, copying them to fragments if not possible (such as if they're slab pages). Returns the amount of data spliced/copied or -EMSGSIZE if there's insufficient space in the buffer to transfer anything.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhjubj)}(hhh](j)}(h3``struct sk_buff *skb`` The buffer to add pages to h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhjubj)}(hhh]jX)}(hThe buffer to add pages toh]hThe buffer to add pages to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(hF``struct iov_iter *iter`` Iterator representing the pages to be added h](j)}(h``struct iov_iter *iter``h]j)}(hj?h]hstruct iov_iter *iter}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhj9ubj)}(hhh]jX)}(h+Iterator representing the pages to be addedh]h+Iterator representing the pages to be added}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMBhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMBhjubj)}(h8``ssize_t maxsize`` Maximum amount of pages to be added h](j)}(h``ssize_t maxsize``h]j)}(hjxh]hssize_t maxsize}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjrubj)}(hhh]jX)}(h#Maximum amount of pages to be addedh]h#Maximum amount of pages to be added}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMEhjubjX)}(hThis is a common helper function for supporting MSG_SPLICE_PAGES. It extracts pages from an iterator and adds them to the socket buffer if possible, copying them to fragments if not possible (such as if they're slab pages).h]hThis is a common helper function for supporting MSG_SPLICE_PAGES. It extracts pages from an iterator and adds them to the socket buffer if possible, copying them to fragments if not possible (such as if they’re slab pages).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhjubjX)}(hxReturns the amount of data spliced/copied or -EMSGSIZE if there's insufficient space in the buffer to transfer anything.h]hzReturns the amount of data spliced/copied or -EMSGSIZE if there’s insufficient space in the buffer to transfer anything.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_ns_capable (C function)c.sk_ns_capablehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSbool sk_ns_capable (const struct sock *sk, struct user_namespace *user_ns, int cap)h]h)}(hRbool sk_ns_capable(const struct sock *sk, struct user_namespace *user_ns, int cap)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h sk_ns_capableh]j%)}(h sk_ns_capableh]h sk_ns_capable}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h@(const struct sock *sk, struct user_namespace *user_ns, int cap)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hsockh]hsock}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jj)sbc.sk_ns_capableasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hstruct user_namespace *user_nsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(huser_namespaceh]huser_namespace}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.sk_ns_capableasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(huser_nsh]huser_ns}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hint caph](j)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hcaph]hcap}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(hGeneral socket capability testh]hGeneral socket capability test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX{**Parameters** ``const struct sock *sk`` Socket to use a capability on or through ``struct user_namespace *user_ns`` The user namespace of the capability to use ``int cap`` The capability to use **Description** Test to see if the opener of the socket had when the socket was created and the current process has the capability **cap** in the user namespace **user_ns**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh](j)}(hC``const struct sock *sk`` Socket to use a capability on or through h](j)}(h``const struct sock *sk``h]j)}(hjh]hconst struct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh]jX)}(h(Socket to use a capability on or throughh]h(Socket to use a capability on or through}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hO``struct user_namespace *user_ns`` The user namespace of the capability to use h](j)}(h"``struct user_namespace *user_ns``h]j)}(hjh]hstruct user_namespace *user_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh]jX)}(h+The user namespace of the capability to useh]h+The user namespace of the capability to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h"``int cap`` The capability to use h](j)}(h ``int cap``h]j)}(hj9h]hint cap}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj3ubj)}(hhh]jX)}(hThe capability to useh]hThe capability to use}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhKhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubjX)}(hTest to see if the opener of the socket had when the socket was created and the current process has the capability **cap** in the user namespace **user_ns**.h](hsTest to see if the opener of the socket had when the socket was created and the current process has the capability }(hjhhhNhNubj)}(h**cap**h]hcap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the user namespace }(hjhhhNhNubj)}(h **user_ns**h]huser_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_capable (C function) c.sk_capablehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h0bool sk_capable (const struct sock *sk, int cap)h]h)}(h/bool sk_capable(const struct sock *sk, int cap)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h sk_capableh]j%)}(h sk_capableh]h sk_capable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h (const struct sock *sk, int cap)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjsb c.sk_capableasbuh1hhjubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint caph](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcaph]hcap}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(hSocket global capability testh]hSocket global capability test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX%**Parameters** ``const struct sock *sk`` Socket to use a capability on or through ``int cap`` The global capability to use **Description** Test to see if the opener of the socket had when the socket was created and the current process has the capability **cap** in all user namespaces.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh](j)}(hC``const struct sock *sk`` Socket to use a capability on or through h](j)}(h``const struct sock *sk``h]j)}(hj-h]hconst struct sock *sk}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj'ubj)}(hhh]jX)}(h(Socket to use a capability on or throughh]h(Socket to use a capability on or through}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhKhj$ubj)}(h)``int cap`` The global capability to use h](j)}(h ``int cap``h]j)}(hjfh]hint cap}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj`ubj)}(hhh]jX)}(hThe global capability to useh]hThe global capability to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubjX)}(hTest to see if the opener of the socket had when the socket was created and the current process has the capability **cap** in all user namespaces.h](hsTest to see if the opener of the socket had when the socket was created and the current process has the capability }(hjhhhNhNubj)}(h**cap**h]hcap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in all user namespaces.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_net_capable (C function)c.sk_net_capablehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4bool sk_net_capable (const struct sock *sk, int cap)h]h)}(h3bool sk_net_capable(const struct sock *sk, int cap)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hsk_net_capableh]j%)}(hsk_net_capableh]hsk_net_capable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h (const struct sock *sk, int cap)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hsockh]hsock}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jjsbc.sk_net_capableasbuh1hhj0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(hint caph](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcaph]hcap}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h(Network namespace socket capability testh]h(Network namespace socket capability test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX<**Parameters** ``const struct sock *sk`` Socket to use a capability on or through ``int cap`` The capability to use **Description** Test to see if the opener of the socket had when the socket was created and the current process has the capability **cap** over the network namespace the socket is a member of.h](jX)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj#ubj)}(hhh](j)}(hC``const struct sock *sk`` Socket to use a capability on or through h](j)}(h``const struct sock *sk``h]j)}(hjHh]hconst struct sock *sk}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjBubj)}(hhh]jX)}(h(Socket to use a capability on or throughh]h(Socket to use a capability on or through}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhj?ubj)}(h"``int cap`` The capability to use h](j)}(h ``int cap``h]j)}(hjh]hint cap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj{ubj)}(hhh]jX)}(hThe capability to useh]hThe capability to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj#ubjX)}(hTest to see if the opener of the socket had when the socket was created and the current process has the capability **cap** over the network namespace the socket is a member of.h](hsTest to see if the opener of the socket had when the socket was created and the current process has the capability }(hjhhhNhNubj)}(h**cap**h]hcap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh6 over the network namespace the socket is a member of.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_set_memalloc (C function)c.sk_set_memallochNtauh1hhj[hhhNhNubh)}(hhh](h)}(h&void sk_set_memalloc (struct sock *sk)h]h)}(h%void sk_set_memalloc(struct sock *sk)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM'ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj!hM'ubj)}(hsk_set_memalloch]j%)}(hsk_set_memalloch]hsk_set_memalloc}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj!hM'ubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hsockh]hsock}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jj6sbc.sk_set_memallocasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj!hM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hM'ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hM'hjhhubjS)}(hhh]jX)}(hsets ``SOCK_MEMALLOC``h](hsets }(hjhhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj!hM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sock *sk`` socket to set it on **Description** Set ``SOCK_MEMALLOC`` on a socket for access to emergency reserves. It's the responsibility of the admin to adjust min_free_kbytes to meet the requirementsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM+hjubj)}(hhh]j)}(h(``struct sock *sk`` socket to set it on h](j)}(h``struct sock *sk``h]j)}(hj"h]hstruct sock *sk}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM(hjubj)}(hhh]jX)}(hsocket to set it onh]hsocket to set it on}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hM(hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM(hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj]h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM*hjubjX)}(hSet ``SOCK_MEMALLOC`` on a socket for access to emergency reserves. It's the responsibility of the admin to adjust min_free_kbytes to meet the requirementsh](hSet }(hjshhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh on a socket for access to emergency reserves. It’s the responsibility of the admin to adjust min_free_kbytes to meet the requirements}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM)hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_alloc (C function) c.sk_allochNtauh1hhj[hhhNhNubh)}(hhh](h)}(hbstruct sock * sk_alloc (struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h]h)}(h`struct sock *sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jsk_allocsb c.sk_allocasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hsk_alloch]j%)}(hjh]hsk_alloc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hK(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(hneth]hnet}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j c.sk_allocasbuh1hhj*ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(h int familyh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfamilyh]hfamily}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hgfp_t priorityh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.sk_allocasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpriorityh]hpriority}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hstruct proto *proth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hprotoh]hproto}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j c.sk_allocasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hproth]hprot}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hint kernh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hkernh]hkern}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%All socket objects are allocated hereh]h%All socket objects are allocated here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX,**Parameters** ``struct net *net`` the applicable net namespace ``int family`` protocol family ``gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) ``struct proto *prot`` struct proto associated with this new sock instance ``int kern`` is this to be a kernel socket?h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj h]hstruct net *net}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj ubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj' hMhj( ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj' hMhj ubj)}(h``int family`` protocol family h](j)}(h``int family``h]j)}(hjK h]h int family}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjE ubj)}(hhh]jX)}(hprotocol familyh]hprotocol family}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj` hMhja ubah}(h]h ]h"]h$]h&]uh1jhjE ubeh}(h]h ]h"]h$]h&]uh1jhj` hMhj ubj)}(hH``gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``gfp_t priority``h]j)}(hj h]hgfp_t priority}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj~ ubj)}(hhh]jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hj hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, etc)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(hK``struct proto *prot`` struct proto associated with this new sock instance h](j)}(h``struct proto *prot``h]j)}(hj h]hstruct proto *prot}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj ubj)}(hhh]jX)}(h3struct proto associated with this new sock instanceh]h3struct proto associated with this new sock instance}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h+``int kern`` is this to be a kernel socket?h](j)}(h ``int kern``h]j)}(hj!h]hint kern}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj!ubj)}(hhh]jX)}(his this to be a kernel socket?h]his this to be a kernel socket?}(hj3!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj0!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj/!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_clone_lock (C function)c.sk_clone_lockhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIstruct sock * sk_clone_lock (const struct sock *sk, const gfp_t priority)h]h)}(hGstruct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority)h](h)}(hjh]hstruct}(hjt!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjp!hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp!hhhj!hM ubh)}(hhh]j%)}(hsockh]hsock}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}j sk_clone_locksbc.sk_clone_lockasbuh1hhjp!hhhj!hM ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp!hhhj!hM ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjp!hhhj!hM ubj)}(h sk_clone_lockh]j%)}(hj!h]h sk_clone_lock}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjp!hhhj!hM ubj)}(h-(const struct sock *sk, const gfp_t priority)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hjh]hstruct}(hj "hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hsockh]hsock}(hj'"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)"modnameN classnameNjj!)}j$]j!c.sk_clone_lockasbuh1hhj!ubj)}(h h]h }(hjE"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hjS"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hskh]hsk}(hj`"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hconst gfp_t priorityh](h)}(hjh]hconst}(hjy"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhju"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju"ubh)}(hhh]j%)}(hgfp_th]hgfp_t}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j!c.sk_clone_lockasbuh1hhju"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju"ubj%)}(hpriorityh]hpriority}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjp!hhhj!hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjl!hhhj!hM ubah}(h]jg!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hM hji!hhubjS)}(hhh]jX)}(h"clone a socket, and lock its cloneh]h"clone a socket, and lock its clone}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj"hhubah}(h]h ]h"]h$]h&]uh1jRhji!hhhj!hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#jxj#jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sock *sk`` the socket to clone ``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) **Description** Caller must unlock socket even in error path (bh_unlock_sock(newsk))h](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj #ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj #ubj)}(hhh](j)}(h.``const struct sock *sk`` the socket to clone h](j)}(h``const struct sock *sk``h]j)}(hj.#h]hconst struct sock *sk}(hj0#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,#ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj(#ubj)}(hhh]jX)}(hthe socket to cloneh]hthe socket to clone}(hjG#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjC#hM hjD#ubah}(h]h ]h"]h$]h&]uh1jhj(#ubeh}(h]h ]h"]h$]h&]uh1jhjC#hM hj%#ubj)}(hN``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``const gfp_t priority``h]j)}(hjg#h]hconst gfp_t priority}(hji#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje#ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hja#ubj)}(hhh]jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hj#hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh, }(hj#hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh, etc)}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj|#hM hj}#ubah}(h]h ]h"]h$]h&]uh1jhja#ubeh}(h]h ]h"]h$]h&]uh1jhj|#hM hj%#ubeh}(h]h ]h"]h$]h&]uh1jhj #ubjX)}(h**Description**h]j)}(hj#h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj #ubj )}(hDCaller must unlock socket even in error path (bh_unlock_sock(newsk))h]jX)}(hj#h]hDCaller must unlock socket even in error path (bh_unlock_sock(newsk))}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj#ubah}(h]h ]h"]h$]h&]uh1j hj#hM hj #ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_page_frag_refill (C function)c.skb_page_frag_refillhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hObool skb_page_frag_refill (unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h]h)}(hNbool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j)}(hjTh]hbool}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM" ubj)}(h h]h }(hj"$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj!$hM" ubj)}(hskb_page_frag_refillh]j%)}(hskb_page_frag_refillh]hskb_page_frag_refill}(hj4$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$hhhj!$hM" ubj)}(h5(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j)}(hunsigned int szh](j)}(hunsignedh]hunsigned}(hjP$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL$ubj)}(h h]h }(hj^$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL$ubj)}(hinth]hint}(hjl$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL$ubj)}(h h]h }(hjz$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL$ubj%)}(hszh]hsz}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH$ubj)}(hstruct page_frag *pfragh](h)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h page_fragh]h page_frag}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jj6$sbc.skb_page_frag_refillasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hpfragh]hpfrag}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH$ubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j$c.skb_page_frag_refillasbuh1hhj%ubj)}(h h]h }(hj4%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj%)}(hgfph]hgfp}(hjB%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH$ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj$hhhj!$hM" ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj $hhhj!$hM" ubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!$hM" hj $hhubjS)}(hhh]jX)}(h+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hjl%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM" hji%hhubah}(h]h ]h"]h$]h&]uh1jRhj $hhhj!$hM" ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhj[hNhNubj})}(hX\**Parameters** ``unsigned int sz`` minimum size of the fragment we want to get ``struct page_frag *pfrag`` pointer to page_frag ``gfp_t gfp`` priority for memory allocation **Note** While this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, **sz** MUST be less or equal than PAGE_SIZE.h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM& hj%ubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hj%h]hunsigned int sz}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM# hj%ubj)}(hhh]jX)}(h+minimum size of the fragment we want to geth]h+minimum size of the fragment we want to get}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM# hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM# hj%ubj)}(h1``struct page_frag *pfrag`` pointer to page_frag h](j)}(h``struct page_frag *pfrag``h]j)}(hj%h]hstruct page_frag *pfrag}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM$ hj%ubj)}(hhh]jX)}(hpointer to page_fragh]hpointer to page_frag}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM$ hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM$ hj%ubj)}(h-``gfp_t gfp`` priority for memory allocation h](j)}(h ``gfp_t gfp``h]j)}(hj&h]h gfp_t gfp}(hj!&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM% hj&ubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hj8&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4&hM% hj5&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj4&hM% hj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Note**h]j)}(hjZ&h]hNote}(hj\&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX&ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM' hj%ubjX)}(hWhile this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, **sz** MUST be less or equal than PAGE_SIZE.h](hoWhile this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, }(hjp&hhhNhNubj)}(h**sz**h]hsz}(hjx&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp&ubh& MUST be less or equal than PAGE_SIZE.}(hjp&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM' hj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_wait_data (C function)c.sk_wait_datahNtauh1hhj[hhhNhNubh)}(hhh](h)}(hJint sk_wait_data (struct sock *sk, long *timeo, const struct sk_buff *skb)h]h)}(hIint sk_wait_data(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj&hM ubj)}(h sk_wait_datah]j%)}(h sk_wait_datah]h sk_wait_data}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj&hM ubj)}(h9(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hsockh]hsock}(hj 'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jj&sbc.sk_wait_dataasbuh1hhj&ubj)}(h h]h }(hj,'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj:'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hskh]hsk}(hjG'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(h long *timeoh](j)}(hlongh]hlong}(hj`'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\'ubj)}(h h]h }(hjn'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\'ubj;)}(hj>h]h*}(hj|'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\'ubj%)}(htimeoh]htimeo}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j('c.sk_wait_dataasbuh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hskbh]hskb}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&hhhj&hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj&hM ubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hM hj&hhubjS)}(hhh]jX)}(h+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hj>(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj;(hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj&hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjV(jxjV(jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` sock to wait on ``long *timeo`` for how long ``const struct sk_buff *skb`` last skb seen on sk_receive_queue **Description** Now socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.h](jX)}(h**Parameters**h]j)}(hj`(h]h Parameters}(hjb(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^(ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjZ(ubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hj(h]hstruct sock *sk}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}(ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjy(ubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hM hj(ubah}(h]h ]h"]h$]h&]uh1jhjy(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM hjv(ubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hj(h]h long *timeo}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj(ubj)}(hhh]jX)}(h for how longh]h for how long}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hM hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM hjv(ubj)}(h@``const struct sk_buff *skb`` last skb seen on sk_receive_queue h](j)}(h``const struct sk_buff *skb``h]j)}(hj(h]hconst struct sk_buff *skb}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj(ubj)}(hhh]jX)}(h!last skb seen on sk_receive_queueh]h!last skb seen on sk_receive_queue}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM hj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hM hjv(ubeh}(h]h ]h"]h$]h&]uh1jhjZ(ubjX)}(h**Description**h]j)}(hj,)h]h Description}(hj.)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*)ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjZ(ubjX)}(hNow socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.h]hNow socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.}(hjB)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjZ(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sk_mem_schedule (C function)c.__sk_mem_schedulehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h;int __sk_mem_schedule (struct sock *sk, int size, int kind)h]h)}(h:int __sk_mem_schedule(struct sock *sk, int size, int kind)h](j)}(hinth]hint}(hjq)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm)hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM) ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm)hhhj)hM) ubj)}(h__sk_mem_scheduleh]j%)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjm)hhhj)hM) ubj)}(h%(struct sock *sk, int size, int kind)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hsockh]hsock}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jj)sbc.__sk_mem_scheduleasbuh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hskh]hsk}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hint sizeh](j)}(hinth]hint}(hj *hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj.*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(hsizeh]hsize}(hj<*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hint kindh](j)}(hinth]hint}(hjU*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ*ubj)}(h h]h }(hjc*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ*ubj%)}(hkindh]hkind}(hjq*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjm)hhhj)hM) ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhji)hhhj)hM) ubah}(h]jd)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hM) hjf)hhubjS)}(hhh]jX)}(h.increase sk_forward_alloc and memory_allocatedh]h.increase sk_forward_alloc and memory_allocated}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM) hj*hhubah}(h]h ]h"]h$]h&]uh1jRhjf)hhhj)hM) ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj[hNhNubj})}(hXZ**Parameters** ``struct sock *sk`` socket ``int size`` memory size to allocate ``int kind`` allocation type **Description** If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h](jX)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM- hj*ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj*h]hstruct sock *sk}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM* hj*ubj)}(hhh]jX)}(hsocketh]hsocket}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hM* hj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hM* hj*ubj)}(h%``int size`` memory size to allocate h](j)}(h ``int size``h]j)}(hj+h]hint size}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM+ hj+ubj)}(hhh]jX)}(hmemory size to allocateh]hmemory size to allocate}(hj.+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*+hM+ hj++ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj*+hM+ hj*ubj)}(h``int kind`` allocation type h](j)}(h ``int kind``h]j)}(hjN+h]hint kind}(hjP+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL+ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM, hjH+ubj)}(hhh]jX)}(hallocation typeh]hallocation type}(hjg+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjc+hM, hjd+ubah}(h]h ]h"]h$]h&]uh1jhjH+ubeh}(h]h ]h"]h$]h&]uh1jhjc+hM, hj*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM. hj*ubj )}(hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h]jX)}(hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h]hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM- hj+ubah}(h]h ]h"]h$]h&]uh1j hj+hM- hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sk_mem_reclaim (C function)c.__sk_mem_reclaimhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3void __sk_mem_reclaim (struct sock *sk, int amount)h]h)}(h2void __sk_mem_reclaim(struct sock *sk, int amount)h](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMR ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj+hMR ubj)}(h__sk_mem_reclaimh]j%)}(h__sk_mem_reclaimh]h__sk_mem_reclaim}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj+hMR ubj)}(h(struct sock *sk, int amount)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj",hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hsockh]hsock}(hj3,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5,modnameN classnameNjj!)}j$]j')}jj+sbc.__sk_mem_reclaimasbuh1hhj,ubj)}(h h]h }(hjS,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hja,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hskh]hsk}(hjn,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ,ubj)}(h int amounth](j)}(hinth]hint}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(hamounth]hamount}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ,ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj+hMR ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj+hMR ubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hMR hj+hhubjS)}(hhh]jX)}(h-reclaim sk_forward_alloc and memory_allocatedh]h-reclaim sk_forward_alloc and memory_allocated}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMR hj,hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj+hMR ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhj[hNhNubj})}(hu**Parameters** ``struct sock *sk`` socket ``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](jX)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMV hj,ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj-h]hstruct sock *sk}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj -ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMS hj-ubj)}(hhh]jX)}(hsocketh]hsocket}(hj'-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#-hMS hj$-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj#-hMS hj-ubj)}(hE``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](j)}(h``int amount``h]j)}(hjG-h]h int amount}(hjI-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE-ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMU hjA-ubj)}(hhh]jX)}(h6number of bytes (rounded down to a PAGE_SIZE multiple)h]h6number of bytes (rounded down to a PAGE_SIZE multiple)}(hj`-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMT hj]-ubah}(h]h ]h"]h$]h&]uh1jhjA-ubeh}(h]h ]h"]h$]h&]uh1jhj\-hMU hj-ubeh}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$__skb_try_recv_datagram (C function)c.__skb_try_recv_datagramhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hstruct sk_buff * __skb_try_recv_datagram (struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h]h)}(hstruct sk_buff *__skb_try_recv_datagram(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](h)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hKubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}j__skb_try_recv_datagramsbc.__skb_try_recv_datagramasbuh1hhj-hhhj-hKubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hKubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-hhhj-hKubj)}(h__skb_try_recv_datagramh]j%)}(hj-h]h__skb_try_recv_datagram}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj-hKubj)}(hl(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj(.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hsockh]hsock}(hj9.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;.modnameN classnameNjj!)}j$]j-c.__skb_try_recv_datagramasbuh1hhj.ubj)}(h h]h }(hjW.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hje.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hskh]hsk}(hjr.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct sk_buff_head *queueh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j-c.__skb_try_recv_datagramasbuh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hqueueh]hqueue}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj /hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj%/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hflagsh]hflags}(hj3/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hint *offh](j)}(hinth]hint}(hjL/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH/ubj)}(h h]h }(hjZ/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH/ubj;)}(hj>h]h*}(hjh/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjH/ubj%)}(hoffh]hoff}(hju/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hint *errh](j)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(herrh]herr}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct sk_buff **lasth](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j-c.__skb_try_recv_datagramasbuh1hhj/ubj)}(h h]h }(hj 0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj;)}(hj>h]h*}(hj'0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hlasth]hlast}(hj40hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj-hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhj-hKubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hKhj-hhubjS)}(hhh]jX)}(hReceive a datagram skbuffh]hReceive a datagram skbuff}(hj^0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj[0hhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhj-hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjv0jxjv0jyjzj{uh1hhhhj[hNhNubj})}(hX{**Parameters** ``struct sock *sk`` socket ``struct sk_buff_head *queue`` socket queue from which to receive ``unsigned int flags`` MSG\_ flags ``int *off`` an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts ``int *err`` error code returned ``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking **Description** Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~0ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjz0ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj0h]hstruct sock *sk}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj0ubj)}(hhh]jX)}(hsocketh]hsocket}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hKhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hKhj0ubj)}(hB``struct sk_buff_head *queue`` socket queue from which to receive h](j)}(h``struct sk_buff_head *queue``h]j)}(hj0h]hstruct sk_buff_head *queue}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj0ubj)}(hhh]jX)}(h"socket queue from which to receiveh]h"socket queue from which to receive}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hKhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hKhj0ubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hj1h]hunsigned int flags}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj 1ubj)}(hhh]jX)}(h MSG\_ flagsh]h MSG_ flags}(hj*1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&1hKhj'1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj&1hKhj0ubj)}(hm``int *off`` an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts h](j)}(h ``int *off``h]j)}(hjJ1h]hint *off}(hjL1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH1ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjD1ubj)}(hhh]jX)}(h_an offset in bytes to peek skb from. Returns an offset within an skb where data actually startsh]h_an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts}(hjc1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj`1ubah}(h]h ]h"]h$]h&]uh1jhjD1ubeh}(h]h ]h"]h$]h&]uh1jhj_1hKhj0ubj)}(h!``int *err`` error code returned h](j)}(h ``int *err``h]j)}(hj1h]hint *err}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj~1ubj)}(hhh]jX)}(herror code returnedh]herror code returned}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hKhj1ubah}(h]h ]h"]h$]h&]uh1jhj~1ubeh}(h]h ]h"]h$]h&]uh1jhj1hKhj0ubj)}(ho``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking h](j)}(h``struct sk_buff **last``h]j)}(hj1h]hstruct sk_buff **last}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj1ubj)}(hhh]jX)}(hTset to last peeked message to inform the wait function what to look for when peekingh]hTset to last peeked message to inform the wait function what to look for when peeking}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hKhj0ubeh}(h]h ]h"]h$]h&]uh1jhjz0ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjz0ubj )}(hXcGet a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jX)}(hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.h]hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2ubjX)}(hX This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected.h](hThis function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with }(hj"2hhhNhNubj)}(h**err**h]herr}(hj*2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"2ubhY set to -EAGAIN if no data was available or to some other value if an error was detected.}(hj"2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2ubh bullet_list)}(hhh](h list_item)}(h5It does not lock socket since today. This function ish]jX)}(hjL2h]h5It does not lock socket since today. This function is}(hjN2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjJ2ubah}(h]h ]h"]h$]h&]uh1jH2hjE2ubjI2)}(h8free of race conditions. This measure should/can improveh]jX)}(hjd2h]h8free of race conditions. This measure should/can improve}(hjf2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjb2ubah}(h]h ]h"]h$]h&]uh1jH2hjE2ubjI2)}(h6significantly datagram socket latencies at high loads,h]jX)}(hj|2h]h6significantly datagram socket latencies at high loads,}(hj~2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjz2ubah}(h]h ]h"]h$]h&]uh1jH2hjE2ubjI2)}(h3when data copying to user space takes lots of time.h]jX)}(hj2h]h3when data copying to user space takes lots of time.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2ubah}(h]h ]h"]h$]h&]uh1jH2hjE2ubjI2)}(hC(BTW I've just killed the last cli() in IP/IPv6/core/netlink/packeth]jX)}(hj2h]hE(BTW I’ve just killed the last cli() in IP/IPv6/core/netlink/packet}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2ubah}(h]h ]h"]h$]h&]uh1jH2hjE2ubjI2)}(h8) Great win.)h]henumerated_list)}(hhh]jI2)}(h Great win.)h]jX)}(hj2h]h Great win.)}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2ubah}(h]h ]h"]h$]h&]uh1jH2hj2ubah}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffixjstartKuh1j2hj2ubah}(h]h ]h"]h$]h&]uh1jH2hjE2ubjI2)}(h--ANK (980729) h]jX)}(h--ANK (980729)h]h--ANK (980729)}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2ubah}(h]h ]h"]h$]h&]uh1jH2hjE2ubeh}(h]h ]h"]h$]h&]bulletj>uh1jC2hj[2hKhj2ubjX)}(hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h]hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don’t change them without having the standard around please.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj2ubeh}(h]h ]h"]h$]h&]uh1j hj!2hKhjz0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_kill_datagram (C function)c.skb_kill_datagramhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hPint skb_kill_datagram (struct sock *sk, struct sk_buff *skb, unsigned int flags)h]h)}(hOint skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags)h](j)}(hinth]hint}(hjI3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE3hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbubj)}(h h]h }(hjX3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE3hhhjW3hMbubj)}(hskb_kill_datagramh]j%)}(hskb_kill_datagramh]hskb_kill_datagram}(hjj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjE3hhhjW3hMbubj)}(h:(struct sock *sk, struct sk_buff *skb, unsigned int flags)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hsockh]hsock}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjl3sbc.skb_kill_datagramasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hskh]hsk}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~3ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j3c.skb_kill_datagramasbuh1hhj3ubj)}(h h]h }(hj44hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjB4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hskbh]hskb}(hjO4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~3ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjh4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd4ubj)}(h h]h }(hjv4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd4ubj)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd4ubj%)}(hflagsh]hflags}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjE3hhhjW3hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjA3hhhjW3hMbubah}(h]j<3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjW3hMbhj>3hhubjS)}(hhh]jX)}(hFree a datagram skbuff forciblyh]hFree a datagram skbuff forcibly}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhj4hhubah}(h]h ]h"]h$]h&]uh1jRhj>3hhhjW3hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` socket ``struct sk_buff *skb`` datagram skbuff ``unsigned int flags`` MSG\_ flags **Description** This function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhj4ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj 5h]hstruct sock *sk}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 5ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchj5ubj)}(hhh]jX)}(hsocketh]hsocket}(hj$5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 5hMchj!5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj 5hMchj5ubj)}(h(``struct sk_buff *skb`` datagram skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hjD5h]hstruct sk_buff *skb}(hjF5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB5ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMdhj>5ubj)}(hhh]jX)}(hdatagram skbuffh]hdatagram skbuff}(hj]5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjY5hMdhjZ5ubah}(h]h ]h"]h$]h&]uh1jhj>5ubeh}(h]h ]h"]h$]h&]uh1jhjY5hMdhj5ubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hj}5h]hunsigned int flags}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{5ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMehjw5ubj)}(hhh]jX)}(h MSG\_ flagsh]h MSG_ flags}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMehj5ubah}(h]h ]h"]h$]h&]uh1jhjw5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMehj5ubeh}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMghj4ubj )}(hXThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jX)}(hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.h]hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhj5ubjX)}(hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.h]hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMjhj5ubjX)}(hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.h]hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMnhj5ubjX)}(h-It returns 0 if the packet was removed by us.h]h-It returns 0 if the packet was removed by us.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhj5ubeh}(h]h ]h"]h$]h&]uh1j hj5hMfhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.skb_copy_and_crc32c_datagram_iter (C function)#c.skb_copy_and_crc32c_datagram_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hvint skb_copy_and_crc32c_datagram_iter (const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h]h)}(huint skb_copy_and_crc32c_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](j)}(hinth]hint}(hj46hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj06hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjC6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj06hhhjB6hMubj)}(h!skb_copy_and_crc32c_datagram_iterh]j%)}(h!skb_copy_and_crc32c_datagram_iterh]h!skb_copy_and_crc32c_datagram_iter}(hjU6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj06hhhjB6hMubj)}(hP(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjq6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjm6ubj)}(h h]h }(hj~6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm6ubh)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjm6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm6ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jjW6sb#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjm6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjm6ubj%)}(hskbh]hskb}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhji6ubj)}(h int offseth](j)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hj 7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(hoffseth]hoffset}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhji6ubj)}(hstruct iov_iter *toh](h)}(hjh]hstruct}(hj37hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/7ubj)}(h h]h }(hj@7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/7ubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjQ7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjS7modnameN classnameNjj!)}j$]j6#c.skb_copy_and_crc32c_datagram_iterasbuh1hhj/7ubj)}(h h]h }(hjo7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/7ubj;)}(hj>h]h*}(hj}7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/7ubj%)}(htoh]hto}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhji6ubj)}(hint lenh](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(hlenh]hlen}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhji6ubj)}(h u32 *crcph](h)}(hhh]j%)}(hu32h]hu32}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j6#c.skb_copy_and_crc32c_datagram_iterasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hcrcph]hcrcp}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhji6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj06hhhjB6hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,6hhhjB6hMubah}(h]j'6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjB6hMhj)6hhubjS)}(hhh]jX)}(h=Copy datagram to an iovec iterator and update a CRC32C value.h]h=Copy datagram to an iovec iterator and update a CRC32C value.}(hj>8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj;8hhubah}(h]h ]h"]h$]h&]uh1jRhj)6hhhjB6hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjV8jxjV8jyjzj{uh1hhhhj[hNhNubj})}(hXc**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying from ``struct iov_iter *to`` iovec iterator to copy to ``int len`` amount of data to copy from buffer to iovec ``u32 *crcp`` pointer to CRC32C value to update **Return** 0 on success, -EFAULT if there was a fault during copy.h](jX)}(h**Parameters**h]j)}(hj`8h]h Parameters}(hjb8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^8ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZ8ubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hj8h]hconst struct sk_buff *skb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjy8ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjy8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjv8ubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hj8h]h int offset}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj8ubj)}(hhh]jX)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjv8ubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hj8h]hstruct iov_iter *to}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj8ubj)}(hhh]jX)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjv8ubj)}(h8``int len`` amount of data to copy from buffer to iovec h](j)}(h ``int len``h]j)}(hj*9h]hint len}(hj,9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(9ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj$9ubj)}(hhh]jX)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hjC9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?9hMhj@9ubah}(h]h ]h"]h$]h&]uh1jhj$9ubeh}(h]h ]h"]h$]h&]uh1jhj?9hMhjv8ubj)}(h0``u32 *crcp`` pointer to CRC32C value to update h](j)}(h ``u32 *crcp``h]j)}(hjc9h]h u32 *crcp}(hje9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja9ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]9ubj)}(hhh]jX)}(h!pointer to CRC32C value to updateh]h!pointer to CRC32C value to update}(hj|9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjx9hMhjy9ubah}(h]h ]h"]h$]h&]uh1jhj]9ubeh}(h]h ]h"]h$]h&]uh1jhjx9hMhjv8ubeh}(h]h ]h"]h$]h&]uh1jhjZ8ubjX)}(h **Return**h]j)}(hj9h]hReturn}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZ8ubjX)}(h70 on success, -EFAULT if there was a fault during copy.h]h70 on success, -EFAULT if there was a fault during copy.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZ8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_copy_datagram_iter (C function)c.skb_copy_datagram_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h`int skb_copy_datagram_iter (const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h]h)}(h_int skb_copy_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhj9hM ubj)}(hskb_copy_datagram_iterh]j%)}(hskb_copy_datagram_iterh]hskb_copy_datagram_iter}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhj9hM ubj)}(hE(const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj :hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hj-:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hjh]hstruct}(hj;:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hjH:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjY:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[:modnameN classnameNjj!)}j$]j')}jj:sbc.skb_copy_datagram_iterasbuh1hhj:ubj)}(h h]h }(hjy:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hskbh]hskb}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(h int offseth](j)}(hinth]hint}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hoffseth]hoffset}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hstruct iov_iter *toh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]ju:c.skb_copy_datagram_iterasbuh1hhj:ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hj,;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(htoh]hto}(hj9;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hint lenh](j)}(hinth]hint}(hjR;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN;ubj)}(h h]h }(hj`;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN;ubj%)}(hlenh]hlen}(hjn;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhj9hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhj9hM ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hM hj9hhubjS)}(hhh]jX)}(h%Copy a datagram to an iovec iterator.h]h%Copy a datagram to an iovec iterator.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj;hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhj9hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying from ``struct iov_iter *to`` iovec iterator to copy to ``int len`` amount of data to copy from buffer to iovech](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj;ubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hj;h]hconst struct sk_buff *skb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj;ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj;ubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hj<h]h int offset}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj <ubj)}(hhh]jX)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hj+<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'<hMhj(<ubah}(h]h ]h"]h$]h&]uh1jhj <ubeh}(h]h ]h"]h$]h&]uh1jhj'<hMhj;ubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hjK<h]hstruct iov_iter *to}(hjM<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI<ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjE<ubj)}(hhh]jX)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hjd<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`<hMhja<ubah}(h]h ]h"]h$]h&]uh1jhjE<ubeh}(h]h ]h"]h$]h&]uh1jhj`<hMhj;ubj)}(h7``int len`` amount of data to copy from buffer to iovech](j)}(h ``int len``h]j)}(hj<h]hint len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj~<ubj)}(hhh]jX)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj<ubah}(h]h ]h"]h$]h&]uh1jhj~<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(skb_copy_datagram_from_iter (C function)c.skb_copy_datagram_from_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(haint skb_copy_datagram_from_iter (struct sk_buff *skb, int offset, struct iov_iter *from, int len)h]h)}(h`int skb_copy_datagram_from_iter(struct sk_buff *skb, int offset, struct iov_iter *from, int len)h](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMubj)}(hskb_copy_datagram_from_iterh]j%)}(hskb_copy_datagram_from_iterh]hskb_copy_datagram_from_iter}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMubj)}(hA(struct sk_buff *skb, int offset, struct iov_iter *from, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj(=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj9=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;=modnameN classnameNjj!)}j$]j')}jj=sbc.skb_copy_datagram_from_iterasbuh1hhj=ubj)}(h h]h }(hjY=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hjg=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hskbh]hskb}(hjt=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(h int offseth](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hoffseth]hoffset}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(hstruct iov_iter *fromh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]jU=c.skb_copy_datagram_from_iterasbuh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hj >hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hfromh]hfrom}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(hint lenh](j)}(hinth]hint}(hj2>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.>ubj)}(h h]h }(hj@>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.>ubj%)}(hlenh]hlen}(hjN>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhj<hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMhj<hhubjS)}(hhh]jX)}(h!Copy a datagram from an iov_iter.h]h!Copy a datagram from an iov_iter.}(hjx>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhju>hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying to ``struct iov_iter *from`` the copy source ``int len`` amount of data to copy to buffer from iovec **Description** Returns 0 or -EFAULT.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hj>ubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj>h]hstruct sk_buff *skb}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj>ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubj)}(h8``int offset`` offset in the buffer to start copying to h](j)}(h``int offset``h]j)}(hj>h]h int offset}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj>ubj)}(hhh]jX)}(h(offset in the buffer to start copying toh]h(offset in the buffer to start copying to}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj>ubj)}(h*``struct iov_iter *from`` the copy source h](j)}(h``struct iov_iter *from``h]j)}(hj+?h]hstruct iov_iter *from}(hj-?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)?ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj%?ubj)}(hhh]jX)}(hthe copy sourceh]hthe copy source}(hjD?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@?hM hjA?ubah}(h]h ]h"]h$]h&]uh1jhj%?ubeh}(h]h ]h"]h$]h&]uh1jhj@?hM hj>ubj)}(h8``int len`` amount of data to copy to buffer from iovec h](j)}(h ``int len``h]j)}(hjd?h]hint len}(hjf?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb?ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hj^?ubj)}(hhh]jX)}(h+amount of data to copy to buffer from iovech]h+amount of data to copy to buffer from iovec}(hj}?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjy?hM!hjz?ubah}(h]h ]h"]h$]h&]uh1jhj^?ubeh}(h]h ]h"]h$]h&]uh1jhjy?hM!hj>ubeh}(h]h ]h"]h$]h&]uh1jhj>ubjX)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM#hj>ubj )}(hReturns 0 or -EFAULT.h]jX)}(hj?h]hReturns 0 or -EFAULT.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM"hj?ubah}(h]h ]h"]h$]h&]uh1j hj?hM"hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"zerocopy_sg_from_iter (C function)c.zerocopy_sg_from_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hFint zerocopy_sg_from_iter (struct sk_buff *skb, struct iov_iter *from)h]h)}(hEint zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *from)h](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhj?hMubj)}(hzerocopy_sg_from_iterh]j%)}(hzerocopy_sg_from_iterh]hzerocopy_sg_from_iter}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj @ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhj?hMubj)}(h,(struct sk_buff *skb, struct iov_iter *from)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj*@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&@ubj)}(h h]h }(hj7@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&@ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjH@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJ@modnameN classnameNjj!)}j$]j')}jj@sbc.zerocopy_sg_from_iterasbuh1hhj&@ubj)}(h h]h }(hjh@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&@ubj;)}(hj>h]h*}(hjv@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&@ubj%)}(hskbh]hskb}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"@ubj)}(hstruct iov_iter *fromh](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]jd@c.zerocopy_sg_from_iterasbuh1hhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hfromh]hfrom}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"@ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhj?hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhj?hMubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?hMhj?hhubjS)}(hhh]jX)}(h*Build a zerocopy datagram from an iov_iterh]h*Build a zerocopy datagram from an iov_iter}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhj?hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5Ajxj5Ajyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``struct iov_iter *from`` the source to copy from **Description** The function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.h](jX)}(h**Parameters**h]j)}(hj?Ah]h Parameters}(hjAAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Aubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj9Aubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj^Ah]hstruct sk_buff *skb}(hj`AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Aubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjXAubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjwAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjsAhMhjtAubah}(h]h ]h"]h$]h&]uh1jhjXAubeh}(h]h ]h"]h$]h&]uh1jhjsAhMhjUAubj)}(h2``struct iov_iter *from`` the source to copy from h](j)}(h``struct iov_iter *from``h]j)}(hjAh]hstruct iov_iter *from}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjAubj)}(hhh]jX)}(hthe source to copy fromh]hthe source to copy from}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjUAubeh}(h]h ]h"]h$]h&]uh1jhj9AubjX)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj9Aubj )}(hThe function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.h](jX)}(hjThe function will first copy up to headlen, and then pin the userspace pages and build frags through them.h]hjThe function will first copy up to headlen, and then pin the userspace pages and build frags through them.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjAubjX)}(h Returns 0, -EFAULT or -EMSGSIZE.h]h Returns 0, -EFAULT or -EMSGSIZE.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjAubeh}(h]h ]h"]h$]h&]uh1j hjAhMhj9Aubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+skb_copy_and_csum_datagram_msg (C function) c.skb_copy_and_csum_datagram_msghNtauh1hhj[hhhNhNubh)}(hhh](h)}(hVint skb_copy_and_csum_datagram_msg (struct sk_buff *skb, int hlen, struct msghdr *msg)h]h)}(hUint skb_copy_and_csum_datagram_msg(struct sk_buff *skb, int hlen, struct msghdr *msg)h](j)}(hinth]hint}(hj0BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,BhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM^ubj)}(h h]h }(hj?BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Bhhhj>BhM^ubj)}(hskb_copy_and_csum_datagram_msgh]j%)}(hskb_copy_and_csum_datagram_msgh]hskb_copy_and_csum_datagram_msg}(hjQBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,Bhhhj>BhM^ubj)}(h3(struct sk_buff *skb, int hlen, struct msghdr *msg)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjmBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiBubj)}(h h]h }(hjzBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiBubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jjSBsb c.skb_copy_and_csum_datagram_msgasbuh1hhjiBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiBubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiBubj%)}(hskbh]hskb}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeBubj)}(hint hlenh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hhlenh]hhlen}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeBubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hj!ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj2ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Cubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4CmodnameN classnameNjj!)}j$]jB c.skb_copy_and_csum_datagram_msgasbuh1hhjCubj)}(h h]h }(hjPChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hj^ChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hmsgh]hmsg}(hjkChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeBubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,Bhhhj>BhM^ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(Bhhhj>BhM^ubah}(h]j#Bah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>BhM^hj%BhhubjS)}(hhh]jX)}(h$Copy and checksum skb to user iovec.h]h$Copy and checksum skb to user iovec.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM^hjChhubah}(h]h ]h"]h$]h&]uh1jRhj%Bhhhj>BhM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` skbuff ``int hlen`` hardware length ``struct msghdr *msg`` destination **Description** Caller _must_ check that skb will fit to this iovec. **Return** 0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h](jX)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhjCubj)}(hhh](j)}(h``struct sk_buff *skb`` skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hjCh]hstruct sk_buff *skb}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM_hjCubj)}(hhh]jX)}(hskbuffh]hskbuff}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM_hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM_hjCubj)}(h``int hlen`` hardware length h](j)}(h ``int hlen``h]j)}(hjDh]hint hlen}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Dubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM`hj Dubj)}(hhh]jX)}(hhardware lengthh]hhardware length}(hj(DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$DhM`hj%Dubah}(h]h ]h"]h$]h&]uh1jhj Dubeh}(h]h ]h"]h$]h&]uh1jhj$DhM`hjCubj)}(h#``struct msghdr *msg`` destination h](j)}(h``struct msghdr *msg``h]j)}(hjHDh]hstruct msghdr *msg}(hjJDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMahjBDubj)}(hhh]jX)}(h destinationh]h destination}(hjaDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]DhMahj^Dubah}(h]h ]h"]h$]h&]uh1jhjBDubeh}(h]h ]h"]h$]h&]uh1jhj]DhMahjCubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchjCubj )}(h5Caller _must_ check that skb will fit to this iovec. h]jX)}(h4Caller _must_ check that skb will fit to this iovec.h]h4Caller _must_ check that skb will fit to this iovec.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhjDubah}(h]h ]h"]h$]h&]uh1j hjDhMbhjCubjX)}(h **Return**h]j)}(hjDh]hReturn}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMdhjCubjX)}(hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h]hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMehjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdatagram_poll (C function)c.datagram_pollhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hQ__poll_t datagram_poll (struct file *file, struct socket *sock, poll_table *wait)h]h)}(hP__poll_t datagram_poll(struct file *file, struct socket *sock, poll_table *wait)h](h)}(hhh]j%)}(h__poll_th]h__poll_t}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}j datagram_pollsbc.datagram_pollasbuh1hhjDhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjEhMubj)}(h datagram_pollh]j%)}(hjEh]h datagram_poll}(hj0EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,Eubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjEhMubj)}(h:(struct file *file, struct socket *sock, poll_table *wait)h](j)}(hstruct file *fileh](h)}(hjh]hstruct}(hjKEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGEubj)}(h h]h }(hjXEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGEubh)}(hhh]j%)}(hfileh]hfile}(hjiEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkEmodnameN classnameNjj!)}j$]jEc.datagram_pollasbuh1hhjGEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGEubj%)}(hfileh]hfile}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCEubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hsocketh]hsocket}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jEc.datagram_pollasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hsockh]hsock}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCEubj)}(hpoll_table *waith](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hj.FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+Fubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0FmodnameN classnameNjj!)}j$]jEc.datagram_pollasbuh1hhj'Fubj)}(h h]h }(hjLFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Fubj;)}(hj>h]h*}(hjZFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'Fubj%)}(hwaith]hwait}(hjgFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjEhMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhjDhhubjS)}(hhh]jX)}(hgeneric datagram pollh]hgeneric datagram poll}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct file *file`` file struct ``struct socket *sock`` socket ``poll_table *wait`` poll table **Description** Datagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. **Note** when you *don't* use this routine for this protocol, and you use a different write policy from sock_writeable() then please supply your own write_space callback.h](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjFubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hjFh]hstruct file *file}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjFubj)}(hhh]jX)}(h file structh]h file struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj Gh]hstruct socket *sock}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Gubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjGubj)}(hhh]jX)}(hsocketh]hsocket}(hj$GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj GhMhj!Gubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhj GhMhjFubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjDGh]hpoll_table *wait}(hjFGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBGubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj>Gubj)}(hhh]jX)}(h poll tableh]h poll table}(hj]GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYGhMhjZGubah}(h]h ]h"]h$]h&]uh1jhj>Gubeh}(h]h ]h"]h$]h&]uh1jhjYGhMhjFubeh}(h]h ]h"]h$]h&]uh1jhjFubjX)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Gubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjFubj )}(hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. h]jX)}(hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.h]hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjGubah}(h]h ]h"]h$]h&]uh1j hjGhMhjFubjX)}(h**Note**h]j)}(hjGh]hNote}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjFubj)}(hhh]j)}(hwhen you *don't* use this routine for this protocol, and you use a different write policy from sock_writeable() then please supply your own write_space callback.h](j)}(h4when you *don't* use this routine for this protocol,h](h when you }(hjGhhhNhNubju)}(h*don't*h]hdon’t}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjGubh$ use this routine for this protocol,}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjGubj)}(hhh]jX)}(hland you use a different write policy from sock_writeable() then please supply your own write_space callback.h]hland you use a different write policy from sock_writeable() then please supply your own write_space callback.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sk_stream_wait_connect (C function)c.sk_stream_wait_connecthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h;int sk_stream_wait_connect (struct sock *sk, long *timeo_p)h]h)}(h:int sk_stream_wait_connect(struct sock *sk, long *timeo_p)h](j)}(hinth]hint}(hj1HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-HhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6ubj)}(h h]h }(hj@HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Hhhhj?HhK6ubj)}(hsk_stream_wait_connecth]j%)}(hsk_stream_wait_connecth]hsk_stream_wait_connect}(hjRHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-Hhhhj?HhK6ubj)}(h (struct sock *sk, long *timeo_p)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjnHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjHubj)}(h h]h }(hj{HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjHubh)}(hhh]j%)}(hsockh]hsock}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjTHsbc.sk_stream_wait_connectasbuh1hhjjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjHubj%)}(hskh]hsk}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfHubj)}(h long *timeo_ph](j)}(hlongh]hlong}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(htimeo_ph]htimeo_p}(hj IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfHubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-Hhhhj?HhK6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)Hhhhj?HhK6ubah}(h]j$Hah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?HhK6hj&HhhubjS)}(hhh]jX)}(h1Wait for a socket to get into the connected stateh]h1Wait for a socket to get into the connected state}(hj3IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hj0Ihhubah}(h]h ]h"]h$]h&]uh1jRhj&Hhhhj?HhK6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKIjxjKIjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sock *sk`` sock to wait on ``long *timeo_p`` for how long to wait **Description** Must be called with the socket locked.h](jX)}(h**Parameters**h]j)}(hjUIh]h Parameters}(hjWIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSIubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjOIubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjtIh]hstruct sock *sk}(hjvIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK7hjnIubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhK7hjIubah}(h]h ]h"]h$]h&]uh1jhjnIubeh}(h]h ]h"]h$]h&]uh1jhjIhK7hjkIubj)}(h'``long *timeo_p`` for how long to wait h](j)}(h``long *timeo_p``h]j)}(hjIh]h long *timeo_p}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK8hjIubj)}(hhh]jX)}(hfor how long to waith]hfor how long to wait}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhK8hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhK8hjkIubeh}(h]h ]h"]h$]h&]uh1jhjOIubjX)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjOIubjX)}(h&Must be called with the socket locked.h]h&Must be called with the socket locked.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK9hjOIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sk_stream_wait_memory (C function)c.sk_stream_wait_memoryhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:int sk_stream_wait_memory (struct sock *sk, long *timeo_p)h]h)}(h9int sk_stream_wait_memory(struct sock *sk, long *timeo_p)h](j)}(hinth]hint}(hj-JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)JhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvubj)}(h h]h }(hjh]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfJubj%)}(hskh]hsk}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbJubj)}(h long *timeo_ph](j)}(hlongh]hlong}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(htimeo_ph]htimeo_p}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbJubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)Jhhhj;JhKvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%Jhhhj;JhKvubah}(h]j Jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;JhKvhj"JhhubjS)}(hhh]jX)}(h!Wait for more memory for a socketh]h!Wait for more memory for a socket}(hj/KhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvhj,Khhubah}(h]h ]h"]h$]h&]uh1jRhj"Jhhhj;JhKvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGKjxjGKjyjzj{uh1hhhhj[hNhNubj})}(ha**Parameters** ``struct sock *sk`` socket to wait for memory ``long *timeo_p`` for how longh](jX)}(h**Parameters**h]j)}(hjQKh]h Parameters}(hjSKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOKubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKzhjKKubj)}(hhh](j)}(h.``struct sock *sk`` socket to wait for memory h](j)}(h``struct sock *sk``h]j)}(hjpKh]hstruct sock *sk}(hjrKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKwhjjKubj)}(hhh]jX)}(hsocket to wait for memoryh]hsocket to wait for memory}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhKwhjKubah}(h]h ]h"]h$]h&]uh1jhjjKubeh}(h]h ]h"]h$]h&]uh1jhjKhKwhjgKubj)}(h``long *timeo_p`` for how longh](j)}(h``long *timeo_p``h]j)}(hjKh]h long *timeo_p}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKyhjKubj)}(hhh]jX)}(h for how longh]h for how long}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKxhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhKyhjgKubeh}(h]h ]h"]h$]h&]uh1jhjKKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubeh}(h]socket-buffer-functionsah ]h"]socket buffer functionsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Socket Filterh]h Socket Filter}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhhhhhK'ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_filter_trim_cap (C function)c.sk_filter_trim_caphNtauh1hhjKhhhNhNubh)}(hhh](h)}(hmint sk_filter_trim_cap (struct sock *sk, struct sk_buff *skb, unsigned int cap, enum skb_drop_reason *reason)h]h)}(hlint sk_filter_trim_cap(struct sock *sk, struct sk_buff *skb, unsigned int cap, enum skb_drop_reason *reason)h](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyubj)}(h h]h }(hj+LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj*LhKyubj)}(hsk_filter_trim_caph]j%)}(hsk_filter_trim_caph]hsk_filter_trim_cap}(hj=LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9Lubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj*LhKyubj)}(hV(struct sock *sk, struct sk_buff *skb, unsigned int cap, enum skb_drop_reason *reason)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjYLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjULubj)}(h h]h }(hjfLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjULubh)}(hhh]j%)}(hsockh]hsock}(hjwLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjyLmodnameN classnameNjj!)}j$]j')}jj?Lsbc.sk_filter_trim_capasbuh1hhjULubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjULubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjULubj%)}(hskh]hsk}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjULubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQLubjl)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jLc.sk_filter_trim_capasbuh1hhjLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hskbh]hskb}(hj"MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQLubj)}(hunsigned int caph](j)}(hunsignedh]hunsigned}(hj;MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7Mubj)}(h h]h }(hjIMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Mubj)}(hinth]hint}(hjWMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7Mubj)}(h h]h }(hjeMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Mubj%)}(hcaph]hcap}(hjsMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQLubj)}(henum skb_drop_reason *reasonh](h)}(hhh]henum}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jLc.sk_filter_trim_capasbuh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hreasonh]hreason}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQLubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhj*LhKyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhj*LhKyubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*LhKyhjLhhubjS)}(hhh]jX)}(h$run a packet through a socket filterh]h$run a packet through a socket filter}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyhj Nhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhj*LhKyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%Njxj%Njyjzj{uh1hhhhjKhNhNubj})}(hXo**Parameters** ``struct sock *sk`` sock associated with :c:type:`sk_buff` ``struct sk_buff *skb`` buffer to filter ``unsigned int cap`` limit on how short the eBPF program may trim the packet ``enum skb_drop_reason *reason`` record drop reason on errors (negative return value) **Description** Run the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or -EPERM if the packet should be tossed.h](jX)}(h**Parameters**h]j)}(hj/Nh]h Parameters}(hj1NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Nubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hj)Nubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hjNNh]hstruct sock *sk}(hjPNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKzhjHNubj)}(hhh]jX)}(h&sock associated with :c:type:`sk_buff`h](hsock associated with }(hjgNhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjqNh]hsk_buff}(hjsNhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjoNubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjcNhKzhjgNubeh}(h]h ]h"]h$]h&]uh1jWhjcNhKzhjdNubah}(h]h ]h"]h$]h&]uh1jhjHNubeh}(h]h ]h"]h$]h&]uh1jhjcNhKzhjENubj)}(h)``struct sk_buff *skb`` buffer to filter h](j)}(h``struct sk_buff *skb``h]j)}(hjNh]hstruct sk_buff *skb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK{hjNubj)}(hhh]jX)}(hbuffer to filterh]hbuffer to filter}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhK{hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhK{hjENubj)}(hM``unsigned int cap`` limit on how short the eBPF program may trim the packet h](j)}(h``unsigned int cap``h]j)}(hjNh]hunsigned int cap}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjNubj)}(hhh]jX)}(h7limit on how short the eBPF program may trim the packeth]h7limit on how short the eBPF program may trim the packet}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhK|hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhK|hjENubj)}(hV``enum skb_drop_reason *reason`` record drop reason on errors (negative return value) h](j)}(h ``enum skb_drop_reason *reason``h]j)}(hjOh]henum skb_drop_reason *reason}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hjOubj)}(hhh]jX)}(h4record drop reason on errors (negative return value)h]h4record drop reason on errors (negative return value)}(hj1OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-OhK}hj.Oubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhj-OhK}hjENubeh}(h]h ]h"]h$]h&]uh1jhj)NubjX)}(h**Description**h]j)}(hjSOh]h Description}(hjUOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQOubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKhj)NubjX)}(hX;Run the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or -EPERM if the packet should be tossed.h]hX;Run the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or -EPERM if the packet should be tossed.}(hjiOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK~hj)Nubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjKhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhjKhhhNhNubh)}(hhh](h)}(hJint bpf_prog_create (struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h]h)}(hIint bpf_prog_create(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMbubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjOhMbubj)}(hbpf_prog_createh]j%)}(hbpf_prog_createh]hbpf_prog_create}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjOhMbubj)}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j)}(hstruct bpf_prog **pfph](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hbpf_progh]hbpf_prog}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjOsbc.bpf_prog_createasbuh1hhjOubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hj!PhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj;)}(hj>h]h*}(hj.PhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hpfph]hpfp}(hj;PhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(hstruct sock_fprog_kern *fprogh](h)}(hjh]hstruct}(hjTPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPPubj)}(h h]h }(hjaPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPPubh)}(hhh]j%)}(hsock_fprog_kernh]hsock_fprog_kern}(hjrPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtPmodnameN classnameNjj!)}j$]jPc.bpf_prog_createasbuh1hhjPPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPPubj%)}(hfprogh]hfprog}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhjOhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjOhMbubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMbhjOhhubjS)}(hhh]jX)}(hcreate an unattached filterh]hcreate an unattached filter}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMbhjPhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjOhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhjKhNhNubj})}(hX**Parameters** ``struct bpf_prog **pfp`` the unattached filter that is created ``struct sock_fprog_kern *fprog`` the filter program **Description** Create a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h](jX)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMfhjPubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hjQh]hstruct bpf_prog **pfp}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMchjQubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hj/QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+QhMchj,Qubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhj+QhMchj Qubj)}(h5``struct sock_fprog_kern *fprog`` the filter program h](j)}(h!``struct sock_fprog_kern *fprog``h]j)}(hjOQh]hstruct sock_fprog_kern *fprog}(hjQQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMQubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMdhjIQubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hjhQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdQhMdhjeQubah}(h]h ]h"]h$]h&]uh1jhjIQubeh}(h]h ]h"]h$]h&]uh1jhjdQhMdhj Qubeh}(h]h ]h"]h$]h&]uh1jhjPubjX)}(h**Description**h]j)}(hjQh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMfhjPubjX)}(hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h]hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMehjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjKhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&bpf_prog_create_from_user (C function)c.bpf_prog_create_from_userhNtauh1hhjKhhhNhNubh)}(hhh](h)}(h~int bpf_prog_create_from_user (struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h]h)}(h}int bpf_prog_create_from_user(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhMubj)}(hbpf_prog_create_from_userh]j%)}(hbpf_prog_create_from_userh]hbpf_prog_create_from_user}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhMubj)}(h`(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](j)}(hstruct bpf_prog **pfph](h)}(hjh]hstruct}(hj RhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hbpf_progh]hbpf_prog}(hj*RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Rubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,RmodnameN classnameNjj!)}j$]j')}jjQsbc.bpf_prog_create_from_userasbuh1hhjRubj)}(h h]h }(hjJRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjXRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj;)}(hj>h]h*}(hjeRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hpfph]hpfp}(hjrRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hstruct sock_fprog *fprogh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h sock_fprogh]h sock_fprog}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jFRc.bpf_prog_create_from_userasbuh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hfprogh]hfprog}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hbpf_aux_classic_check_t transh](h)}(hhh]j%)}(hbpf_aux_classic_check_th]hbpf_aux_classic_check_t}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jFRc.bpf_prog_create_from_userasbuh1hhjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(htransh]htrans}(hj*ShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hbool save_origh](j)}(hjTh]hbool}(hjCShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?Subj)}(h h]h }(hjPShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?Subj%)}(h save_origh]h save_orig}(hj^ShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?Subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjQhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhjQhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMhjQhhubjS)}(hhh]jX)}(h,create an unattached filter from user bufferh]h,create an unattached filter from user buffer}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjShhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjQhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjKhNhNubj})}(hX**Parameters** ``struct bpf_prog **pfp`` the unattached filter that is created ``struct sock_fprog *fprog`` the filter program ``bpf_aux_classic_check_t trans`` post-classic verifier transformation handler ``bool save_orig`` save classic BPF program **Description** This function effectively does the same as bpf_prog_create(), only that it builds up its insns buffer from user space provided buffer. It also allows for passing a bpf_aux_classic_check_t handler.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjSubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hjSh]hstruct bpf_prog **pfp}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjSubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjSubj)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hjTh]hstruct sock_fprog *fprog}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjSubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubj)}(hO``bpf_aux_classic_check_t trans`` post-classic verifier transformation handler h](j)}(h!``bpf_aux_classic_check_t trans``h]j)}(hj;Th]hbpf_aux_classic_check_t trans}(hj=ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Tubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj5Tubj)}(hhh]jX)}(h,post-classic verifier transformation handlerh]h,post-classic verifier transformation handler}(hjTThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPThMhjQTubah}(h]h ]h"]h$]h&]uh1jhj5Tubeh}(h]h ]h"]h$]h&]uh1jhjPThMhjSubj)}(h,``bool save_orig`` save classic BPF program h](j)}(h``bool save_orig``h]j)}(hjtTh]hbool save_orig}(hjvThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrTubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjnTubj)}(hhh]jX)}(hsave classic BPF programh]hsave classic BPF program}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjnTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubeh}(h]h ]h"]h$]h&]uh1jhjSubjX)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjSubjX)}(hThis function effectively does the same as bpf_prog_create(), only that it builds up its insns buffer from user space provided buffer. It also allows for passing a bpf_aux_classic_check_t handler.h]hThis function effectively does the same as bpf_prog_create(), only that it builds up its insns buffer from user space provided buffer. It also allows for passing a bpf_aux_classic_check_t handler.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjKhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_attach_filter (C function)c.sk_attach_filterhNtauh1hhjKhhhNhNubh)}(hhh](h)}(h@int sk_attach_filter (struct sock_fprog *fprog, struct sock *sk)h]h)}(h?int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk)h](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjUhM ubj)}(hsk_attach_filterh]j%)}(hsk_attach_filterh]hsk_attach_filter}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjUhM ubj)}(h+(struct sock_fprog *fprog, struct sock *sk)h](j)}(hstruct sock_fprog *fprogh](h)}(hjh]hstruct}(hj1UhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-Uubj)}(h h]h }(hj>UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Uubh)}(hhh]j%)}(h sock_fprogh]h sock_fprog}(hjOUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQUmodnameN classnameNjj!)}j$]j')}jjUsbc.sk_attach_filterasbuh1hhj-Uubj)}(h h]h }(hjoUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Uubj;)}(hj>h]h*}(hj}UhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-Uubj%)}(hfprogh]hfprog}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-Uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)Uubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hsockh]hsock}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jkUc.sk_attach_filterasbuh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hskh]hsk}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)Uubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjUhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjUhM ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhM hjThhubjS)}(hhh]jX)}(hattach a socket filterh]hattach a socket filter}(hj$VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hj!Vhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjUhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYubah}(h]h ]h"]h$]h&]uh1jhj"Yubeh}(h]h ]h"]h$]h&]uh1jhj=YhK"hjYubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjaYh]hpps}(hjcYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Yubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hj[Yubj)}(hhh]jX)}(hcurrent packet rateh]hcurrent packet rate}(hjzYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK#hjwYubah}(h]h ]h"]h$]h&]uh1jhj[Yubeh}(h]h ]h"]h$]h&]uh1jhjvYhK"hjYubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_rate_est64 (C struct)c.gnet_stats_rate_est64hNtauh1hhj WhhhNhNubh)}(hhh](h)}(hgnet_stats_rate_est64h]h)}(hstruct gnet_stats_rate_est64h](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK)ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjYhK)ubj)}(hgnet_stats_rate_est64h]j%)}(hjYh]hgnet_stats_rate_est64}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjYhK)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjYhK)ubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhK)hjYhhubjS)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK*hjYhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjYhK)ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhj WhNhNubj})}(h**Definition**:: struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; }; **Members** ``bps`` current byte rate ``pps`` current packet rateh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj!ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh:}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK.hjZubjU)}(h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };h]h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };}hj:Zsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK0hjZubjX)}(h **Members**h]j)}(hjKZh]hMembers}(hjMZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIZubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK5hjZubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hjjZh]hbps}(hjlZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhZubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hjdZubj)}(hhh]jX)}(hcurrent byte rateh]hcurrent byte rate}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhK,hjZubah}(h]h ]h"]h$]h&]uh1jhjdZubeh}(h]h ]h"]h$]h&]uh1jhjZhK,hjaZubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjZh]hpps}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hjZubj)}(hhh]jX)}(hcurrent packet rateh]hcurrent packet rate}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK-hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhK,hjaZubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_queue (C struct)c.gnet_stats_queuehNtauh1hhj WhhhNhNubh)}(hhh](h)}(hgnet_stats_queueh]h)}(hstruct gnet_stats_queueh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK3ubj)}(h h]h }(hj [hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhj [hK3ubj)}(hgnet_stats_queueh]j%)}(hjZh]hgnet_stats_queue}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhj [hK3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhj [hK3ubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj [hK3hjZhhubjS)}(hhh]jX)}(hqueuing statisticsh]hqueuing statistics}(hj?[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK4hj<[hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhj [hK3ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjW[jxjW[jyjzj{uh1hhhhj WhNhNubj})}(hXc**Definition**:: struct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; }; **Members** ``qlen`` queue length ``backlog`` backlog size of queue ``drops`` number of dropped packets ``requeues`` number of requeues ``overlimits`` number of enqueues over the limith](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjc[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_[ubh:}(hj_[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hj[[ubjU)}(hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };h]hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };}hj|[sbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hj[[ubjX)}(h **Members**h]j)}(hj[h]hMembers}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKBhj[[ubj)}(hhh](j)}(h``qlen`` queue length h](j)}(h``qlen``h]j)}(hj[h]hqlen}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK6hj[ubj)}(hhh]jX)}(h queue lengthh]h queue length}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hK6hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hK6hj[ubj)}(h"``backlog`` backlog size of queue h](j)}(h ``backlog``h]j)}(hj[h]hbacklog}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK7hj[ubj)}(hhh]jX)}(hbacklog size of queueh]hbacklog size of queue}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hK7hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hK7hj[ubj)}(h$``drops`` number of dropped packets h](j)}(h ``drops``h]j)}(hj\h]hdrops}(hj \hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hj\ubj)}(hhh]jX)}(hnumber of dropped packetsh]hnumber of dropped packets}(hj7\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3\hK8hj4\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj3\hK8hj[ubj)}(h ``requeues`` number of requeues h](j)}(h ``requeues``h]j)}(hjW\h]hrequeues}(hjY\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU\ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hjQ\ubj)}(hhh]jX)}(hnumber of requeuesh]hnumber of requeues}(hjp\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl\hK9hjm\ubah}(h]h ]h"]h$]h&]uh1jhjQ\ubeh}(h]h ]h"]h$]h&]uh1jhjl\hK9hj[ubj)}(h0``overlimits`` number of enqueues over the limith](j)}(h``overlimits``h]j)}(hj\h]h overlimits}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hj\ubj)}(hhh]jX)}(h!number of enqueues over the limith]h!number of enqueues over the limit}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hK9hj[ubeh}(h]h ]h"]h$]h&]uh1jhj[[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_estimator (C struct)c.gnet_estimatorhNtauh1hhj WhhhNhNubh)}(hhh](h)}(hgnet_estimatorh]h)}(hstruct gnet_estimatorh](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\hhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK@ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhj\hK@ubj)}(hgnet_estimatorh]j%)}(hj\h]hgnet_estimator}(hj ]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhj\hK@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhj\hK@ubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hK@hj\hhubjS)}(hhh]jX)}(hrate estimator configurationh]hrate estimator configuration}(hj,]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKDhj)]hhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhj\hK@ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjD]jxjD]jyjzj{uh1hhhhj WhNhNubj})}(h**Definition**:: struct gnet_estimator { signed char interval; unsigned char ewma_log; }; **Members** ``interval`` sampling period ``ewma_log`` the log of measurement window weighth](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjP]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL]ubh:}(hjL]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKHhjH]ubjU)}(hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };h]hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };}hji]sbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKJhjH]ubjX)}(h **Members**h]j)}(hjz]h]hMembers}(hj|]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx]ubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKOhjH]ubj)}(hhh](j)}(h``interval`` sampling period h](j)}(h ``interval``h]j)}(hj]h]hinterval}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhj]ubj)}(hhh]jX)}(hsampling periodh]hsampling period}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hKFhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hKFhj]ubj)}(h1``ewma_log`` the log of measurement window weighth](j)}(h ``ewma_log``h]j)}(hj]h]hewma_log}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhj]ubj)}(hhh]jX)}(h$the log of measurement window weighth]h$the log of measurement window weight}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKGhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hKFhj]ubeh}(h]h ]h"]h$]h&]uh1jhjH]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)gnet_stats_start_copy_compat (C function)c.gnet_stats_start_copy_compathNtauh1hhj WhhhNhNubh)}(hhh](h)}(hint gnet_stats_start_copy_compat (struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h]h)}(hint gnet_stats_start_copy_compat(struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j)}(hinth]hint}(hj,^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(^hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(ubj)}(h h]h }(hj;^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(^hhhj:^hK(ubj)}(hgnet_stats_start_copy_compath]j%)}(hgnet_stats_start_copy_compath]hgnet_stats_start_copy_compat}(hjM^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(^hhhj:^hK(ubj)}(hw(struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hji^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhje^ubj)}(h h]h }(hjv^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje^ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jjO^sbc.gnet_stats_start_copy_compatasbuh1hhje^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje^ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hje^ubj%)}(hskbh]hskb}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhja^ubj)}(hint typeh](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(htypeh]htype}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhja^ubj)}(hint tc_stats_typeh](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj _ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj _ubj%)}(h tc_stats_typeh]h tc_stats_type}(hj,_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj _ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhja^ubj)}(hint xstats_typeh](j)}(hinth]hint}(hjE_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA_ubj)}(h h]h }(hjS_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA_ubj%)}(h xstats_typeh]h xstats_type}(hja_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhja^ubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hj}_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j^c.gnet_stats_start_copy_compatasbuh1hhjv_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv_ubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjv_ubj%)}(hlockh]hlock}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhja^ubj)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j^c.gnet_stats_start_copy_compatasbuh1hhj_ubj)}(h h]h }(hj `hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hdh]hd}(hj&`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhja^ubj)}(h int padattrh](j)}(hinth]hint}(hj?`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;`ubj)}(h h]h }(hjM`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;`ubj%)}(hpadattrh]hpadattr}(hj[`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhja^ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj(^hhhj:^hK(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj$^hhhj:^hK(ubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:^hK(hj!^hhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(hj`hhubah}(h]h ]h"]h$]h&]uh1jRhj!^hhhj:^hK(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj WhNhNubj})}(hX1**Parameters** ``struct sk_buff *skb`` socket buffer to put statistics TLVs into ``int type`` TLV type for top level statistic TLV ``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV ``int xstats_type`` TLV type for backward compatibility xstats TLV ``spinlock_t *lock`` statistics lock ``struct gnet_dump *d`` dumping handle ``int padattr`` padding attribute **Description** Initializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS. The dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats. Returns 0 on success or -1 if the room in the socket buffer was not sufficient.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hj`ubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hj`h]hstruct sk_buff *skb}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK)hj`ubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hK)hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hK)hj`ubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hj`h]hint type}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK*hj`ubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahK*hjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahK*hj`ubj)}(hN``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV h](j)}(h``int tc_stats_type``h]j)}(hj8ah]hint tc_stats_type}(hj:ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6aubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK+hj2aubj)}(hhh]jX)}(h7TLV type for backward compatibility struct tc_stats TLVh]h7TLV type for backward compatibility struct tc_stats TLV}(hjQahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMahK+hjNaubah}(h]h ]h"]h$]h&]uh1jhj2aubeh}(h]h ]h"]h$]h&]uh1jhjMahK+hj`ubj)}(hC``int xstats_type`` TLV type for backward compatibility xstats TLV h](j)}(h``int xstats_type``h]j)}(hjqah]hint xstats_type}(hjsahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hjkaubj)}(hhh]jX)}(h.TLV type for backward compatibility xstats TLVh]h.TLV type for backward compatibility xstats TLV}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahK,hjaubah}(h]h ]h"]h$]h&]uh1jhjkaubeh}(h]h ]h"]h$]h&]uh1jhjahK,hj`ubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjah]hspinlock_t *lock}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK-hjaubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahK-hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahK-hj`ubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjah]hstruct gnet_dump *d}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK.hjaubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahK.hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahK.hj`ubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjbh]h int padattr}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK/hjbubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hj5bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1bhK/hj2bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj1bhK/hj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjX)}(h**Description**h]j)}(hjWbh]h Description}(hjYbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUbubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hj`ubjX)}(hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.h]hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.}(hjmbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK0hj`ubjX)}(hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.h]hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.}(hj|bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK4hj`ubjX)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK7hj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_start_copy (C function)c.gnet_stats_start_copyhNtauh1hhj WhhhNhNubh)}(hhh](h)}(hmint gnet_stats_start_copy (struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h]h)}(hlint gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhK`ubj)}(hgnet_stats_start_copyh]j%)}(hgnet_stats_start_copyh]hgnet_stats_start_copy}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjbhK`ubj)}(hS(struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jjbsbc.gnet_stats_start_copyasbuh1hhjbubj)}(h h]h }(hj5chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjCchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hskbh]hskb}(hjPchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hint typeh](j)}(hinth]hint}(hjichhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjecubj)}(h h]h }(hjwchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjecubj%)}(htypeh]htype}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjecubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j1cc.gnet_stats_start_copyasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hlockh]hlock}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j1cc.gnet_stats_start_copyasbuh1hhjcubj)}(h h]h }(hj/dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hj=dhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hj(`h]hd}(hjJdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(h int padattrh](j)}(hinth]hint}(hjbdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^dubj)}(h h]h }(hjpdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^dubj%)}(hpadattrh]hpadattr}(hj~dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^dubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjbhK`ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhK`ubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhK`hjbhhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`hjdhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhK`ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhj WhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` socket buffer to put statistics TLVs into ``int type`` TLV type for top level statistic TLV ``spinlock_t *lock`` statistics lock ``struct gnet_dump *d`` dumping handle ``int padattr`` padding attribute **Description** Initializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS. Returns 0 on success or -1 if the room in the socket buffer was not sufficient.h](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjdubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hjdh]hstruct sk_buff *skb}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKahjdubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhKahjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKahjdubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hj"eh]hint type}(hj$ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj eubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKbhjeubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hj;ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7ehKbhj8eubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj7ehKbhjdubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hj[eh]hspinlock_t *lock}(hj]ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKchjUeubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hjtehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjpehKchjqeubah}(h]h ]h"]h$]h&]uh1jhjUeubeh}(h]h ]h"]h$]h&]uh1jhjpehKchjdubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjeh]hstruct gnet_dump *d}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjeubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehKdhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehKdhjdubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjeh]h int padattr}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKehjeubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehKehjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehKehjdubeh}(h]h ]h"]h$]h&]uh1jhjdubjX)}(h**Description**h]j)}(hjfh]h Description}(hj fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKghjdubjX)}(hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.h]hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKfhjdubjX)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hj-fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKjhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_basic (C function)c.gnet_stats_copy_basichNtauh1hhj WhhhNhNubh)}(hhh](h)}(hint gnet_stats_copy_basic (struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h]h)}(hint gnet_stats_copy_basic(struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h](j)}(hinth]hint}(hj\fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXfhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKubj)}(h h]h }(hjkfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXfhhhjjfhKubj)}(hgnet_stats_copy_basich]j%)}(hgnet_stats_copy_basich]hgnet_stats_copy_basic}(hj}fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXfhhhjjfhKubj)}(hp(struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h](j)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jjfsbc.gnet_stats_copy_basicasbuh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hj(`h]hd}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](h)}(hjh]hstruct}(hj ghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj(ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*gmodnameN classnameNjj!)}j$]jfc.gnet_stats_copy_basicasbuh1hhjgubj)}(h h]h }(hjFghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh__percpu}(hjghhhNhNubj)}(h h]h }(hjXghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjfghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hcpuh]hcpu}(hjsghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hstruct gnet_stats_basic_sync *bh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jfc.gnet_stats_copy_basicasbuh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hbh]hb}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h bool runningh](j)}(hjTh]hbool}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hj hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hrunningh]hrunning}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXfhhhjjfhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjTfhhhjjfhKubah}(h]jOfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjfhKhjQfhhubjS)}(hhh]jX)}(h(copy basic statistics into statistic TLVh]h(copy basic statistics into statistic TLV}(hjAhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj>hhhubah}(h]h ]h"]h$]h&]uh1jRhjQfhhhjjfhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYhjxjYhjyjzj{uh1hhhhj WhNhNubj})}(hXl**Parameters** ``struct gnet_dump *d`` dumping handle ``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu ``struct gnet_stats_basic_sync *b`` basic statistics ``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL **Context** task; must not be run from IRQ or BH contexts **Description** Appends the basic statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jX)}(h**Parameters**h]j)}(hjchh]h Parameters}(hjehhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjahubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj]hubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjhh]hstruct gnet_dump *d}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj|hubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhKhjhubah}(h]h ]h"]h$]h&]uh1jhj|hubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjyhubj)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjhh]h*struct gnet_stats_basic_sync __percpu *cpu}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjhubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhKhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjyhubj)}(h5``struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h#``struct gnet_stats_basic_sync *b``h]j)}(hjhh]hstruct gnet_stats_basic_sync *b}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjhubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj ihKhj iubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj ihKhjyhubj)}(h``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL h](j)}(h``bool running``h]j)}(hj-ih]h bool running}(hj/ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+iubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj'iubj)}(hhh]jX)}(htrue if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULLh](htrue if }(hjFihhhNhNubj)}(h**b**h]hb}(hjNihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFiubh" represents a running qdisc, thus }(hjFihhhNhNubj)}(h**b**h]hb}(hj`ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFiubhC’s internal values might change during basic reads. Only used if }(hjFihhhNhNubj)}(h**cpu**h]hcpu}(hjrihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFiubh is NULL}(hjFihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjCiubah}(h]h ]h"]h$]h&]uh1jhj'iubeh}(h]h ]h"]h$]h&]uh1jhjBihKhjyhubeh}(h]h ]h"]h$]h&]uh1jhj]hubjX)}(h **Context**h]j)}(hjih]hContext}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj]hubjX)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj]hubjX)}(h**Description**h]j)}(hjih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj]hubjX)}(hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().h]hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj]hubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj]hubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_basic_hw (C function)c.gnet_stats_copy_basic_hwhNtauh1hhj WhhhNhNubh)}(hhh](h)}(hint gnet_stats_copy_basic_hw (struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h]h)}(hint gnet_stats_copy_basic_hw(struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h](j)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hj)jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj(jhMubj)}(hgnet_stats_copy_basic_hwh]j%)}(hgnet_stats_copy_basic_hwh]hgnet_stats_copy_basic_hw}(hj;jhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7jubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhj(jhMubj)}(hp(struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h](j)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjWjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSjubj)}(h h]h }(hjdjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSjubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjujhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwjmodnameN classnameNjj!)}j$]j')}jj=jsbc.gnet_stats_copy_basic_hwasbuh1hhjSjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSjubj%)}(hj(`h]hd}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOjubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jjc.gnet_stats_copy_basic_hwasbuh1hhjjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh__percpu}(hjjhhhNhNubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hj$khhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hcpuh]hcpu}(hj1khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOjubj)}(hstruct gnet_stats_basic_sync *bh](h)}(hjh]hstruct}(hjJkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFkubj)}(h h]h }(hjWkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFkubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjekubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjkmodnameN classnameNjj!)}j$]jjc.gnet_stats_copy_basic_hwasbuh1hhjFkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFkubj%)}(hjgh]hb}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOjubj)}(h bool runningh](j)}(hjTh]hbool}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hrunningh]hrunning}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhj(jhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhj(jhMubah}(h]j jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(jhMhjjhhubjS)}(hhh]jX)}(h+copy basic hw statistics into statistic TLVh]h+copy basic hw statistics into statistic TLV}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhj(jhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj WhNhNubj})}(hXl**Parameters** ``struct gnet_dump *d`` dumping handle ``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu ``struct gnet_stats_basic_sync *b`` basic statistics ``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL **Context** task; must not be run from IRQ or BH contexts **Description** Appends the basic statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jX)}(h**Parameters**h]j)}(hj lh]h Parameters}(hj"lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj?lh]hstruct gnet_dump *d}(hjAlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=lubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj9lubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjXlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjTlhMhjUlubah}(h]h ]h"]h$]h&]uh1jhj9lubeh}(h]h ]h"]h$]h&]uh1jhjTlhMhj6lubj)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjxlh]h*struct gnet_stats_basic_sync __percpu *cpu}(hjzlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjrlubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjrlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj6lubj)}(h5``struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h#``struct gnet_stats_basic_sync *b``h]j)}(hjlh]hstruct gnet_stats_basic_sync *b}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj6lubj)}(h``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL h](j)}(h``bool running``h]j)}(hjlh]h bool running}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubj)}(hhh]jX)}(htrue if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULLh](htrue if }(hjmhhhNhNubj)}(h**b**h]hb}(hj mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh" represents a running qdisc, thus }(hjmhhhNhNubj)}(h**b**h]hb}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubhC’s internal values might change during basic reads. Only used if }(hjmhhhNhNubj)}(h**cpu**h]hcpu}(hj/mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh is NULL}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjmubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj6lubeh}(h]h ]h"]h$]h&]uh1jhjlubjX)}(h **Context**h]j)}(hj\mh]hContext}(hj^mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZmubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubjX)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjrmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubjX)}(h**Description**h]j)}(hjmh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubjX)}(hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().h]hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_rate_est (C function)c.gnet_stats_copy_rate_esthNtauh1hhj WhhhNhNubh)}(hhh](h)}(h^int gnet_stats_copy_rate_est (struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h]h)}(h]int gnet_stats_copy_rate_est(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjmhM)ubj)}(hgnet_stats_copy_rate_esth]j%)}(hgnet_stats_copy_rate_esth]hgnet_stats_copy_rate_est}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjmhM)ubj)}(hA(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h](j)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hj!nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hj2nhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4nmodnameN classnameNjj!)}j$]j')}jjmsbc.gnet_stats_copy_rate_estasbuh1hhjnubj)}(h h]h }(hjRnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hj`nhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hj(`h]hd}(hjmnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj nubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]jNnc.gnet_stats_copy_rate_estasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh__rcu}(hjnhhhNhNubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hrate_esth]hrate_est}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj nubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjmhM)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjmhM)ubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhM)hjmhhubjS)}(hhh]jX)}(h2copy rate estimator statistics into statistics TLVh]h2copy rate estimator statistics into statistics TLV}(hj%ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)hj"ohhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjmhM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=ojxj=ojyjzj{uh1hhhhj WhNhNubj})}(hX\**Parameters** ``struct gnet_dump *d`` dumping handle ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jX)}(h**Parameters**h]j)}(hjGoh]h Parameters}(hjIohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEoubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM-hjAoubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjfoh]hstruct gnet_dump *d}(hjhohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM*hj`oubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{ohM*hj|oubah}(h]h ]h"]h$]h&]uh1jhj`oubeh}(h]h ]h"]h$]h&]uh1jhj{ohM*hj]oubj)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjoh]h*struct net_rate_estimator __rcu **rate_est}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM+hjoubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohM+hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM+hj]oubeh}(h]h ]h"]h$]h&]uh1jhjAoubjX)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM-hjAoubjX)}(h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().h]h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjAoubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM/hjAoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhj WhhhNhNubh)}(hhh](h)}(hint gnet_stats_copy_queue (struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h]h)}(hint gnet_stats_copy_queue(struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h](j)}(hinth]hint}(hj.phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*phhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuubj)}(h h]h }(hj=phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*phhhjh]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgpubj%)}(hj(`h]hd}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcpubj)}(h'struct gnet_stats_queue __percpu *cpu_qh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hgnet_stats_queueh]hgnet_stats_queue}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]jpc.gnet_stats_copy_queueasbuh1hhjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh__percpu}(hjphhhNhNubj)}(h h]h }(hj*qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hj8qhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hcpu_qh]hcpu_q}(hjEqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcpubj)}(hstruct gnet_stats_queue *qh](h)}(hjh]hstruct}(hj^qhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZqubj)}(h h]h }(hjkqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZqubh)}(hhh]j%)}(hgnet_stats_queueh]hgnet_stats_queue}(hj|qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~qmodnameN classnameNjj!)}j$]jpc.gnet_stats_copy_queueasbuh1hhjZqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZqubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZqubj%)}(hqh]hq}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcpubj)}(h __u32 qlenh](h)}(hhh]j%)}(h__u32h]h__u32}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jpc.gnet_stats_copy_queueasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hqlenh]hqlen}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj*phhhjh]h*}(hj+thhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hj(`h]hd}(hj8thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hvoid *sth](j)}(hvoidh]hvoid}(hjPthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLtubj)}(h h]h }(hj^thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLtubj;)}(hj>h]h*}(hjlthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLtubj%)}(hsth]hst}(hjythhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hint lenh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hlenh]hlen}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhjshhhjshMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjshMubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMhjshhubjS)}(hhh]jX)}(h8copy application specific statistics into statistics TLVh]h8copy application specific statistics into statistics TLV}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjthhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhj WhNhNubj})}(hX**Parameters** ``struct gnet_dump *d`` dumping handle ``void *st`` application specific statistics data ``int len`` length of data **Description** Appends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jX)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjtubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjuh]hstruct gnet_dump *d}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjuubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hj2uhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.uhMhj/uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj.uhMhjuubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hjRuh]hvoid *st}(hjTuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjLuubj)}(hhh]jX)}(h$application specific statistics datah]h$application specific statistics data}(hjkuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjguhMhjhuubah}(h]h ]h"]h$]h&]uh1jhjLuubeh}(h]h ]h"]h$]h&]uh1jhjguhMhjuubj)}(h``int len`` length of data h](j)}(h ``int len``h]j)}(hjuh]hint len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjuubj)}(hhh]jX)}(hlength of datah]hlength of data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjuubeh}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjtubjX)}(hAppends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode.h]hAppends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjtubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#gnet_stats_finish_copy (C function)c.gnet_stats_finish_copyhNtauh1hhj WhhhNhNubh)}(hhh](h)}(h0int gnet_stats_finish_copy (struct gnet_dump *d)h]h)}(h/int gnet_stats_finish_copy(struct gnet_dump *d)h](j)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hj)vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhj(vhMubj)}(hgnet_stats_finish_copyh]j%)}(hgnet_stats_finish_copyh]hgnet_stats_finish_copy}(hj;vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhj(vhMubj)}(h(struct gnet_dump *d)h]j)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjWvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSvubj)}(h h]h }(hjdvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSvubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjuvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwvmodnameN classnameNjj!)}j$]j')}jj=vsbc.gnet_stats_finish_copyasbuh1hhjSvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSvubj%)}(hj(`h]hd}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOvubah}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhj(vhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhj(vhMubah}(h]j vah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(vhMhjvhhubjS)}(hhh]jX)}(hfinish dumping procedureh]hfinish dumping procedure}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhj(vhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhj WhNhNubj})}(hX**Parameters** ``struct gnet_dump *d`` dumping handle **Description** Corrects the length of the top level TLV to include all TLVs added by gnet_stats_copy_XXX() calls. Adds the backward compatibility TLVs if gnet_stats_start_copy_compat() was used and releases the statistics lock. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jX)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjvubj)}(hhh]j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjwh]hstruct gnet_dump *d}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjwubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hj3whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/whMhj0wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj/whMhjwubah}(h]h ]h"]h$]h&]uh1jhjvubjX)}(h**Description**h]j)}(hjUwh]h Description}(hjWwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSwubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjvubjX)}(hCorrects the length of the top level TLV to include all TLVs added by gnet_stats_copy_XXX() calls. Adds the backward compatibility TLVs if gnet_stats_start_copy_compat() was used and releases the statistics lock.h]hCorrects the length of the top level TLV to include all TLVs added by gnet_stats_copy_XXX() calls. Adds the backward compatibility TLVs if gnet_stats_start_copy_compat() was used and releases the statistics lock.}(hjkwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjvubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjzwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhj WhhhNhNubh)}(hhh](h)}(hint gen_new_estimator (struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h]h)}(hint gen_new_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKoubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjwhKoubj)}(hgen_new_estimatorh]j%)}(hgen_new_estimatorh]hgen_new_estimator}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjwhKoubj)}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j)}(h$struct gnet_stats_basic_sync *bstats2h](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jjwsbc.gen_new_estimatorasbuh1hhjwubj)}(h h]h }(hj$xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hj2xhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hbstatsh]hbstats}(hj?xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](h)}(hjh]hstruct}(hjXxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTxubj)}(h h]h }(hjexhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTxubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjvxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxxmodnameN classnameNjj!)}j$]j xc.gen_new_estimatorasbuh1hhjTxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTxubh__percpu}(hjTxhhhNhNubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTxubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTxubj%)}(h cpu_bstatsh]h cpu_bstats}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j xc.gen_new_estimatorasbuh1hhjxubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh__rcu}(hjxhhhNhNubj)}(h h]h }(hj(yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hj6yhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj;)}(hj>h]h*}(hjCyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hrate_esth]hrate_est}(hjPyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjlyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnymodnameN classnameNjj!)}j$]j xc.gen_new_estimatorasbuh1hhjeyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeyubj%)}(hlockh]hlock}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(h bool runningh](j)}(hjTh]hbool}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj%)}(hrunningh]hrunning}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hnlattrh]hnlattr}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j xc.gen_new_estimatorasbuh1hhjyubj)}(h h]h }(hj.zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjh]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\}ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\}ubj%)}(hrate_esth]hrate_est}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjX}ubah}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhj1}hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhj1}hKubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1}hKhj}hhubjS)}(hhh]jX)}(hremove a rate estimatorh]hremove a rate estimator}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj1}hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhj WhNhNubj})}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.h](jX)}(h**Parameters**h]j)}(hj$~h]h Parameters}(hj&~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"~ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj~ubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjC~h]h*struct net_rate_estimator __rcu **rate_est}(hjE~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj=~ubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hj\~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjX~hKhjY~ubah}(h]h ]h"]h$]h&]uh1jhj=~ubeh}(h]h ]h"]h$]h&]uh1jhjX~hKhj:~ubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hj~~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|~ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj~ubjX)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhj WhhhNhNubh)}(hhh](h)}(hint gen_replace_estimator (struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h]h)}(hint gen_replace_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j)}(hinth]hint}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hKubj)}(hgen_replace_estimatorh]j%)}(hgen_replace_estimatorh]hgen_replace_estimator}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hKubj)}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j)}(h$struct gnet_stats_basic_sync *bstatsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj~sbc.gen_replace_estimatorasbuh1hhj~ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hbstatsh]hbstats}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j:c.gen_replace_estimatorasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh__percpu}(hjnhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(h cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j:c.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__rcu}(hjhhhNhNubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrate_esth]hrate_est}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j:c.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h bool runningh](j)}(hjTh]hbool}(hj؀hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԀubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԀubj%)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԀubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnlattrh]hnlattr}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j:c.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopth]hopt}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhj~hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhj~hKubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hKhj~hhubjS)}(hhh]jX)}(h$replace rate estimator configurationh]h$replace rate estimator configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhj~hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj WhNhNubj})}(hX**Parameters** ``struct gnet_stats_basic_sync *bstats`` basic statistics ``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu ``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics ``spinlock_t *lock`` lock for statistics and control path ``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULL ``struct nlattr *opt`` rate estimator configuration TLV **Description** Replaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator(). Returns 0 on success or a negative error code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hj΁h]h$struct gnet_stats_basic_sync *bstats}(hjЁhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj́ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjȁubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjȁubeh}(h]h ]h"]h$]h&]uh1jhjhKhjŁubj)}(hE``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu h](j)}(h5``struct gnet_stats_basic_sync __percpu *cpu_bstats``h]j)}(hjh]h1struct gnet_stats_basic_sync __percpu *cpu_bstats}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jX)}(hbstats per cpuh]hbstats per cpu}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjŁubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hj@h]h*struct net_rate_estimator __rcu **rate_est}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj:ubj)}(hhh]jX)}(hrate estimator statisticsh]hrate estimator statistics}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhKhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhKhjŁubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjyh]hspinlock_t *lock}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjsubj)}(hhh]jX)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjŁubj)}(h``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jX)}(htrue if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULLh](htrue if }(hj˂hhhNhNubj)}(h **bstats**h]hbstats}(hjӂhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˂ubh" represents a running qdisc, thus }(hj˂hhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˂ubhB’ internal values might change during basic reads. Only used if }(hj˂hhhNhNubj)}(h**cpu_bstats**h]h cpu_bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˂ubh is NULL}(hj˂hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjȂubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǂhKhjŁubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hj"h]hstruct nlattr *opt}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jX)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjŁubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj]h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjX)}(hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().h]hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjX)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhj WhhhNhNubh)}(hhh](h)}(hFbool gen_estimator_active (struct net_rate_estimator __rcu **rate_est)h]h)}(hEbool gen_estimator_active(struct net_rate_estimator __rcu **rate_est)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hgen_estimator_activeh]j%)}(hgen_estimator_activeh]hgen_estimator_active}(hjуhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̓ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h,(struct net_rate_estimator __rcu **rate_est)h]j)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjӃsbc.gen_estimator_activeasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__rcu}(hjhhhNhNubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrate_esth]hrate_est}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h%test if estimator is currently in useh]h%test if estimator is currently in use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj WhNhNubj})}(h**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Returns true if estimator is active, and false if not.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjЄh]h*struct net_rate_estimator __rcu **rate_est}(hj҄hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj΄ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjʄubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjʄubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDŽubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjX)}(h6Returns true if estimator is active, and false if not.h]h6Returns true if estimator is active, and false if not.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj WhhhNhNubeh}(h]generic-network-statisticsah ]h"]generic network statisticsah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hSUN RPC subsystemh]hSUN RPC subsystem}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hR__be32 * xdr_encode_opaque_fixed (__be32 *p, const void *ptr, unsigned int nbytes)h]h)}(hP__be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int nbytes)h](h)}(hhh]j%)}(h__be32h]h__be32}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jxdr_encode_opaque_fixedsbc.xdr_encode_opaque_fixedasbuh1hhjehhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjhK)ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjehhhjhK)ubj)}(hxdr_encode_opaque_fixedh]j%)}(hjh]hxdr_encode_opaque_fixed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjhK)ubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hj˅hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȅubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjͅmodnameN classnameNjj!)}j$]jc.xdr_encode_opaque_fixedasbuh1hhjąubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjąubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjąubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjąubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst void *ptrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hptrh]hptr}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjhK)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjhK)ubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK)hj^hhubjS)}(hhh]jX)}(hEncode fixed length opaque datah]hEncode fixed length opaque data}(hjۆhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)hj؆hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhjhK)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Copy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832). **Note** if ptr is NULL, only the padding is performed. Returns the updated current XDR buffer positionh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjh]h __be32 *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK*hjubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hK*hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hK*hjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjUh]hconst void *ptr}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK+hjOubj)}(hhh]jX)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhK+hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhK+hjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK,hjubj)}(hhh]jX)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK,hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjɇh]h Description}(hjˇhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLJubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK.hjubjX)}(hCopy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832).h]hCopy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832).}(hj߇hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjubjX)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjubjX)}(h.if ptr is NULL, only the padding is performed.h]h.if ptr is NULL, only the padding is performed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjubjX)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK3hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhj?hhhNhNubh)}(hhh](h)}(hL__be32 * xdr_encode_opaque (__be32 *p, const void *ptr, unsigned int nbytes)h]h)}(hJ__be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int nbytes)h](h)}(hhh]j%)}(h__be32h]h__be32}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jxdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhj@hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjhhKGubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@hhhjhhKGubj)}(hxdr_encode_opaqueh]j%)}(hjeh]hxdr_encode_opaque}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjhhKGubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jcc.xdr_encode_opaqueasbuh1hhjubj)}(h h]h }(hjĈhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj҈hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hj߈hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst void *ptrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hptrh]hptr}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(hinth]hint}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjhhKGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjhhKGubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhKGhj9hhubjS)}(hhh]jX)}(h"Encode variable length opaque datah]h"Encode variable length opaque data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGhjhhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjhhKGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjΉjxjΉjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Returns the updated current XDR buffer positionh](jX)}(h**Parameters**h]j)}(hj؉h]h Parameters}(hjډhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj։ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKKhj҉ubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjh]h __be32 *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKHhjubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKHhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKHhjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hj0h]hconst void *ptr}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKIhj*ubj)}(hhh]jX)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKIhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKIhjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjih]hunsigned int nbytes}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKJhjcubj)}(hhh]jX)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hKJhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hKJhjubeh}(h]h ]h"]h$]h&]uh1jhj҉ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKLhj҉ubjX)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKKhj҉ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hDvoid xdr_terminate_string (const struct xdr_buf *buf, const u32 len)h]h)}(hCvoid xdr_terminate_string(const struct xdr_buf *buf, const u32 len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK]ubj)}(hxdr_terminate_stringh]j%)}(hxdr_terminate_stringh]hxdr_terminate_string}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK]ubj)}(h*(const struct xdr_buf *buf, const u32 len)h](j)}(hconst struct xdr_buf *bufh](h)}(hjh]hconst}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj sbc.xdr_terminate_stringasbuh1hhj"ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const u32 lenh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu32h]hu32}(hjыhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj΋ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjӋmodnameN classnameNjj!)}j$]j{c.xdr_terminate_stringasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhK]ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhK]ubah}(h]j܊ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK]hjފhhubjS)}(hhh]jX)}(h.'\0'-terminate a string residing in an xdr_bufh]h2‘0’-terminate a string residing in an xdr_buf}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]hj$hhubah}(h]h ]h"]h$]h&]uh1jRhjފhhhjhK]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``const struct xdr_buf *buf`` XDR buffer where string resides ``const u32 len`` length of string, in bytesh](jX)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKahjCubj)}(hhh](j)}(h>``const struct xdr_buf *buf`` XDR buffer where string resides h](j)}(h``const struct xdr_buf *buf``h]j)}(hjhh]hconst struct xdr_buf *buf}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK^hjbubj)}(hhh]jX)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hK^hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hK^hj_ubj)}(h,``const u32 len`` length of string, in bytesh](j)}(h``const u32 len``h]j)}(hjh]h const u32 len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK`hjubj)}(hhh]jX)}(hlength of string, in bytesh]hlength of string, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK`hj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhj?hhhNhNubh)}(hhh](h)}(hfunsigned int xdr_buf_to_bvec (struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h]h)}(heunsigned int xdr_buf_to_bvec(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hKubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hKubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hKubj)}(hxdr_buf_to_bvech]j%)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hKubj)}(hI(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j)}(hstruct bio_vec *bvech](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(hbio_vech]hbio_vec}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jj:sbc.xdr_buf_to_bvecasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hbvech]hbvec}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hunsigned int bvec_sizeh](j)}(hunsignedh]hunsigned}(hjƍhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjԍhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h bvec_sizeh]h bvec_size}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hconst struct xdr_buf *xdrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jc.xdr_buf_to_bvecasbuh1hhjubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj hKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hKhjhhubjS)}(hhh]jX)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjˎjxjˎjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct bio_vec *bvec`` bio_vec array to populate ``unsigned int bvec_size`` element count of **bio_vec** ``const struct xdr_buf *xdr`` xdr_buf to be copied **Description** Returns the number of entries consumed in **bvec**.h](jX)}(h**Parameters**h]j)}(hjՎh]h Parameters}(hj׎hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӎubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjώubj)}(hhh](j)}(h3``struct bio_vec *bvec`` bio_vec array to populate h](j)}(h``struct bio_vec *bvec``h]j)}(hjh]hstruct bio_vec *bvec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(hbio_vec array to populateh]hbio_vec array to populate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h8``unsigned int bvec_size`` element count of **bio_vec** h](j)}(h``unsigned int bvec_size``h]j)}(hj-h]hunsigned int bvec_size}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj'ubj)}(hhh]jX)}(helement count of **bio_vec**h](helement count of }(hjFhhhNhNubj)}(h **bio_vec**h]hbio_vec}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jWhjBhKhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhKhjubj)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hjth]hconst struct xdr_buf *xdr}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjnubj)}(hhh]jX)}(hxdr_buf to be copiedh]hxdr_buf to be copied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjώubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjώubjX)}(h3Returns the number of entries consumed in **bvec**.h](h*Returns the number of entries consumed in }(hjŏhhhNhNubj)}(h**bvec**h]hbvec}(hj͏hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŏubh.}(hjŏhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjώubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hzvoid xdr_inline_pages (struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h]h)}(hyvoid xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hxdr_inline_pagesh]j%)}(hxdr_inline_pagesh]hxdr_inline_pages}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(hd(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](j)}(hstruct xdr_buf *xdrh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jj)sbc.xdr_inline_pagesasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjÐhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjѐhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjߐhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j}c.xdr_inline_pagesasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpagesh]hpages}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjԑhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjБubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjБubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjБubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjБubj%)}(hlenh]hlen}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjБubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h(Prepare receive buffer for a large replyh]h(Prepare receive buffer for a large reply}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj3hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_buf *xdr`` xdr_buf into which reply will be placed ``unsigned int offset`` expected offset where data payload will start, in bytes ``struct page **pages`` vector of struct page pointers ``unsigned int base`` offset in first page where receive should start, in bytes ``unsigned int len`` expected size of the upper layer data payload, in bytesh](jX)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjRubj)}(hhh](j)}(h@``struct xdr_buf *xdr`` xdr_buf into which reply will be placed h](j)}(h``struct xdr_buf *xdr``h]j)}(hjwh]hstruct xdr_buf *xdr}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjqubj)}(hhh]jX)}(h'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhjnubj)}(hP``unsigned int offset`` expected offset where data payload will start, in bytes h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(h7expected offset where data payload will start, in bytesh]h7expected offset where data payload will start, in bytes}(hjɒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjŒhKhjƒubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŒhKhjnubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(hvector of struct page pointersh]hvector of struct page pointers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjnubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hj"h]hunsigned int base}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjnubj)}(hL``unsigned int len`` expected size of the upper layer data payload, in bytesh](j)}(h``unsigned int len``h]j)}(hj[h]hunsigned int len}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjUubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hOvoid _copy_from_pages (char *p, struct page **pages, size_t pgbase, size_t len)h]h)}(hNvoid _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjēhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjÓhMubj)}(h_copy_from_pagesh]j%)}(h_copy_from_pagesh]h_copy_from_pages}(hj֓hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjғubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjÓhMubj)}(h9(char *p, struct page **pages, size_t pgbase, size_t len)h](j)}(hchar *ph](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hpageh]hpage}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjؓsbc._copy_from_pagesasbuh1hhj/ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t pgbaseh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jmc._copy_from_pagesasbuh1hhjubj)}(h h]h }(hjӔhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpgbaseh]hpgbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jmc._copy_from_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjÓhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjÓhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjÓhMhjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjÓhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhj?hNhNubj})}(hX$**Parameters** ``char *p`` pointer to destination ``struct page **pages`` array of pages ``size_t pgbase`` offset of source data ``size_t len`` length **Description** Copies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.h](jX)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj`ubj)}(hhh](j)}(h#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hjh]hchar *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to destinationh]hpointer to destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj|ubj)}(h'``struct page **pages`` array of pages h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(harray of pagesh]harray of pages}(hjוhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjӕhMhjԕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӕhMhj|ubj)}(h(``size_t pgbase`` offset of source data h](j)}(h``size_t pgbase``h]j)}(hjh]h size_t pgbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hoffset of source datah]hoffset of source data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj|ubj)}(h``size_t len`` length h](j)}(h``size_t len``h]j)}(hj0h]h size_t len}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj*ubj)}(hhh]jX)}(hlengthh]hlength}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj|ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjX)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj`ubjX)}(hoCopies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.h]hoCopies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhj?hhhNhNubh)}(hhh](h)}(h:unsigned int xdr_stream_pos (const struct xdr_stream *xdr)h]h)}(h9unsigned int xdr_stream_pos(const struct xdr_stream *xdr)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMyubj)}(hinth]hint}(hj͖hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMyubj)}(h h]h }(hjۖhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMyubj)}(hxdr_stream_posh]j%)}(hxdr_stream_posh]hxdr_stream_pos}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMyubj)}(h(const struct xdr_stream *xdr)h]j)}(hconst struct xdr_stream *xdrh](h)}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_posasbuh1hhjubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMyubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMyhjhhubjS)}(hhh]jX)}(h:Return the current offset from the start of the xdr_streamh]h:Return the current offset from the start of the xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jX)}(h**Parameters**h]j)}(hjɗh]h Parameters}(hj˗hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǗubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM}hj×ubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjh]hconst struct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjߗubah}(h]h ]h"]h$]h&]uh1jhj×ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhj?hhhNhNubh)}(hhh](h)}(h8unsigned int xdr_page_pos (const struct xdr_stream *xdr)h]h)}(h7unsigned int xdr_page_pos(const struct xdr_stream *xdr)h](j)}(hunsignedh]hunsigned}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhMubj)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhjPhMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhMubj)}(h xdr_page_posh]j%)}(h xdr_page_posh]h xdr_page_pos}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjPhMubj)}(h(const struct xdr_stream *xdr)h]j)}(hconst struct xdr_stream *xdrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjØhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjԘhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjјubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj֘modnameN classnameNjj!)}j$]j')}jjsbc.xdr_page_posasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhjPhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhjPhMubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhMhj7hhubjS)}(hhh]jX)}(h9Return the current offset from the start of the xdr pagesh]h9Return the current offset from the start of the xdr pages}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhjPhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj?hNhNubj})}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjUubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjzh]hconst struct xdr_stream *xdr}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjtubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhj?hhhNhNubh)}(hhh](h)}(hdvoid xdr_init_encode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]h)}(hcvoid xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hvoidh]hvoid}(hjԙhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЙhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjЙhhhjhMubj)}(hxdr_init_encodeh]j%)}(hxdr_init_encodeh]hxdr_init_encode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjЙhhhjhMubj)}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_encodeasbuh1hhj ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hxdrh]hxdr}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jKc.xdr_init_encodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj͚hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjښhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jKc.xdr_init_encodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hstruct rpc_rqst *rqsth](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jKc.xdr_init_encodeasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjЙhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj̙hhhjhMubah}(h]jǙah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjəhhubjS)}(hhh]jX)}(h0Initialize a struct xdr_stream for sending data.h]h0Initialize a struct xdr_stream for sending data.}(hjțhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjśhhubah}(h]h ]h"]h$]h&]uh1jRhjəhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hXx**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data ``__be32 *p`` current pointer inside XDR buffer ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging **Note** at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hj h]hstruct xdr_stream *xdr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjBh]hstruct xdr_buf *buf}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj<ubj)}(hhh]jX)}(h-pointer to XDR buffer in which to encode datah]h-pointer to XDR buffer in which to encode data}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hj{h]h __be32 *p}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjuubj)}(hhh]jX)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hjh]hstruct rpc_rqst *rqst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hj͜hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjɜhMhjʜubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɜhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(hX=at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](j)}(h:at the moment the RPC client only passes the length of ourh]h:at the moment the RPC client only passes the length of our}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hXscratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h]hXscratch buffer in the xdr_buf’s header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hHvoid xdr_init_encode_pages (struct xdr_stream *xdr, struct xdr_buf *buf)h]h)}(hGvoid xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf)h](j)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhMubj)}(hxdr_init_encode_pagesh]j%)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjmhMubj)}(h-(struct xdr_stream *xdr, struct xdr_buf *buf)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_encode_pagesasbuh1hhjubj)}(h h]h }(hjڝhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j֝c.xdr_init_encode_pagesasbuh1hhj ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hbufh]hbuf}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhjmhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhMubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMhjThhubjS)}(hhh]jX)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjmhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjОh]hstruct xdr_stream *xdr}(hjҞhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΞubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjʞubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʞubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǞubj)}(hG``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](j)}(h``struct xdr_buf *buf``h]j)}(hj h]hstruct xdr_buf *buf}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h/pointer to XDR buffer into which to encode datah]h/pointer to XDR buffer into which to encode data}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǞubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]h)}(h0void __xdr_commit_encode(struct xdr_stream *xdr)h](j)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjqhMubj)}(h__xdr_commit_encodeh]j%)}(h__xdr_commit_encodeh]h__xdr_commit_encode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhjqhMubj)}(h(struct xdr_stream *xdr)h]j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__xdr_commit_encodeasbuh1hhjubj)}(h h]h }(hjޟhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhjqhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjqhMubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMhjXhhubjS)}(hhh]jX)}(h$Ensure all data is written to bufferh]h$Ensure all data is written to buffer}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhjqhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream **Description** We handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying. Normally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj?ubj)}(hhh]j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjdh]hstruct xdr_stream *xdr}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj^ubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj?ubjX)}(hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.h]hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj?ubjX)}(hNormally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h]hNormally the caller doesn’t need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.}(hjĠhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhj?hhhNhNubh)}(hhh](h)}(hB__be32 * xdr_reserve_space (struct xdr_stream *xdr, size_t nbytes)h]h)}(h@__be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_reserve_spacesbc.xdr_reserve_spaceasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM'ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM'ubj)}(hxdr_reserve_spaceh]j%)}(hjh]hxdr_reserve_space}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM'ubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]jc.xdr_reserve_spaceasbuh1hhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(h size_t nbytesh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjšhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj¡ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjǡmodnameN classnameNjj!)}j$]jc.xdr_reserve_spaceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM'ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hjhhubjS)}(hhh]jX)}(h Reserve buffer space for sendingh]h Reserve buffer space for sending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhj?hNhNubj})}(hXS**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``size_t nbytes`` number of bytes to reserve **Description** Checks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec. The returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on **xdr**. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until **xdr** is destroyed, but that might not always be true in the future.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM+hj7ubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj\h]hstruct xdr_stream *xdr}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM(hjVubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhM(hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM(hjSubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM)hjubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjТh]h Description}(hjҢhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj΢ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM+hj7ubjX)}(hChecks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.h]hChecks that we have enough buffer space to encode ‘nbytes’ more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM*hj7ubjX)}(hX+The returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on **xdr**. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until **xdr** is destroyed, but that might not always be true in the future.h](hhThe returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhv. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh? is destroyed, but that might not always be true in the future.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM.hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhj?hhhNhNubh)}(hhh](h)}(hAint xdr_reserve_space_vec (struct xdr_stream *xdr, size_t nbytes)h]h)}(h@int xdr_reserve_space_vec(struct xdr_stream *xdr, size_t nbytes)h](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhMLubj)}(hxdr_reserve_space_vech]j%)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjVhMLubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjksbc.xdr_reserve_space_vecasbuh1hhjubj)}(h h]h }(hjãhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjѣhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjޣhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(h size_t nbytesh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_reserve_space_vecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnbytesh]hnbytes}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjVhMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjVhMLubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMLhj=hhubjS)}(hhh]jX)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLhjMhhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhjVhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``size_t nbytes`` number of bytes to reserve **Description** The size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called. Return values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjlubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjʤh]h size_t nbytes}(hj̤hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȤubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMNhjĤubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjߤhMNhjubah}(h]h ]h"]h$]h&]uh1jhjĤubeh}(h]h ]h"]h$]h&]uh1jhjߤhMNhjubeh}(h]h ]h"]h$]h&]uh1jhjlubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjlubjX)}(hThe size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called.h]hThe size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMOhjlubj)}(hhh]j)}(hUReturn values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(hReturn values:h]hReturn values:}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThj-ubj)}(hhh]jX)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh : success }(hjChhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh#: not enough space is available in }(hjChhhNhNubj)}(h**xdr**h]hxdr}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jWhj?hMThj@ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj?hMThj*ubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h=void xdr_truncate_encode (struct xdr_stream *xdr, size_t len)h]h)}(hh]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j(c.xdr_truncate_encodeasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMwubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMwhjhhubjS)}(hhh]jX)}(htruncate an encode bufferh]htruncate an encode buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjѦjxjѦjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``size_t len`` new length of buffer **Description** Truncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond. If this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer's current length represents the end of the available buffer. This is *not* safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.h](jX)}(h**Parameters**h]j)}(hjۦh]h Parameters}(hjݦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj٦ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hjզubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMxhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h$``size_t len`` new length of buffer h](j)}(h``size_t len``h]j)}(hj3h]h size_t len}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhj-ubj)}(hhh]jX)}(hnew length of bufferh]hnew length of buffer}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMyhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMyhjubeh}(h]h ]h"]h$]h&]uh1jhjզubjX)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hjզubjX)}(hTruncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond.h]hTruncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMzhjզubjX)}(hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer's current length represents the end of the available buffer.h]hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer’s current length represents the end of the available buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM~hjզubjX)}(hThis is *not* safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.h](hThis is }(hjhhhNhNubju)}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubh safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjզubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h=void xdr_truncate_decode (struct xdr_stream *xdr, size_t len)h]h)}(hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j')}jjsbc.xdr_truncate_decodeasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jZc.xdr_truncate_decodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjߧhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjۧhhhjhMubah}(h]j֧ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjاhhubjS)}(hhh]jX)}(hTruncate a decoding streamh]hTruncate a decoding stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjاhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hu**Parameters** ``struct xdr_stream *xdr`` pointer to struct xdr_stream ``size_t len`` Number of bytes to removeh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to struct xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj,h]hstruct xdr_stream *xdr}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj&ubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubj)}(h(``size_t len`` Number of bytes to removeh](j)}(h``size_t len``h]j)}(hjeh]h size_t len}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj_ubj)}(hhh]jX)}(hNumber of bytes to removeh]hNumber of bytes to remove}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj#ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_restrict_buflen (C function)c.xdr_restrict_buflenhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h?int xdr_restrict_buflen (struct xdr_stream *xdr, int newbuflen)h]h)}(h>int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjΩhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjͩhMubj)}(hxdr_restrict_buflenh]j%)}(hxdr_restrict_buflenh]hxdr_restrict_buflen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܩubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjͩhMubj)}(h'(struct xdr_stream *xdr, int newbuflen)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_restrict_buflenasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int newbuflenh](j)}(hinth]hint}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(h newbuflenh]h newbuflen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjͩhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjͩhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjͩhMhjhhubjS)}(hhh]jX)}(hdecrease available buffer spaceh]hdecrease available buffer space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjͩhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj̪jxj̪jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``int newbuflen`` new maximum number of bytes available **Description** Adjust our idea of how much space is available in the buffer. If we've already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.h](jX)}(h**Parameters**h]j)}(hj֪h]h Parameters}(hjتhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԪubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjЪubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h8``int newbuflen`` new maximum number of bytes available h](j)}(h``int newbuflen``h]j)}(hj.h]h int newbuflen}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj(ubj)}(hhh]jX)}(h%new maximum number of bytes availableh]h%new maximum number of bytes available}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubeh}(h]h ]h"]h$]h&]uh1jhjЪubjX)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjЪubjX)}(hXXAdjust our idea of how much space is available in the buffer. If we've already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.h]hXZAdjust our idea of how much space is available in the buffer. If we’ve already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjЪubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hgvoid xdr_write_pages (struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h]h)}(hfvoid xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_write_pagesh]j%)}(hxdr_write_pagesh]hxdr_write_pages}(hjϫhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˫ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hR(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjѫsbc.xdr_write_pagesasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hpageh]hpage}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j%c.xdr_write_pagesasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hjڬhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֬ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֬ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֬ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֬ubj%)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֬ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(hlenh]hlen}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h5Insert a list of pages into an XDR buffer for sendingh]h5Insert a list of pages into an XDR buffer for sending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``struct page **pages`` array of pages to insert ``unsigned int base`` starting offset of first data byte in **pages** ``unsigned int len`` number of data bytes in **pages** to insert **Description** After the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjέh]hstruct xdr_stream *xdr}(hjЭhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̭ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjȭubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȭubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŭubj)}(h1``struct page **pages`` array of pages to insert h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(harray of pages to inserth]harray of pages to insert}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŭubj)}(hF``unsigned int base`` starting offset of first data byte in **pages** h](j)}(h``unsigned int base``h]j)}(hj@h]hunsigned int base}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj:ubj)}(hhh]jX)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hjYhhhNhNubj)}(h **pages**h]hpages}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjŭubj)}(hA``unsigned int len`` number of data bytes in **pages** to insert h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to insert}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŭubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjԮh]h Description}(hj֮hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҮubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjX)}(hAfter the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](h After the }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhj?hhhNhNubh)}(hhh](h)}(hdvoid xdr_init_decode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]h)}(hcvoid xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj9hMuubj)}(hxdr_init_decodeh]j%)}(hxdr_init_decodeh]hxdr_init_decode}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hMuubj)}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjNsbc.xdr_init_decodeasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjگhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֯ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֯ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_init_decodeasbuh1hhj֯ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֯ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj֯ubj%)}(hbufh]hbuf}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֯ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jc.xdr_init_decodeasbuh1hhjFubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct rpc_rqst *rqsth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_init_decodeasbuh1hhjubj)}(h h]h }(hjڰhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj9hMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hMuubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMuhj hhubjS)}(hhh]jX)}(h+Initialize an xdr_stream for decoding data.h]h+Initialize an xdr_stream for decoding data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data ``__be32 *p`` current pointer inside XDR buffer ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](jX)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhj;ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hj`h]hstruct xdr_stream *xdr}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMvhjZubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMvhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMvhjWubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhjubj)}(hhh]jX)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjWubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hjұh]h __be32 *p}(hjԱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjбubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMxhj̱ubj)}(hhh]jX)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhj̱ubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjWubj)}(hH``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](j)}(h``struct rpc_rqst *rqst``h]j)}(hj h]hstruct rpc_rqst *rqst}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMzhjubj)}(hhh]jX)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMzhjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hovoid xdr_init_decode_pages (struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h]h)}(hnvoid xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjshMubj)}(hxdr_init_decode_pagesh]j%)}(hxdr_init_decode_pagesh]hxdr_init_decode_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjshMubj)}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj²modnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_decode_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]jܲc.xdr_init_decode_pagesasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jܲc.xdr_init_decode_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjγhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj۳hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjshMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjshMubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMhjZhhubjS)}(hhh]jX)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding into pages}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj`hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data ``struct page **pages`` list of pages to decode into ``unsigned int len`` length in bytes of buffer in pagesh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjݴh]hstruct xdr_buf *buf}(hjߴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj۴ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj״ubj)}(hhh]jX)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj״ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct page **pages`` list of pages to decode into h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hlist of pages to decode intoh]hlist of pages to decode into}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](j)}(h``unsigned int len``h]j)}(hjOh]hunsigned int len}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjIubj)}(hhh]jX)}(h"length in bytes of buffer in pagesh]h"length in bytes of buffer in pages}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h/void xdr_finish_decode (struct xdr_stream *xdr)h]h)}(h.void xdr_finish_decode(struct xdr_stream *xdr)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_finish_decodeh]j%)}(hxdr_finish_decodeh]hxdr_finish_decode}(hjʵhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƵubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct xdr_stream *xdr)h]j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj̵sbc.xdr_finish_decodeasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj޵ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h,Clean up the xdr_stream after decoding data.h]h,Clean up the xdr_stream after decoding data.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hI**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(h7``struct xdr_stream *xdr`` pointer to xdr_stream structh](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjöhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhj?hhhNhNubh)}(hhh](h)}(hB__be32 * xdr_inline_decode (struct xdr_stream *xdr, size_t nbytes)h]h)}(h@__be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jxdr_inline_decodesbc.xdr_inline_decodeasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hMubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj(hMubj)}(hxdr_inline_decodeh]j%)}(hj%h]hxdr_inline_decode}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hMubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j#c.xdr_inline_decodeasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(h size_t nbytesh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjַhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӷubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjطmodnameN classnameNjj!)}j$]j#c.xdr_inline_decodeasbuh1hhjϷubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϷubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϷubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMhjhhubjS)}(hhh]jX)}(hRetrieve XDR data to decodeh]hRetrieve XDR data to decode}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhj?hNhNubj})}(hX\**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``size_t nbytes`` number of bytes of data to decode **Description** Check if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.h](jX)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjmh]hstruct xdr_stream *xdr}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjgubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h4``size_t nbytes`` number of bytes of data to decode h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h!number of bytes of data to decodeh]h!number of bytes of data to decode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߸ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHubjX)}(hCheck if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.h]hCheck if the input buffer is long enough to enable us to decode ‘nbytes’ more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hFunsigned int xdr_read_pages (struct xdr_stream *xdr, unsigned int len)h]h)}(hEunsigned int xdr_read_pages(struct xdr_stream *xdr, unsigned int len)h](j)}(hunsignedh]hunsigned}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj4hMubj)}(hinth]hint}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhj4hMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj4hMubj)}(hxdr_read_pagesh]j%)}(hxdr_read_pagesh]hxdr_read_pages}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj4hMubj)}(h*(struct xdr_stream *xdr, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesbc.xdr_read_pagesasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hj˹hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hxdrh]hxdr}(hjعhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubeh}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj4hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMhjhhubjS)}(hhh]jX)}(h5align page-based XDR data to current pointer positionh]h5align page-based XDR data to current pointer position}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` number of bytes of page data **Description** Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + **len** bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail. Returns the number of XDR encoded bytes now contained in the pagesh](jX)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjoubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hjͺh]hunsigned int len}(hjϺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˺ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjǺubj)}(hhh]jX)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjǺubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjoubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjoubjX)}(hX#Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + **len** bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail.h](hMoves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + }(hjhhhNhNubj)}(h**len**h]hlen}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjoubjX)}(hBReturns the number of XDR encoded bytes now contained in the pagesh]hBReturns the number of XDR encoded bytes now contained in the pages}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h?void xdr_set_pagelen (struct xdr_stream *xdr, unsigned int len)h]h)}(h>void xdr_set_pagelen(struct xdr_stream *xdr, unsigned int len)h](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM2ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj|hM2ubj)}(hxdr_set_pagelenh]j%)}(hxdr_set_pagelenh]hxdr_set_pagelen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhj|hM2ubj)}(h*(struct xdr_stream *xdr, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjɻhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƻubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj˻modnameN classnameNjj!)}j$]j')}jjsbc.xdr_set_pagelenasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhj|hM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhj|hM2ubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hM2hjchhubjS)}(hhh]jX)}(h Sets the length of the XDR pagesh]h Sets the length of the XDR pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM2hj|hhubah}(h]h ]h"]h$]h&]uh1jRhjchhhj|hM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` new length of the XDR page data **Description** Either grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail. Returns True if the operation was successful, and False otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6hjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hj¼hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM3hjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjټhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjռhM3hjּubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjռhM3hjubj)}(h5``unsigned int len`` new length of the XDR page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM4hjubj)}(hhh]jX)}(hnew length of the XDR page datah]hnew length of the XDR page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6hjubjX)}(hEither grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail.h](hJEither grows or shrinks the length of the xdr pages by setting pagelen to }(hjJhhhNhNubj)}(h**len**h]hlen}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5hjubjX)}(hBReturns True if the operation was successful, and False otherwise.h]hBReturns True if the operation was successful, and False otherwise.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h>void xdr_enter_page (struct xdr_stream *xdr, unsigned int len)h]h)}(h=void xdr_enter_page(struct xdr_stream *xdr, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMPubj)}(hxdr_enter_pageh]j%)}(hxdr_enter_pageh]hxdr_enter_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMPubj)}(h*(struct xdr_stream *xdr, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj׽hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjӽubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӽubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_enter_pageasbuh1hhjӽubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӽubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjӽubj%)}(hxdrh]hxdr}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӽubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjϽubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(hinth]hint}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjϽubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMPubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMPubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMPhjhhubjS)}(hhh]jX)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjþjxjþjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` number of bytes of page data **Description** Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + "len" bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.h](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hjϾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˾ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjǾubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMQhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hj%h]hunsigned int len}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMRhjubj)}(hhh]jX)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMRhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMRhjubeh}(h]h ]h"]h$]h&]uh1jhjǾubjX)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjǾubjX)}(hXMoves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + "len" bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.h]hX Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + “len” bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMShjǾubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hoint xdr_buf_subsegment (const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h]h)}(hnint xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMqubj)}(hxdr_buf_subsegmenth]j%)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjƿhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj¿ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMqubj)}(hX(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](j)}(hconst struct xdr_buf *bufh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj޿ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޿ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj޿ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޿ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjȿsbc.xdr_buf_subsegmentasbuh1hhj޿ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޿ubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj޿ubj%)}(hbufh]hbuf}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj޿ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjڿubj)}(hstruct xdr_buf *subbufh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.xdr_buf_subsegmentasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjڿubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjڿubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(hlenh]hlen}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjڿubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMqubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMqhjhhubjS)}(hhh]jX)}(hset subbuf to a portion of bufh]hset subbuf to a portion of buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``const struct xdr_buf *buf`` an xdr buffer ``struct xdr_buf *subbuf`` the result buffer ``unsigned int base`` beginning of range in bytes ``unsigned int len`` length of range in bytes **Description** sets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**. **buf** and **subbuf** may be pointers to the same struct xdr_buf. Returns -1 if base or length are out of bounds.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhjubj)}(hhh](j)}(h,``const struct xdr_buf *buf`` an xdr buffer h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMrhjubj)}(hhh]jX)}(h an xdr bufferh]h an xdr buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hj h]hstruct xdr_buf *subbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMshjubj)}(hhh]jX)}(hthe result bufferh]hthe result buffer}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMshj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMshjubj)}(h2``unsigned int base`` beginning of range in bytes h](j)}(h``unsigned int base``h]j)}(hjEh]hunsigned int base}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMthj?ubj)}(hhh]jX)}(hbeginning of range in bytesh]hbeginning of range in bytes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMthj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMthjubj)}(h.``unsigned int len`` length of range in bytes h](j)}(h``unsigned int len``h]j)}(hj~h]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhjxubj)}(hhh]jX)}(hlength of range in bytesh]hlength of range in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhjubjX)}(hssets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**.h](hsets }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. to an xdr buffer representing the portion of }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of length }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh starting at offset }(hjhhhNhNubj)}(h**base**h]hbase}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMvhjubjX)}(hB**buf** and **subbuf** may be pointers to the same struct xdr_buf.h](j)}(h**buf**h]hbuf}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh and }(hj&hhhNhNubj)}(h **subbuf**h]hsubbuf}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh, may be pointers to the same struct xdr_buf.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjubjX)}(h/Returns -1 if base or length are out of bounds.h]h/Returns -1 if base or length are out of bounds.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h`bool xdr_stream_subsegment (struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h]h)}(h_bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_subsegmenth]j%)}(hxdr_stream_subsegmenth]hxdr_stream_subsegment}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hE(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_subsegmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *subbufh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jc.xdr_stream_subsegmentasbuh1hhj.ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhMubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjyhhubjS)}(hhh]jX)}(h&set **subbuf** to a portion of **xdr**h](hset }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to a portion of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj?hNhNubj})}(hXG**Parameters** ``struct xdr_stream *xdr`` an xdr_stream set up for decoding ``struct xdr_buf *subbuf`` the result buffer ``unsigned int nbytes`` length of **xdr** to extract, in bytes **Description** Sets up **subbuf** to represent a portion of **xdr**. The portion starts at the current offset in **xdr**, and extends for a length of **nbytes**. If this is successful, **xdr** is advanced to the next XDR data item following that portion. Return values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubj)}(hhh](j)}(h=``struct xdr_stream *xdr`` an xdr_stream set up for decoding h](j)}(h``struct xdr_stream *xdr``h]j)}(hjeh]hstruct xdr_stream *xdr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj_ubj)}(hhh]jX)}(h!an xdr_stream set up for decodingh]h!an xdr_stream set up for decoding}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjh]hstruct xdr_buf *subbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubj)}(h?``unsigned int nbytes`` length of **xdr** to extract, in bytes h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h&length of **xdr** to extract, in bytesh](h length of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to extract, in bytes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubjX)}(hSets up **subbuf** to represent a portion of **xdr**. The portion starts at the current offset in **xdr**, and extends for a length of **nbytes**. If this is successful, **xdr** is advanced to the next XDR data item following that portion.h](hSets up }(hj:hhhNhNubj)}(h **subbuf**h]hsubbuf}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh to represent a portion of }(hj:hhhNhNubj)}(h**xdr**h]hxdr}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh.. The portion starts at the current offset in }(hj:hhhNhNubj)}(h**xdr**h]hxdr}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh, and extends for a length of }(hj:hhhNhNubj)}(h **nbytes**h]hnbytes}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh. If this is successful, }(hj:hhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh> is advanced to the next XDR data item following that portion.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubj)}(hhh]j)}(hReturn values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hp``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been initialized, and }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been advanced. }(hjhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: a bounds error has occurred}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hunsigned int xdr_stream_move_subsegment (struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h]h)}(h~unsigned int xdr_stream_move_subsegment(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j)}(hunsignedh]hunsigned}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjNhMubj)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhjNhMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjNhMubj)}(hxdr_stream_move_subsegmenth]j%)}(hxdr_stream_move_subsegmenth]hxdr_stream_move_subsegment}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhjNhMubj)}(hW(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_move_subsegmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int targeth](j)}(hunsignedh]hunsigned}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(hinth]hint}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(htargeth]htarget}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhjNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhjNhMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhMhj5hhubjS)}(hhh]jX)}(h)Move part of a stream to another positionh]h)Move part of a stream to another position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` the source xdr_stream ``unsigned int offset`` the source offset of the segment ``unsigned int target`` the target offset of the segment ``unsigned int length`` the number of bytes to move **Description** Moves **length** bytes from **offset** to **target** in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj+ubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` the source xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjPh]hstruct xdr_stream *xdr}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjJubj)}(hhh]jX)}(hthe source xdr_streamh]hthe source xdr_stream}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubj)}(h9``unsigned int offset`` the source offset of the segment h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h the source offset of the segmenth]h the source offset of the segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubj)}(h9``unsigned int target`` the target offset of the segment h](j)}(h``unsigned int target``h]j)}(hjh]hunsigned int target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h the target offset of the segmenth]h the target offset of the segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubj)}(h4``unsigned int length`` the number of bytes to move h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hthe number of bytes to moveh]hthe number of bytes to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj+ubjX)}(hMoves **length** bytes from **offset** to **target** in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.h](hMoves }(hjLhhhNhNubj)}(h **length**h]hlength}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh bytes from }(hjLhhhNhNubj)}(h **offset**h]hoffset}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh to }(hjLhhhNhNubj)}(h **target**h]htarget}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhj?hhhNhNubh)}(hhh](h)}(h_unsigned int xdr_stream_zero (struct xdr_stream *xdr, unsigned int offset, unsigned int length)h]h)}(h^unsigned int xdr_stream_zero(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_zeroh]j%)}(hxdr_stream_zeroh]hxdr_stream_zero}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_zeroasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj%)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h#zero out a portion of an xdr_streamh]h#zero out a portion of an xdr_stream}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj,hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct xdr_stream *xdr`` an xdr_stream to zero out ``unsigned int offset`` the starting point in the stream ``unsigned int length`` the number of bytes to zeroh](jX)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjKubj)}(hhh](j)}(h5``struct xdr_stream *xdr`` an xdr_stream to zero out h](j)}(h``struct xdr_stream *xdr``h]j)}(hjph]hstruct xdr_stream *xdr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjjubj)}(hhh]jX)}(han xdr_stream to zero outh]han xdr_stream to zero out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(h9``unsigned int offset`` the starting point in the stream h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h the starting point in the streamh]h the starting point in the stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(h3``unsigned int length`` the number of bytes to zeroh](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hthe number of bytes to zeroh]hthe number of bytes to zero}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h9void xdr_buf_trim (struct xdr_buf *buf, unsigned int len)h]h)}(h8void xdr_buf_trim(struct xdr_buf *buf, unsigned int len)h](j)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhMubj)}(h xdr_buf_trimh]j%)}(h xdr_buf_trimh]h xdr_buf_trim}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjJhMubj)}(h'(struct xdr_buf *buf, unsigned int len)h](j)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj_sbc.xdr_buf_trimasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhjJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhjJhMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMhj1hhubjS)}(hhh]jX)}(h,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_buf *buf`` buf to be trimmed ``unsigned int len`` number of bytes to reduce "buf" by **Description** Trim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it's possible that we'll trim less than that amount if the xdr_buf is too small, or if (for instance) it's all in the head and the parser has already read too far into it.h](jX)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjiubj)}(hhh](j)}(h*``struct xdr_buf *buf`` buf to be trimmed h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hbuf to be trimmedh]hbuf to be trimmed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``unsigned int len`` number of bytes to reduce "buf" by h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h"number of bytes to reduce "buf" byh]h&number of bytes to reduce “buf” by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjiubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjiubjX)}(hTrim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it's possible that we'll trim less than that amount if the xdr_buf is too small, or if (for instance) it's all in the head and the parser has already read too far into it.h]hXTrim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it’s possible that we’ll trim less than that amount if the xdr_buf is too small, or if (for instance) it’s all in the head and the parser has already read too far into it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhj?hhhNhNubh)}(hhh](h)}(hissize_t xdr_stream_decode_string_dup (struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h]h)}(hhssize_t xdr_stream_decode_string_dup(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jxdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhjChhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjkhMubj)}(hxdr_stream_decode_string_duph]j%)}(hjhh]hxdr_stream_decode_string_dup}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjkhMubj)}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jfc.xdr_stream_decode_string_dupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h char **strh](j)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstrh]hstr}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t maxlenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]jfc.xdr_stream_decode_string_dupasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hmaxlenh]hmaxlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_flagsh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jfc.xdr_stream_decode_string_dupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h gfp_flagsh]h gfp_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhjkhMubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhj<hhubjS)}(hhh]jX)}(h+Decode and duplicate variable length stringh]h+Decode and duplicate variable length string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``char **str`` location to store pointer to string ``size_t maxlen`` maximum acceptable string length ``gfp_t gfp_flags`` GFP mask to use **Description** Return values: On success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj:h]hstruct xdr_stream *xdr}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj4ubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubj)}(h3``char **str`` location to store pointer to string h](j)}(h``char **str``h]j)}(hjsh]h char **str}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjmubj)}(hhh]jX)}(h#location to store pointer to stringh]h#location to store pointer to string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(h3``size_t maxlen`` maximum acceptable string length h](j)}(h``size_t maxlen``h]j)}(hjh]h size_t maxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h maximum acceptable string lengthh]h maximum acceptable string length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(h$``gfp_t gfp_flags`` GFP mask to use h](j)}(h``gfp_t gfp_flags``h]j)}(hjh]hgfp_t gfp_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hGFP mask to useh]hGFP mask to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(hReturn values: On success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](j)}(hReturn values:h]hReturn values:}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj9ubj)}(hhh]jX)}(hOn success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](h>On success, returns length of NUL-terminated string stored in }(hjOhhhNhNubj)}(h***ptr**h]h*ptr}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh }(hjOhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh on XDR buffer overflow }(hjOhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh( if the size of the string would exceed }(hjOhhhNhNubj)}(h **maxlen**h]hmaxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh }hjOsbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh on memory allocation failure}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjLubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hpssize_t xdr_stream_decode_opaque_auth (struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h]h)}(hossize_t xdr_stream_decode_opaque_auth(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_stream_decode_opaque_authsbc.xdr_stream_decode_opaque_authasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_decode_opaque_authh]j%)}(hj h]hxdr_stream_decode_opaque_auth}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hJ(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j c.xdr_stream_decode_opaque_authasbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(h u32 *flavorh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.xdr_stream_decode_opaque_authasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(h void **bodyh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbodyh]hbody}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(hunsigned int *body_lenh](j)}(hunsignedh]hunsigned}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h(Decode struct opaque_auth (RFC5531 S8.2)h]h(Decode struct opaque_auth (RFC5531 S8.2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 *flavor`` location to store decoded flavor ``void **body`` location to store decode body ``unsigned int *body_len`` location to store length of decoded body **Description** Return values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``u32 *flavor`` location to store decoded flavor h](j)}(h``u32 *flavor``h]j)}(hj9h]h u32 *flavor}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj3ubj)}(hhh]jX)}(h location to store decoded flavorh]h location to store decoded flavor}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hjrh]h void **body}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjlubj)}(hhh]jX)}(hlocation to store decode bodyh]hlocation to store decode body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``unsigned int *body_len`` location to store length of decoded body h](j)}(h``unsigned int *body_len``h]j)}(hjh]hunsigned int *body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(hReturn values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hOn success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](h8On success, returns the number of buffer bytes consumed }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 if the decoded size of the body field exceeds 400 octets}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hmssize_t xdr_stream_encode_opaque_auth (struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h]h)}(hlssize_t xdr_stream_encode_opaque_auth(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_stream_encode_opaque_authsbc.xdr_stream_encode_opaque_authasbuh1hhjvhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMubj)}(hxdr_stream_encode_opaque_authh]j%)}(hjh]hxdr_stream_encode_opaque_auth}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjhMubj)}(hG(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_stream_encode_opaque_authasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 flavorh](h)}(hhh]j%)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jc.xdr_stream_encode_opaque_authasbuh1hhj8ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hflavorh]hflavor}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void *bodyh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbodyh]hbody}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int body_lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjohhubjS)}(hhh]jX)}(h(Encode struct opaque_auth (RFC5531 S8.2)h]h(Encode struct opaque_auth (RFC5531 S8.2)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 flavor`` verifier flavor to encode ``void *body`` content of body to encode ``unsigned int body_len`` length of body to encode **Description** Return values: On success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjDubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjih]hstruct xdr_stream *xdr}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjcubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj`ubj)}(h)``u32 flavor`` verifier flavor to encode h](j)}(h``u32 flavor``h]j)}(hjh]h u32 flavor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj`ubj)}(h)``void *body`` content of body to encode h](j)}(h``void *body``h]j)}(hjh]h void *body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hcontent of body to encodeh]hcontent of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj`ubj)}(h3``unsigned int body_len`` length of body to encode h](j)}(h``unsigned int body_len``h]j)}(hjh]hunsigned int body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hlength of body to encodeh]hlength of body to encode}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj`ubeh}(h]h ]h"]h$]h&]uh1jhjDubjX)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjDubj)}(hhh]j)}(hReturn values: On success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhubj)}(hhh]jX)}(hOn success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](h;On success, returns length in bytes of XDR buffer consumed }(hj~hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh on XDR buffer overflow }(hj~hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh if the size of }(hj~hhhNhNubj)}(h**body**h]hbody}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh exceeds 400 octets}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj{ubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjeubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h3int svc_reg_xprt_class (struct svc_xprt_class *xcl)h]h)}(h2int svc_reg_xprt_class(struct svc_xprt_class *xcl)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKNubj)}(hsvc_reg_xprt_classh]j%)}(hsvc_reg_xprt_classh]hsvc_reg_xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKNubj)}(h(struct svc_xprt_class *xcl)h]j)}(hstruct svc_xprt_class *xclh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hsvc_xprt_classh]hsvc_xprt_class}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]j')}jjsbc.svc_reg_xprt_classasbuh1hhj.ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hxclh]hxcl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKNubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKNhjhhubjS)}(hhh]jX)}(h*Register a server-side RPC transport classh]h*Register a server-side RPC transport class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct svc_xprt_class *xcl`` New transport class to be registered **Description** Returns zero on success; otherwise a negative errno is returned.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKRhjubj)}(hhh]j)}(hD``struct svc_xprt_class *xcl`` New transport class to be registered h](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjh]hstruct svc_xprt_class *xcl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKOhjubj)}(hhh]jX)}(h$New transport class to be registeredh]h$New transport class to be registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKOhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKOhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKQhjubjX)}(h@Returns zero on success; otherwise a negative errno is returned.h]h@Returns zero on success; otherwise a negative errno is returned.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h6void svc_unreg_xprt_class (struct svc_xprt_class *xcl)h]h)}(h5void svc_unreg_xprt_class(struct svc_xprt_class *xcl)h](j)}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhKhubj)}(hsvc_unreg_xprt_classh]j%)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjhKhubj)}(h(struct svc_xprt_class *xcl)h]j)}(hstruct svc_xprt_class *xclh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprt_classh]hsvc_xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_unreg_xprt_classasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxclh]hxcl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhKhubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhhjkhhubjS)}(hhh]jX)}(h,Unregister a server-side RPC transport classh]h,Unregister a server-side RPC transport class}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhhj3hhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj?hNhNubj})}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](jX)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKlhjRubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjwh]hstruct svc_xprt_class *xcl}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKnhjqubj)}(hhh]jX)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h4void svc_xprt_deferred_close (struct svc_xprt *xprt)h]h)}(h3void svc_xprt_deferred_close(struct svc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hsvc_xprt_deferred_closeh]j%)}(hsvc_xprt_deferred_closeh]hsvc_xprt_deferred_close}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_deferred_closeasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hxprth]hxprt}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(hClose a transporth]hClose a transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct svc_xprt *xprt`` transport instance **Description** Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubj)}(hhh]j)}(h-``struct svc_xprt *xprt`` transport instance h](j)}(h``struct svc_xprt *xprt``h]j)}(hjh]hstruct svc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubjX)}(h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h]h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h.void svc_xprt_received (struct svc_xprt *xprt)h]h)}(h-void svc_xprt_received(struct svc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj`hKubj)}(hsvc_xprt_receivedh]j%)}(hsvc_xprt_receivedh]hsvc_xprt_received}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj`hKubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjusbc.svc_xprt_receivedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj`hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj`hKubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hKhjGhhubjS)}(hhh]jX)}(hstart next receiver threadh]hstart next receiver thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj`hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct svc_xprt *xprt`` controlling transport **Description** The caller must hold the XPT_BUSY bit and must not thereafter touch transport data. **Note** XPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.h](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj.ubj)}(hhh]j)}(h0``struct svc_xprt *xprt`` controlling transport h](j)}(h``struct svc_xprt *xprt``h]j)}(hjSh]hstruct svc_xprt *xprt}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjMubj)}(hhh]jX)}(hcontrolling transporth]hcontrolling transport}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhKhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj.ubjX)}(hSThe caller must hold the XPT_BUSY bit and must not thereafter touch transport data.h]hSThe caller must hold the XPT_BUSY bit and must not thereafter touch transport data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj.ubjX)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj.ubjX)}(hOXPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.h]hOXPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhj?hhhNhNubh)}(hhh](h)}(hint svc_xprt_create_from_sa (struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h]h)}(hint svc_xprt_create_from_sa(struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM"ubj)}(hsvc_xprt_create_from_sah]j%)}(hsvc_xprt_create_from_sah]hsvc_xprt_create_from_sa}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM"ubj)}(hy(struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_create_from_saasbuh1hhj3ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hconst char *xprt_nameh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]jqc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hstruct sockaddr *saph](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jqc.svc_xprt_create_from_saasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hsaph]hsap}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hconst struct cred *credh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hcredh]hcred}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jqc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM"ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM"hjhhubjS)}(hhh]jX)}(h2Add a new listener to **serv** from socket addressh](hAdd a new listener to }(hjhhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from socket address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``struct sockaddr *sap`` socket address pointer ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj h]hstruct svc_serv *serv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjubj)}(hhh]jX)}(htarget RPC serviceh]htarget RPC service}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjCh]hconst char *xprt_name}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM$hj=ubj)}(hhh]jX)}(htransport class nameh]htransport class name}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM$hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM$hjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hj|h]hstruct net *net}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM%hjvubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h0``struct sockaddr *sap`` socket address pointer h](j)}(h``struct sockaddr *sap``h]j)}(hjh]hstruct sockaddr *sap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh]jX)}(hsocket address pointerh]hsocket address pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM'hjubj)}(hhh]jX)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hj'h]hconst struct cred *cred}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM(hj!ubj)}(hhh]jX)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hM(hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM*hjubjX)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjxhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh on failure}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM)hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hint svc_xprt_create (struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h]h)}(hint svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj)}(hsvc_xprt_createh]j%)}(hsvc_xprt_createh]hsvc_xprt_create}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMLubj)}(h(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_createasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xprt_nameh](h)}(hjh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j0c.svc_xprt_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst int familyh](h)}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(hfamilyh]hfamily}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hporth]hport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct cred *credh](h)}(hjh]hconst}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(hcredh]hcred}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j0c.svc_xprt_createasbuh1hhj"ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMLubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMLhjhhubjS)}(hhh]jX)}(hAdd a new listener to **serv**h](hAdd a new listener to }(hjhhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``const int family`` network address family ``const unsigned short port`` listener port ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMPhjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMMhj ubj)}(hhh]jX)}(htarget RPC serviceh]htarget RPC service}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMMhjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjJh]hconst char *xprt_name}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMNhjDubj)}(hhh]jX)}(htransport class nameh]htransport class name}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMNhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMNhjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMOhj}ubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h,``const int family`` network address family h](j)}(h``const int family``h]j)}(hjh]hconst int family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMPhjubj)}(hhh]jX)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h,``const unsigned short port`` listener port h](j)}(h``const unsigned short port``h]j)}(hjh]hconst unsigned short port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMQhjubj)}(hhh]jX)}(h listener porth]h listener port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMQhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMQhjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hj.h]h int flags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMRhj(ubj)}(hhh]jX)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMRhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMRhjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hjgh]hconst struct cred *cred}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMShjaubj)}(hhh]jX)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMShj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMShjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMUhjubjX)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on failure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hEchar * svc_print_addr (struct svc_rqst *rqstp, char *buf, size_t len)h]h)}(hCchar *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len)h](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hsvc_print_addrh]j%)}(hsvc_print_addrh]hsvc_print_addr}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h/(struct svc_rqst *rqstp, char *buf, size_t len)h](j)}(hstruct svc_rqst *rqstph](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jj)sbc.svc_print_addrasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(h char *bufh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j}c.svc_print_addrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h!Format rq_addr field for printingh]h!Format rq_addr field for printing}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct svc_rqst *rqstp`` svc_rqst struct containing address to print ``char *buf`` target buffer for formatted address ``size_t len`` length of target bufferh](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjlubj)}(hhh](j)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(h+svc_rqst struct containing address to printh]h+svc_rqst struct containing address to print}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``char *buf`` target buffer for formatted address h](j)}(h ``char *buf``h]j)}(hjh]h char *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(h#target buffer for formatted addressh]h#target buffer for formatted address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``size_t len`` length of target bufferh](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hlength of target bufferh]hlength of target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h-void svc_xprt_enqueue (struct svc_xprt *xprt)h]h)}(h,void svc_xprt_enqueue(struct svc_xprt *xprt)h](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(hsvc_xprt_enqueueh]j%)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_enqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjRhhubjS)}(hhh]jX)}(h(Queue a transport on an idle nfsd threadh]h(Queue a transport on an idle nfsd thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj?hNhNubj})}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj9ubj)}(hhh]j)}(h5``struct svc_xprt *xprt`` transport with data pendingh](j)}(h``struct svc_xprt *xprt``h]j)}(hj^h]hstruct svc_xprt *xprt}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjXubj)}(hhh]jX)}(htransport with data pendingh]htransport with data pending}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reserve (C function) c.svc_reservehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h4void svc_reserve (struct svc_rqst *rqstp, int space)h]h)}(h3void svc_reserve(struct svc_rqst *rqstp, int space)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h svc_reserveh]j%)}(h svc_reserveh]h svc_reserve}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h#(struct svc_rqst *rqstp, int space)h](j)}(hstruct svc_rqst *rqstph](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.svc_reserveasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqstph]hrqstp}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int spaceh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj%)}(hspaceh]hspace}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h5change the space reserved for the reply to a request.h]h5change the space reserved for the reply to a request.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hXF**Parameters** ``struct svc_rqst *rqstp`` The request in question ``int space`` new max space to reserve **Description** Each request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus **space**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh](j)}(h3``struct svc_rqst *rqstp`` The request in question h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hThe request in questionh]hThe request in question}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``int space`` new max space to reserve h](j)}(h ``int space``h]j)}(hj'h]h int space}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj!ubj)}(hhh]jX)}(hnew max space to reserveh]hnew max space to reserve}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjX)}(hEach request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus **space**.h](hEach request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus }(hjxhhhNhNubj)}(h **space**h]hspace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhj?hhhNhNubh)}(hhh](h)}(h(void svc_wake_up (struct svc_serv *serv)h]h)}(h'void svc_wake_up(struct svc_serv *serv)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMAubj)}(h svc_wake_uph]j%)}(h svc_wake_uph]h svc_wake_up}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMAubj)}(h(struct svc_serv *serv)h]j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.svc_wake_upasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMAubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMAhjhhubjS)}(hhh]jX)}(h/Wake up a service thread for non-transport workh]h/Wake up a service thread for non-transport work}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX|**Parameters** ``struct svc_serv *serv`` RPC service **Description** Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMEhjubj)}(hhh]j)}(h&``struct svc_serv *serv`` RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMBhjubj)}(hhh]jX)}(h RPC serviceh]h RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhjubjX)}(hX2Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h]hX:Some svc_serv’s will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to “kick” a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don’t need to wake up more than one thread for this purpose.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h&void svc_recv (struct svc_rqst *rqstp)h]h)}(h%void svc_recv(struct svc_rqst *rqstp)h](j)}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhjHhMDubj)}(hsvc_recvh]j%)}(hsvc_recvh]hsvc_recv}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhjHhMDubj)}(h(struct svc_rqst *rqstp)h]j)}(hstruct svc_rqst *rqstph](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj]sb c.svc_recvasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubah}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhjHhMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhjHhMDubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMDhj/hhubjS)}(hhh]jX)}(h5Receive and process the next request on any transporth]h5Receive and process the next request on any transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhjHhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct svc_rqst *rqstp`` an idle RPC service thread **Description** This code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMHhjubj)}(hhh]j)}(h6``struct svc_rqst *rqstp`` an idle RPC service thread h](j)}(h``struct svc_rqst *rqstp``h]j)}(hj;h]hstruct svc_rqst *rqstp}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMEhj5ubj)}(hhh]jX)}(han idle RPC service threadh]han idle RPC service thread}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMEhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMEhj2ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjvh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMGhjubjX)}(hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.h]hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h+void svc_xprt_close (struct svc_xprt *xprt)h]h)}(h*void svc_xprt_close(struct svc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hsvc_xprt_closeh]j%)}(hsvc_xprt_closeh]hsvc_xprt_close}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_closeasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hClose a client connectionh]hClose a client connection}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]j)}(h1``struct svc_xprt *xprt`` transport to disconnecth](j)}(h``struct svc_xprt *xprt``h]j)}(hjh]hstruct svc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(htransport to disconnecth]htransport to disconnect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hBvoid svc_xprt_destroy_all (struct svc_serv *serv, struct net *net)h]h)}(hAvoid svc_xprt_destroy_all(struct svc_serv *serv, struct net *net)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMNubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj$hMNubj)}(hsvc_xprt_destroy_allh]j%)}(hsvc_xprt_destroy_allh]hsvc_xprt_destroy_all}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj$hMNubj)}(h((struct svc_serv *serv, struct net *net)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jj9sbc.svc_xprt_destroy_allasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_xprt_destroy_allasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj$hMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj$hMNubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$hMNhj hhubjS)}(hhh]jX)}(h+Destroy transports associated with **serv**h](h#Destroy transports associated with }(hjFhhhNhNubj)}(h**serv**h]hserv}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMNhjChhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj$hMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` RPC service to be shut down ``struct net *net`` target network namespace **Description** Server threads may still be running (especially in the case where the service is still running in other network namespaces). So we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server's main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they're done.h](jX)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMRhjpubj)}(hhh](j)}(h6``struct svc_serv *serv`` RPC service to be shut down h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMOhjubj)}(hhh]jX)}(hRPC service to be shut downh]hRPC service to be shut down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h-``struct net *net`` target network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMPhjubj)}(hhh]jX)}(htarget network namespaceh]htarget network namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubeh}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMRhjpubjX)}(h|Server threads may still be running (especially in the case where the service is still running in other network namespaces).h]h|Server threads may still be running (especially in the case where the service is still running in other network namespaces).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMQhjpubjX)}(hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server's main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they're done.h]hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server’s main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they’re done.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMThjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h}struct svc_xprt * svc_find_listener (struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h]h)}(h{struct svc_xprt *svc_find_listener(struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjjhMubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jsvc_find_listenersbc.svc_find_listenerasbuh1hhjYhhhjjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYhhhjjhMubj)}(hsvc_find_listenerh]j%)}(hjh]hsvc_find_listener}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjjhMubj)}(hY(struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xcl_nameh](h)}(hjh]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(hcharh]hchar}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hxcl_nameh]hxcl_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct sockaddr *sah](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsah]hsa}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjjhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMhjRhhubjS)}(hhh]jX)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const struct sockaddr *sa`` sockaddr containing address **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hj*h]hconst char *xcl_name}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj$ubj)}(hhh]jX)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjch]hstruct net *net}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj]ubj)}(hhh]jX)}(howner net pointerh]howner net pointer}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hjh]hconst struct sockaddr *sa}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hsockaddr containing addressh]hsockaddr containing address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjX)}(hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h]hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hstruct svc_xprt * svc_find_xprt (struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h]h)}(hstruct svc_xprt *svc_find_xprt(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hM ubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}j svc_find_xprtsbc.svc_find_xprtasbuh1hhjhhhj)hM ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hM ubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj)hM ubj)}(h svc_find_xprth]j%)}(hjYh]h svc_find_xprt}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hM ubj)}(ho(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jWc.svc_find_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xcl_nameh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxcl_nameh]hxcl_name}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jWc.svc_find_xprtasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst sa_family_t afh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sa_family_th]h sa_family_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jWc.svc_find_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hafh]haf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(hunsignedh]hunsigned}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(hshorth]hshort}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hporth]hport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj)hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj)hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hM hjhhubjS)}(hhh]jX)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj)hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const sa_family_t af`` Address family of transport's local address ``const unsigned short port`` transport's IP port number **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port. Specifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM hjubj)}(hhh]jX)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hj-h]hconst char *xcl_name}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM hj'ubj)}(hhh]jX)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjfh]hstruct net *net}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj`ubj)}(hhh]jX)}(howner net pointerh]howner net pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubj)}(hE``const sa_family_t af`` Address family of transport's local address h](j)}(h``const sa_family_t af``h]j)}(hjh]hconst sa_family_t af}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(h+Address family of transport's local addressh]h-Address family of transport’s local address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``const unsigned short port`` transport's IP port number h](j)}(h``const unsigned short port``h]j)}(hjh]hconst unsigned short port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(htransport's IP port numberh]htransport’s IP port number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjX)}(hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port.h]hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjX)}(hSpecifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.h]hSpecifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service’s list that has a matching class name.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hGint svc_xprt_names (struct svc_serv *serv, char *buf, const int buflen)h]h)}(hFint svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen)h](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMFubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjuhMFubj)}(hsvc_xprt_namesh]j%)}(hsvc_xprt_namesh]hsvc_xprt_names}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjuhMFubj)}(h4(struct svc_serv *serv, char *buf, const int buflen)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_namesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h char *bufh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst int buflenh](h)}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(hinth]hint}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjuhMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhjuhMFubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhMFhj\hhubjS)}(hhh]jX)}(h.format a buffer with a list of transport namesh]h.format a buffer with a list of transport names}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMFhjhhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhjuhMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` pointer to an RPC service ``char *buf`` pointer to a buffer to be filled in ``const int buflen`` length of buffer to be filled in **Description** Fills in **buf** with a string containing a list of transport names, each name terminated with '\n'. Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMJhjubj)}(hhh](j)}(h4``struct svc_serv *serv`` pointer to an RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMGhjubj)}(hhh]jX)}(hpointer to an RPC serviceh]hpointer to an RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(h2``char *buf`` pointer to a buffer to be filled in h](j)}(h ``char *buf``h]j)}(hj3h]h char *buf}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMHhj-ubj)}(hhh]jX)}(h#pointer to a buffer to be filled inh]h#pointer to a buffer to be filled in}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMHhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMHhjubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hjlh]hconst int buflen}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMIhjfubj)}(hhh]jX)}(h length of buffer to be filled inh]h length of buffer to be filled in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMKhjubjX)}(hdFills in **buf** with a string containing a list of transport names, each name terminated with '\n'.h](h Fills in }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX with a string containing a list of transport names, each name terminated with ‘n’.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMJhjubjX)}(h|Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.h]h|Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h:int xprt_register_transport (struct xprt_class *transport)h]h)}(h9int xprt_register_transport(struct xprt_class *transport)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhK[ubj)}(hxprt_register_transporth]j%)}(hxprt_register_transporth]hxprt_register_transport}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhK[ubj)}(h(struct xprt_class *transport)h]j)}(hstruct xprt_class *transporth](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h xprt_classh]h xprt_class}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj0sbc.xprt_register_transportasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(h transporth]h transport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhK[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhK[ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK[hjhhubjS)}(hhh]jX)}(h#register a transport implementationh]h#register a transport implementation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhK[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hXl**Parameters** ``struct xprt_class *transport`` transport to register **Description** If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client. **Return** 0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloadedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK_hjubj)}(hhh]j)}(h7``struct xprt_class *transport`` transport to register h](j)}(h ``struct xprt_class *transport``h]j)}(hjh]hstruct xprt_class *transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK\hjubj)}(hhh]jX)}(htransport to registerh]htransport to register}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hK\hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hK\hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK^hjubjX)}(h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.h]h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK]hjubjX)}(h **Return**h]j)}(hjph]hReturn}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK`hjubjX)}(h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloadedh]h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hh]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h transporth]h transport}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h%unregister a transport implementationh]h%unregister a transport implementation}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct xprt_class *transport`` transport to unregister **Return** 0: transport successfully unregistered -ENOENT: transport never registeredh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]j)}(h9``struct xprt_class *transport`` transport to unregister h](j)}(h ``struct xprt_class *transport``h]j)}(hjh]hstruct xprt_class *transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]jX)}(htransport to unregisterh]htransport to unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubjX)}(hX0: transport successfully unregistered -ENOENT: transport never registeredh]hX0: transport successfully unregistered -ENOENT: transport never registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_find_transport_ident (C function)c.xprt_find_transport_identhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h1int xprt_find_transport_ident (const char *netid)h]h)}(h0int xprt_find_transport_ident(const char *netid)h](j)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhjDhKubj)}(hxprt_find_transport_identh]j%)}(hxprt_find_transport_identh]hxprt_find_transport_ident}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhjDhKubj)}(h(const char *netid)h]j)}(hconst char *netidh](h)}(hjh]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hnetidh]hnetid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhjDhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhKubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhKhj+hhubjS)}(hhh]jX)}(h+convert a netid into a transport identifierh]h+convert a netid into a transport identifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhjDhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``const char *netid`` transport to load **Return** > 0: transport identifier -ENOENT: transport module not availableh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]j)}(h(``const char *netid`` transport to load h](j)}(h``const char *netid``h]j)}(hj"h]hconst char *netid}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]jX)}(htransport to loadh]htransport to load}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hj]h]hReturn}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubjX)}(hM> 0: transport identifier -ENOENT: transport module not availableh]hM> 0: transport identifier -ENOENT: transport module not available}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hDint xprt_reserve_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]h)}(hCint xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxprt_reserve_xprth]j%)}(hxprt_reserve_xprth]hxprt_reserve_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_reserve_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jc.xprt_reserve_xprtasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h$serialize write access to transportsh]h$serialize write access to transports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hXA**Parameters** ``struct rpc_xprt *xprt`` pointer to the target transport ``struct rpc_task *task`` task that is requesting access to the transport **Description** This prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh](j)}(h:``struct rpc_xprt *xprt`` pointer to the target transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh]jX)}(hpointer to the target transporth]hpointer to the target transport}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj ubj)}(hJ``struct rpc_task *task`` task that is requesting access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjLh]hstruct rpc_task *task}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjFubj)}(hhh]jX)}(h/task that is requesting access to the transporth]h/task that is requesting access to the transport}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubjX)}(hThis prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.h]hThis prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hEvoid xprt_release_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]h)}(hDvoid xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxprt_release_xprth]j%)}(hxprt_release_xprth]hxprt_release_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jjsbc.xprt_release_xprtasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jCc.xprt_release_xprtasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h'allow other requests to use a transporth]h'allow other requests to use a transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` transport with other tasks potentially waiting ``struct rpc_task *task`` task that is releasing access to the transport **Description** Note that "task" can be NULL. No congestion control is provided.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj= h]hstruct rpc_xprt *xprt}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj; ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7 ubj)}(hhh]jX)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjR hMhjS ubah}(h]h ]h"]h$]h&]uh1jhj7 ubeh}(h]h ]h"]h$]h&]uh1jhjR hMhj4 ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjv h]hstruct rpc_task *task}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjp ubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj4 ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubjX)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. No congestion control is provided.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhj?hhhNhNubh)}(hhh](h)}(hJvoid xprt_release_xprt_cong (struct rpc_xprt *xprt, struct rpc_task *task)h]h)}(hIvoid xprt_release_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hxprt_release_xprt_congh]j%)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj3 hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ ubj)}(h h]h }(hj@ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjQ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjS modnameN classnameNjj!)}j$]j')}jj sbc.xprt_release_xprt_congasbuh1hhj/ ubj)}(h h]h }(hjq hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ ubj%)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ ubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jm c.xprt_release_xprt_congasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(htaskh]htask}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(h'allow other requests to use a transporth]h'allow other requests to use a transport}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj# hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj> jxj> jyjzj{uh1hhhhj?hNhNubj})}(hX3**Parameters** ``struct rpc_xprt *xprt`` transport with other tasks potentially waiting ``struct rpc_task *task`` task that is releasing access to the transport **Description** Note that "task" can be NULL. Another task is awoken to use the transport if the transport's congestion window allows it.h](jX)}(h**Parameters**h]j)}(hjH h]h Parameters}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjB ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjg h]hstruct rpc_xprt *xprt}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhja ubj)}(hhh]jX)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj| hMhj} ubah}(h]h ]h"]h$]h&]uh1jhja ubeh}(h]h ]h"]h$]h&]uh1jhj| hMhj^ ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj h]hstruct rpc_task *task}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj^ ubeh}(h]h ]h"]h$]h&]uh1jhjB ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjB ubjX)}(hzNote that "task" can be NULL. Another task is awoken to use the transport if the transport's congestion window allows it.h]hNote that “task” can be NULL. Another task is awoken to use the transport if the transport’s congestion window allows it.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjB ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhj?hhhNhNubh)}(hhh](h)}(hHbool xprt_request_get_cong (struct rpc_xprt *xprt, struct rpc_rqst *req)h]h)}(hGbool xprt_request_get_cong(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j)}(hjTh]hbool}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj. hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj- hMubj)}(hxprt_request_get_congh]j%)}(hxprt_request_get_congh]hxprt_request_get_cong}(hj@ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj< ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj- hMubj)}(h-(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj\ hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjX ubj)}(h h]h }(hji hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjz hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj| modnameN classnameNjj!)}j$]j')}jjB sbc.xprt_request_get_congasbuh1hhjX ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjX ubj%)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjT ubj)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.xprt_request_get_congasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hreqh]hreq}(hj% hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjT ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj- hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj- hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj- hMhj hhubjS)}(hhh]jX)}(h"Request congestion control creditsh]h"Request congestion control credits}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjL hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj- hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg jxjg jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` pointer to transport ``struct rpc_rqst *req`` pointer to RPC request **Description** Useful for transports that require congestion control.h](jX)}(h**Parameters**h]j)}(hjq h]h Parameters}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjk ubj)}(hhh](j)}(h/``struct rpc_xprt *xprt`` pointer to transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj h]hstruct rpc_xprt *xprt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh]jX)}(hpointer to transporth]hpointer to transport}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hj h]hstruct rpc_rqst *req}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh]jX)}(hpointer to RPC requesth]hpointer to RPC request}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjk ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjk ubjX)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjk ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhj?hhhNhNubh)}(hhh](h)}(h3void xprt_release_rqst_cong (struct rpc_task *task)h]h)}(h2void xprt_release_rqst_cong(struct rpc_task *task)h](j)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhMubj)}(hxprt_release_rqst_congh]j%)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjlsbc.xprt_release_rqst_congasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubah}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhMubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMhj>hhubjS)}(hhh]jX)}(h%housekeeping when request is completeh]h%housekeeping when request is complete}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Useful for transports that require congestion control.h](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjJh]hstruct rpc_task *task}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjDubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubjX)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hPvoid xprt_adjust_cwnd (struct rpc_xprt *xprt, struct rpc_task *task, int result)h]h)}(hOvoid xprt_adjust_cwnd(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM#ubj)}(hxprt_adjust_cwndh]j%)}(hxprt_adjust_cwndh]hxprt_adjust_cwnd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM#ubj)}(h:(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jjsbc.xprt_adjust_cwndasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jAc.xprt_adjust_cwndasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int resulth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hresulth]hresult}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM#ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM#hjhhubjS)}(hhh]jX)}(h"adjust transport congestion windowh]h"adjust transport congestion window}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#hj,hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct rpc_xprt *xprt`` pointer to xprt ``struct rpc_task *task`` recently completed RPC request used to adjust window ``int result`` result code of completed RPC request **Description** The transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd when - a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h](jX)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjKubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjph]hstruct rpc_xprt *xprt}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hjjubj)}(hhh]jX)}(hpointer to xprth]hpointer to xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjgubj)}(hO``struct rpc_task *task`` recently completed RPC request used to adjust window h](j)}(h``struct rpc_task *task``h]j)}(hjh]hstruct rpc_task *task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hjubj)}(hhh]jX)}(h4recently completed RPC request used to adjust windowh]h4recently completed RPC request used to adjust window}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjgubj)}(h4``int result`` result code of completed RPC request h](j)}(h``int result``h]j)}(hjh]h int result}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hjubj)}(hhh]jX)}(h$result code of completed RPC requesth]h$result code of completed RPC request}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjgubeh}(h]h ]h"]h$]h&]uh1jhjKubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjKubjX)}(hXFThe transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd whenh]hXFThe transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd when}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjKubj )}(h- a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h]jD2)}(hhh](jI2)}(ha reply is received andh]jX)}(hjKh]ha reply is received and}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM-hjIubah}(h]h ]h"]h$]h&]uh1jH2hjFubjI2)}(h-a full number of requests are outstanding andh]jX)}(hjch]h-a full number of requests are outstanding and}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM.hjaubah}(h]h ]h"]h$]h&]uh1jH2hjFubjI2)}(h3the congestion window hasn't been updated recently.h]jX)}(hj{h]h5the congestion window hasn’t been updated recently.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hjyubah}(h]h ]h"]h$]h&]uh1jH2hjFubeh}(h]h ]h"]h$]h&]j3-uh1jC2hjZhM-hjBubah}(h]h ]h"]h$]h&]uh1j hjZhM-hjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhj?hhhNhNubh)}(hhh](h)}(h@void xprt_wake_pending_tasks (struct rpc_xprt *xprt, int status)h]h)}(h?void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMKubj)}(hxprt_wake_pending_tasksh]j%)}(hxprt_wake_pending_tasksh]hxprt_wake_pending_tasks}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMKubj)}(h#(struct rpc_xprt *xprt, int status)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_wake_pending_tasksasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int statush](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj%)}(hstatush]hstatus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMKhjhhubjS)}(hhh]jX)}(h-wake all tasks on a transport's pending queueh]h/wake all tasks on a transport’s pending queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` transport with waiting tasks ``int status`` result code to plant in each task before waking ith](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMOhjubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMLhjubj)}(hhh]jX)}(htransport with waiting tasksh]htransport with waiting tasks}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMLhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMLhjubj)}(hA``int status`` result code to plant in each task before waking ith](j)}(h``int status``h]j)}(hj-h]h int status}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMNhj'ubj)}(hhh]jX)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMNhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h7void xprt_wait_for_buffer_space (struct rpc_xprt *xprt)h]h)}(h6void xprt_wait_for_buffer_space(struct rpc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMZubj)}(hxprt_wait_for_buffer_spaceh]j%)}(hxprt_wait_for_buffer_spaceh]hxprt_wait_for_buffer_space}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMZubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_wait_for_buffer_spaceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMZubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMZhj|hhubjS)}(hhh]jX)}(h)wait for transport output buffer to clearh]h)wait for transport output buffer to clear}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZhjDhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` transport **Description** Note that we only set the timer for the case of RPC_IS_SOFT(), since we don't in general want to force a socket disconnection due to an incomplete RPC call transmission.h](jX)}(h**Parameters**h]j)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM^hjcubj)}(hhh]j)}(h$``struct rpc_xprt *xprt`` transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM[hjubj)}(hhh]jX)}(h transporth]h transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM]hjcubjX)}(hNote that we only set the timer for the case of RPC_IS_SOFT(), since we don't in general want to force a socket disconnection due to an incomplete RPC call transmission.h]hNote that we only set the timer for the case of RPC_IS_SOFT(), since we don’t in general want to force a socket disconnection due to an incomplete RPC call transmission.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM\hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h-bool xprt_write_space (struct rpc_xprt *xprt)h]h)}(h,bool xprt_write_space(struct rpc_xprt *xprt)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMtubj)}(hxprt_write_spaceh]j%)}(hxprt_write_spaceh]hxprt_write_space}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMtubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jj*sbc.xprt_write_spaceasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMtubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMthjhhubjS)}(hhh]jX)}(h7wake the task waiting for transport output buffer spaceh]h7wake the task waiting for transport output buffer space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMthjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` transport with waiting tasks **Description** Can be called in a soft IRQ context, so xprt_write_space never sleeps.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMxhjubj)}(hhh]j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMuhjubj)}(hhh]jX)}(htransport with waiting tasksh]htransport with waiting tasks}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMwhjubjX)}(hFCan be called in a soft IRQ context, so xprt_write_space never sleeps.h]hFCan be called in a soft IRQ context, so xprt_write_space never sleeps.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_disconnect_done (C function)c.xprt_disconnect_donehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h1void xprt_disconnect_done (struct rpc_xprt *xprt)h]h)}(h0void xprt_disconnect_done(struct rpc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxprt_disconnect_doneh]j%)}(hxprt_disconnect_doneh]hxprt_disconnect_done}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_disconnect_doneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj}hhubjS)}(hhh]jX)}(h mark a transport as disconnectedh]h mark a transport as disconnected}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj?hNhNubj})}(hL**Parameters** ``struct rpc_xprt *xprt`` transport to flag for disconnecth](jX)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjdubj)}(hhh]j)}(h:``struct rpc_xprt *xprt`` transport to flag for disconnecth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh]jX)}(h transport to flag for disconnecth]h transport to flag for disconnect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_force_disconnect (C function)c.xprt_force_disconnecthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h2void xprt_force_disconnect (struct rpc_xprt *xprt)h]h)}(h1void xprt_force_disconnect(struct rpc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxprt_force_disconnecth]j%)}(hxprt_force_disconnecth]hxprt_force_disconnect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j')}jjsbc.xprt_force_disconnectasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hforce a transport to disconnecth]hforce a transport to disconnect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hC**Parameters** ``struct rpc_xprt *xprt`` transport to disconnecth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh]j)}(h1``struct rpc_xprt *xprt`` transport to disconnecth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh]jX)}(htransport to disconnecth]htransport to disconnect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_reconnect_delay (C function)c.xprt_reconnect_delayhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h@unsigned long xprt_reconnect_delay (const struct rpc_xprt *xprt)h]h)}(h?unsigned long xprt_reconnect_delay(const struct rpc_xprt *xprt)h](j)}(hunsignedh]hunsigned}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjLhMubj)}(hlongh]hlong}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhjLhMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjLhMubj)}(hxprt_reconnect_delayh]j%)}(hxprt_reconnect_delayh]hxprt_reconnect_delay}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhjLhMubj)}(h(const struct rpc_xprt *xprt)h]j)}(hconst struct rpc_xprt *xprth](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj}sbc.xprt_reconnect_delayasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhjLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhjLhMubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMhj3hhubjS)}(hhh]jX)}(h,compute the wait before scheduling a connecth]h,compute the wait before scheduling a connect}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj?hNhNubj})}(hD**Parameters** ``const struct rpc_xprt *xprt`` transport instanceh](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQubj)}(hhh]j)}(h2``const struct rpc_xprt *xprt`` transport instanceh](j)}(h``const struct rpc_xprt *xprt``h]j)}(hjvh]hconst struct rpc_xprt *xprt}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjpubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_reconnect_backoff (C function)c.xprt_reconnect_backoffhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hJvoid xprt_reconnect_backoff (struct rpc_xprt *xprt, unsigned long init_to)h]h)}(hIvoid xprt_reconnect_backoff(struct rpc_xprt *xprt, unsigned long init_to)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxprt_reconnect_backoffh]j%)}(hxprt_reconnect_backoffh]hxprt_reconnect_backoff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h.(struct rpc_xprt *xprt, unsigned long init_to)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjsbc.xprt_reconnect_backoffasbuh1hhj ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hxprth]hxprt}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long init_toh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hinit_toh]hinit_to}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h$compute the new re-establish timeouth]h$compute the new re-establish timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hw**Parameters** ``struct rpc_xprt *xprt`` transport instance ``unsigned long init_to`` initial reestablish timeouth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh](j)}(h-``struct rpc_xprt *xprt`` transport instance h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj"h]hstruct rpc_xprt *xprt}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h5``unsigned long init_to`` initial reestablish timeouth](j)}(h``unsigned long init_to``h]j)}(hj[h]hunsigned long init_to}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjUubj)}(hhh]jX)}(hinitial reestablish timeouth]hinitial reestablish timeout}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_lookup_rqst (C function)c.xprt_lookup_rqsthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hFstruct rpc_rqst * xprt_lookup_rqst (struct rpc_xprt *xprt, __be32 xid)h]h)}(hDstruct rpc_rqst *xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM$ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxprt_lookup_rqstsbc.xprt_lookup_rqstasbuh1hhjhhhjhM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM$ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM$ubj)}(hxprt_lookup_rqsth]j%)}(hjh]hxprt_lookup_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM$ubj)}(h#(struct rpc_xprt *xprt, __be32 xid)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jc.xprt_lookup_rqstasbuh1hhj+ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(h __be32 xidh](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xprt_lookup_rqstasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hxidh]hxid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM$hjhhubjS)}(hhh]jX)}(h+find an RPC request corresponding to an XIDh]h+find an RPC request corresponding to an XID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` transport on which the original request was transmitted ``__be32 xid`` RPC XID of incoming reply **Description** Caller holds xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjubj)}(hhh](j)}(hR``struct rpc_xprt *xprt`` transport on which the original request was transmitted h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj9h]hstruct rpc_xprt *xprt}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hj3ubj)}(hhh]jX)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM%hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM%hj0ubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hjrh]h __be32 xid}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hjlubj)}(hhh]jX)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM&hj0ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h)void xprt_pin_rqst (struct rpc_rqst *req)h]h)}(h(void xprt_pin_rqst(struct rpc_rqst *req)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMDubj)}(h xprt_pin_rqsth]j%)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMDubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hj/ hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ ubj)}(h h]h }(hj< hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjM hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjO modnameN classnameNjj!)}j$]j')}jj sbc.xprt_pin_rqstasbuh1hhj+ ubj)}(h h]h }(hjm hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ ubj;)}(hj>h]h*}(hj{ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ ubj%)}(hreqh]hreq}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj' ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj hMDubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMDhjhhubjS)}(hhh]jX)}(h+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMHhj ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hj h]hstruct rpc_rqst *req}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMEhj ubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hj !hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMEhj !ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMEhj ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj.!h]h Description}(hj0!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,!ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhj ubjX)}(hlCaller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.h]hlCaller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.}(hjD!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMFhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h+void xprt_unpin_rqst (struct rpc_rqst *req)h]h)}(h*void xprt_unpin_rqst(struct rpc_rqst *req)h](j)}(hvoidh]hvoid}(hjs!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo!hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo!hhhj!hMQubj)}(hxprt_unpin_rqsth]j%)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjo!hhhj!hMQubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jj!sbc.xprt_unpin_rqstasbuh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hreqh]hreq}(hj "hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubah}(h]h ]h"]h$]h&]j<j=uh1jhjo!hhhj!hMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjk!hhhj!hMQubah}(h]jf!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMQhjh!hhubjS)}(hhh]jX)}(h-Unpin a request on the transport receive listh]h-Unpin a request on the transport receive list}(hj3"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQhj0"hhubah}(h]h ]h"]h$]h&]uh1jRhjh!hhhj!hMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjK"jxjK"jyjzj{uh1hhhhj?hNhNubj})}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hjU"h]h Parameters}(hjW"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS"ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMUhjO"ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjt"h]hstruct rpc_rqst *req}(hjv"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr"ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMRhjn"ubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMRhj"ubah}(h]h ]h"]h$]h&]uh1jhjn"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMRhjk"ubah}(h]h ]h"]h$]h&]uh1jhjO"ubjX)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMThjO"ubjX)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMShjO"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h,void xprt_update_rtt (struct rpc_task *task)h]h)}(h+void xprt_update_rtt(struct rpc_task *task)h](j)}(hvoidh]hvoid}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj#hMubj)}(hxprt_update_rtth]j%)}(hxprt_update_rtth]hxprt_update_rtt}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj#hMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj1#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-#ubj)}(h h]h }(hj>#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-#ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjO#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQ#modnameN classnameNjj!)}j$]j')}jj#sbc.xprt_update_rttasbuh1hhj-#ubj)}(h h]h }(hjo#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-#ubj;)}(hj>h]h*}(hj}#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-#ubj%)}(htaskh]htask}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)#ubah}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj#hMubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hMhj"hhubjS)}(hhh]jX)}(hUpdate RPC RTT statisticsh]hUpdate RPC RTT statistics}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#jxj#jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Caller holds xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#ubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hj#h]hstruct rpc_task *task}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#ubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj $hMhj $ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj $hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubjX)}(h**Description**h]j)}(hj0$h]h Description}(hj2$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.$ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#ubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjF$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h;void xprt_complete_rqst (struct rpc_task *task, int copied)h]h)}(h:void xprt_complete_rqst(struct rpc_task *task, int copied)h](j)}(hvoidh]hvoid}(hju$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq$hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq$hhhj$hMubj)}(hxprt_complete_rqsth]j%)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjq$hhhj$hMubj)}(h#(struct rpc_task *task, int copied)h](j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jj$sbc.xprt_complete_rqstasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(htaskh]htask}(hj %hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubj)}(h int copiedh](j)}(hinth]hint}(hj$%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj %ubj)}(h h]h }(hj2%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj %ubj%)}(hcopiedh]hcopied}(hj@%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj %ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjq$hhhj$hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjm$hhhj$hMubah}(h]jh$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$hMhjj$hhubjS)}(hhh]jX)}(h(called when reply processing is completeh]h(called when reply processing is complete}(hjj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjg%hhubah}(h]h ]h"]h$]h&]uh1jRhjj$hhhj$hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed ``int copied`` actual number of bytes received from the transport **Description** Caller holds xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hj%h]hstruct rpc_task *task}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hj%h]h int copied}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubj)}(hhh]jX)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hj&h]h Description}(hj!&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj5&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hh]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(htaskh]htask}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubah}(h]h ]h"]h$]h&]j<j=uh1jhj`&hhhjr&hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\&hhhjr&hMubah}(h]jW&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjr&hMhjY&hhubjS)}(hhh]jX)}(hwait for replyh]hwait for reply}(hj$'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj!'hhubah}(h]h ]h"]h$]h&]uh1jRhjY&hhhjr&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<'jxj<'jyjzj{uh1hhhhj?hNhNubj})}(hX;**Parameters** ``struct rpc_task *task`` pointer to rpc_task **Description** Set a request's retransmit timeout based on the transport's default timeout parameters. Used by transports that don't adjust the retransmit timeout based on round-trip time estimation, and put the task to sleep on the pending queue.h](jX)}(h**Parameters**h]j)}(hjF'h]h Parameters}(hjH'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD'ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj@'ubj)}(hhh]j)}(h.``struct rpc_task *task`` pointer to rpc_task h](j)}(h``struct rpc_task *task``h]j)}(hje'h]hstruct rpc_task *task}(hjg'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc'ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj_'ubj)}(hhh]jX)}(hpointer to rpc_taskh]hpointer to rpc_task}(hj~'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjz'hMhj{'ubah}(h]h ]h"]h$]h&]uh1jhj_'ubeh}(h]h ]h"]h$]h&]uh1jhjz'hMhj\'ubah}(h]h ]h"]h$]h&]uh1jhj@'ubjX)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj@'ubjX)}(hSet a request's retransmit timeout based on the transport's default timeout parameters. Used by transports that don't adjust the retransmit timeout based on round-trip time estimation, and put the task to sleep on the pending queue.h]hSet a request’s retransmit timeout based on the transport’s default timeout parameters. Used by transports that don’t adjust the retransmit timeout based on round-trip time estimation, and put the task to sleep on the pending queue.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj@'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_rtt (C function)!c.xprt_wait_for_reply_request_rtthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hh]h*}(hjn(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(ubj%)}(htaskh]htask}(hj{(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubah}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj'hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj'hMubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMhj'hhubjS)}(hhh]jX)}(h"wait for reply using RTT estimatorh]h"wait for reply using RTT estimator}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj'hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_task *task`` pointer to rpc_task **Description** Set a request's retransmit timeout using the RTT estimator, and put the task to sleep on the pending queue.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj(ubj)}(hhh]j)}(h.``struct rpc_task *task`` pointer to rpc_task h](j)}(h``struct rpc_task *task``h]j)}(hj(h]hstruct rpc_task *task}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj(ubj)}(hhh]jX)}(hpointer to rpc_taskh]hpointer to rpc_task}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubjX)}(h**Description**h]j)}(hj!)h]h Description}(hj#)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj(ubjX)}(hkSet a request's retransmit timeout using the RTT estimator, and put the task to sleep on the pending queue.h]hmSet a request’s retransmit timeout using the RTT estimator, and put the task to sleep on the pending queue.}(hj7)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_get (C function) c.xprt_gethNtauh1hhj?hhhNhNubh)}(hhh](h)}(h2struct rpc_xprt * xprt_get (struct rpc_xprt *xprt)h]h)}(h0struct rpc_xprt *xprt_get(struct rpc_xprt *xprt)h](h)}(hjh]hstruct}(hjf)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjb)hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMoubj)}(h h]h }(hjt)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb)hhhjs)hMoubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jxprt_getsb c.xprt_getasbuh1hhjb)hhhjs)hMoubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb)hhhjs)hMoubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjb)hhhjs)hMoubj)}(hxprt_geth]j%)}(hj)h]hxprt_get}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjb)hhhjs)hMoubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j) c.xprt_getasbuh1hhj)ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hj**hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hxprth]hxprt}(hj7*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubah}(h]h ]h"]h$]h&]j<j=uh1jhjb)hhhjs)hMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^)hhhjs)hMoubah}(h]jY)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjs)hMohj[)hhubjS)}(hhh]jX)}(h'return a reference to an RPC transport.h]h'return a reference to an RPC transport.}(hja*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMohj^*hhubah}(h]h ]h"]h$]h&]uh1jRhj[)hhhjs)hMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjy*jxjy*jyjzj{uh1hhhhj?hNhNubj})}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jX)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMshj}*ubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj*h]hstruct rpc_xprt *xprt}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMuhj*ubj)}(hhh]jX)}(hpointer to the transporth]hpointer to the transport}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMphj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMuhj*ubah}(h]h ]h"]h$]h&]uh1jhj}*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_put (C function) c.xprt_puthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h%void xprt_put (struct rpc_xprt *xprt)h]h)}(h$void xprt_put(struct rpc_xprt *xprt)h](j)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM|ubj)}(h h]h }(hj +hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj +hM|ubj)}(hxprt_puth]j%)}(hxprt_puth]hxprt_put}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj +hM|ubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj9+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5+ubj)}(h h]h }(hjF+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5+ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjW+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjT+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjY+modnameN classnameNjj!)}j$]j')}jj+sb c.xprt_putasbuh1hhj5+ubj)}(h h]h }(hjw+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5+ubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5+ubj%)}(hxprth]hxprt}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1+ubah}(h]h ]h"]h$]h&]j<j=uh1jhj*hhhj +hM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*hhhj +hM|ubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj +hM|hj*hhubjS)}(hhh]jX)}(h(release a reference to an RPC transport.h]h(release a reference to an RPC transport.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM|hj+hhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhj +hM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhj?hNhNubj})}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj+ubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj+h]hstruct rpc_xprt *xprt}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj+ubj)}(hhh]jX)}(hpointer to the transporth]hpointer to the transport}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM}hj,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up (C function) c.rpc_wake_uphNtauh1hhj?hhhNhNubh)}(hhh](h)}(h/void rpc_wake_up (struct rpc_wait_queue *queue)h]h)}(h.void rpc_wake_up(struct rpc_wait_queue *queue)h](j)}(hvoidh]hvoid}(hjW,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjS,hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hjf,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS,hhhje,hMubj)}(h rpc_wake_uph]j%)}(h rpc_wake_uph]h rpc_wake_up}(hjx,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjt,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjS,hhhje,hMubj)}(h(struct rpc_wait_queue *queue)h]j)}(hstruct rpc_wait_queue *queueh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hrpc_wait_queueh]hrpc_wait_queue}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jjz,sb c.rpc_wake_upasbuh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hqueueh]hqueue}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubah}(h]h ]h"]h$]h&]j<j=uh1jhjS,hhhje,hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjO,hhhje,hMubah}(h]jJ,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhje,hMhjL,hhubjS)}(hhh]jX)}(hwake up all rpc_tasksh]hwake up all rpc_tasks}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj-hhubah}(h]h ]h"]h$]h&]uh1jRhjL,hhhje,hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/-jxj/-jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping **Description** Grabs queue->lockh](jX)}(h**Parameters**h]j)}(hj9-h]h Parameters}(hj;-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj3-ubj)}(hhh]j)}(hP``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping h](j)}(h ``struct rpc_wait_queue *queue``h]j)}(hjX-h]hstruct rpc_wait_queue *queue}(hjZ-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjR-ubj)}(hhh]jX)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjq-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjm-hMhjn-ubah}(h]h ]h"]h$]h&]uh1jhjR-ubeh}(h]h ]h"]h$]h&]uh1jhjm-hMhjO-ubah}(h]h ]h"]h$]h&]uh1jhj3-ubjX)}(h**Description**h]j)}(hj-h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj3-ubjX)}(hGrabs queue->lockh]hGrabs queue->lock}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj3-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhj?hhhNhNubh)}(hhh](h)}(hBvoid rpc_wake_up_status (struct rpc_wait_queue *queue, int status)h]h)}(hAvoid rpc_wake_up_status(struct rpc_wait_queue *queue, int status)h](j)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hMubj)}(hrpc_wake_up_statush]j%)}(hrpc_wake_up_statush]hrpc_wake_up_status}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj-hMubj)}(h*(struct rpc_wait_queue *queue, int status)h](j)}(hstruct rpc_wait_queue *queueh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj".hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hrpc_wait_queueh]hrpc_wait_queue}(hj3.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5.modnameN classnameNjj!)}j$]j')}jj-sbc.rpc_wake_up_statusasbuh1hhj.ubj)}(h h]h }(hjS.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hja.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hqueueh]hqueue}(hjn.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj .ubj)}(h int statush](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hstatush]hstatus}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj .ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj-hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhj-hMubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMhj-hhubjS)}(hhh]jX)}(h1wake up all rpc_tasks and set their status value.h]h1wake up all rpc_tasks and set their status value.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj.hhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhj-hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping ``int status`` status value to set **Description** Grabs queue->lockh](jX)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj.ubj)}(hhh](j)}(hP``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping h](j)}(h ``struct rpc_wait_queue *queue``h]j)}(hj/h]hstruct rpc_wait_queue *queue}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj /ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj/ubj)}(hhh]jX)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hj'/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#/hMhj$/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj#/hMhj/ubj)}(h#``int status`` status value to set h](j)}(h``int status``h]j)}(hjG/h]h int status}(hjI/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjA/ubj)}(hhh]jX)}(hstatus value to seth]hstatus value to set}(hj`/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\/hMhj]/ubah}(h]h ]h"]h$]h&]uh1jhjA/ubeh}(h]h ]h"]h$]h&]uh1jhj\/hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj.ubjX)}(h**Description**h]j)}(hj/h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj.ubjX)}(hGrabs queue->lockh]hGrabs queue->lock}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_malloc (C function) c.rpc_mallochNtauh1hhj?hhhNhNubh)}(hhh](h)}(h&int rpc_malloc (struct rpc_task *task)h]h)}(h%int rpc_malloc(struct rpc_task *task)h](j)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhj/hMubj)}(h rpc_malloch]j%)}(h rpc_malloch]h rpc_malloc}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhj/hMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj"0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$0modnameN classnameNjj!)}j$]j')}jj/sb c.rpc_mallocasbuh1hhj0ubj)}(h h]h }(hjB0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjP0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(htaskh]htask}(hj]0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubah}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhj/hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhj/hMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj/hMhj/hhubjS)}(hhh]jX)}(hallocate RPC buffer resourcesh]hallocate RPC buffer resources}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct rpc_task *task`` RPC task **Description** A single memory region is allocated, which is split between the RPC call and RPC reply that this task is being used for. When this RPC is retired, the memory is released by calling rpc_free. To prevent rpciod from hanging, this allocator never sleeps, returning -ENOMEM and suppressing warning if the request cannot be serviced immediately. The caller can arrange to sleep in a way that is safe for rpciod. Most requests are 'small' (under 2KiB) and can be serviced from a mempool, ensuring that NFS reads and writes can always proceed, and that there is good locality of reference for these buffers.h](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj0ubj)}(hhh]j)}(h#``struct rpc_task *task`` RPC task h](j)}(h``struct rpc_task *task``h]j)}(hj0h]hstruct rpc_task *task}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj0ubj)}(hhh]jX)}(hRPC taskh]hRPC task}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj0ubjX)}(hA single memory region is allocated, which is split between the RPC call and RPC reply that this task is being used for. When this RPC is retired, the memory is released by calling rpc_free.h]hA single memory region is allocated, which is split between the RPC call and RPC reply that this task is being used for. When this RPC is retired, the memory is released by calling rpc_free.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj0ubjX)}(hTo prevent rpciod from hanging, this allocator never sleeps, returning -ENOMEM and suppressing warning if the request cannot be serviced immediately. The caller can arrange to sleep in a way that is safe for rpciod.h]hTo prevent rpciod from hanging, this allocator never sleeps, returning -ENOMEM and suppressing warning if the request cannot be serviced immediately. The caller can arrange to sleep in a way that is safe for rpciod.}(hj(1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj0ubjX)}(hMost requests are 'small' (under 2KiB) and can be serviced from a mempool, ensuring that NFS reads and writes can always proceed, and that there is good locality of reference for these buffers.h]hMost requests are ‘small’ (under 2KiB) and can be serviced from a mempool, ensuring that NFS reads and writes can always proceed, and that there is good locality of reference for these buffers.}(hj71hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_free (C function) c.rpc_freehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h%void rpc_free (struct rpc_task *task)h]h)}(h$void rpc_free(struct rpc_task *task)h](j)}(hvoidh]hvoid}(hjf1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb1hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM:ubj)}(h h]h }(hju1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb1hhhjt1hM:ubj)}(hrpc_freeh]j%)}(hrpc_freeh]hrpc_free}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjb1hhhjt1hM:ubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jj1sb c.rpc_freeasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(htaskh]htask}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(h]h ]h"]h$]h&]j<j=uh1jhjb1hhhjt1hM:ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^1hhhjt1hM:ubah}(h]jY1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjt1hM:hj[1hhubjS)}(hhh]jX)}(h2free RPC buffer resources allocated via rpc_malloch]h2free RPC buffer resources allocated via rpc_malloc}(hj&2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM:hj#2hhubah}(h]h ]h"]h$]h&]uh1jRhj[1hhhjt1hM:ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>2jxj>2jyjzj{uh1hhhhj?hNhNubj})}(h4**Parameters** ``struct rpc_task *task`` RPC taskh](jX)}(h**Parameters**h]j)}(hjH2h]h Parameters}(hjJ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF2ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM>hjB2ubj)}(hhh]j)}(h"``struct rpc_task *task`` RPC taskh](j)}(h``struct rpc_task *task``h]j)}(hjg2h]hstruct rpc_task *task}(hji2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM@hja2ubj)}(hhh]jX)}(hRPC taskh]hRPC task}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM;hj}2ubah}(h]h ]h"]h$]h&]uh1jhja2ubeh}(h]h ]h"]h$]h&]uh1jhj|2hM@hj^2ubah}(h]h ]h"]h$]h&]uh1jhjB2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhj?hhhNhNubh)}(hhh](h)}(h>struct rpc_iostats * rpc_alloc_iostats (struct rpc_clnt *clnt)h]h)}(hh]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2hhhj2hKxubj)}(hrpc_alloc_iostatsh]j%)}(hj2h]hrpc_alloc_iostats}(hj 3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhj2hKxubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj;3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj73ubj)}(h h]h }(hjH3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj73ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjY3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[3modnameN classnameNjj!)}j$]j2c.rpc_alloc_iostatsasbuh1hhj73ubj)}(h h]h }(hjw3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj73ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj73ubj%)}(hclnth]hclnt}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj73ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj33ubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhj2hKxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj2hKxubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hKxhj2hhubjS)}(hhh]jX)}(h!allocate an rpc_iostats structureh]h!allocate an rpc_iostats structure}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKxhj3hhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhj2hKxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhj?hNhNubj})}(hJ**Parameters** ``struct rpc_clnt *clnt`` RPC program, version, and xprth](jX)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chK|hj3ubj)}(hhh]j)}(h8``struct rpc_clnt *clnt`` RPC program, version, and xprth](j)}(h``struct rpc_clnt *clnt``h]j)}(hj3h]hstruct rpc_clnt *clnt}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chK~hj3ubj)}(hhh]jX)}(hRPC program, version, and xprth]hRPC program, version, and xprt}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKyhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hK~hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_free_iostats (C function)c.rpc_free_iostatshNtauh1hhj?hhhNhNubh)}(hhh](h)}(h1void rpc_free_iostats (struct rpc_iostats *stats)h]h)}(h0void rpc_free_iostats(struct rpc_iostats *stats)h](j)}(hvoidh]hvoid}(hjW4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjS4hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hjf4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS4hhhje4hKubj)}(hrpc_free_iostatsh]j%)}(hrpc_free_iostatsh]hrpc_free_iostats}(hjx4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjt4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjS4hhhje4hKubj)}(h(struct rpc_iostats *stats)h]j)}(hstruct rpc_iostats *statsh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjz4sbc.rpc_free_iostatsasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hstatsh]hstats}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubah}(h]h ]h"]h$]h&]j<j=uh1jhjS4hhhje4hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjO4hhhje4hKubah}(h]jJ4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhje4hKhjL4hhubjS)}(hhh]jX)}(h release an rpc_iostats structureh]h release an rpc_iostats structure}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj5hhubah}(h]h ]h"]h$]h&]uh1jRhjL4hhhje4hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/5jxj/5jyjzj{uh1hhhhj?hNhNubj})}(hL**Parameters** ``struct rpc_iostats *stats`` doomed rpc_iostats structureh](jX)}(h**Parameters**h]j)}(hj95h]h Parameters}(hj;5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj75ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj35ubj)}(hhh]j)}(h:``struct rpc_iostats *stats`` doomed rpc_iostats structureh](j)}(h``struct rpc_iostats *stats``h]j)}(hjX5h]hstruct rpc_iostats *stats}(hjZ5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjR5ubj)}(hhh]jX)}(hdoomed rpc_iostats structureh]hdoomed rpc_iostats structure}(hjq5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjn5ubah}(h]h ]h"]h$]h&]uh1jhjR5ubeh}(h]h ]h"]h$]h&]uh1jhjm5hKhjO5ubah}(h]h ]h"]h$]h&]uh1jhj35ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_count_iostats_metrics (C function)c.rpc_count_iostats_metricshNtauh1hhj?hhhNhNubh)}(hhh](h)}(h\void rpc_count_iostats_metrics (const struct rpc_task *task, struct rpc_iostats *op_metrics)h]h)}(h[void rpc_count_iostats_metrics(const struct rpc_task *task, struct rpc_iostats *op_metrics)h](j)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hKubj)}(hrpc_count_iostats_metricsh]j%)}(hrpc_count_iostats_metricsh]hrpc_count_iostats_metrics}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhj5hKubj)}(h=(const struct rpc_task *task, struct rpc_iostats *op_metrics)h](j)}(hconst struct rpc_task *taskh](h)}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hjh]hstruct}(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj(6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*6modnameN classnameNjj!)}j$]j')}jj5sbc.rpc_count_iostats_metricsasbuh1hhj5ubj)}(h h]h }(hjH6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjV6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(htaskh]htask}(hjc6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hstruct rpc_iostats *op_metricsh](h)}(hjh]hstruct}(hj|6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjx6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx6ubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]jD6c.rpc_count_iostats_metricsasbuh1hhjx6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjx6ubj%)}(h op_metricsh]h op_metrics}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhj5hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhj5hKubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hKhj5hhubjS)}(hhh]jX)}(htally up per-task statsh]htally up per-task stats}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj6hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhj5hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``const struct rpc_task *task`` completed rpc_task ``struct rpc_iostats *op_metrics`` stat structure for OP that will accumulate stats from **task**h](jX)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj!7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj7ubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hj>7h]hconst struct rpc_task *task}(hj@7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj87ubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjW7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjS7hKhjT7ubah}(h]h ]h"]h$]h&]uh1jhj87ubeh}(h]h ]h"]h$]h&]uh1jhjS7hKhj57ubj)}(ha``struct rpc_iostats *op_metrics`` stat structure for OP that will accumulate stats from **task**h](j)}(h"``struct rpc_iostats *op_metrics``h]j)}(hjw7h]hstruct rpc_iostats *op_metrics}(hjy7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjq7ubj)}(hhh]jX)}(h>stat structure for OP that will accumulate stats from **task**h](h6stat structure for OP that will accumulate stats from }(hj7hhhNhNubj)}(h**task**h]htask}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj7ubah}(h]h ]h"]h$]h&]uh1jhjq7ubeh}(h]h ]h"]h$]h&]uh1jhj7hKhj57ubeh}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hOvoid rpc_count_iostats (const struct rpc_task *task, struct rpc_iostats *stats)h]h)}(hNvoid rpc_count_iostats(const struct rpc_task *task, struct rpc_iostats *stats)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hKubj)}(hrpc_count_iostatsh]j%)}(hrpc_count_iostatsh]hrpc_count_iostats}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hKubj)}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j)}(hconst struct rpc_task *taskh](h)}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj)8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hjh]hstruct}(hj78hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hjD8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjU8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjW8modnameN classnameNjj!)}j$]j')}jj8sbc.rpc_count_iostatsasbuh1hhj8ubj)}(h h]h }(hju8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(htaskh]htask}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubj)}(hstruct rpc_iostats *statsh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]jq8c.rpc_count_iostatsasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hstatsh]hstats}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hKubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hKhj7hhubjS)}(hhh]jX)}(htally up per-task statsh]htally up per-task stats}(hj*9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj'9hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjB9jxjB9jyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``const struct rpc_task *task`` completed rpc_task ``struct rpc_iostats *stats`` array of stat structures **Description** Uses the statidx from **task**h](jX)}(h**Parameters**h]j)}(hjL9h]h Parameters}(hjN9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ9ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjF9ubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjk9h]hconst struct rpc_task *task}(hjm9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhje9ubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhje9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjb9ubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hj9h]hstruct rpc_iostats *stats}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj9ubj)}(hhh]jX)}(harray of stat structuresh]harray of stat structures}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjb9ubeh}(h]h ]h"]h$]h&]uh1jhjF9ubjX)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjF9ubjX)}(hUses the statidx from **task**h](hUses the statidx from }(hj9hhhNhNubj)}(h**task**h]htask}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjF9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hFint rpc_queue_upcall (struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h]h)}(hEint rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j)}(hinth]hint}(hj2:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.:hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj)}(h h]h }(hjA:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.:hhhj@:hK}ubj)}(hrpc_queue_upcallh]j%)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hjS:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.:hhhj@:hK}ubj)}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hjo:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjk:ubj)}(h h]h }(hj|:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk:ubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jjU:sbc.rpc_queue_upcallasbuh1hhjk:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk:ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjk:ubj%)}(hpipeh]hpipe}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjg:ubj)}(hstruct rpc_pipe_msg *msgh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(h rpc_pipe_msgh]h rpc_pipe_msg}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j:c.rpc_queue_upcallasbuh1hhj:ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hj+;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hmsgh]hmsg}(hj8;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjg:ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.:hhhj@:hK}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*:hhhj@:hK}ubah}(h]j%:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@:hK}hj':hhubjS)}(hhh]jX)}(h$queue an upcall message to userspaceh]h$queue an upcall message to userspace}(hjb;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}hj_;hhubah}(h]h ]h"]h$]h&]uh1jRhj':hhhj@:hK}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjz;jxjz;jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct rpc_pipe *pipe`` upcall pipe on which to queue given message ``struct rpc_pipe_msg *msg`` message to queue **Description** Call with an **inode** created by rpc_mkpipe() to queue an upcall. A userspace process may then later read the upcall by performing a read on an open file for this inode. It is up to the caller to initialize the fields of **msg** (other than **msg->list**) appropriately.h](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj~;ubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hj;h]hstruct rpc_pipe *pipe}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hj;ubj)}(hhh]jX)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hK~hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hK~hj;ubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hj;h]hstruct rpc_pipe_msg *msg}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj;ubj)}(hhh]jX)}(hmessage to queueh]hmessage to queue}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hKhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hKhj;ubeh}(h]h ]h"]h$]h&]uh1jhj~;ubjX)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj~;ubjX)}(hXCall with an **inode** created by rpc_mkpipe() to queue an upcall. A userspace process may then later read the upcall by performing a read on an open file for this inode. It is up to the caller to initialize the fields of **msg** (other than **msg->list**) appropriately.h](h Call with an }(hj-<hhhNhNubj)}(h **inode**h]hinode}(hj5<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-<ubh created by rpc_mkpipe() to queue an upcall. A userspace process may then later read the upcall by performing a read on an open file for this inode. It is up to the caller to initialize the fields of }(hj-<hhhNhNubj)}(h**msg**h]hmsg}(hjG<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-<ubh (other than }(hj-<hhhNhNubj)}(h **msg->list**h]h msg->list}(hjY<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-<ubh) appropriately.}(hj-<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj~;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhj?hhhNhNubh)}(hhh](h)}(heint rpc_mkpipe_dentry (struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h]h)}(hdint rpc_mkpipe_dentry(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMkubj)}(hrpc_mkpipe_dentryh]j%)}(hrpc_mkpipe_dentryh]hrpc_mkpipe_dentry}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMkubj)}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j)}(hstruct dentry *parenth](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(hdentryh]hdentry}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jj<sbc.rpc_mkpipe_dentryasbuh1hhj<ubj)}(h h]h }(hj =hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hparenth]hparent}(hj(=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hconst char *nameh](h)}(hjh]hconst}(hjA=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj==ubj)}(h h]h }(hjN=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj==ubj)}(hcharh]hchar}(hj\=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj==ubj)}(h h]h }(hjj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj==ubj;)}(hj>h]h*}(hjx=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj==ubj%)}(hnameh]hname}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj==ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h void *privateh](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hprivateh]hprivate}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j =c.rpc_mkpipe_dentryasbuh1hhj=ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hj*>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hpipeh]hpipe}(hj7>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhj<hMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMkubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMkhj<hhubjS)}(hhh]jX)}(huserspace communicationh]huserspace communication}(hja>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhj^>hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjy>jxjy>jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct dentry *parent`` dentry of directory to create new "pipe" in ``const char *name`` name of pipe ``void *private`` private data to associate with the pipe, for the caller's use ``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters **Description** Data is made available for userspace to read by calls to rpc_queue_upcall(). The actual reads will result in calls to **ops->upcall**, which will be called with the file pointer, message, and userspace buffer to copy to. Writes can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to **msg->downcall**. The **private** argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohj}>ubj)}(hhh](j)}(hF``struct dentry *parent`` dentry of directory to create new "pipe" in h](j)}(h``struct dentry *parent``h]j)}(hj>h]hstruct dentry *parent}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhj>ubj)}(hhh]jX)}(h+dentry of directory to create new "pipe" inh]h/dentry of directory to create new “pipe” in}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMmhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMmhj>ubj)}(h"``const char *name`` name of pipe h](j)}(h``const char *name``h]j)}(hj>h]hconst char *name}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMnhj>ubj)}(hhh]jX)}(h name of pipeh]h name of pipe}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMnhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMnhj>ubj)}(hP``void *private`` private data to associate with the pipe, for the caller's use h](j)}(h``void *private``h]j)}(hj?h]h void *private}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohj?ubj)}(hhh]jX)}(h=private data to associate with the pipe, for the caller's useh]h?private data to associate with the pipe, for the caller’s use}(hj-?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)?hMohj*?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj)?hMohj>ubj)}(hI``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjM?h]hstruct rpc_pipe *pipe}(hjO?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK?ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMphjG?ubj)}(hhh]jX)}(h.:c:type:`rpc_pipe` containing input parametersh](h)}(h:c:type:`rpc_pipe`h]j)}(hjl?h]hrpc_pipe}(hjn?hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjj?ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrpc_pipeuh1hhjb?hMphjf?ubh containing input parameters}(hjf?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjb?hMphjc?ubah}(h]h ]h"]h$]h&]uh1jhjG?ubeh}(h]h ]h"]h$]h&]uh1jhjb?hMphj>ubeh}(h]h ]h"]h$]h&]uh1jhj}>ubjX)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMrhj}>ubjX)}(hData is made available for userspace to read by calls to rpc_queue_upcall(). The actual reads will result in calls to **ops->upcall**, which will be called with the file pointer, message, and userspace buffer to copy to.h](hwData is made available for userspace to read by calls to rpc_queue_upcall(). The actual reads will result in calls to }(hj?hhhNhNubj)}(h**ops->upcall**h]h ops->upcall}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubhW, which will be called with the file pointer, message, and userspace buffer to copy to.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMqhj}>ubjX)}(hWrites can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to **msg->downcall**.h](hsWrites can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to }(hj?hhhNhNubj)}(h**msg->downcall**h]h msg->downcall}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMvhj}>ubjX)}(hThe **private** argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.h](hThe }(hj?hhhNhNubj)}(h **private**h]hprivate}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMyhj}>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h'void rpc_unlink (struct rpc_pipe *pipe)h]h)}(h&void rpc_unlink(struct rpc_pipe *pipe)h](j)}(hvoidh]hvoid}(hj@@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<@hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjO@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<@hhhjN@hMubj)}(h rpc_unlinkh]j%)}(h rpc_unlinkh]h rpc_unlink}(hja@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<@hhhjN@hMubj)}(h(struct rpc_pipe *pipe)h]j)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hj}@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjy@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy@ubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j')}jjc@sb c.rpc_unlinkasbuh1hhjy@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy@ubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjy@ubj%)}(hpipeh]hpipe}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhju@ubah}(h]h ]h"]h$]h&]j<j=uh1jhj<@hhhjN@hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8@hhhjN@hMubah}(h]j3@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjN@hMhj5@hhubjS)}(hhh]jX)}(h remove a pipeh]h remove a pipe}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj5@hhhjN@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_pipe *pipe`` the pipe to be removed **Description** After this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE.h](jX)}(h**Parameters**h]j)}(hj"Ah]h Parameters}(hj$AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Aubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjAubj)}(hhh]j)}(h1``struct rpc_pipe *pipe`` the pipe to be removed h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjAAh]hstruct rpc_pipe *pipe}(hjCAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Aubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj;Aubj)}(hhh]jX)}(hthe pipe to be removedh]hthe pipe to be removed}(hjZAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVAhMhjWAubah}(h]h ]h"]h$]h&]uh1jhj;Aubeh}(h]h ]h"]h$]h&]uh1jhjVAhMhj8Aubah}(h]h ]h"]h$]h&]uh1jhjAubjX)}(h**Description**h]j)}(hj|Ah]h Description}(hj~AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzAubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjAubjX)}(hAfter this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE.h]hAfter this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#rpc_init_pipe_dir_head (C function)c.rpc_init_pipe_dir_headhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h;void rpc_init_pipe_dir_head (struct rpc_pipe_dir_head *pdh)h]h)}(h:void rpc_init_pipe_dir_head(struct rpc_pipe_dir_head *pdh)h](j)}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhMubj)}(hrpc_init_pipe_dir_headh]j%)}(hrpc_init_pipe_dir_headh]hrpc_init_pipe_dir_head}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhMubj)}(h(struct rpc_pipe_dir_head *pdh)h]j)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hj BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jjAsbc.rpc_init_pipe_dir_headasbuh1hhjAubj)}(h h]h }(hjh]h*}(hjJBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hpdhh]hpdh}(hjWBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubah}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjAhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjAhMubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMhjAhhubjS)}(hhh]jX)}(h%initialise a struct rpc_pipe_dir_headh]h%initialise a struct rpc_pipe_dir_head}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj~Bhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhj?hNhNubj})}(hW**Parameters** ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](jX)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjBubj)}(hhh]j)}(hE``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hjBh]hstruct rpc_pipe_dir_head *pdh}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjBubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%rpc_init_pipe_dir_object (C function)c.rpc_init_pipe_dir_objecthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h~void rpc_init_pipe_dir_object (struct rpc_pipe_dir_object *pdo, const struct rpc_pipe_dir_object_ops *pdo_ops, void *pdo_data)h]h)}(h}void rpc_init_pipe_dir_object(struct rpc_pipe_dir_object *pdo, const struct rpc_pipe_dir_object_ops *pdo_ops, void *pdo_data)h](j)}(hvoidh]hvoid}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hj+ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhj*ChMubj)}(hrpc_init_pipe_dir_objecth]j%)}(hrpc_init_pipe_dir_objecth]hrpc_init_pipe_dir_object}(hj=ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9Cubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhj*ChMubj)}(h`(struct rpc_pipe_dir_object *pdo, const struct rpc_pipe_dir_object_ops *pdo_ops, void *pdo_data)h](j)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hjYChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUCubj)}(h h]h }(hjfChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUCubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjwChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjyCmodnameN classnameNjj!)}j$]j')}jj?Csbc.rpc_init_pipe_dir_objectasbuh1hhjUCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUCubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUCubj%)}(hpdoh]hpdo}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQCubj)}(h-const struct rpc_pipe_dir_object_ops *pdo_opsh](h)}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hrpc_pipe_dir_object_opsh]hrpc_pipe_dir_object_ops}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]jCc.rpc_init_pipe_dir_objectasbuh1hhjCubj)}(h h]h }(hj"DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hj0DhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hpdo_opsh]hpdo_ops}(hj=DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQCubj)}(hvoid *pdo_datah](j)}(hvoidh]hvoid}(hjVDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRDubj)}(h h]h }(hjdDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRDubj;)}(hj>h]h*}(hjrDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRDubj%)}(hpdo_datah]hpdo_data}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQCubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhj*ChMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhj*ChMubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*ChMhjChhubjS)}(hhh]jX)}(h'initialise a struct rpc_pipe_dir_objecth]h'initialise a struct rpc_pipe_dir_object}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjChhhj*ChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_object ``const struct rpc_pipe_dir_object_ops *pdo_ops`` pointer to const struct rpc_pipe_dir_object_ops ``void *pdo_data`` pointer to caller-defined datah](jX)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjDubj)}(hhh](j)}(hJ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_object h](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjDh]hstruct rpc_pipe_dir_object *pdo}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjDubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjDubj)}(hb``const struct rpc_pipe_dir_object_ops *pdo_ops`` pointer to const struct rpc_pipe_dir_object_ops h](j)}(h1``const struct rpc_pipe_dir_object_ops *pdo_ops``h]j)}(hj#Eh]h-const struct rpc_pipe_dir_object_ops *pdo_ops}(hj%EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Eubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjEubj)}(hhh]jX)}(h/pointer to const struct rpc_pipe_dir_object_opsh]h/pointer to const struct rpc_pipe_dir_object_ops}(hjh]h*}(hj?FhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hneth]hnet}(hjLFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjeFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaFubj)}(h h]h }(hjrFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaFubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j-Fc.rpc_add_pipe_dir_objectasbuh1hhjaFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaFubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaFubj%)}(hpdhh]hpdh}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j-Fc.rpc_add_pipe_dir_objectasbuh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hpdoh]hpdo}(hj,GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhjEhMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhjEhhubjS)}(hhh]jX)}(h.associate a rpc_pipe_dir_object to a directoryh]h.associate a rpc_pipe_dir_object to a directory}(hjVGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjSGhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnGjxjnGjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct net *net`` pointer to struct net ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](jX)}(h**Parameters**h]j)}(hjxGh]h Parameters}(hjzGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvGubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjrGubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjGh]hstruct net *net}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjGubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjGubj)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hjGh]hstruct rpc_pipe_dir_head *pdh}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjGubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjGubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hj Hh]hstruct rpc_pipe_dir_object *pdo}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjHubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hj"HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjGubeh}(h]h ]h"]h$]h&]uh1jhjrGubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_remove_pipe_dir_object (C function)c.rpc_remove_pipe_dir_objecthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hqvoid rpc_remove_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h]h)}(hpvoid rpc_remove_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hvoidh]hvoid}(hjcHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_HhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM ubj)}(h h]h }(hjrHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_HhhhjqHhM ubj)}(hrpc_remove_pipe_dir_objecth]j%)}(hrpc_remove_pipe_dir_objecth]hrpc_remove_pipe_dir_object}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_HhhhjqHhM ubj)}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hneth]hnet}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjHsbc.rpc_remove_pipe_dir_objectasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hneth]hnet}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hj0IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-Iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2ImodnameN classnameNjj!)}j$]jHc.rpc_remove_pipe_dir_objectasbuh1hhjIubj)}(h h]h }(hjNIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hj\IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hpdhh]hpdh}(hjiIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~Iubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~Iubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]jHc.rpc_remove_pipe_dir_objectasbuh1hhj~Iubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~Iubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Iubj%)}(hpdoh]hpdo}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~Iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubeh}(h]h ]h"]h$]h&]j<j=uh1jhj_HhhhjqHhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[HhhhjqHhM ubah}(h]jVHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqHhM hjXHhhubjS)}(hhh]jX)}(h-remove a rpc_pipe_dir_object from a directoryh]h-remove a rpc_pipe_dir_object from a directory}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjJhhubah}(h]h ]h"]h$]h&]uh1jRhjXHhhhjqHhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct net *net`` pointer to struct net ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](jX)}(h**Parameters**h]j)}(hj%Jh]h Parameters}(hj'JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Jubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjJubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjDJh]hstruct net *net}(hjFJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBJubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hj>Jubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hj]JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYJhM hjZJubah}(h]h ]h"]h$]h&]uh1jhj>Jubeh}(h]h ]h"]h$]h&]uh1jhjYJhM hj;Jubj)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hj}Jh]hstruct rpc_pipe_dir_head *pdh}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Jubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjwJubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjwJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hj;Jubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjJh]hstruct rpc_pipe_dir_object *pdo}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjJubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj;Jubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.rpc_find_or_alloc_pipe_dir_object (C function)#c.rpc_find_or_alloc_pipe_dir_objecthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hstruct rpc_pipe_dir_object * rpc_find_or_alloc_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object *, void *), struct rpc_pipe_dir_object *(*alloc)(void *), void *data)h]h)}(hstruct rpc_pipe_dir_object *rpc_find_or_alloc_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object*, void*), struct rpc_pipe_dir_object *(*alloc)(void*), void *data)h](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj KhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM!ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj KhhhjKhM!ubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj/KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,Kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1KmodnameN classnameNjj!)}j$]j')}j!rpc_find_or_alloc_pipe_dir_objectsb#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj KhhhjKhM!ubj)}(h h]h }(hjPKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj KhhhjKhM!ubj;)}(hj>h]h*}(hj^KhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj KhhhjKhM!ubj)}(h!rpc_find_or_alloc_pipe_dir_objecth]j%)}(hjMKh]h!rpc_find_or_alloc_pipe_dir_object}(hjoKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj KhhhjKhM!ubj)}(h(struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object*, void*), struct rpc_pipe_dir_object *(*alloc)(void*), void *data)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hneth]hnet}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]jKK#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hneth]hnet}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jKK#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjKubj)}(h h]h }(hj6LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjDLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hpdhh]hpdh}(hjQLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](j)}(hinth]hint}(hjjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfLubj)}(h h]h }(hjxLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfLubj;)}(hjh]h(}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubj%)}(hmatchh]hmatch}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfLubj;)}(hjh]h)}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubj;)}(hjh]h(}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubh)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfLubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jKK#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjfLubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubj;)}(h,h]h,}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfLubj)}(hvoidh]hvoid}(hj-MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfLubj;)}(hj>h]h*}(hj;MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubj;)}(hjh]h)}(hjHMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](h)}(hjh]hstruct}(hj`MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\Mubj)}(h h]h }(hjmMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\Mubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj~MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{Mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jKK#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj\Mubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\Mubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Mubj;)}(hjh]h(}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Mubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Mubj%)}(halloch]halloc}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\Mubj;)}(hjh]h)}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Mubj;)}(hjh]h(}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Mubj)}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\Mubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Mubj;)}(hjh]h)}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(h void *datah](j)}(hvoidh]hvoid}(hj,NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(Nubj)}(h h]h }(hj:NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Nubj;)}(hj>h]h*}(hjHNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(Nubj%)}(hdatah]hdata}(hjUNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhj KhhhjKhM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhM!ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhM!hjKhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct net *net`` pointer to struct net ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head ``int (*match)(struct rpc_pipe_dir_object *, void *)`` match struct rpc_pipe_dir_object to data ``struct rpc_pipe_dir_object *(*alloc)(void *)`` allocate a new struct rpc_pipe_dir_object ``void *data`` user defined data for match() and alloc()h](jX)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM%hjNubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjNh]hstruct net *net}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjNubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM"hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhM"hjNubj)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hjNh]hstruct rpc_pipe_dir_head *pdh}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM#hjNubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM#hjOubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhM#hjNubj)}(h```int (*match)(struct rpc_pipe_dir_object *, void *)`` match struct rpc_pipe_dir_object to data h](j)}(h6``int (*match)(struct rpc_pipe_dir_object *, void *)``h]j)}(hj#Oh]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(hj%OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Oubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM$hjOubj)}(hhh]jX)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hjh]h*}(hjxPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(Pubj%)}(htaskh]htask}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Pubah}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhjOhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjOhMubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMhjOhhubjS)}(hhh]jX)}(h7obtain the port for a given RPC service on a given hosth]h7obtain the port for a given RPC service on a given host}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_task *task`` task that is waiting for portmapper request **Description** This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.h](jX)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjPubj)}(hhh]j)}(hF``struct rpc_task *task`` task that is waiting for portmapper request h](j)}(h``struct rpc_task *task``h]j)}(hjPh]hstruct rpc_task *task}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjPubj)}(hhh]jX)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper request}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubjX)}(h**Description**h]j)}(hj+Qh]h Description}(hj-QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Qubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjPubjX)}(h`This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.h]h`This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.}(hjAQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h;struct rpc_clnt * rpc_create (struct rpc_create_args *args)h]h)}(h9struct rpc_clnt *rpc_create(struct rpc_create_args *args)h](h)}(hjh]hstruct}(hjpQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlQhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hj~QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlQhhhj}QhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}j rpc_createsb c.rpc_createasbuh1hhjlQhhhj}QhMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlQhhhj}QhMubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlQhhhj}QhMubj)}(h rpc_createh]j%)}(hjQh]h rpc_create}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlQhhhj}QhMubj)}(h(struct rpc_create_args *args)h]j)}(hstruct rpc_create_args *argsh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(hrpc_create_argsh]hrpc_create_args}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj RmodnameN classnameNjj!)}j$]jQ c.rpc_createasbuh1hhjQubj)}(h h]h }(hj&RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hj4RhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hargsh]hargs}(hjARhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubah}(h]h ]h"]h$]h&]j<j=uh1jhjlQhhhj}QhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhQhhhj}QhMubah}(h]jcQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}QhMhjeQhhubjS)}(hhh]jX)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one call}(hjkRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhRhhubah}(h]h ]h"]h$]h&]uh1jRhjeQhhhj}QhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhj?hNhNubj})}(hXp**Parameters** ``struct rpc_create_args *args`` rpc_clnt create argument structure **Description** Creates and initializes an RPC transport and an RPC client. It can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.h](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRubj)}(hhh]j)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hjRh]hstruct rpc_create_args *args}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRubj)}(hhh]jX)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRubjX)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRubjX)}(hIt can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.h]hIt can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h:struct rpc_clnt * rpc_clone_client (struct rpc_clnt *clnt)h]h)}(h8struct rpc_clnt *rpc_clone_client(struct rpc_clnt *clnt)h](h)}(hjh]hstruct}(hj;ShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ShhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjIShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ShhhjHShMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjZShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\SmodnameN classnameNjj!)}j$]j')}jrpc_clone_clientsbc.rpc_clone_clientasbuh1hhj7ShhhjHShMubj)}(h h]h }(hj{ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ShhhjHShMubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ShhhjHShMubj)}(hrpc_clone_clienth]j%)}(hjxSh]hrpc_clone_client}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7ShhhjHShMubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jvSc.rpc_clone_clientasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hclnth]hclnt}(hj ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubah}(h]h ]h"]h$]h&]j<j=uh1jhj7ShhhjHShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3ShhhjHShMubah}(h]j.Sah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHShMhj0ShhubjS)}(hhh]jX)}(hClone an RPC client structureh]hClone an RPC client structure}(hj6ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj3Thhubah}(h]h ]h"]h$]h&]uh1jRhj0ShhhjHShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNTjxjNTjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client whose parameters are copied **Description** Returns a fresh RPC client or an ERR_PTR.h](jX)}(h**Parameters**h]j)}(hjXTh]h Parameters}(hjZThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVTubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRTubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjwTh]hstruct rpc_clnt *clnt}(hjyThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuTubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqTubj)}(hhh]jX)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjqTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjnTubah}(h]h ]h"]h$]h&]uh1jhjRTubjX)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRTubjX)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h\struct rpc_clnt * rpc_clone_client_set_auth (struct rpc_clnt *clnt, rpc_authflavor_t flavor)h]h)}(hZstruct rpc_clnt *rpc_clone_client_set_auth(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjThhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjUhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jrpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhjThhhjUhMubj)}(h h]h }(hj7UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjUhMubj;)}(hj>h]h*}(hjEUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjThhhjUhMubj)}(hrpc_clone_client_set_authh]j%)}(hj4Uh]hrpc_clone_client_set_auth}(hjVUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjUhMubj)}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjqUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmUubj)}(h h]h }(hj~UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmUubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j2Uc.rpc_clone_client_set_authasbuh1hhjmUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmUubj%)}(hclnth]hclnt}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiUubj)}(hrpc_authflavor_t flavorh](h)}(hhh]j%)}(hrpc_authflavor_th]hrpc_authflavor_t}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j2Uc.rpc_clone_client_set_authasbuh1hhjUubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(hflavorh]hflavor}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiUubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjUhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjUhMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhMhjThhubjS)}(hhh]jX)}(h.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hj:VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj7Vhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjUhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRVjxjRVjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client whose parameters are copied ``rpc_authflavor_t flavor`` security flavor for new client **Description** Returns a fresh RPC client or an ERR_PTR.h](jX)}(h**Parameters**h]j)}(hj\Vh]h Parameters}(hj^VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZVubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVVubj)}(hhh](j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj{Vh]hstruct rpc_clnt *clnt}(hj}VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjuVubj)}(hhh]jX)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjuVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjrVubj)}(h;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hjVh]hrpc_authflavor_t flavor}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVubj)}(hhh]jX)}(hsecurity flavor for new clienth]hsecurity flavor for new client}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjrVubeh}(h]h ]h"]h$]h&]uh1jhjVVubjX)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVVubjX)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(rpc_switch_client_transport (C function)c.rpc_switch_client_transporthNtauh1hhj?hhhNhNubh)}(hhh](h)}(htint rpc_switch_client_transport (struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h]h)}(hsint rpc_switch_client_transport(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](j)}(hinth]hint}(hj4WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0WhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjCWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0WhhhjBWhMubj)}(hrpc_switch_client_transporth]j%)}(hrpc_switch_client_transporth]hrpc_switch_client_transport}(hjUWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0WhhhjBWhMubj)}(hT(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjqWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmWubj)}(h h]h }(hj~WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmWubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjWWsbc.rpc_switch_client_transportasbuh1hhjmWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmWubj%)}(hclnth]hclnt}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiWubj)}(hstruct xprt_create *argsh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(h xprt_createh]h xprt_create}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jWc.rpc_switch_client_transportasbuh1hhjWubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hj-XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hargsh]hargs}(hj:XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiWubj)}(h!const struct rpc_timeout *timeouth](h)}(hjh]hconst}(hjSXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOXubj)}(h h]h }(hj`XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOXubh)}(hjh]hstruct}(hjnXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOXubj)}(h h]h }(hj{XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOXubh)}(hhh]j%)}(h rpc_timeouth]h rpc_timeout}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jWc.rpc_switch_client_transportasbuh1hhjOXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOXubj%)}(htimeouth]htimeout}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiWubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0WhhhjBWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,WhhhjBWhMubah}(h]j'Wah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBWhMhj)WhhubjS)}(hhh]jX)}(h#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jRhj)WhhhjBWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj?hNhNubj})}(hX}**Parameters** ``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt ``struct xprt_create *args`` pointer to the new transport arguments ``const struct rpc_timeout *timeout`` pointer to the new timeout parameters **Description** This function allows the caller to switch the RPC transport for the rpc_clnt structure 'clnt' to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking. Returns zero if "clnt" is now using the new xprt. Otherwise a negative errno is returned, and "clnt" continues to use the old xprt.h](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj Yubj)}(hhh](j)}(h7``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj0Yh]hstruct rpc_clnt *clnt}(hj2YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Yubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj*Yubj)}(hhh]jX)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjIYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEYhMhjFYubah}(h]h ]h"]h$]h&]uh1jhj*Yubeh}(h]h ]h"]h$]h&]uh1jhjEYhMhj'Yubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjiYh]hstruct xprt_create *args}(hjkYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjcYubj)}(hhh]jX)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~YhMhjYubah}(h]h ]h"]h$]h&]uh1jhjcYubeh}(h]h ]h"]h$]h&]uh1jhj~YhMhj'Yubj)}(hL``const struct rpc_timeout *timeout`` pointer to the new timeout parameters h](j)}(h%``const struct rpc_timeout *timeout``h]j)}(hjYh]h!const struct rpc_timeout *timeout}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjYubj)}(hhh]jX)}(h%pointer to the new timeout parametersh]h%pointer to the new timeout parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj'Yubeh}(h]h ]h"]h$]h&]uh1jhj YubjX)}(h**Description**h]j)}(hjYh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj YubjX)}(hXThis function allows the caller to switch the RPC transport for the rpc_clnt structure 'clnt' to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.h]hX This function allows the caller to switch the RPC transport for the rpc_clnt structure ‘clnt’ to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj YubjX)}(hReturns zero if "clnt" is now using the new xprt. Otherwise a negative errno is returned, and "clnt" continues to use the old xprt.h]hReturns zero if “clnt” is now using the new xprt. Otherwise a negative errno is returned, and “clnt” continues to use the old xprt.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj Yubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hint rpc_clnt_iterate_for_each_xprt (struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *), void *data)h]h)}(h{int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*), void *data)h](j)}(hinth]hint}(hj1ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ZhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBubj)}(h h]h }(hj@ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Zhhhj?ZhMBubj)}(hrpc_clnt_iterate_for_each_xprth]j%)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hjRZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-Zhhhj?ZhMBubj)}(hY(struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*), void *data)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjnZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjZubj)}(h h]h }(hj{ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjZubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]j')}jjTZsb c.rpc_clnt_iterate_for_each_xprtasbuh1hhjjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjZubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjZubj%)}(hclnth]hclnt}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfZubj)}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hjh]h(}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj;)}(hj>h]h*}(hj [hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hfnh]hfn}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubj;)}(hjh]h)}(hj$[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj;)}(hjh]h(}(hj1[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubh)}(hjh]hstruct}(hj>[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjK[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj\[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^[modnameN classnameNjj!)}j$]jZ c.rpc_clnt_iterate_for_each_xprtasbuh1hhjZubj;)}(hj>h]h*}(hjz[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj;)}(hjMh]h,}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jZ c.rpc_clnt_iterate_for_each_xprtasbuh1hhjZubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj;)}(hjMh]h,}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj;)}(hjh]h)}(hj!\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfZubj)}(h void *datah](j)}(hvoidh]hvoid}(hj9\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5\ubj)}(h h]h }(hjG\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5\ubj;)}(hj>h]h*}(hjU\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5\ubj%)}(hdatah]hdata}(hjb\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfZubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-Zhhhj?ZhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)Zhhhj?ZhMBubah}(h]j$Zah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?ZhMBhj&ZhhubjS)}(hhh]jX)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBhj\hhubah}(h]h ]h"]h$]h&]uh1jRhj&Zhhhj?ZhMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to client ``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)`` function to apply ``void *data`` void pointer to function data **Description** Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data). On error, the iteration stops, and the function returns the error value.h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhj\ubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj\h]hstruct rpc_clnt *clnt}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMChj\ubj)}(hhh]jX)}(hpointer to clienth]hpointer to client}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMChj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMChj\ubj)}(hN``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)`` function to apply h](j)}(h;``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)``h]j)}(hj]h]h7int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMDhj]ubj)}(hhh]jX)}(hfunction to applyh]hfunction to apply}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMDhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMDhj\ubj)}(h-``void *data`` void pointer to function data h](j)}(h``void *data``h]j)}(hj?]h]h void *data}(hjA]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=]ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhj9]ubj)}(hhh]jX)}(hvoid pointer to function datah]hvoid pointer to function data}(hjX]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjT]hMEhjU]ubah}(h]h ]h"]h$]h&]uh1jhj9]ubeh}(h]h ]h"]h$]h&]uh1jhjT]hMEhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjz]h]h Description}(hj|]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx]ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhj\ubjX)}(h{Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data).h]h{Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data).}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhj\ubjX)}(hHOn error, the iteration stops, and the function returns the error value.h]hHOn error, the iteration stops, and the function returns the error value.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hunsigned long rpc_cancel_tasks (struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task *, const void *), const void *data)h]h)}(hunsigned long rpc_cancel_tasks(struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task*, const void*), const void *data)h](j)}(hunsignedh]hunsigned}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj]hM}ubj)}(hlongh]hlong}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhj]hM}ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj]hM}ubj)}(hrpc_cancel_tasksh]j%)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hj ^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhj]hM}ubj)}(hj(struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task*, const void*), const void *data)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj'^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#^ubj)}(h h]h }(hj4^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#^ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjE^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjG^modnameN classnameNjj!)}j$]j')}jj ^sbc.rpc_cancel_tasksasbuh1hhj#^ubj)}(h h]h }(hje^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#^ubj;)}(hj>h]h*}(hjs^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#^ubj%)}(hclnth]hclnt}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(h int errorh](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(herrorh]herror}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(h4bool (*fnmatch)(const struct rpc_task*, const void*)h](j)}(hjTh]hbool}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hjh]h(}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hfnmatchh]hfnmatch}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubj;)}(hjh]h)}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj;)}(hjh]h(}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubh)}(hjh]hconst}(hj+_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hj8_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hjh]hstruct}(hjF_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjS_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjd_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjf_modnameN classnameNjj!)}j$]ja^c.rpc_cancel_tasksasbuh1hhj^ubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj;)}(hjMh]h,}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hjh]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj;)}(hjh]h)}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hconst void *datah](h)}(hjh]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hj!`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hj/`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hdatah]hdata}(hj<`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhj]hM}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhj]hM}ubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hM}hj]hhubjS)}(hhh]jX)}(h try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(hjf`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hjc`hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj]hM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~`jxj~`jyjzj{uh1hhhhj?hNhNubj})}(hX|**Parameters** ``struct rpc_clnt *clnt`` Pointer to RPC client ``int error`` RPC task error value to set ``bool (*fnmatch)(const struct rpc_task *, const void *)`` Pointer to selector function ``const void *data`` User data **Description** Uses **fnmatch** to define a set of RPC tasks that are to be cancelled. The argument **error** must be a negative error value.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj`ubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` Pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj`h]hstruct rpc_clnt *clnt}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hj`ubj)}(hhh]jX)}(hPointer to RPC clienth]hPointer to RPC client}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM~hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM~hj`ubj)}(h*``int error`` RPC task error value to set h](j)}(h ``int error``h]j)}(hj`h]h int error}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj`ubj)}(hhh]jX)}(hRPC task error value to seth]hRPC task error value to set}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`ubj)}(hX``bool (*fnmatch)(const struct rpc_task *, const void *)`` Pointer to selector function h](j)}(h:``bool (*fnmatch)(const struct rpc_task *, const void *)``h]j)}(hjah]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjaubj)}(hhh]jX)}(hPointer to selector functionh]hPointer to selector function}(hj2ahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.ahMhj/aubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj.ahMhj`ubj)}(h``const void *data`` User data h](j)}(h``const void *data``h]j)}(hjRah]hconst void *data}(hjTahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPaubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjLaubj)}(hhh]jX)}(h User datah]h User data}(hjkahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgahMhjhaubah}(h]h ]h"]h$]h&]uh1jhjLaubeh}(h]h ]h"]h$]h&]uh1jhjgahMhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjX)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj`ubjX)}(h~Uses **fnmatch** to define a set of RPC tasks that are to be cancelled. The argument **error** must be a negative error value.h](hUses }(hjahhhNhNubj)}(h **fnmatch**h]hfnmatch}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubhE to define a set of RPC tasks that are to be cancelled. The argument }(hjahhhNhNubj)}(h **error**h]herror}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh must be a negative error value.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hjstruct rpc_clnt * rpc_bind_new_program (struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h]h)}(hhstruct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjahhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjbhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jrpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhjahhhjbhMubj)}(h h]h }(hj6bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjbhMubj;)}(hj>h]h*}(hjDbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjahhhjbhMubj)}(hrpc_bind_new_programh]j%)}(hj3bh]hrpc_bind_new_program}(hjUbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjbhMubj)}(hC(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j)}(hstruct rpc_clnt *oldh](h)}(hjh]hstruct}(hjpbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlbubj)}(h h]h }(hj}bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlbubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j1bc.rpc_bind_new_programasbuh1hhjlbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlbubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlbubj%)}(holdh]hold}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhbubj)}(h!const struct rpc_program *programh](h)}(hjh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(h rpc_programh]h rpc_program}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j1bc.rpc_bind_new_programasbuh1hhjbubj)}(h h]h }(hj7chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjEchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hprogramh]hprogram}(hjRchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhbubj)}(hu32 versh](h)}(hhh]j%)}(hu32h]hu32}(hjnchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpcmodnameN classnameNjj!)}j$]j1bc.rpc_bind_new_programasbuh1hhjgcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgcubj%)}(hversh]hvers}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhbubeh}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjbhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjbhMubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMhjahhubjS)}(hhh]jX)}(h,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjchhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjbhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj?hNhNubj})}(hXb**Parameters** ``struct rpc_clnt *old`` old rpc_client ``const struct rpc_program *program`` rpc program to set ``u32 vers`` rpc program version **Description** Clones the rpc client and sets up a new RPC program. This is mainly of use for enabling different RPC programs to share the same transport. The Sun NFSv2/v3 ACL protocol can do this.h](jX)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjcubj)}(hhh](j)}(h(``struct rpc_clnt *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hjdh]hstruct rpc_clnt *old}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjcubj)}(hhh]jX)}(hold rpc_clienth]hold rpc_client}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjcubj)}(h9``const struct rpc_program *program`` rpc program to set h](j)}(h%``const struct rpc_program *program``h]j)}(hj>dh]h!const struct rpc_program *program}(hj@dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh]h*}(hjEehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdhhhjehMubj)}(h rpc_run_taskh]j%)}(hj4eh]h rpc_run_task}(hjVehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjReubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjehMubj)}(h.(const struct rpc_task_setup *task_setup_data)h]j)}(h,const struct rpc_task_setup *task_setup_datah](h)}(hjh]hconst}(hjqehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmeubj)}(h h]h }(hj~ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmeubh)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmeubh)}(hhh]j%)}(hrpc_task_setuph]hrpc_task_setup}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j2ec.rpc_run_taskasbuh1hhjmeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmeubj%)}(htask_setup_datah]htask_setup_data}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjieubah}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjehMubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMhjdhhubjS)}(hhh]jX)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(hj fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj fhhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%fjxj%fjyjzj{uh1hhhhj?hNhNubj})}(hf**Parameters** ``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](jX)}(h**Parameters**h]j)}(hj/fh]h Parameters}(hj1fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-fubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj)fubj)}(hhh]j)}(hT``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](j)}(h0``const struct rpc_task_setup *task_setup_data``h]j)}(hjNfh]h,const struct rpc_task_setup *task_setup_data}(hjPfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjHfubj)}(hhh]jX)}(h#pointer to task initialisation datah]h#pointer to task initialisation data}(hjgfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjdfubah}(h]h ]h"]h$]h&]uh1jhjHfubeh}(h]h ]h"]h$]h&]uh1jhjcfhMhjEfubah}(h]h ]h"]h$]h&]uh1jhj)fubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhj?hhhNhNubh)}(hhh](h)}(hSint rpc_call_sync (struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h]h)}(hRint rpc_call_sync(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhMubj)}(h rpc_call_synch]j%)}(h rpc_call_synch]h rpc_call_sync}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjfhMubj)}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jjfsbc.rpc_call_syncasbuh1hhjfubj)}(h h]h }(hj#ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hj1ghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hclnth]hclnt}(hj>ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hconst struct rpc_message *msgh](h)}(hjh]hconst}(hjWghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSgubj)}(h h]h }(hjdghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSgubh)}(hjh]hstruct}(hjrghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSgubh)}(hhh]j%)}(h rpc_messageh]h rpc_message}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jgc.rpc_call_syncasbuh1hhjSgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSgubj%)}(hmsgh]hmsg}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h int flagsh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hflagsh]hflags}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjfhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhjfhMubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMhjfhhubjS)}(hhh]jX)}(hPerform a synchronous RPC callh]hPerform a synchronous RPC call}(hj(hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj%hhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjfhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@hjxj@hjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_clnt *clnt`` pointer to RPC client ``const struct rpc_message *msg`` RPC call parameters ``int flags`` RPC call flagsh](jX)}(h**Parameters**h]j)}(hjJhh]h Parameters}(hjLhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHhubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjDhubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjihh]hstruct rpc_clnt *clnt}(hjkhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjghubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjchubj)}(hhh]jX)}(hpointer to RPC clienth]hpointer to RPC client}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hhMhjhubah}(h]h ]h"]h$]h&]uh1jhjchubeh}(h]h ]h"]h$]h&]uh1jhj~hhMhj`hubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjhh]hconst struct rpc_message *msg}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhubj)}(hhh]jX)}(hRPC call parametersh]hRPC call parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhj`hubj)}(h``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hjhh]h int flags}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhj`hubeh}(h]h ]h"]h$]h&]uh1jhjDhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhj?hhhNhNubh)}(hhh](h)}(hint rpc_call_async (struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h]h)}(hint rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h](j)}(hinth]hint}(hj5ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ihhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjDihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ihhhjCihMubj)}(hrpc_call_asynch]j%)}(hrpc_call_asynch]hrpc_call_async}(hjVihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1ihhhjCihMubj)}(hp(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjrihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjniubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjniubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jjXisbc.rpc_call_asyncasbuh1hhjniubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjniubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjniubj%)}(hclnth]hclnt}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjniubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjiubj)}(hconst struct rpc_message *msgh](h)}(hjh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hj jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(h rpc_messageh]h rpc_message}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jic.rpc_call_asyncasbuh1hhjiubj)}(h h]h }(hj;jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjIjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hmsgh]hmsg}(hjVjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjiubj)}(h int flagsh](j)}(hinth]hint}(hjojhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkjubj)}(h h]h }(hj}jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkjubj%)}(hflagsh]hflags}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjiubj)}(h!const struct rpc_call_ops *tk_opsh](h)}(hjh]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(h rpc_call_opsh]h rpc_call_ops}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jic.rpc_call_asyncasbuh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hj khhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(htk_opsh]htk_ops}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjiubj)}(h void *datah](j)}(hvoidh]hvoid}(hj/khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+kubj)}(h h]h }(hj=khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+kubj;)}(hj>h]h*}(hjKkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+kubj%)}(hdatah]hdata}(hjXkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjiubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1ihhhjCihMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-ihhhjCihMubah}(h]j(iah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjCihMhj*ihhubjS)}(hhh]jX)}(h Perform an asynchronous RPC callh]h Perform an asynchronous RPC call}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhj*ihhhjCihMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_clnt *clnt`` pointer to RPC client ``const struct rpc_message *msg`` RPC call parameters ``int flags`` RPC call flags ``const struct rpc_call_ops *tk_ops`` RPC call ops ``void *data`` user call datah](jX)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjkubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjkh]hstruct rpc_clnt *clnt}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjkubj)}(hhh]jX)}(hpointer to RPC clienth]hpointer to RPC client}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjkh]hconst struct rpc_message *msg}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjkubj)}(hhh]jX)}(hRPC call parametersh]hRPC call parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjkubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hj5lh]h int flags}(hj7lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3lubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj/lubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hjNlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJlhMhjKlubah}(h]h ]h"]h$]h&]uh1jhj/lubeh}(h]h ]h"]h$]h&]uh1jhjJlhMhjkubj)}(h3``const struct rpc_call_ops *tk_ops`` RPC call ops h](j)}(h%``const struct rpc_call_ops *tk_ops``h]j)}(hjnlh]h!const struct rpc_call_ops *tk_ops}(hjplhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjllubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhlubj)}(hhh]jX)}(h RPC call opsh]h RPC call ops}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjhlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjkubj)}(h``void *data`` user call datah](j)}(h``void *data``h]j)}(hjlh]h void *data}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjlubj)}(hhh]jX)}(huser call datah]huser call data}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjkubeh}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hvoid rpc_prepare_reply_pages (struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h]h)}(hvoid rpc_prepare_reply_pages(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](j)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjmhMGubj)}(hrpc_prepare_reply_pagesh]j%)}(hrpc_prepare_reply_pagesh]hrpc_prepare_reply_pages}(hj"mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjmhMGubj)}(hf(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](j)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hj>mhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:mubj)}(h h]h }(hjKmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:mubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj\mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^mmodnameN classnameNjj!)}j$]j')}jj$msbc.rpc_prepare_reply_pagesasbuh1hhj:mubj)}(h h]h }(hj|mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:mubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:mubj%)}(hreqh]hreq}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6mubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hpageh]hpage}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jxmc.rpc_prepare_reply_pagesasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hpagesh]hpages}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6mubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hj-nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)nubj)}(h h]h }(hj;nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)nubj)}(hinth]hint}(hjInhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)nubj)}(h h]h }(hjWnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)nubj%)}(hbaseh]hbase}(hjenhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6mubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj~nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjznubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjznubj)}(hinth]hint}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjznubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjznubj%)}(hlenh]hlen}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjznubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6mubj)}(hunsigned int hdrsizeh](j)}(hunsignedh]hunsigned}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(hinth]hint}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hhdrsizeh]hhdrsize}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6mubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjmhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjmhMGubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMGhjlhhubjS)}(hhh]jX)}(h2Prepare to receive a reply data payload into pagesh]h2Prepare to receive a reply data payload into pages}(hj1ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhj.ohhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjmhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIojxjIojyjzj{uh1hhhhj?hNhNubj})}(hXr**Parameters** ``struct rpc_rqst *req`` RPC request to prepare ``struct page **pages`` vector of struct page pointers ``unsigned int base`` offset in first page where receive should start, in bytes ``unsigned int len`` expected size of the upper layer data payload, in bytes ``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](jX)}(h**Parameters**h]j)}(hjSoh]h Parameters}(hjUohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQoubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMKhjMoubj)}(hhh](j)}(h0``struct rpc_rqst *req`` RPC request to prepare h](j)}(h``struct rpc_rqst *req``h]j)}(hjroh]hstruct rpc_rqst *req}(hjtohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMHhjloubj)}(hhh]jX)}(hRPC request to prepareh]hRPC request to prepare}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMHhjoubah}(h]h ]h"]h$]h&]uh1jhjloubeh}(h]h ]h"]h$]h&]uh1jhjohMHhjioubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjoh]hstruct page **pages}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhjoubj)}(hhh]jX)}(hvector of struct page pointersh]hvector of struct page pointers}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMIhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMIhjioubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjoh]hunsigned int base}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMJhjoubj)}(hhh]jX)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMJhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMJhjioubj)}(hM``unsigned int len`` expected size of the upper layer data payload, in bytes h](j)}(h``unsigned int len``h]j)}(hjph]hunsigned int len}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMKhjpubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hj6phhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2phMKhj3pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj2phMKhjioubj)}(hP``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](j)}(h``unsigned int hdrsize``h]j)}(hjVph]hunsigned int hdrsize}(hjXphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMMhjPpubj)}(hhh]jX)}(h7expected size of upper layer reply header, in XDR wordsh]h7expected size of upper layer reply header, in XDR words}(hjophhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMLhjlpubah}(h]h ]h"]h$]h&]uh1jhjPpubeh}(h]h ]h"]h$]h&]uh1jhjkphMMhjioubeh}(h]h ]h"]h$]h&]uh1jhjMoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hQsize_t rpc_peeraddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h]h)}(hPsize_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](h)}(hhh]j%)}(hsize_th]hsize_t}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhjphhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjphMbubj)}(h rpc_peeraddrh]j%)}(hjph]h rpc_peeraddr}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjphMbubj)}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"qmodnameN classnameNjj!)}j$]jpc.rpc_peeraddrasbuh1hhjpubj)}(h h]h }(hj>qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjLqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hclnth]hclnt}(hjYqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct sockaddr *bufh](h)}(hjh]hstruct}(hjrqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnqubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jpc.rpc_peeraddrasbuh1hhjnqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnqubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnqubj%)}(hbufh]hbuf}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hsize_t bufsizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jpc.rpc_peeraddrasbuh1hhjqubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hbufsizeh]hbufsize}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjphMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjphMbubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMbhjphhubjS)}(hhh]jX)}(h,extract remote peer address from clnt's xprth]h.extract remote peer address from clnt’s xprt}(hj;rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbhj8rhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjphMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSrjxjSrjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``struct sockaddr *buf`` target buffer ``size_t bufsize`` length of target buffer **Description** Returns the number of bytes that are actually in the stored address.h](jX)}(h**Parameters**h]j)}(hj]rh]h Parameters}(hj_rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[rubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMfhjWrubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj|rh]hstruct rpc_clnt *clnt}(hj~rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMchjvrubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMchjrubah}(h]h ]h"]h$]h&]uh1jhjvrubeh}(h]h ]h"]h$]h&]uh1jhjrhMchjsrubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjrh]hstruct sockaddr *buf}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMdhjrubj)}(hhh]jX)}(h target bufferh]h target buffer}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMdhjruba|h}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMdhjsrubj)}(h+``size_t bufsize`` length of target buffer h](j)}(h``size_t bufsize``h]j)}(hjrh]hsize_t bufsize}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMehjrubj)}(hhh]jX)}(hlength of target bufferh]hlength of target buffer}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMehjsubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjshMehjsrubeh}(h]h ]h"]h$]h&]uh1jhjWrubjX)}(h**Description**h]j)}(hj)sh]h Description}(hj+shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'subah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMghjWrubjX)}(hDReturns the number of bytes that are actually in the stored address.h]hDReturns the number of bytes that are actually in the stored address.}(hj?shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMfhjWrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hWconst char * rpc_peeraddr2str (struct rpc_clnt *clnt, enum rpc_display_format_t format)h]h)}(hUconst char *rpc_peeraddr2str(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](h)}(hjh]hconst}(hjnshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjshhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|ubj)}(h h]h }(hj|shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjshhhj{shM|ubj)}(hcharh]hchar}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjshhhj{shM|ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjshhhj{shM|ubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjshhhj{shM|ubj)}(hrpc_peeraddr2strh]j%)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjshhhj{shM|ubj)}(h9(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jjssbc.rpc_peeraddr2strasbuh1hhjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hclnth]hclnt}(hj,thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(h enum rpc_display_format_t formath](h)}(hhh]henum}(hjEthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAtubj)}(h h]h }(hjRthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAtubh)}(hhh]j%)}(hrpc_display_format_th]hrpc_display_format_t}(hjcthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjetmodnameN classnameNjj!)}j$]j tc.rpc_peeraddr2strasbuh1hhjAtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAtubj%)}(hformath]hformat}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjshhhj{shM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfshhhj{shM|ubah}(h]jasah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{shM|hjcshhubjS)}(hhh]jX)}(h.return remote peer address in printable formath]h.return remote peer address in printable format}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|hjthhubah}(h]h ]h"]h$]h&]uh1jRhjcshhhj{shM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhj?hNhNubj})}(hX9**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``enum rpc_display_format_t format`` address format **Description** NB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.h](jX)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjtubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjth]hstruct rpc_clnt *clnt}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hjtubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM}hjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhM}hjtubj)}(h4``enum rpc_display_format_t format`` address format h](j)}(h$``enum rpc_display_format_t format``h]j)}(hj3uh]h enum rpc_display_format_t format}(hj5uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1uubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hj-uubj)}(hhh]jX)}(haddress formath]haddress format}(hjLuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHuhM~hjIuubah}(h]h ]h"]h$]h&]uh1jhj-uubeh}(h]h ]h"]h$]h&]uh1jhjHuhM~hjtubeh}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h**Description**h]j)}(hjnuh]h Description}(hjpuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjluubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjtubjX)}(hNB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.h]hNB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hNint rpc_localaddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h]h)}(hMint rpc_localaddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjuhMubj)}(h rpc_localaddrh]j%)}(h rpc_localaddrh]h rpc_localaddr}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjuhMubj)}(h<(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj vubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jjusbc.rpc_localaddrasbuh1hhjuubj)}(h h]h }(hj.vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjh]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^vubj%)}(hbufh]hbuf}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubj)}(h size_t buflenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j*vc.rpc_localaddrasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hbuflenh]hbuflen}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjuhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjuhMubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhMhjuhhubjS)}(hhh]jX)}(h1discover local endpoint address for an RPC clienth]h1discover local endpoint address for an RPC client}(hj+whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj(whhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjuhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCwjxjCwjyjzj{uh1hhhhj?hNhNubj})}(hXM**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``struct sockaddr *buf`` target buffer ``size_t buflen`` size of target buffer, in bytes **Description** Returns zero and fills in "buf" and "buflen" if successful; otherwise, a negative errno is returned. This works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address. The result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.h](jX)}(h**Parameters**h]j)}(hjMwh]h Parameters}(hjOwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjGwubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjlwh]hstruct rpc_clnt *clnt}(hjnwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjfwubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjfwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjcwubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjwh]hstruct sockaddr *buf}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjwubj)}(hhh]jX)}(h target bufferh]h target buffer}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjcwubj)}(h2``size_t buflen`` size of target buffer, in bytes h](j)}(h``size_t buflen``h]j)}(hjwh]h size_t buflen}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjwubj)}(hhh]jX)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjcwubeh}(h]h ]h"]h$]h&]uh1jhjGwubjX)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjGwubjX)}(hdReturns zero and fills in "buf" and "buflen" if successful; otherwise, a negative errno is returned.h]hlReturns zero and fills in “buf” and “buflen” if successful; otherwise, a negative errno is returned.}(hj/xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjGwubjX)}(hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.h]hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.}(hj>xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjGwubjX)}(hThe result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.h]hThe result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.}(hjMxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjGwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhj?hhhNhNubh)}(hhh](h)}(h/struct net * rpc_net_ns (struct rpc_clnt *clnt)h]h)}(h-struct net *rpc_net_ns(struct rpc_clnt *clnt)h](h)}(hjh]hstruct}(hj|xhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxxhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxxhhhjxhM6ubh)}(hhh]j%)}(hneth]hnet}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}j rpc_net_nssb c.rpc_net_nsasbuh1hhjxxhhhjxhM6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxxhhhjxhM6ubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxxhhhjxhM6ubj)}(h rpc_net_nsh]j%)}(hjxh]h rpc_net_ns}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxxhhhjxhM6ubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]jx c.rpc_net_nsasbuh1hhjxubj)}(h h]h }(hj2yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hj@yhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hclnth]hclnt}(hjMyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubah}(h]h ]h"]h$]h&]j<j=uh1jhjxxhhhjxhM6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjtxhhhjxhM6ubah}(h]joxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhM6hjqxhhubjS)}(hhh]jX)}(h-Get the network namespace for this RPC clienth]h-Get the network namespace for this RPC client}(hjwyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM6hjtyhhubah}(h]h ]h"]h$]h&]uh1jRhjqxhhhjxhM6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhj?hNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jX)}(h**Parameters**h]j)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM:hjyubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjyh]hstruct rpc_clnt *clnt}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM<hjyubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM7hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhM<hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h.size_t rpc_max_payload (struct rpc_clnt *clnt)h]h)}(h-size_t rpc_max_payload(struct rpc_clnt *clnt)h](h)}(hhh]j%)}(hsize_th]hsize_t}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j')}jrpc_max_payloadsbc.rpc_max_payloadasbuh1hhjzhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFubj)}(h h]h }(hj7zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhj6zhMFubj)}(hrpc_max_payloadh]j%)}(hj3zh]hrpc_max_payload}(hjIzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhj6zhMFubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjdzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`zubj)}(h h]h }(hjqzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`zubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j1zc.rpc_max_payloadasbuh1hhj`zubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`zubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`zubj%)}(hclnth]hclnt}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\zubah}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhj6zhMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj zhhhj6zhMFubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6zhMFhjzhhubjS)}(hhh]jX)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhj6zhMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhj?hNhNubj})}(hX+**Parameters** ``struct rpc_clnt *clnt`` RPC client to query **Description** For stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h](jX)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj {hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMJhj{ubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` RPC client to query h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj&{h]hstruct rpc_clnt *clnt}(hj({hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj${ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhj {ubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hj?{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;{hMGhj<{ubah}(h]h ]h"]h$]h&]uh1jhj {ubeh}(h]h ]h"]h$]h&]uh1jhj;{hMGhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**Description**h]j)}(hja{h]h Description}(hjc{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_{ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhj{ubjX)}(hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h]hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don’t support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.}(hjw{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMHhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h1size_t rpc_max_bc_payload (struct rpc_clnt *clnt)h]h)}(h0size_t rpc_max_bc_payload(struct rpc_clnt *clnt)h](h)}(hhh]j%)}(hsize_th]hsize_t}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j')}jrpc_max_bc_payloadsbc.rpc_max_bc_payloadasbuh1hhj{hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMZubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhj{hMZubj)}(hrpc_max_bc_payloadh]j%)}(hj{h]hrpc_max_bc_payload}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhj{hMZubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j{c.rpc_max_bc_payloadasbuh1hhj{ubj)}(h h]h }(hj4|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjB|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hclnth]hclnt}(hjO|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubah}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhj{hMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhj{hMZubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMZhj{hhubjS)}(hhh]jX)}(h.Get maximum backchannel payload size, in bytesh]h.Get maximum backchannel payload size, in bytes}(hjy|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMZhjv|hhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhj{hMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhj?hNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jX)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM^hj|ubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hj|h]hstruct rpc_clnt *clnt}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM`hj|ubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM[hj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM`hj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h-void rpc_force_rebind (struct rpc_clnt *clnt)h]h)}(h,void rpc_force_rebind(struct rpc_clnt *clnt)h](j)}(hvoidh]hvoid}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxubj)}(h h]h }(hj#}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj"}hMxubj)}(hrpc_force_rebindh]j%)}(hrpc_force_rebindh]hrpc_force_rebind}(hj5}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj"}hMxubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjQ}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjM}ubj)}(h h]h }(hj^}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM}ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjo}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjq}modnameN classnameNjj!)}j$]j')}jj7}sbc.rpc_force_rebindasbuh1hhjM}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM}ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjM}ubj%)}(hclnth]hclnt}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjI}ubah}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhj"}hMxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj }hhhj"}hMxubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"}hMxhj }hhubjS)}(hhh]jX)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj }hhhj"}hMxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhj?hNhNubj})}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](jX)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|hj}ubj)}(hhh]j)}(h*``struct rpc_clnt *clnt`` client to rebindh](j)}(h``struct rpc_clnt *clnt``h]j)}(hj~h]hstruct rpc_clnt *clnt}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hj~ubj)}(hhh]jX)}(hclient to rebindh]hclient to rebind}(hj.~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMyhj+~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj*~hM~hj ~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hint rpc_clnt_test_and_add_xprt (struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h]h)}(hint rpc_clnt_test_and_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h](j)}(hinth]hint}(hjo~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk~hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hj~~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk~hhhj}~hM ubj)}(hrpc_clnt_test_and_add_xprth]j%)}(hrpc_clnt_test_and_add_xprth]hrpc_clnt_test_and_add_xprt}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjk~hhhj}~hM ubj)}(ha(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jj~sbc.rpc_clnt_test_and_add_xprtasbuh1hhj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hstruct rpc_xprt_switch *xpsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j~c.rpc_clnt_test_and_add_xprtasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxpsh]hxps}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j~c.rpc_clnt_test_and_add_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hvoid *in_max_connecth](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hin_max_connecth]hin_max_connect}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjk~hhhj}~hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjg~hhhj}~hM ubah}(h]jb~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}~hM hjd~hhubjS)}(hhh]jX)}(h*Test and add a new transport to a rpc_clnth]h*Test and add a new transport to a rpc_clnt}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjNhhubah}(h]h ]h"]h$]h&]uh1jRhjd~hhhj}~hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to struct rpc_clnt ``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, ``struct rpc_xprt *xprt`` pointer struct rpc_xprt ``void *in_max_connect`` pointer to the max_connect value for the passed in xprt transporth](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjmubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hC``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjˀh]hstruct rpc_xprt_switch *xps}(hj̀hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɀubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjŀubj)}(hhh]jX)}(h"pointer to struct rpc_xprt_switch,h]h"pointer to struct rpc_xprt_switch,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjŀubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``struct rpc_xprt *xprt`` pointer struct rpc_xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hpointer struct rpc_xprth]hpointer struct rpc_xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hZ``void *in_max_connect`` pointer to the max_connect value for the passed in xprt transporth](j)}(h``void *in_max_connect``h]j)}(hj=h]hvoid *in_max_connect}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj7ubj)}(hhh]jX)}(hApointer to the max_connect value for the passed in xprt transporth]hApointer to the max_connect value for the passed in xprt transport}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM hjubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-rpc_clnt_setup_test_and_add_xprt (C function)"c.rpc_clnt_setup_test_and_add_xprthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h|int rpc_clnt_setup_test_and_add_xprt (struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h]h)}(h{int rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h rpc_clnt_setup_test_and_add_xprth]j%)}(h rpc_clnt_setup_test_and_add_xprth]h rpc_clnt_setup_test_and_add_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(hW(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjԁhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjЁubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjЁubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjЁubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjЁubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjЁubj%)}(hclnth]hclnt}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjЁubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj́ubj)}(hstruct rpc_xprt_switch *xpsh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hxpsh]hxps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj́ubj)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjÂhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjԂhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjтubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjւmodnameN classnameNjj!)}j$]j"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj́ubj)}(h void *datah](j)}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hdatah]hdata}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj́ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct rpc_clnt *clnt`` struct rpc_clnt to get the new transport ``struct rpc_xprt_switch *xps`` the rpc_xprt_switch to hold the new transport ``struct rpc_xprt *xprt`` the rpc_xprt to test ``void *data`` a struct rpc_add_xprt_test pointer that holds the test function and test function call data **Description** This is an rpc_clnt_add_xprt setup() function which returns 1 so: 1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine. Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switchh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh](j)}(hC``struct rpc_clnt *clnt`` struct rpc_clnt to get the new transport h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(h(struct rpc_clnt to get the new transporth]h(struct rpc_clnt to get the new transport}(hjăhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hN``struct rpc_xprt_switch *xps`` the rpc_xprt_switch to hold the new transport h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjh]hstruct rpc_xprt_switch *xps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjރubj)}(hhh]jX)}(h-the rpc_xprt_switch to hold the new transporth]h-the rpc_xprt_switch to hold the new transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjރubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h/``struct rpc_xprt *xprt`` the rpc_xprt to test h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hthe rpc_xprt to testh]hthe rpc_xprt to test}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hM hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM hjubj)}(hk``void *data`` a struct rpc_add_xprt_test pointer that holds the test function and test function call data h](j)}(h``void *data``h]j)}(hjVh]h void *data}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjPubj)}(hhh]jX)}(h[a struct rpc_add_xprt_test pointer that holds the test function and test function call datah]h[a struct rpc_add_xprt_test pointer that holds the test function and test function call data}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]j)}(hThis is an rpc_clnt_add_xprt setup() function which returns 1 so: 1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine. h](j)}(hAThis is an rpc_clnt_add_xprt setup() function which returns 1 so:h]hAThis is an rpc_clnt_add_xprt setup() function which returns 1 so:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.h]h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h`Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switchh]h`Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhj?hhhNhNubh)}(hhh](h)}(hint rpc_clnt_add_xprt (struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *), void *data)h]h)}(hint rpc_clnt_add_xprt(struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*), void *data)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM ubj)}(hrpc_clnt_add_xprth]j%)}(hrpc_clnt_add_xprth]hrpc_clnt_add_xprt}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM ubj)}(h(struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*), void *data)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jj4sbc.rpc_clnt_add_xprtasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hstruct xprt_create *xprtargsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjͅhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xprt_createh]h xprt_create}(hjޅhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjۅubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprtargsh]hxprtargs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hPint (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hjh]h(}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hsetuph]hsetup}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubj;)}(hjh]h)}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhj,ubj;)}(hj>h]h*}(hjʆhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hjMh]h,}(hj׆hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhj,ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hjMh]h,}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhj,ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hjMh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj;)}(hj>h]h*}(hjȇhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hjh]h)}(hjՇhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h!Add a new transport to a rpc_clnth]h!Add a new transport to a rpc_clnt}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj=hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to struct rpc_clnt ``struct xprt_create *xprtargs`` pointer to struct xprt_create ``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)`` callback to test and/or set up the connection ``void *data`` pointer to setup function data **Description** Creates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.h](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj\ubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj{ubj)}(hhh]jX)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjxubj)}(h?``struct xprt_create *xprtargs`` pointer to struct xprt_create h](j)}(h ``struct xprt_create *xprtargs``h]j)}(hjh]hstruct xprt_create *xprtargs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hpointer to struct xprt_createh]hpointer to struct xprt_create}(hjӈhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjψhM hjЈubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjψhM hjxubj)}(h``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)`` callback to test and/or set up the connection h](j)}(hX``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)``h]j)}(hjh]hTint (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjxubj)}(h.``void *data`` pointer to setup function data h](j)}(h``void *data``h]j)}(hj,h]h void *data}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj&ubj)}(hhh]jX)}(hpointer to setup function datah]hpointer to setup function data}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhM hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjxubeh}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj\ubjX)}(hCreates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.Nh]hCreates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubeh}(h]sun-rpc-subsystemah ]h"]sun rpc subsystemah$]h&]uh1hhhhhhhhK9ubeh}(h]linux-networkingah ]h"]linux networkingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNetwork device supporth]hNetwork device support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKWubh)}(hhh](h)}(hDriver Supporth]hDriver Support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKZubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_add_pack (C function)c.dev_add_packhNtauh1hhjhhhNhNubh)}(hhh](h)}(h*void dev_add_pack (struct packet_type *pt)h]h)}(h)void dev_add_pack(struct packet_type *pt)h](j)}(hvoidh]hvoid}(hjމhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjډhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjډhhhjhMQubj)}(h dev_add_packh]j%)}(h dev_add_packh]h dev_add_pack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjډhhhjhMQubj)}(h(struct packet_type *pt)h]j)}(hstruct packet_type *pth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h packet_typeh]h packet_type}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjsbc.dev_add_packasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpth]hpt}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjډhhhjhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj։hhhjhMQubah}(h]jщah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMQhjӉhhubjS)}(hhh]jX)}(hadd packet handlerh]hadd packet handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjӉhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjŠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMUhjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjߊh]hstruct packet_type *pt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݊ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRhjيubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjيubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj֊ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMThjubj )}(hX\Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jX)}(hAdd a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists.h](h;Add a protocol handler to the networking stack. The passed }(hj4hhhNhNubh)}(h:c:type:`packet_type`h]j)}(hj>h]h packet_type}(hj@hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShj4ubhb is linked into kernel lists and may not be freed until it has been removed from the kernel lists.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj[hMShj0ubjX)}(hThis call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h]hThis call does not sleep therefore it can not guarantee all CPU’s that are in middle of receiving packets will see the new packet type (until the next received packet).}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMWhj0ubeh}(h]h ]h"]h$]h&]uh1j hj[hMShjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_remove_pack (C function)c.__dev_remove_packhNtauh1hhjhhhNhNubh)}(hhh](h)}(h/void __dev_remove_pack (struct packet_type *pt)h]h)}(h.void __dev_remove_pack(struct packet_type *pt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMkubj)}(h__dev_remove_packh]j%)}(h__dev_remove_packh]h__dev_remove_pack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMkubj)}(h(struct packet_type *pt)h]j)}(hstruct packet_type *pth](h)}(hjh]hstruct}(hj؋hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjԋubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԋubh)}(hhh]j%)}(h packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__dev_remove_packasbuh1hhjԋubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԋubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjԋubj%)}(hpth]hpt}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԋubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjЋubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMkhjhhubjS)}(hhh]jX)}(hremove packet handlerh]hremove packet handler}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkhjXhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h](jX)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohjwubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjh]hstruct packet_type *pt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMlhjubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjwubjX)}(h**Description**h]j)}(hj׌h]h Description}(hjٌhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՌubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMnhjwubj )}(hXhRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h](jX)}(hRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns.h](hrRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed }(hjhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjh]h packet_type}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMmhjubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMmhjubjX)}(hThe packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h]hThe packet type might still be in use by receivers and must not be freed until after all the CPU’s have gone through a quiescent state.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjubeh}(h]h ]h"]h$]h&]uh1j hjhMmhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_remove_pack (C function)c.dev_remove_packhNtauh1hhjhhhNhNubh)}(hhh](h)}(h-void dev_remove_pack (struct packet_type *pt)h]h)}(h,void dev_remove_pack(struct packet_type *pt)h](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhMubj)}(hdev_remove_packh]j%)}(hdev_remove_packh]hdev_remove_pack}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhMubj)}(h(struct packet_type *pt)h]j)}(hstruct packet_type *pth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj{sbc.dev_remove_packasbuh1hhjubj)}(h h]h }(hjӍhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpth]hpt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjfhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhMubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMhjMhhubjS)}(hhh]jX)}(hremove packet handlerh]hremove packet handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. This call sleeps to guarantee that no CPU is looking at the packet type after return.h](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj4ubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjYh]hstruct packet_type *pt}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjSubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj4ubj )}(hX6Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. This call sleeps to guarantee that no CPU is looking at the packet type after return.h](jX)}(hRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns.h](hrRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed }(hjhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjh]h packet_type}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjՎhMhjubjX)}(hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.h]hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjՎhMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_iflink (C function)c.dev_get_iflinkhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1int dev_get_iflink (const struct net_device *dev)h]h)}(h0int dev_get_iflink(const struct net_device *dev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj#hMubj)}(hdev_get_iflinkh]j%)}(hdev_get_iflinkh]hdev_get_iflink}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj#hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj8sbc.dev_get_iflinkasbuh1hhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hdevh]hdev}(hjƏhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj#hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hMhj hhubjS)}(hhh]jX)}(h!get 'iflink' value of a interfaceh]h%get ‘iflink’ value of a interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` targeted interface **Description** Indicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj)}(hhh]j)}(h4``const struct net_device *dev`` targeted interface h](j)}(h ``const struct net_device *dev``h]j)}(hj1h]hconst struct net_device *dev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubj)}(hhh]jX)}(htargeted interfaceh]htargeted interface}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj )}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]jX)}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]hzIndicates the ifindex the interface is linked to. Physical interfaces have the same ‘ifindex’ and ‘iflink’ values.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fill_metadata_dst (C function)c.dev_fill_metadata_dsthNtauh1hhjhhhNhNubh)}(hhh](h)}(hGint dev_fill_metadata_dst (struct net_device *dev, struct sk_buff *skb)h]h)}(hFint dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjʐhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjɐhMubj)}(hdev_fill_metadata_dsth]j%)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjܐhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjؐubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjɐhMubj)}(h-(struct net_device *dev, struct sk_buff *skb)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjސsbc.dev_fill_metadata_dstasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j2c.dev_fill_metadata_dstasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjɐhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjɐhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjɐhMhjhhubjS)}(hhh]jX)}(h#Retrieve tunnel egress information.h]h#Retrieve tunnel egress information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjɐhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` targeted interface ``struct sk_buff *skb`` The packet. **Description** For better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h.``struct net_device *dev`` targeted interface h](j)}(h``struct net_device *dev``h]j)}(hj,h]hstruct net_device *dev}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj&ubj)}(hhh]jX)}(htargeted interfaceh]htargeted interface}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubj)}(h$``struct sk_buff *skb`` The packet. h](j)}(h``struct sk_buff *skb``h]j)}(hjeh]hstruct sk_buff *skb}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj_ubj)}(hhh]jX)}(h The packet.h]h The packet.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj#ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]jX)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjȒhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_name (C function)c.__dev_get_by_namehNtauh1hhjhhhNhNubh)}(hhh](h)}(hIstruct net_device * __dev_get_by_name (struct net *net, const char *name)h]h)}(hGstruct net_device *__dev_get_by_name(struct net *net, const char *name)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMQubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__dev_get_by_namesbc.__dev_get_by_nameasbuh1hhjhhhjhMQubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMQubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMQubj)}(h__dev_get_by_nameh]j%)}(hj,h]h__dev_get_by_name}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMQubj)}(h#(struct net *net, const char *name)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j*c.__dev_get_by_nameasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubj)}(hconst char *nameh](h)}(hjh]hconst}(hjٓhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjՓubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjՓubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՓubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjՓubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjՓubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjՓubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMQubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMQhjhhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find **Description** Find an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h](jX)}(h**Parameters**h]j)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMUhjcubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjÔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShjubj)}(hhh]jX)}(h name to findh]h name to find}(hjڔhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj֔hMShjהubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֔hMShjubeh}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMUhjcubj )}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h]jX)}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h](hFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb is returned. The reference counters are not incremented so the caller must be careful with locks.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMThjubah}(h]h ]h"]h$]h&]uh1j hj6hMThjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_get_by_name_rcu (C function)c.dev_get_by_name_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(hKstruct net_device * dev_get_by_name_rcu (struct net *net, const char *name)h]h)}(hIstruct net_device *dev_get_by_name_rcu(struct net *net, const char *name)h](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjjhMfubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jdev_get_by_name_rcusbc.dev_get_by_name_rcuasbuh1hhjYhhhjjhMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjjhMfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYhhhjjhMfubj)}(hdev_get_by_name_rcuh]j%)}(hjh]hdev_get_by_name_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjjhMfubj)}(h#(struct net *net, const char *name)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjוhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjӕubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӕubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.dev_get_by_name_rcuasbuh1hhjӕubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӕubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjӕubj%)}(hneth]hnet}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӕubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjϕubj)}(hconst char *nameh](h)}(hjh]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(hcharh]hchar}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjϕubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjjhMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjjhMfubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMfhjRhhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjjhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj͖jxj͖jyjzj{uh1hhhhjhNhNubj})}(hXv**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find **Description** Find an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](jX)}(h**Parameters**h]j)}(hjזh]h Parameters}(hjٖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՖubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjіubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMghj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMghjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hj/h]hconst char *name}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhj)ubj)}(hhh]jX)}(h name to findh]h name to find}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhhjubeh}(h]h ]h"]h$]h&]uh1jhjіubjX)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjіubjX)}(hFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](hsFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihjіubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_get_by_name (C function)c.netdev_get_by_namehNtauh1hhjhhhNhNubh)}(hhh](h)}(hqstruct net_device * netdev_get_by_name (struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h]h)}(hostruct net_device *netdev_get_by_name(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjϗhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjΗhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݗubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_get_by_namesbc.netdev_get_by_nameasbuh1hhjhhhjΗhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjΗhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjΗhMubj)}(hnetdev_get_by_nameh]j%)}(hjh]hnetdev_get_by_name}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjΗhMubj)}(hJ(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hneth]hnet}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jc.netdev_get_by_nameasbuh1hhj7ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(hconst char *nameh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjƘhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjԘhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(hnetdevice_tracker *trackerh](h)}(hhh]j%)}(hnetdevice_trackerh]hnetdevice_tracker}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.netdev_get_by_nameasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htrackerh]htracker}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jc.netdev_get_by_nameasbuh1hhjYubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj%)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjΗhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjΗhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjΗhMhjhhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjΗhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjΙjxjΙjyjzj{uh1hhhhjhNhNubj})}(hX#**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Find an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](jX)}(h**Parameters**h]j)}(hjؙh]h Parameters}(hjڙhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֙ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjҙubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hj0h]hconst char *name}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj*ubj)}(hhh]jX)}(h name to findh]h name to find}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjih]hnetdevice_tracker *tracker}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjcubj)}(hhh]jX)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h allocation flags for the trackerh]h allocation flags for the tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjҙubjX)}(h**Description**h]j)}(hjݚh]h Description}(hjߚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۚubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjҙubj )}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h]jX)}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](hFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, is returned if no matching device is found.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjҙubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_index (C function)c.__dev_get_by_indexhNtauh1hhjhhhNhNubh)}(hhh](h)}(hEstruct net_device * __dev_get_by_index (struct net *net, int ifindex)h]h)}(hCstruct net_device *__dev_get_by_index(struct net *net, int ifindex)h](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjKhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}j__dev_get_by_indexsbc.__dev_get_by_indexasbuh1hhj:hhhjKhMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjKhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:hhhjKhMubj)}(h__dev_get_by_indexh]j%)}(hj{h]h__dev_get_by_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhjKhMubj)}(h(struct net *net, int ifindex)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjśhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hj֛hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӛubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj؛modnameN classnameNjj!)}j$]jyc.__dev_get_by_indexasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int ifindexh](j)}(hinth]hint}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hifindexh]hifindex}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhjKhMubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj3hhubjS)}(hhh]jX)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjȜhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjĜhMhjŜubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĜhMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj#h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h]jX)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](h*Search for an interface by index. Returns }(hj=hhhNhNubj)}(h``NULL``h]hNULL}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj9ubah}(h]h ]h"]h$]h&]uh1j hj]hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_get_by_index_rcu (C function)c.dev_get_by_index_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(hGstruct net_device * dev_get_by_index_rcu (struct net *net, int ifindex)h]h)}(hEstruct net_device *dev_get_by_index_rcu(struct net *net, int ifindex)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jdev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hjĝhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjҝhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hdev_get_by_index_rcuh]j%)}(hjh]hdev_get_by_index_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߝubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct net *net, int ifindex)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.dev_get_by_index_rcuasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int ifindexh](j)}(hinth]hint}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhMubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjyhhubjS)}(hhh]jX)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj̞jxj̞jyjzj{uh1hhhhjhNhNubj})}(hXx**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](jX)}(h**Parameters**h]j)}(hj֞h]h Parameters}(hj؞hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԞubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjОubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hj.h]h int ifindex}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj(ubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubeh}(h]h ]h"]h$]h&]uh1jhjОubjX)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjОubj )}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h]jX)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](h*Search for an interface by index. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjОubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_get_by_index (C function)c.netdev_get_by_indexhNtauh1hhjhhhNhNubh)}(hhh](h)}(hmstruct net_device * netdev_get_by_index (struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h]h)}(hkstruct net_device *netdev_get_by_index(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](h)}(hjh]hstruct}(hjʟhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjƟhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj؟hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƟhhhjןhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_get_by_indexsbc.netdev_get_by_indexasbuh1hhjƟhhhjןhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƟhhhjןhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjƟhhhjןhMubj)}(hnetdev_get_by_indexh]j%)}(hjh]hnetdev_get_by_index}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjƟhhhjןhMubj)}(hE(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hneth]hnet}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]jc.netdev_get_by_indexasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h int ifindexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifindexh]hifindex}(hjРhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hnetdevice_tracker *trackerh](h)}(hhh]j%)}(hnetdevice_trackerh]hnetdevice_tracker}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_get_by_indexasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htrackerh]htracker}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jc.netdev_get_by_indexasbuh1hhj:ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hgfph]hgfp}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjƟhhhjןhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjŸhhhjןhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjןhMhjhhubjS)}(hhh]jX)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjןhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Search for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjءh]hstruct net *net}(hjڡhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֡ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjҡubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjҡubeh}(h]h ]h"]h$]h&]uh1jhjhMhjϡubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjϡubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjJh]hnetdevice_tracker *tracker}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjDubj)}(hhh]jX)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjϡubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj}ubj)}(hhh]jX)}(h allocation flags for the trackerh]h allocation flags for the tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjϡubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]jX)}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.}(hjآhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjԢubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_getbyhwaddr_rcu (C function)c.dev_getbyhwaddr_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(h^struct net_device * dev_getbyhwaddr_rcu (struct net *net, unsigned short type, const char *ha)h]h)}(h\struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, const char *ha)h](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jdev_getbyhwaddr_rcusbc.dev_getbyhwaddr_rcuasbuh1hhj hhhjhMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhjhMubj)}(hdev_getbyhwaddr_rcuh]j%)}(hjJh]hdev_getbyhwaddr_rcu}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h6(struct net *net, unsigned short type, const char *ha)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.dev_getbyhwaddr_rcuasbuh1hhjubj)}(h h]h }(hjãhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjѣhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjޣhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htypeh]htype}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *hah](h)}(hjh]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hcharh]hchar}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hhah]hha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjΤjxjΤjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Search for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh](jX)}(h**Parameters**h]j)}(hjؤh]h Parameters}(hjڤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֤ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjҤubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hj0h]hunsigned short type}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj*ubj)}(hhh]jX)}(hmedia type of deviceh]hmedia type of device}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hjih]hconst char *ha}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjcubj)}(hhh]jX)}(hhardware addressh]hhardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubeh}(h]h ]h"]h$]h&]uh1jhjҤubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjҤubj )}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]jX)}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about locking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hj̥hMhjҤubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_getbyhwaddr (C function)c.dev_getbyhwaddrhNtauh1hhjhhhNhNubh)}(hhh](h)}(hZstruct net_device * dev_getbyhwaddr (struct net *net, unsigned short type, const char *ha)h]h)}(hXstruct net_device *dev_getbyhwaddr(struct net *net, unsigned short type, const char *ha)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jdev_getbyhwaddrsbc.dev_getbyhwaddrasbuh1hhjhhhjhMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hdev_getbyhwaddrh]j%)}(hj0h]hdev_getbyhwaddr}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h6(struct net *net, unsigned short type, const char *ha)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j.c.dev_getbyhwaddrasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hneth]hnet}(hjĦhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjݦhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj٦ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj٦ubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj٦ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj٦ubj%)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj٦ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hconst char *hah](h)}(hjh]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(hcharh]hchar}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hhah]hha}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXY**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Similar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock. **Context** rtnl_lock() must be held. **Return** pointer to the net_device, or NULL if not foundh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjݧh]hstruct net *net}(hjߧhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۧubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjקubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjקubeh}(h]h ]h"]h$]h&]uh1jhjhMhjԧubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjh]hunsigned short type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hmedia type of deviceh]hmedia type of device}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhjԧubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hjOh]hconst char *ha}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjIubj)}(hhh]jX)}(hhardware addressh]hhardware address}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjԧubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hHSimilar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock.h]hHSimilar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hrtnl_lock() must be held.h]hrtnl_lock() must be held.}(hjǨhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(h **Return**h]j)}(hjبh]hReturn}(hjڨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֨ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_valid_name (C function)c.dev_valid_namehNtauh1hhjhhhNhNubh)}(hhh](h)}(h&bool dev_valid_name (const char *name)h]h)}(h%bool dev_valid_name(const char *name)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hMubj)}(hdev_valid_nameh]j%)}(hdev_valid_nameh]hdev_valid_name}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMubj)}(h(const char *name)h]j)}(hconst char *nameh](h)}(hjh]hconst}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(hcharh]hchar}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj*hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj*hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hMhjhhubjS)}(hhh]jX)}(h(check if name is okay for network deviceh]h(check if name is okay for network device}(hjǩhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjĩhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjߩjxjߩjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const char *name`` name string **Description** Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h!``const char *name`` name string h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h name stringh]h name string}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]jX)}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjYubah}(h]h ]h"]h$]h&]uh1j hjkhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_alloc_name (C function)c.dev_alloc_namehNtauh1hhjhhhNhNubh)}(hhh](h)}(h=int dev_alloc_name (struct net_device *dev, const char *name)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj˪ubj%)}(hdevh]hdev}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˪ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjǪubj)}(hconst char *nameh](h)}(hjh]hconst}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj)}(hcharh]hchar}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjǪubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hallocate a name for a deviceh]hallocate a name for a device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjǫjxjǫjyjzj{uh1hhhhjhNhNubj})}(hX9**Parameters** ``struct net_device *dev`` device ``const char *name`` name format string **Description** Passed a format string - eg "lt``d``" it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.h](jX)}(h**Parameters**h]j)}(hjѫh]h Parameters}(hjӫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϫubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj˫ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``const char *name`` name format string h](j)}(h``const char *name``h]j)}(hj)h]hconst char *name}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#ubj)}(hhh]jX)}(hname format stringh]hname format string}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubeh}(h]h ]h"]h$]h&]uh1jhj˫ubjX)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj˫ubj )}(hXPassed a format string - eg "lt``d``" it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.h]jX)}(hXPassed a format string - eg "lt``d``" it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.h]hXPassed a format string - eg “lt``d``” it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubah}(h]h ]h"]h$]h&]uh1j hjhMhj˫ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_features_change (C function)c.netdev_features_changehNtauh1hhjhhhNhNubh)}(hhh](h)}(h4void netdev_features_change (struct net_device *dev)h]h)}(h3void netdev_features_change(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj¬hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_features_changeh]j%)}(hnetdev_features_changeh]hnetdev_features_change}(hjԬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjЬubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj֬sbc.netdev_features_changeasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hdevice changes featuresh]hdevice changes features}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to cause notification **Description** Called to indicate a device has changed features.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h8``struct net_device *dev`` device to cause notification h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdevice to cause notificationh]hdevice to cause notification}(hjͭhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjɭhMhjʭubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɭhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(h1Called to indicate a device has changed features.h]jX)}(hjh]h1Called to indicate a device has changed features.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__netdev_notify_peers (C function)c.__netdev_notify_peershNtauh1hhjhhhNhNubh)}(hhh](h)}(h3void __netdev_notify_peers (struct net_device *dev)h]h)}(h2void __netdev_notify_peers(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM6ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhM6ubj)}(h__netdev_notify_peersh]j%)}(h__netdev_notify_peersh]h__netdev_notify_peers}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjKhM6ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj`sbc.__netdev_notify_peersasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjƮhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hdevh]hdev}(hjӮhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhjKhM6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjKhM6ubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhM6hj2hhubjS)}(hhh]jX)}(h]notify network peers about existence of **dev**, to be called when rtnl lock is already held.h](h(notify network peers about existence of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., to be called when rtnl lock is already held.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM6hjhhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhjKhM6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjhNhNubj})}(hX`**Parameters** ``struct net_device *dev`` network device **Description** Generate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM:hj+ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjPh]hstruct net_device *dev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8hjJubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM8hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM8hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM:hj+ubjX)}(hXGenerate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](hAGenerate traffic such that interested network peers are aware of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM9hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_notify_peers (C function)c.netdev_notify_peershNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void netdev_notify_peers (struct net_device *dev)h]h)}(h0void netdev_notify_peers(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjޯhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjޯhhhjhMIubj)}(hnetdev_notify_peersh]j%)}(hnetdev_notify_peersh]hnetdev_notify_peers}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjޯhhhjhMIubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jjsbc.netdev_notify_peersasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjޯhhhjhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjگhhhjhMIubah}(h]jկah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMIhjׯhhubjS)}(hhh]jX)}(h/notify network peers about existence of **dev**h](h(notify network peers about existence of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIhjhhubah}(h]h ]h"]h$]h&]uh1jRhjׯhhhjhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjȰjxjȰjyjzj{uh1hhhhjhNhNubj})}(hX`**Parameters** ``struct net_device *dev`` network device **Description** Generate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](jX)}(h**Parameters**h]j)}(hjҰh]h Parameters}(hj԰hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjаubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhj̰ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhj̰ubjX)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMLhj̰ubjX)}(hXGenerate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](hAGenerate traffic such that interested network peers are aware of }(hjBhhhNhNubj)}(h**dev**h]hdev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhj̰ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(register_netdevice_notifier (C function)c.register_netdevice_notifierhNtauh1hhjhhhNhNubh)}(hhh](h)}(h;int register_netdevice_notifier (struct notifier_block *nb)h]h)}(h:int register_netdevice_notifier(struct notifier_block *nb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hregister_netdevice_notifierh]j%)}(hregister_netdevice_notifierh]hregister_netdevice_notifier}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct notifier_block *nb)h]j)}(hstruct notifier_block *nbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjͱhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnotifier_blockh]hnotifier_block}(hjޱhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj۱ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.register_netdevice_notifierasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhjhMubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjxhhubjS)}(hhh]jX)}(h!register a network notifier blockh]h!register a network notifier block}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct notifier_block *nb`` notifier **Description** Register a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure. When registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h](jX)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj_ubj)}(hhh]j)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjh]hstruct notifier_block *nb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj~ubj)}(hhh]jX)}(hnotifierh]hnotifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj_ubjX)}(hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.h]hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.}(hjղhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj_ubjX)}(hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h]hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*unregister_netdevice_notifier (C function)c.unregister_netdevice_notifierhNtauh1hhjhhhNhNubh)}(hhh](h)}(h=int unregister_netdevice_notifier (struct notifier_block *nb)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj!hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMhjhhubjS)}(hhh]jX)}(h#unregister a network notifier blockh]h#unregister a network notifier block}(hjӳhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjгhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj!hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct notifier_block *nb`` notifier **Description** Unregister a notifier previously registered by register_netdevice_notifier(). The notifier is unlinked into the kernel structures and may then be reused. A negative errno code is returned on a failure. After unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjh]hstruct notifier_block *nb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hnotifierh]hnotifier}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hUnregister a notifier previously registered by register_netdevice_notifier(). The notifier is unlinked into the kernel structures and may then be reused. A negative errno code is returned on a failure.h]hUnregister a notifier previously registered by register_netdevice_notifier(). The notifier is unlinked into the kernel structures and may then be reused. A negative errno code is returned on a failure.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h]hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,register_netdevice_notifier_net (C function)!c.register_netdevice_notifier_nethNtauh1hhjhhhNhNubh)}(hhh](h)}(hPint register_netdevice_notifier_net (struct net *net, struct notifier_block *nb)h]h)}(hOint register_netdevice_notifier_net(struct net *net, struct notifier_block *nb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hregister_netdevice_notifier_neth]j%)}(hregister_netdevice_notifier_neth]hregister_netdevice_notifier_net}(hjĴhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h,(struct net *net, struct notifier_block *nb)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjܴubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܴubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjƴsb!c.register_netdevice_notifier_netasbuh1hhjܴubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܴubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjܴubj%)}(hneth]hnet}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܴubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjشubj)}(hstruct notifier_block *nbh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hnotifier_blockh]hnotifier_block}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j!c.register_netdevice_notifier_netasbuh1hhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjشubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h+register a per-netns network notifier blockh]h+register a per-netns network notifier block}(hjӵhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjеhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net *net`` network namespace ``struct notifier_block *nb`` notifier **Description** Register a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure. When registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubj)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjMh]hstruct notifier_block *nb}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjGubj)}(hhh]jX)}(hnotifierh]hnotifier}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.h]hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h]hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.unregister_netdevice_notifier_net (C function)#c.unregister_netdevice_notifier_nethNtauh1hhjhhhNhNubh)}(hhh](h)}(hRint unregister_netdevice_notifier_net (struct net *net, struct notifier_block *nb)h]h)}(hQint unregister_netdevice_notifier_net(struct net *net, struct notifier_block *nb)h](j)}(hinth]hint}(hjܶhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjضhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjضhhhjhM+ubj)}(h!unregister_netdevice_notifier_neth]j%)}(h!unregister_netdevice_notifier_neth]h!unregister_netdevice_notifier_net}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjضhhhjhM+ubj)}(h,(struct net *net, struct notifier_block *nb)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jjsb#c.unregister_netdevice_notifier_netasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct notifier_block *nbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnotifier_blockh]hnotifier_block}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jS#c.unregister_netdevice_notifier_netasbuh1hhjubj)}(h h]h }(hjǷhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjշhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjضhhhjhM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjԶhhhjhM+ubah}(h]j϶ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM+hjѶhhubjS)}(hhh]jX)}(h-unregister a per-netns network notifier blockh]h-unregister a per-netns network notifier block}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hj hhubah}(h]h ]h"]h$]h&]uh1jRhjѶhhhjhM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net *net`` network namespace ``struct notifier_block *nb`` notifier **Description** Unregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure. After unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h](jX)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj(ubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjMh]hstruct net *net}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjGubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhM-hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM-hjDubj)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjh]hstruct notifier_block *nb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjubj)}(hhh]jX)}(hnotifierh]hnotifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubjX)}(h**Description**h]j)}(hjh]h Description}(hjøhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj(ubjX)}(hUnregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure.h]hUnregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure.}(hj׸hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj(ubjX)}(hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h]hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM4hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%call_netdevice_notifiers (C function)c.call_netdevice_notifiershNtauh1hhjhhhNhNubh)}(hhh](h)}(hHint call_netdevice_notifiers (unsigned long val, struct net_device *dev)h]h)}(hGint call_netdevice_notifiers(unsigned long val, struct net_device *dev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj#hMubj)}(hcall_netdevice_notifiersh]j%)}(hcall_netdevice_notifiersh]hcall_netdevice_notifiers}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj#hMubj)}(h+(unsigned long val, struct net_device *dev)h](j)}(hunsigned long valh](j)}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(hlongh]hlong}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjùmodnameN classnameNjj!)}j$]j')}jj8sbc.call_netdevice_notifiersasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj#hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hMhj hhubjS)}(hhh]jX)}(h call all network notifier blocksh]h call all network notifier blocks}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhjhNhNubj})}(hX-**Parameters** ``unsigned long val`` value passed unmodified to notifier function ``struct net_device *dev`` net_device pointer passed unmodified to notifier function **Description** Call all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubj)}(hhh](j)}(hC``unsigned long val`` value passed unmodified to notifier function h](j)}(h``unsigned long val``h]j)}(hjgh]hunsigned long val}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubj)}(hhh]jX)}(h,value passed unmodified to notifier functionh]h,value passed unmodified to notifier function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(hU``struct net_device *dev`` net_device pointer passed unmodified to notifier function h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h9net_device pointer passed unmodified to notifier functionh]h9net_device pointer passed unmodified to notifier function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjX)}(h**Description**h]j)}(hjۺh]h Description}(hjݺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٺubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubj )}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]jX)}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_forward_skb (C function)c.dev_forward_skbhNtauh1hhjhhhNhNubh)}(hhh](h)}(hAint dev_forward_skb (struct net_device *dev, struct sk_buff *skb)h]h)}(h@int dev_forward_skb(struct net_device *dev, struct sk_buff *skb)h](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj8hM ubj)}(hdev_forward_skbh]j%)}(hdev_forward_skbh]hdev_forward_skb}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj8hM ubj)}(h-(struct net_device *dev, struct sk_buff *skb)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjMsbc.dev_forward_skbasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjٻhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjջubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjջubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.dev_forward_skbasbuh1hhjջubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjջubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjջubj%)}(hskbh]hskb}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjջubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&hhhj8hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj8hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hM hjhhubjS)}(hhh]jX)}(h loopback an skb to another netifh]h loopback an skb to another netif}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjWhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj8hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` destination network device ``struct sk_buff *skb`` buffer to forward **Description** return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed) dev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device. The receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.h](jX)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjvubj)}(hhh](j)}(h6``struct net_device *dev`` destination network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hdestination network deviceh]hdestination network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``struct sk_buff *skb`` buffer to forward h](j)}(h``struct sk_buff *skb``h]j)}(hjԼh]hstruct sk_buff *skb}(hjּhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҼubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjμubj)}(hhh]jX)}(hbuffer to forwardh]hbuffer to forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjμubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjvubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjvubj)}(hhh]j)}(h_return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed) h](j)}(hreturn values:h]hreturn values:}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj(ubj)}(hhh]jX)}(hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)h]hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj;ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj:hM hj%ubah}(h]h ]h"]h$]h&]uh1jhjvubjX)}(hdev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device.h]hdev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjvubjX)}(hThe receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.h]hThe receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_nit_active_rcu (C function)c.dev_nit_active_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(h6bool dev_nit_active_rcu (const struct net_device *dev)h]h)}(h5bool dev_nit_active_rcu(const struct net_device *dev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hdev_nit_active_rcuh]j%)}(hdev_nit_active_rcuh]hdev_nit_active_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjٽhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjսubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjսubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjսubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjսubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.dev_nit_active_rcuasbuh1hhjսubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjսubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjսubj%)}(hdevh]hdev}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjսubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjѽubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h4return true if any network interface taps are in useh]h4return true if any network interface taps are in use}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjthhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device to check for the presence of taps **Description** The caller must hold the RCU lockh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(hR``const struct net_device *dev`` network device to check for the presence of taps h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(h0network device to check for the presence of tapsh]h0network device to check for the presence of taps}(hjѾhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hM hjξubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj;hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(h!The caller must hold the RCU lockh]h!The caller must hold the RCU lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netif_set_real_num_rx_queues (C function)c.netif_set_real_num_rx_queueshNtauh1hhjhhhNhNubh)}(hhh](h)}(hKint netif_set_real_num_rx_queues (struct net_device *dev, unsigned int rxq)h]h)}(hJint netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq)h](j)}(hinth]hint}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhjFhM ubj)}(hnetif_set_real_num_rx_queuesh]j%)}(hnetif_set_real_num_rx_queuesh]hnetif_set_real_num_rx_queues}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhjFhM ubj)}(h*(struct net_device *dev, unsigned int rxq)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj[sbc.netif_set_real_num_rx_queuesasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hdevh]hdev}(hjοhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hunsigned int rxqh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhjFhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhjFhM ubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhM hj-hhubjS)}(hhh]jX)}(h#set actual number of RX queues usedh]h#set actual number of RX queues used}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjFhhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhjFhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjhNhNubj})}(hXV**Parameters** ``struct net_device *dev`` Network device ``unsigned int rxq`` Actual number of RX queues **Description** This must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h](jX)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjeubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hNetwork deviceh]hNetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hjh]hunsigned int rxq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hActual number of RX queuesh]hActual number of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjeubj )}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]jX)}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1j hj&hM hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netif_set_real_num_queues (C function)c.netif_set_real_num_queueshNtauh1hhjhhhNhNubh)}(hhh](h)}(hZint netif_set_real_num_queues (struct net_device *dev, unsigned int txq, unsigned int rxq)h]h)}(hYint netif_set_real_num_queues(struct net_device *dev, unsigned int txq, unsigned int rxq)h](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhj[hM ubj)}(hnetif_set_real_num_queuesh]j%)}(hnetif_set_real_num_queuesh]hnetif_set_real_num_queues}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhj[hM ubj)}(h<(struct net_device *dev, unsigned int txq, unsigned int rxq)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjpsbc.netif_set_real_num_queuesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int txqh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htxqh]htxq}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int rxqh](j)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(hinth]hint}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjIhhhj[hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhj[hM ubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hM hjBhhubjS)}(hhh]jX)}(h*set actual number of RX and TX queues usedh]h*set actual number of RX and TX queues used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhj[hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX$**Parameters** ``struct net_device *dev`` Network device ``unsigned int txq`` Actual number of TX queues ``unsigned int rxq`` Actual number of RX queues **Description** Set the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hNetwork deviceh]hNetwork device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h0``unsigned int txq`` Actual number of TX queues h](j)}(h``unsigned int txq``h]j)}(hj)h]hunsigned int txq}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj#ubj)}(hhh]jX)}(hActual number of TX queuesh]hActual number of TX queues}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hM hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM hjubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hjbh]hunsigned int rxq}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj\ubj)}(hhh]jX)}(hActual number of RX queuesh]hActual number of RX queues}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhM hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj )}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]jX)}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_size (C function)c.netif_set_tso_max_sizehNtauh1hhjhhhNhNubh)}(hhh](h)}(hGvoid netif_set_tso_max_size (struct net_device *dev, unsigned int size)h]h)}(hFvoid netif_set_tso_max_size(struct net_device *dev, unsigned int size)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hnetif_set_tso_max_sizeh]j%)}(hnetif_set_tso_max_sizeh]hnetif_set_tso_max_size}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h+(struct net_device *dev, unsigned int size)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjsbc.netif_set_tso_max_sizeasbuh1hhj%ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h(set the max size of TSO frames supportedh]h(set the max size of TSO frames supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` netdev to update ``unsigned int size`` max skb->len of a TSO frame **Description** Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hj>h]hstruct net_device *dev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj8ubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM hj5ubj)}(h2``unsigned int size`` max skb->len of a TSO frame h](j)}(h``unsigned int size``h]j)}(hjwh]hunsigned int size}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjqubj)}(hhh]jX)}(hmax skb->len of a TSO frameh]hmax skb->len of a TSO frame}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM hj5ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(hSet the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](h~Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_LEGACY_MAX_SIZE``h]hGSO_LEGACY_MAX_SIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_segs (C function)c.netif_set_tso_max_segshNtauh1hhjhhhNhNubh)}(hhh](h)}(hGvoid netif_set_tso_max_segs (struct net_device *dev, unsigned int segs)h]h)}(hFvoid netif_set_tso_max_segs(struct net_device *dev, unsigned int segs)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hnetif_set_tso_max_segsh]j%)}(hnetif_set_tso_max_segsh]hnetif_set_tso_max_segs}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h+(struct net_device *dev, unsigned int segs)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jj,sbc.netif_set_tso_max_segsasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hunsigned int segsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsegsh]hsegs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h,set the max number of segs supported for TSOh]h,set the max number of segs supported for TSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhjhNhNubj})}(hX1**Parameters** ``struct net_device *dev`` netdev to update ``unsigned int segs`` max number of TCP segments **Description** Set the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of ``GSO_MAX_SEGS``.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj6ubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hj[h]hstruct net_device *dev}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjUubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM hjRubj)}(h1``unsigned int segs`` max number of TCP segments h](j)}(h``unsigned int segs``h]j)}(hjh]hunsigned int segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hmax number of TCP segmentsh]hmax number of TCP segments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj6ubjX)}(hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of ``GSO_MAX_SEGS``.h](hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_MAX_SEGS``h]h GSO_MAX_SEGS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_inherit_tso_max (C function)c.netif_inherit_tso_maxhNtauh1hhjhhhNhNubh)}(hhh](h)}(hQvoid netif_inherit_tso_max (struct net_device *to, const struct net_device *from)h]h)}(hPvoid netif_inherit_tso_max(struct net_device *to, const struct net_device *from)h](j)}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj4hM ubj)}(hnetif_inherit_tso_maxh]j%)}(hnetif_inherit_tso_maxh]hnetif_inherit_tso_max}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj4hM ubj)}(h6(struct net_device *to, const struct net_device *from)h](j)}(hstruct net_device *toh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjIsbc.netif_inherit_tso_maxasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(hconst struct net_device *fromh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_inherit_tso_maxasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfromh]hfrom}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj4hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj4hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hM hjhhubjS)}(hhh]jX)}(h3copy all TSO limits from a lower device to an upperh]h3copy all TSO limits from a lower device to an upper}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjnhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj4hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *to`` netdev to update ``const struct net_device *from`` netdev from which to copy the limitsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h+``struct net_device *to`` netdev to update h](j)}(h``struct net_device *to``h]j)}(hjh]hstruct net_device *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hF``const struct net_device *from`` netdev from which to copy the limitsh](j)}(h!``const struct net_device *from``h]j)}(hjh]hconst struct net_device *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(h$netdev from which to copy the limitsh]h$netdev from which to copy the limits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_get_num_default_rss_queues (C function)"c.netif_get_num_default_rss_queueshNtauh1hhjhhhNhNubh)}(hhh](h)}(h+int netif_get_num_default_rss_queues (void)h]h)}(h*int netif_get_num_default_rss_queues(void)h](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShM ubj)}(h netif_get_num_default_rss_queuesh]j%)}(h netif_get_num_default_rss_queuesh]h netif_get_num_default_rss_queues}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShM ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubah}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjShM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjShM ubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShM hj:hhubjS)}(hhh]jX)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjShM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``void`` no arguments **Description** Default value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjubjX)}(hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h]hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_detach (C function)c.netif_device_detachhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void netif_device_detach (struct net_device *dev)h]h)}(h0void netif_device_detach(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMx ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhj{hMx ubj)}(hnetif_device_detachh]j%)}(hnetif_device_detachh]hnetif_device_detach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhj{hMx ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_device_detachasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj{hMx ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj{hMx ubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMx hjbhhubjS)}(hhh]jX)}(hmark device as removedh]hmark device as removed}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMx hj*hhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhj{hMx ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Mark device as removed from system and therefore no longer available.h](jX)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM| hjIubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjnh]hstruct net_device *dev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMy hjhubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMy hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMy hjeubah}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{ hjIubjX)}(hEMark device as removed from system and therefore no longer available.h]hEMark device as removed from system and therefore no longer available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_attach (C function)c.netif_device_attachhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void netif_device_attach (struct net_device *dev)h]h)}(h0void netif_device_attach(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hnetif_device_attachh]j%)}(hnetif_device_attachh]hnetif_device_attach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsbc.netif_device_attachasbuh1hhj'ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hmark device as attachedh]hmark device as attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Mark device as attached from system and restart if needed.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(h:Mark device as attached from system and restart if needed.h]h:Mark device as attached from system and restart if needed.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_loopback_xmit (C function)c.dev_loopback_xmithNtauh1hhjhhhNhNubh)}(hhh](h)}(hMint dev_loopback_xmit (struct net *net, struct sock *sk, struct sk_buff *skb)h]h)}(hLint dev_loopback_xmit(struct net *net, struct sock *sk, struct sk_buff *skb)h](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj}hMrubj)}(hdev_loopback_xmith]j%)}(hdev_loopback_xmith]hdev_loopback_xmit}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhj}hMrubj)}(h7(struct net *net, struct sock *sk, struct sk_buff *skb)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.dev_loopback_xmitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]jc.dev_loopback_xmitasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.dev_loopback_xmitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhj}hMrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhj}hMrubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hMrhjdhhubjS)}(hhh]jX)}(hloop back **skb**h](h loop back }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhj hhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhj}hMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net *net`` network namespace this loopback is happening in ``struct sock *sk`` sk needed to be a netfilter okfn ``struct sk_buff *skb`` buffer to transmith](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMvhj9ubj)}(hhh](j)}(hD``struct net *net`` network namespace this loopback is happening in h](j)}(h``struct net *net``h]j)}(hj^h]hstruct net *net}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshjXubj)}(hhh]jX)}(h/network namespace this loopback is happening inh]h/network namespace this loopback is happening in}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMshjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMshjUubj)}(h5``struct sock *sk`` sk needed to be a netfilter okfn h](j)}(h``struct sock *sk``h]j)}(hjh]hstruct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMthjubj)}(hhh]jX)}(h sk needed to be a netfilter okfnh]h sk needed to be a netfilter okfn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjUubj)}(h*``struct sk_buff *skb`` buffer to transmith](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMvhjubj)}(hhh]jX)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_queue_xmit (C function)c.__dev_queue_xmithNtauh1hhjhhhNhNubh)}(hhh](h)}(hEint __dev_queue_xmit (struct sk_buff *skb, struct net_device *sb_dev)h]h)}(hDint __dev_queue_xmit(struct sk_buff *skb, struct net_device *sb_dev)h](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj8hMubj)}(h__dev_queue_xmith]j%)}(h__dev_queue_xmith]h__dev_queue_xmit}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj8hMubj)}(h0(struct sk_buff *skb, struct net_device *sb_dev)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjMsbc.__dev_queue_xmitasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hstruct net_device *sb_devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__dev_queue_xmitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsb_devh]hsb_dev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&hhhj8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj8hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMhjhhubjS)}(hhh]jX)}(htransmit a bufferh]htransmit a buffer}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjhNhNubj})}(hXs**Parameters** ``struct sk_buff *skb`` buffer to transmit ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload **Description** Queue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt. When calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock. Regardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.) **Return** * 0 - buffer successfully transmitted * positive qdisc return code - NET_XMIT_DROP etc. * negative errno - other errorsh](jX)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubj)}(hhh](j)}(h+``struct sk_buff *skb`` buffer to transmit h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload h](j)}(h``struct net_device *sb_dev``h]j)}(hjh]hstruct net_device *sb_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h2suboordinate device used for L2 forwarding offloadh]h2suboordinate device used for L2 forwarding offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjvubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubjX)}(hQueue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt.h]hQueue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubjX)}(hWhen calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock.h]hWhen calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubjX)}(hRegardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.)h]hRegardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.)}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubjX)}(h **Return**h]j)}(hjTh]hReturn}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubjD2)}(hhh](jI2)}(h<0 - buffer successfully transmittedh]jX)}(hjoh]h<0 - buffer successfully transmitted}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjmubah}(h]h ]h"]h$]h&]uh1jH2hjjubjI2)}(h/positive qdisc return code - NET_XMIT_DROP etc.h]jX)}(hjh]h/positive qdisc return code - NET_XMIT_DROP etc.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jH2hjjubjI2)}(h)negative errno - other errorsh]jX)}(hjh]h)negative errno - other errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jH2hjjubeh}(h]h ]h"]h$]h&]j3j>uh1jC2hj~hMhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h rps_may_expire_flow (C function)c.rps_may_expire_flowhNtauh1hhjhhhNhNubh)}(hhh](h)}(h\bool rps_may_expire_flow (struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h]h)}(h[bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hrps_may_expire_flowh]j%)}(hrps_may_expire_flowh]hrps_may_expire_flow}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hC(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u16 rxq_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jQc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h rxq_indexh]h rxq_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 flow_idh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jQc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflow_idh]hflow_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u16 filter_idh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jQc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h filter_idh]h filter_id}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h3check whether an RFS hardware filter may be removedh]h3check whether an RFS hardware filter may be removed}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjohhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` Device on which the filter was set ``u16 rxq_index`` RX queue index ``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() ``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() **Description** Drivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns ``true``.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h>``struct net_device *dev`` Device on which the filter was set h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h"Device on which the filter was seth]h"Device on which the filter was set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``u16 rxq_index`` RX queue index h](j)}(h``u16 rxq_index``h]j)}(hjh]h u16 rxq_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hRX queue indexh]hRX queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() h](j)}(h``u32 flow_id``h]j)}(hj%h]h u32 flow_id}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h%Flow ID passed to ndo_rx_flow_steer()h]h%Flow ID passed to ndo_rx_flow_steer()}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h<``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() h](j)}(h``u16 filter_id``h]j)}(hj^h]h u16 filter_id}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjXubj)}(hhh]jX)}(h)Filter ID returned by ndo_rx_flow_steer()h]h)Filter ID returned by ndo_rx_flow_steer()}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hDrivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns ``true``.h](hDrivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns }(hjhhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_rx (C function) c.__netif_rxhNtauh1hhjhhhNhNubh)}(hhh](h)}(h$int __netif_rx (struct sk_buff *skb)h]h)}(h#int __netif_rx(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMyubj)}(h __netif_rxh]j%)}(h __netif_rxh]h __netif_rx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMyubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jjsb c.__netif_rxasbuh1hhj)ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMyubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMyhjhhubjS)}(hhh]jX)}(h&Slightly optimized version of netif_rxh]h&Slightly optimized version of netif_rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX **Parameters** ``struct sk_buff *skb`` buffer to post **Description** This behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM}hjubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMzhjubj)}(hhh]jX)}(hbuffer to posth]hbuffer to post}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|hjubj )}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]jX)}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{hjBubah}(h]h ]h"]h$]h&]uh1j hjThM{hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_rx (C function) c.netif_rxhNtauh1hhjhhhNhNubh)}(hhh](h)}(h"int netif_rx (struct sk_buff *skb)h]h)}(h!int netif_rx(struct sk_buff *skb)h](j)}(hinth]hint}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjhMubj)}(hnetif_rxh]j%)}(hnetif_rxh]hnetif_rx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.netif_rxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjhMubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjphhubjS)}(hhh]jX)}(hpost buffer to the network codeh]hpost buffer to the network code}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to post **Description** This function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jX)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjWubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post h](j)}(h``struct sk_buff *skb``h]j)}(hj|h]hstruct sk_buff *skb}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubj)}(hhh]jX)}(hbuffer to posth]hbuffer to post}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjWubj )}(hXQThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jX)}(hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.h]hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h]hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_is_rx_handler_busy (C function)c.netdev_is_rx_handler_busyhNtauh1hhjhhhNhNubh)}(hhh](h)}(h7bool netdev_is_rx_handler_busy (struct net_device *dev)h]h)}(h6bool netdev_is_rx_handler_busy(struct net_device *dev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hM ubj)}(hnetdev_is_rx_handler_busyh]j%)}(hnetdev_is_rx_handler_busyh]hnetdev_is_rx_handler_busy}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sbc.netdev_is_rx_handler_busyasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj"hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj"hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hM hj hhubjS)}(hhh]jX)}(h&check if receive handler is registeredh]h&check if receive handler is registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to check **Description** Check if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h+``struct net_device *dev`` device to check h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hdevice to checkh]hdevice to check}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hM hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hCheck if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jX)}(h^Check if a receive handler is already registered for a given device. Return true if there one.h]h^Check if a receive handler is already registered for a given device. Return true if there one.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjfubjX)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjfubeh}(h]h ]h"]h$]h&]uh1j hjxhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_rx_handler_register (C function)c.netdev_rx_handler_registerhNtauh1hhjhhhNhNubh)}(hhh](h)}(hmint netdev_rx_handler_register (struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h]h)}(hlint netdev_rx_handler_register(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_rx_handler_registerh]j%)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.netdev_rx_handler_registerasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hrx_handler_func_t *rx_handlerh](h)}(hhh]j%)}(hrx_handler_func_th]hrx_handler_func_t}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j%c.netdev_rx_handler_registerasbuh1hhjYubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(h rx_handlerh]h rx_handler}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *rx_handler_datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrx_handler_datah]hrx_handler_data}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hregister receive handlerh]hregister receive handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to register a handler for ``rx_handler_func_t *rx_handler`` receive handler to register ``void *rx_handler_data`` data pointer that is used by rx handler **Description** Register a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure. The caller must hold the rtnl_mutex. For a general description of rx_handler, see enum rx_handler_result.h](jX)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj!ubj)}(hhh](j)}(h<``struct net_device *dev`` device to register a handler for h](j)}(h``struct net_device *dev``h]j)}(hjFh]hstruct net_device *dev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj@ubj)}(hhh]jX)}(h device to register a handler forh]h device to register a handler for}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubj)}(h>``rx_handler_func_t *rx_handler`` receive handler to register h](j)}(h!``rx_handler_func_t *rx_handler``h]j)}(hjh]hrx_handler_func_t *rx_handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubj)}(hhh]jX)}(hreceive handler to registerh]hreceive handler to register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj)}(hB``void *rx_handler_data`` data pointer that is used by rx handler h](j)}(h``void *rx_handler_data``h]j)}(hjh]hvoid *rx_handler_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h'data pointer that is used by rx handlerh]h'data pointer that is used by rx handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj!ubj )}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure. The caller must hold the rtnl_mutex. For a general description of rx_handler, see enum rx_handler_result.h](jX)}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.h]hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubjX)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj ubjX)}(hDFor a general description of rx_handler, see enum rx_handler_result.h]hDFor a general description of rx_handler, see enum rx_handler_result.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj ubeh}(h]h ]h"]h$]h&]uh1j hjhMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_rx_handler_unregister (C function)c.netdev_rx_handler_unregisterhNtauh1hhjhhhNhNubh)}(hhh](h)}(h:void netdev_rx_handler_unregister (struct net_device *dev)h]h)}(h9void netdev_rx_handler_unregister(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM;ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjnhM;ubj)}(hnetdev_rx_handler_unregisterh]j%)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjnhM;ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_rx_handler_unregisterasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjnhM;ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjnhM;ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhM;hjUhhubjS)}(hhh]jX)}(hunregister receive handlerh]hunregister receive handler}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM;hjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjnhM;ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to unregister a handler from **Description** Unregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jX)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?hj<ubj)}(hhh]j)}(h?``struct net_device *dev`` device to unregister a handler from h](j)}(h``struct net_device *dev``h]j)}(hjah]hstruct net_device *dev}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM<hj[ubj)}(hhh]jX)}(h#device to unregister a handler fromh]h#device to unregister a handler from}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhM<hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM<hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>hj<ubj )}(hQUnregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jX)}(h+Unregister a receive handler from a device.h]h+Unregister a receive handler from a device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM=hjubjX)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?hjubeh}(h]h ]h"]h$]h&]uh1j hjhM=hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_core (C function)c.netif_receive_skb_corehNtauh1hhjhhhNhNubh)}(hhh](h)}(h0int netif_receive_skb_core (struct sk_buff *skb)h]h)}(h/int netif_receive_skb_core(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMaubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMaubj)}(hnetif_receive_skb_coreh]j%)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMaubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjsbc.netif_receive_skb_coreasbuh1hhj3ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMaubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMahjhhubjS)}(hhh]jX)}(h,special purpose version of netif_receive_skbh]h,special purpose version of netif_receive_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMahjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** More direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehjubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhjubj)}(hhh]jX)}(hbuffer to processh]hbuffer to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjubj )}(hXMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``.h](hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if }(hjPhhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMchjLubjX)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjLubjX)}(h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh]h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was dropped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjLubeh}(h]h ]h"]h$]h&]uh1j hjphMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_receive_skb (C function)c.netif_receive_skbhNtauh1hhjhhhNhNubh)}(hhh](h)}(h+int netif_receive_skb (struct sk_buff *skb)h]h)}(h*int netif_receive_skb(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMIubj)}(hnetif_receive_skbh]j%)}(hnetif_receive_skbh]hnetif_receive_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMIubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_receive_skbasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMIubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMIhjhhubjS)}(hhh]jX)}(h#process receive buffer from networkh]h#process receive buffer from network}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** netif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJhjubj)}(hhh]jX)}(hbuffer to processh]hbuffer to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMLhjubj )}(hXlnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.h]hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhjubjX)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMOhjubjX)}(h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh]h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was dropped}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRhjubeh}(h]h ]h"]h$]h&]uh1j hjhMKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_list (C function)c.netif_receive_skb_listhNtauh1hhjhhhNhNubh)}(hhh](h)}(h4void netif_receive_skb_list (struct list_head *head)h]h)}(h3void netif_receive_skb_list(struct list_head *head)h](j)}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMeubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjlhMeubj)}(hnetif_receive_skb_listh]j%)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjlhMeubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_receive_skb_listasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjlhMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjlhMeubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMehjShhubjS)}(hhh]jX)}(h)process many receive buffers from networkh]h)process many receive buffers from network}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehjhhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjlhMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhjhNhNubj})}(hXF**Parameters** ``struct list_head *head`` list of skbs to process. **Description** Since return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihj:ubj)}(hhh]j)}(h4``struct list_head *head`` list of skbs to process. h](j)}(h``struct list_head *head``h]j)}(hj_h]hstruct list_head *head}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjYubj)}(hhh]jX)}(hlist of skbs to process.h]hlist of skbs to process.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMfhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMfhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhj:ubj )}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jX)}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void.h]hSince return value of netif_receive_skb() is normally ignored, and wouldn’t be meaningful for a list, this function returns void.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjubjX)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjubeh}(h]h ]h"]h$]h&]uh1j hjhMghj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__napi_schedule (C function)c.__napi_schedulehNtauh1hhjhhhNhNubh)}(hhh](h)}(h,void __napi_schedule (struct napi_struct *n)h]h)}(h+void __napi_schedule(struct napi_struct *n)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMRubj)}(h__napi_scheduleh]j%)}(h__napi_scheduleh]h__napi_schedule}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMRubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjsbc.__napi_scheduleasbuh1hhj1ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMRubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMRubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMRhjhhubjS)}(hhh]jX)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMRubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct napi_struct *n`` entry to schedule **Description** The entry's receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMVhjubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShjubj)}(hhh]jX)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMShjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMUhjubjX)}(hwThe entry's receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.h]hyThe entry’s receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule_prep (C function)c.napi_schedule_prephNtauh1hhjhhhNhNubh)}(hhh](h)}(h/bool napi_schedule_prep (struct napi_struct *n)h]h)}(h.bool napi_schedule_prep(struct napi_struct *n)h](j)}(hjTh]hbool}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhMcubj)}(hnapi_schedule_preph]j%)}(hnapi_schedule_preph]hnapi_schedule_prep}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhMcubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.napi_schedule_prepasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjhMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhMcubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMchjmhhubjS)}(hhh]jX)}(hcheck if napi can be scheduledh]hcheck if napi can be scheduled}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMchj3hhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct napi_struct *n`` napi context **Description** Test if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h](jX)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjRubj)}(hhh]j)}(h'``struct napi_struct *n`` napi context h](j)}(h``struct napi_struct *n``h]j)}(hjwh]hstruct napi_struct *n}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjqubj)}(hhh]jX)}(h napi contexth]h napi context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjnubah}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjRubjX)}(hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h]hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__napi_schedule_irqoff (C function)c.__napi_schedule_irqoffhNtauh1hhjhhhNhNubh)}(hhh](h)}(h3void __napi_schedule_irqoff (struct napi_struct *n)h]h)}(h2void __napi_schedule_irqoff(struct napi_struct *n)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__napi_schedule_irqoffh]j%)}(h__napi_schedule_irqoffh]h__napi_schedule_irqoff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjsbc.__napi_schedule_irqoffasbuh1hhj0ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXA**Parameters** ``struct napi_struct *n`` entry to schedule **Description** Variant of __napi_schedule() assuming hard irqs are masked. On PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(h;Variant of __napi_schedule() assuming hard irqs are masked.h]h;Variant of __napi_schedule() assuming hard irqs are masked.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hOn PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.h]hOn PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_threaded_enable (C function)c.netif_threaded_enablehNtauh1hhjhhhNhNubh)}(hhh](h)}(h3void netif_threaded_enable (struct net_device *dev)h]h)}(h2void netif_threaded_enable(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMtubj)}(hnetif_threaded_enableh]j%)}(hnetif_threaded_enableh]hnetif_threaded_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMtubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_threaded_enableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhjhMtubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMthj{hhubjS)}(hhh]jX)}(henable threaded NAPIsh]henable threaded NAPIs}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMthjChhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhjhMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` net_device instance **Description** Enable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped. This function should be called before **dev** is registered.h](jX)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMxhjbubj)}(hhh]j)}(h/``struct net_device *dev`` net_device instance h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMuhjubj)}(hhh]jX)}(hnet_device instanceh]hnet_device instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMwhjbubjX)}(hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.h]hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMvhjbubjX)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hunsigned int queue_indexh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(henum netdev_queue_type typeh](h)}(hhh]henum}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(hnetdev_queue_typeh]hnetdev_queue_type}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jc.netif_queue_set_napiasbuh1hhj$ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(htypeh]htype}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_queue_set_napiasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj$hhhj6hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj6hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hMhjhhubjS)}(hhh]jX)}(hAssociate queue with the napih]hAssociate queue with the napi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj6hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to which NAPI and queue belong ``unsigned int queue_index`` Index of queue ``enum netdev_queue_type type`` queue type as RX or TX ``struct napi_struct *napi`` NAPI context, pass NULL to clear previously set NAPI **Description** Set queue with its corresponding napi context. This should be done after registering the NAPI handler for the queue-vector and the queues have been mapped to the corresponding interrupt vector.h](jX)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj(ubj)}(hhh](j)}(hA``struct net_device *dev`` device to which NAPI and queue belong h](j)}(h``struct net_device *dev``h]j)}(hjMh]hstruct net_device *dev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjGubj)}(hhh]jX)}(h%device to which NAPI and queue belongh]h%device to which NAPI and queue belong}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(h,``unsigned int queue_index`` Index of queue h](j)}(h``unsigned int queue_index``h]j)}(hjh]hunsigned int queue_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hIndex of queueh]hIndex of queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubj)}(h7``enum netdev_queue_type type`` queue type as RX or TX h](j)}(h``enum netdev_queue_type type``h]j)}(hjh]henum netdev_queue_type type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hqueue type as RX or TXh]hqueue type as RX or TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubj)}(hR``struct napi_struct *napi`` NAPI context, pass NULL to clear previously set NAPI h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h4NAPI context, pass NULL to clear previously set NAPIh]h4NAPI context, pass NULL to clear previously set NAPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubjX)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj(ubjX)}(hSet queue with its corresponding napi context. This should be done after registering the NAPI handler for the queue-vector and the queues have been mapped to the corresponding interrupt vector.h]hSet queue with its corresponding napi context. This should be done after registering the NAPI handler for the queue-vector and the queues have been mapped to the corresponding interrupt vector.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_disable (C function)c.napi_disablehNtauh1hhjhhhNhNubh)}(hhh](h)}(h)void napi_disable (struct napi_struct *n)h]h)}(h(void napi_disable(struct napi_struct *n)h](j)}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhMubj)}(h napi_disableh]j%)}(h napi_disableh]h napi_disable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.napi_disableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhMubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjmhhubjS)}(hhh]jX)}(hprevent NAPI from schedulingh]hprevent NAPI from scheduling}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Stop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.h](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjSubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjxh]hstruct napi_struct *n}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjrubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjSubjX)}(hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.h]hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_enable (C function) c.napi_enablehNtauh1hhjhhhNhNubh)}(hhh](h)}(h(void napi_enable (struct napi_struct *n)h]h)}(h'void napi_enable(struct napi_struct *n)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h napi_enableh]j%)}(h napi_enableh]h napi_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjsb c.napi_enableasbuh1hhj1ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(henable NAPI schedulingh]henable NAPI scheduling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Enable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hxEnable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.h]hxEnable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_has_upper_dev (C function)c.netdev_has_upper_devhNtauh1hhjhhhNhNubh)}(hhh](h)}(hPbool netdev_has_upper_dev (struct net_device *dev, struct net_device *upper_dev)h]h)}(hObool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev)h](j)}(hjTh]hbool}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhMEubj)}(hnetdev_has_upper_devh]j%)}(hnetdev_has_upper_devh]hnetdev_has_upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhMEubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_has_upper_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]jc.netdev_has_upper_devasbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(h upper_devh]h upper_dev}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjhMEubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhMEubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMEhjmhhubjS)}(hhh]jX)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMEhjhhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhMEubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXW**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` upper device to check **Description** Find out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIhjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMFhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hj!h]hstruct net_device *upper_dev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMGhjubj)}(hhh]jX)}(hupper device to checkh]hupper device to check}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMGhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMGhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj\h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIhjubjX)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMHhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_has_upper_dev_all_rcu (C function)c.netdev_has_upper_dev_all_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(hXbool netdev_has_upper_dev_all_rcu (struct net_device *dev, struct net_device *upper_dev)h]h)}(hWbool netdev_has_upper_dev_all_rcu(struct net_device *dev, struct net_device *upper_dev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM\ubj)}(hnetdev_has_upper_dev_all_rcuh]j%)}(hnetdev_has_upper_dev_all_rcuh]hnetdev_has_upper_dev_all_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM\ubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_has_upper_dev_all_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]jc.netdev_has_upper_dev_all_rcuasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM\ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM\ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM\hjhhubjS)}(hhh]jX)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM\ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX+**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` upper device to check **Description** Find out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`hjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]hj ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hM]hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM]hjubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjJh]hstruct net_device *upper_dev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^hjDubj)}(hhh]jX)}(hupper device to checkh]hupper device to check}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM^hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM^hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`hjubjX)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_has_any_upper_dev (C function)c.netdev_has_any_upper_devhNtauh1hhjhhhNhNubh)}(hhh](h)}(h6bool netdev_has_any_upper_dev (struct net_device *dev)h]h)}(h5bool netdev_has_any_upper_dev(struct net_device *dev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMrubj)}(hnetdev_has_any_upper_devh]j%)}(hnetdev_has_any_upper_devh]hnetdev_has_any_upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMrubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jjsbc.netdev_has_any_upper_devasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMrubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMrhjhhubjS)}(hhh]jX)}(h(Check if device is linked to some deviceh]h(Check if device is linked to some device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device **Description** Find out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMvhjubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMuhjubjX)}(htFind out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.h]htFind out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMthjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netdev_master_upper_dev_get (C function)c.netdev_master_upper_dev_gethNtauh1hhjhhhNhNubh)}(hhh](h)}(hHstruct net_device * netdev_master_upper_dev_get (struct net_device *dev)h]h)}(hFstruct net_device *netdev_master_upper_dev_get(struct net_device *dev)h](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjWhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jnetdev_master_upper_dev_getsbc.netdev_master_upper_dev_getasbuh1hhjFhhhjWhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjWhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFhhhjWhMubj)}(hnetdev_master_upper_dev_geth]j%)}(hjh]hnetdev_master_upper_dev_get}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjWhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_getasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjWhMubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMhj?hhubjS)}(hhh]jX)}(hGet master upper deviceh]hGet master upper device}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device **Description** Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock.h](jX)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubjX)}(hwFind a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock.h]hyFind a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_upper_get_next_dev_rcu (C function)c.netdev_upper_get_next_dev_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(hcstruct net_device * netdev_upper_get_next_dev_rcu (struct net_device *dev, struct list_head **iter)h]h)}(hastruct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, struct list_head **iter)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jnetdev_upper_get_next_dev_rcusbc.netdev_upper_get_next_dev_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hnetdev_upper_get_next_dev_rcuh]j%)}(hjCh]hnetdev_upper_get_next_dev_rcu}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jAc.netdev_upper_get_next_dev_rcuasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hstruct list_head **iterh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jAc.netdev_upper_get_next_dev_rcuasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h Get the next dev from upper listh]h Get the next dev from upper list}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj{hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next device from the dev's upper list, starting from iter position. The caller must hold RCU read lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjh]hstruct list_head **iter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hpGets the next device from the dev's upper list, starting from iter position. The caller must hold RCU read lock.h]hrGets the next device from the dev’s upper list, starting from iter position. The caller must hold RCU read lock.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_lower_get_next_private (C function)c.netdev_lower_get_next_privatehNtauh1hhjhhhNhNubh)}(hhh](h)}(hVvoid * netdev_lower_get_next_private (struct net_device *dev, struct list_head **iter)h]h)}(hTvoid *netdev_lower_get_next_private(struct net_device *dev, struct list_head **iter)h](j)}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhMkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjthhhjhMkubj)}(hnetdev_lower_get_next_privateh]j%)}(hnetdev_lower_get_next_privateh]hnetdev_lower_get_next_private}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhMkubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_lower_get_next_privateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct list_head **iterh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(h list_headh]h list_head}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jc.netdev_lower_get_next_privateasbuh1hhj0ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhMkubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMkhjmhhubjS)}(hhh]jX)}(h4Get the next ->private from the lower neighbour listh]h4Get the next ->private from the lower neighbour list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXy**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold either hold the RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMmhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj<h]hstruct list_head **iter}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMnhj6ubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMnhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMphjubjX)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold either hold the RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h]hGets the next netdev_adjacent->private from the dev’s lower neighbour list, starting from iter position. The caller must hold either hold the RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_lower_get_next_private_rcu (C function)#c.netdev_lower_get_next_private_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(hZvoid * netdev_lower_get_next_private_rcu (struct net_device *dev, struct list_head **iter)h]h)}(hXvoid *netdev_lower_get_next_private_rcu(struct net_device *dev, struct list_head **iter)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h!netdev_lower_get_next_private_rcuh]j%)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jjsb#c.netdev_lower_get_next_private_rcuasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct list_head **iterh](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j@#c.netdev_lower_get_next_private_rcuasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hAGet the next ->private from the lower neighbour list, RCU varianth]hAGet the next ->private from the lower neighbour list, RCU variant}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj"ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjGh]hstruct net_device *dev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjAubj)}(hhh]jX)}(hdeviceh]hdevice}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjh]hstruct list_head **iter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj"ubjX)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h]hGets the next netdev_adjacent->private from the dev’s lower neighbour list, starting from iter position. The caller must hold RCU read lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_lower_get_next (C function)c.netdev_lower_get_nexthNtauh1hhjhhhNhNubh)}(hhh](h)}(hNvoid * netdev_lower_get_next (struct net_device *dev, struct list_head **iter)h]h)}(hLvoid *netdev_lower_get_next(struct net_device *dev, struct list_head **iter)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hnetdev_lower_get_nexth]j%)}(hnetdev_lower_get_nexth]hnetdev_lower_get_next}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj0sbc.netdev_lower_get_nextasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hstruct list_head **iterh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_lower_get_nextasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1Get the next device from the lower neighbour listh]h1Get the next device from the lower neighbour list}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhjhNhNubj})}(hX`**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent from the dev's lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h](jX)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjfubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjh]hstruct list_head **iter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjfubjX)}(hGets the next netdev_adjacent from the dev's lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h]hGets the next netdev_adjacent from the dev’s lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/netdev_lower_get_first_private_rcu (C function)$c.netdev_lower_get_first_private_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(hBvoid * netdev_lower_get_first_private_rcu (struct net_device *dev)h]h)}(h@void *netdev_lower_get_first_private_rcu(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhM ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@hhhjRhM ubj)}(h"netdev_lower_get_first_private_rcuh]j%)}(h"netdev_lower_get_first_private_rcuh]h"netdev_lower_get_first_private_rcu}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjtsb$c.netdev_lower_get_first_private_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjRhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhM ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhM hj9hhubjS)}(hhh]jX)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->private from the lower neighbour list, RCU variant}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjRhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)jxj)jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device **Description** Gets the first netdev_adjacent->private from the dev's lower neighbour list. The caller must hold RCU read lock.h](jX)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjRh]hstruct net_device *dev}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjLubj)}(hhh]jX)}(hdeviceh]hdevice}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghM hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-ubjX)}(hpGets the first netdev_adjacent->private from the dev's lower neighbour list. The caller must hold RCU read lock.h]hrGets the first netdev_adjacent->private from the dev’s lower neighbour list. The caller must hold RCU read lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,netdev_master_upper_dev_get_rcu (C function)!c.netdev_master_upper_dev_get_rcuhNtauh1hhjhhhNhNubh)}(hhh](h)}(hLstruct net_device * netdev_master_upper_dev_get_rcu (struct net_device *dev)h]h)}(hJstruct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_master_upper_dev_get_rcusb!c.netdev_master_upper_dev_get_rcuasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(hnetdev_master_upper_dev_get_rcuh]j%)}(hjh]hnetdev_master_upper_dev_get_rcu}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j !c.netdev_master_upper_dev_get_rcuasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hGet master upper deviceh]hGet master upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device **Description** Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RCU read lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(h{Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RCU read lock.h]h}Find a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RCU read lock.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_upper_dev_link (C function)c.netdev_upper_dev_linkhNtauh1hhjhhhNhNubh)}(hhh](h)}(hpint netdev_upper_dev_link (struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h]h)}(hoint netdev_upper_dev_link(struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM!ubj)}(hnetdev_upper_dev_linkh]j%)}(hnetdev_upper_dev_linkh]hnetdev_upper_dev_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM!ubj)}(hV(struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_upper_dev_linkasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]jc.netdev_upper_dev_linkasbuh1hhj9ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_upper_dev_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM!ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM!hjhhubjS)}(hhh]jX)}(hAdd a link to the upper deviceh]hAdd a link to the upper device}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj+hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device ``struct netlink_ext_ack *extack`` netlink extended ack **Description** Adds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h](jX)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjJubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjoh]hstruct net_device *dev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjiubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjfubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hjh]hstruct net_device *upper_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjfubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjfubeh}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjJubjX)}(hAdds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h]hAdds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_master_upper_dev_link (C function)c.netdev_master_upper_dev_linkhNtauh1hhjhhhNhNubh)}(hhh](h)}(hint netdev_master_upper_dev_link (struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h]h)}(hint netdev_master_upper_dev_link(struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohM"ubj)}(hnetdev_master_upper_dev_linkh]j%)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhjohM"ubj)}(hz(struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_master_upper_dev_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj. hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0 modnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_linkasbuh1hhj ubj)}(h h]h }(hjL hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjZ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(h upper_devh]h upper_dev}(hjg hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *upper_privh](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj| ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj| ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj| ubj%)}(h upper_privh]h upper_priv}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj| ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *upper_infoh](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(h upper_infoh]h upper_info}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj" hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$ modnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_linkasbuh1hhj ubj)}(h h]h }(hj@ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjN hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hextackh]hextack}(hj[ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhjohM"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjohM"ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohM"hjVhhubjS)}(hhh]jX)}(h%Add a master link to the upper deviceh]h%Add a master link to the upper device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj hhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjohM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(hXk**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device ``void *upper_priv`` upper device private ``void *upper_info`` upper info to be passed down via notifier ``struct netlink_ext_ack *extack`` netlink extended ack **Description** Adds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM "hj ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM"hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM"hj ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj h]hstruct net_device *upper_dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj ubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM"hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM"hj ubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hj8 h]hvoid *upper_priv}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6 ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj2 ubj)}(hhh]jX)}(hupper device privateh]hupper device private}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjM hM"hjN ubah}(h]h ]h"]h$]h&]uh1jhj2 ubeh}(h]h ]h"]h$]h&]uh1jhjM hM"hj ubj)}(h?``void *upper_info`` upper info to be passed down via notifier h](j)}(h``void *upper_info``h]j)}(hjq h]hvoid *upper_info}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM "hjk ubj)}(hhh]jX)}(h)upper info to be passed down via notifierh]h)upper info to be passed down via notifier}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM "hj ubah}(h]h ]h"]h$]h&]uh1jhjk ubeh}(h]h ]h"]h$]h&]uh1jhj hM "hj ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj h]hstruct netlink_ext_ack *extack}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM "hj ubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM "hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM "hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM "hj ubjX)}(hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h]hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM "hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netdev_upper_dev_unlink (C function)c.netdev_upper_dev_unlinkhNtauh1hhjhhhNhNubh)}(hhh](h)}(hSvoid netdev_upper_dev_unlink (struct net_device *dev, struct net_device *upper_dev)h]h)}(hRvoid netdev_upper_dev_unlink(struct net_device *dev, struct net_device *upper_dev)h](j)}(hvoidh]hvoid}(hj* hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj& hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMB"ubj)}(h h]h }(hj9 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj& hhhj8 hMB"ubj)}(hnetdev_upper_dev_unlinkh]j%)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hjK hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj& hhhj8 hMB"ubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjg hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjc ubj)}(h h]h }(hjt hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjM sbc.netdev_upper_dev_unlinkasbuh1hhjc ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjc ubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjc ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ ubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.netdev_upper_dev_unlinkasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj# hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(h upper_devh]h upper_dev}(hj0 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj& hhhj8 hMB"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj" hhhj8 hMB"ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8 hMB"hj hhubjS)}(hhh]jX)}(hRemoves a link to upper deviceh]hRemoves a link to upper device}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMB"hjW hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj8 hMB"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjr jxjr jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device **Description** Removes a link to device which is upper to this one. The caller must hold the RTNL lock.h](jX)}(h**Parameters**h]j)}(hj| h]h Parameters}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMF"hjv ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMC"hj ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMC"hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMC"hj ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj h]hstruct net_device *upper_dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMD"hj ubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMD"hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMD"hj ubeh}(h]h ]h"]h$]h&]uh1jhjv ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMF"hjv ubjX)}(hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.h]hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chME"hjv ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_bonding_info_change (C function)c.netdev_bonding_info_changehNtauh1hhjhhhNhNubh)}(hhh](h)}(hbvoid netdev_bonding_info_change (struct net_device *dev, struct netdev_bonding_info *bonding_info)h]h)}(havoid netdev_bonding_info_change(struct net_device *dev, struct netdev_bonding_info *bonding_info)h](j)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjbhM"ubj)}(hnetdev_bonding_info_changeh]j%)}(hnetdev_bonding_info_changeh]hnetdev_bonding_info_change}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjbhM"ubj)}(hB(struct net_device *dev, struct netdev_bonding_info *bonding_info)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjwsbc.netdev_bonding_info_changeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h(struct netdev_bonding_info *bonding_infoh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetdev_bonding_infoh]hnetdev_bonding_info}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]jc.netdev_bonding_info_changeasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h bonding_infoh]h bonding_info}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPhhhjbhM"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjbhM"ubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhM"hjIhhubjS)}(hhh]jX)}(h!Dispatch event about slave changeh]h!Dispatch event about slave change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjbhM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``struct netdev_bonding_info *bonding_info`` info to dispatch **Description** Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h>``struct netdev_bonding_info *bonding_info`` info to dispatch h](j)}(h,``struct netdev_bonding_info *bonding_info``h]j)}(hjh]h(struct netdev_bonding_info *bonding_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubj)}(hhh]jX)}(hinfo to dispatchh]hinfo to dispatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubjX)}(h[Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.h]h[Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_get_xmit_slave (C function)c.netdev_get_xmit_slavehNtauh1hhjhhhNhNubh)}(hhh](h)}(hhstruct net_device * netdev_get_xmit_slave (struct net_device *dev, struct sk_buff *skb, bool all_slaves)h]h)}(hfstruct net_device *netdev_get_xmit_slave(struct net_device *dev, struct sk_buff *skb, bool all_slaves)h](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjhM#ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_get_xmit_slavesbc.netdev_get_xmit_slaveasbuh1hhjzhhhjhM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjhM#ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzhhhjhM#ubj)}(hnetdev_get_xmit_slaveh]j%)}(hjh]hnetdev_get_xmit_slave}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjhM#ubj)}(h>(struct net_device *dev, struct sk_buff *skb, bool all_slaves)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_get_xmit_slaveasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_get_xmit_slaveasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool all_slavesh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h all_slavesh]h all_slaves}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhjhM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjhM#ubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM#hjshhubjS)}(hhh]jX)}(h#Get the xmit slave of master deviceh]h#Get the xmit slave of master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjhhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjhNhNubj})}(hXB**Parameters** ``struct net_device *dev`` device ``struct sk_buff *skb`` The packet ``bool all_slaves`` assume all the slaves are active **Description** The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. ``NULL`` is returned if no slave is found.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj9ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj^h]hstruct net_device *dev}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjXubj)}(hhh]jX)}(hdeviceh]hdevice}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshM#hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM#hjUubj)}(h#``struct sk_buff *skb`` The packet h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubj)}(hhh]jX)}(h The packeth]h The packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjUubj)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hjh]hbool all_slaves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubj)}(hhh]jX)}(h assume all the slaves are activeh]h assume all the slaves are active}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj9ubjX)}(hThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. ``NULL`` is returned if no slave is found.h](htThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. }(hj!hhhNhNubj)}(h``NULL``h]hNULL}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh" is returned if no slave is found.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_sk_get_lowest_dev (C function)c.netdev_sk_get_lowest_devhNtauh1hhjhhhNhNubh)}(hhh](h)}(hVstruct net_device * netdev_sk_get_lowest_dev (struct net_device *dev, struct sock *sk)h]h)}(hTstruct net_device *netdev_sk_get_lowest_dev(struct net_device *dev, struct sock *sk)h](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjohM#ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_sk_get_lowest_devsbc.netdev_sk_get_lowest_devasbuh1hhj^hhhjohM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjohM#ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^hhhjohM#ubj)}(hnetdev_sk_get_lowest_devh]j%)}(hjh]hnetdev_sk_get_lowest_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhjohM#ubj)}(h)(struct net_device *dev, struct sock *sk)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_sk_get_lowest_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hsockh]hsock}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]jc.netdev_sk_get_lowest_devasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj^hhhjohM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjohM#ubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohM#hjWhhubjS)}(hhh]jX)}(h6Get the lowest device in chain given device and socketh]h6Get the lowest device in chain given device and socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjohM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``struct sock *sk`` the socket **Description** ``NULL`` is returned if no lower device is found.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM#hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM#hjubj)}(h``struct sock *sk`` the socket h](j)}(h``struct sock *sk``h]j)}(hjGh]hstruct sock *sk}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjAubj)}(hhh]jX)}(h the socketh]h the socket}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hM#hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM#hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubjX)}(h1``NULL`` is returned if no lower device is found.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) is returned if no lower device is found.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_lower_state_changed (C function)c.netdev_lower_state_changedhNtauh1hhjhhhNhNubh)}(hhh](h)}(hVvoid netdev_lower_state_changed (struct net_device *lower_dev, void *lower_state_info)h]h)}(hUvoid netdev_lower_state_changed(struct net_device *lower_dev, void *lower_state_info)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMI$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMI$ubj)}(hnetdev_lower_state_changedh]j%)}(hnetdev_lower_state_changedh]hnetdev_lower_state_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMI$ubj)}(h6(struct net_device *lower_dev, void *lower_state_info)h](j)}(hstruct net_device *lower_devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jjsbc.netdev_lower_state_changedasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h lower_devh]h lower_dev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hvoid *lower_state_infoh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlower_state_infoh]hlower_state_info}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMI$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMI$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMI$hjhhubjS)}(hhh]jX)}(h.Dispatch event about lower device state changeh]h.Dispatch event about lower device state change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMI$hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMI$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *lower_dev`` device ``void *lower_state_info`` state to dispatch **Description** Send NETDEV_CHANGELOWERSTATE to netdev notifiers with info. The caller must hold the RTNL lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMM$hjubj)}(hhh](j)}(h(``struct net_device *lower_dev`` device h](j)}(h ``struct net_device *lower_dev``h]j)}(hjh]hstruct net_device *lower_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJ$hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMJ$hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMJ$hjubj)}(h-``void *lower_state_info`` state to dispatch h](j)}(h``void *lower_state_info``h]j)}(hjQh]hvoid *lower_state_info}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMK$hjKubj)}(hhh]jX)}(hstate to dispatchh]hstate to dispatch}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMK$hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMK$hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMM$hjubjX)}(h_Send NETDEV_CHANGELOWERSTATE to netdev notifiers with info. The caller must hold the RTNL lock.h]h_Send NETDEV_CHANGELOWERSTATE to netdev notifiers with info. The caller must hold the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chML$hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_get_flags (C function)c.netif_get_flagshNtauh1hhjhhhNhNubh)}(hhh](h)}(h;unsigned int netif_get_flags (const struct net_device *dev)h]h)}(h:unsigned int netif_get_flags(const struct net_device *dev)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM$ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM$ubj)}(hnetif_get_flagsh]j%)}(hnetif_get_flagsh]hnetif_get_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM$ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jjsbc.netif_get_flagsasbuh1hhj&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM$hjhhubjS)}(hhh]jX)}(hget flags reported to userspaceh]hget flags reported to userspace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` device **Description** Get the combination of flag bits exported through APIs to userspace.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjubj)}(hhh]j)}(h(``const struct net_device *dev`` device h](j)}(h ``const struct net_device *dev``h]j)}(hj h]hconst struct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjubjX)}(hDGet the combination of flag bits exported through APIs to userspace.h]hDGet the combination of flag bits exported through APIs to userspace.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netif_pre_changeaddr_notify (C function)c.netif_pre_changeaddr_notifyhNtauh1hhjhhhNhNubh)}(hhh](h)}(hjint netif_pre_changeaddr_notify (struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h]h)}(hiint netif_pre_changeaddr_notify(struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM&ubj)}(hnetif_pre_changeaddr_notifyh]j%)}(hnetif_pre_changeaddr_notifyh]hnetif_pre_changeaddr_notify}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM&ubj)}(hJ(struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_pre_changeaddr_notifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *addrh](h)}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(hcharh]hchar}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(haddrh]haddr}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_pre_changeaddr_notifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM&ubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM&hj~hhubjS)}(hhh]jX)}(hCall NETDEV_PRE_CHANGEADDR.h]hCall NETDEV_PRE_CHANGEADDR.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhjhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``const char *addr`` new address ``struct netlink_ext_ack *extack`` netlink extended ack **Return** 0 on success, -errno on failure.h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj2ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjWh]hstruct net_device *dev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjQubj)}(hhh]jX)}(hdeviceh]hdevice}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM&hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM&hjNubj)}(h!``const char *addr`` new address h](j)}(h``const char *addr``h]j)}(hjh]hconst char *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubj)}(hhh]jX)}(h new addressh]h new address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjNubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj2ubjX)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netif_get_port_parent_id (C function)c.netif_get_port_parent_idhNtauh1hhjhhhNhNubh)}(hhh](h)}(heint netif_get_port_parent_id (struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h]h)}(hdint netif_get_port_parent_id(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhM&ubj)}(hnetif_get_port_parent_idh]j%)}(hnetif_get_port_parent_idh]hnetif_get_port_parent_id}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhM&ubj)}(hH(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjlsbc.netif_get_port_parent_idasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h struct netdev_phys_item_id *ppidh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetdev_phys_item_idh]hnetdev_phys_item_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_get_port_parent_idasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hppidh]hppid}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h bool recurseh](j)}(hjTh]hbool}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hrecurseh]hrecurse}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjWhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhM&ubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhM&hj>hhubjS)}(hhh]jX)}(h'Get the device's port parent identifierh]h)Get the device’s port parent identifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXA**Parameters** ``struct net_device *dev`` network device ``struct netdev_phys_item_id *ppid`` pointer to a storage for the port's parent identifier ``bool recurse`` allow/disallow recursion to lower devices **Description** Get the devices's port parent identifier. **Return** 0 on success, -errno on failure.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(h[``struct netdev_phys_item_id *ppid`` pointer to a storage for the port's parent identifier h](j)}(h$``struct netdev_phys_item_id *ppid``h]j)}(hj'h]h struct netdev_phys_item_id *ppid}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj!ubj)}(hhh]jX)}(h5pointer to a storage for the port's parent identifierh]h7pointer to a storage for the port’s parent identifier}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hM&hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM&hjubj)}(h;``bool recurse`` allow/disallow recursion to lower devices h](j)}(h``bool recurse``h]j)}(hj`h]h bool recurse}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjZubj)}(hhh]jX)}(h)allow/disallow recursion to lower devicesh]h)allow/disallow recursion to lower devices}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM&hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM&hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubjX)}(h)Get the devices's port parent identifier.h]h+Get the devices’s port parent identifier.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubjX)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_port_same_parent_id (C function)c.netdev_port_same_parent_idhNtauh1hhjhhhNhNubh)}(hhh](h)}(hLbool netdev_port_same_parent_id (struct net_device *a, struct net_device *b)h]h)}(hKbool netdev_port_same_parent_id(struct net_device *a, struct net_device *b)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM&ubj)}(hnetdev_port_same_parent_idh]j%)}(hnetdev_port_same_parent_idh]hnetdev_port_same_parent_id}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM&ubj)}(h,(struct net_device *a, struct net_device *b)h](j)}(hstruct net_device *ah](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jj)sbc.netdev_port_same_parent_idasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hah]ha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hstruct net_device *bh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j}c.netdev_port_same_parent_idasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjgh]hb}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM&ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM&hjhhubjS)}(hhh]jX)}(hDIndicate if two network devices have the same port parent identifierh]hDIndicate if two network devices have the same port parent identifier}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj2 hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjM jxjM jyjzj{uh1hhhhjhNhNubj})}(hq**Parameters** ``struct net_device *a`` first network device ``struct net_device *b`` second network deviceh](jX)}(h**Parameters**h]j)}(hjW h]h Parameters}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjQ ubj)}(hhh](j)}(h.``struct net_device *a`` first network device h](j)}(h``struct net_device *a``h]j)}(hjv h]hstruct net_device *a}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjp ubj)}(hhh]jX)}(hfirst network deviceh]hfirst network device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM&hj ubah}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jhj hM&hjm ubj)}(h.``struct net_device *b`` second network deviceh](j)}(h``struct net_device *b``h]j)}(hj h]hstruct net_device *b}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj ubj)}(hhh]jX)}(hsecond network deviceh]hsecond network device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM&hjm ubeh}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_update_features (C function)c.netdev_update_featureshNtauh1hhjhhhNhNubh)}(hhh](h)}(h4void netdev_update_features (struct net_device *dev)h]h)}(h3void netdev_update_features(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj !hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMb*ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj!hMb*ubj)}(hnetdev_update_featuresh]j%)}(hnetdev_update_featuresh]hnetdev_update_features}(hj*!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj!hMb*ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjF!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjB!ubj)}(h h]h }(hjS!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB!ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjd!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjf!modnameN classnameNjj!)}j$]j')}jj,!sbc.netdev_update_featuresasbuh1hhjB!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB!ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjB!ubj%)}(hdevh]hdev}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>!ubah}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj!hMb*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhj!hMb*ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMb*hj hhubjS)}(hhh]jX)}(hrecalculate device featuresh]hrecalculate device features}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMb*hj!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj!hMb*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` the device to check **Description** Recalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMf*hj!ubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj "h]hstruct net_device *dev}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMc*hj"ubj)}(hhh]jX)}(hthe device to checkh]hthe device to check}(hj#"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMc*hj "ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMc*hj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubjX)}(h**Description**h]j)}(hjE"h]h Description}(hjG"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC"ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMe*hj!ubj )}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]jX)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.}(hj_"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMd*hj["ubah}(h]h ]h"]h$]h&]uh1j hjm"hMd*hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_change_features (C function)c.netdev_change_featureshNtauh1hhjhhhNhNubh)}(hhh](h)}(h4void netdev_change_features (struct net_device *dev)h]h)}(h3void netdev_change_features(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMq*ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj"hMq*ubj)}(hnetdev_change_featuresh]j%)}(hnetdev_change_featuresh]hnetdev_change_features}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj"hMq*ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jj"sbc.netdev_change_featuresasbuh1hhj"ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hdevh]hdev}(hj*#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubah}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj"hMq*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj"hMq*ubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMq*hj"hhubjS)}(hhh]jX)}(hrecalculate device featuresh]hrecalculate device features}(hjT#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMq*hjQ#hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hMq*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjl#jxjl#jyjzj{uh1hhhhjhNhNubj})}(hXa**Parameters** ``struct net_device *dev`` the device to check **Description** Recalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h](jX)}(h**Parameters**h]j)}(hjv#h]h Parameters}(hjx#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt#ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMu*hjp#ubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj#h]hstruct net_device *dev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMr*hj#ubj)}(hhh]jX)}(hthe device to checkh]hthe device to check}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMr*hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMr*hj#ubah}(h]h ]h"]h$]h&]uh1jhjp#ubjX)}(h**Description**h]j)}(hj#h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMt*hjp#ubj )}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]jX)}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMs*hj#ubah}(h]h ]h"]h$]h&]uh1j hj#hMs*hjp#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_stacked_transfer_operstate (C function)"c.netif_stacked_transfer_operstatehNtauh1hhjhhhNhNubh)}(hhh](h)}(h`void netif_stacked_transfer_operstate (const struct net_device *rootdev, struct net_device *dev)h]h)}(h_void netif_stacked_transfer_operstate(const struct net_device *rootdev, struct net_device *dev)h](j)}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*ubj)}(h h]h }(hj.$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj-$hM*ubj)}(h netif_stacked_transfer_operstateh]j%)}(h netif_stacked_transfer_operstateh]h netif_stacked_transfer_operstate}(hj@$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$hhhj-$hM*ubj)}(h:(const struct net_device *rootdev, struct net_device *dev)h](j)}(h const struct net_device *rootdevh](h)}(hjh]hconst}(hj\$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjX$ubj)}(h h]h }(hji$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX$ubh)}(hjh]hstruct}(hjw$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjX$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX$ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jjB$sb"c.netif_stacked_transfer_operstateasbuh1hhjX$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX$ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjX$ubj%)}(hrootdevh]hrootdev}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjT$ubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj %modnameN classnameNjj!)}j$]j$"c.netif_stacked_transfer_operstateasbuh1hhj$ubj)}(h h]h }(hj%%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hj3%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hdevh]hdev}(hj@%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjT$ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj$hhhj-$hM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj$hhhj-$hM*ubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-$hM*hj$hhubjS)}(hhh]jX)}(htransfer operstateh]htransfer operstate}(hjj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjg%hhubah}(h]h ]h"]h$]h&]uh1jRhj$hhhj-$hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhjhNhNubj})}(hXr**Parameters** ``const struct net_device *rootdev`` the root or lower level device to transfer state from ``struct net_device *dev`` the device to transfer operstate to **Description** Transfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj%ubj)}(hhh](j)}(h[``const struct net_device *rootdev`` the root or lower level device to transfer state from h](j)}(h$``const struct net_device *rootdev``h]j)}(hj%h]h const struct net_device *rootdev}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj%ubj)}(hhh]jX)}(h5the root or lower level device to transfer state fromh]h5the root or lower level device to transfer state from}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM*hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM*hj%ubj)}(h?``struct net_device *dev`` the device to transfer operstate to h](j)}(h``struct net_device *dev``h]j)}(hj%h]hstruct net_device *dev}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj%ubj)}(hhh]jX)}(h#the device to transfer operstate toh]h#the device to transfer operstate to}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM*hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM*hj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hj&h]h Description}(hj!&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj%ubj )}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]jX)}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).}(hj9&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj5&ubah}(h]h ]h"]h$]h&]uh1j hjG&hM*hj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdevice (C function)c.register_netdevicehNtauh1hhjhhhNhNubh)}(hhh](h)}(h/int register_netdevice (struct net_device *dev)h]h)}(h.int register_netdevice(struct net_device *dev)h](j)}(hinth]hint}(hjn&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj&hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>+ubj)}(h h]h }(hj}&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj&hhhj|&hM>+ubj)}(hregister_netdeviceh]j%)}(hregister_netdeviceh]hregister_netdevice}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjj&hhhj|&hM>+ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jj&sbc.register_netdeviceasbuh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hdevh]hdev}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubah}(h]h ]h"]h$]h&]j<j=uh1jhjj&hhhj|&hM>+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjf&hhhj|&hM>+ubah}(h]ja&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|&hM>+hjc&hhubjS)}(hhh]jX)}(hregister a network deviceh]hregister a network device}(hj.'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>+hj+'hhubah}(h]h ]h"]h$]h&]uh1jRhjc&hhhj|&hM>+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjF'jxjF'jyjzj{uh1hhhhjhNhNubj})}(hX3**Parameters** ``struct net_device *dev`` device to register **Description** Take a prepared network device structure and make it externally accessible. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.h](jX)}(h**Parameters**h]j)}(hjP'h]h Parameters}(hjR'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN'ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMB+hjJ'ubj)}(hhh]j)}(h.``struct net_device *dev`` device to register h](j)}(h``struct net_device *dev``h]j)}(hjo'h]hstruct net_device *dev}(hjq'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm'ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?+hji'ubj)}(hhh]jX)}(hdevice to registerh]hdevice to register}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM?+hj'ubah}(h]h ]h"]h$]h&]uh1jhji'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM?+hjf'ubah}(h]h ]h"]h$]h&]uh1jhjJ'ubjX)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA+hjJ'ubjX)}(hTake a prepared network device structure and make it externally accessible. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.h](hNTake a prepared network device structure and make it externally accessible. A }(hj'hhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@+hjJ'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdev (C function)c.register_netdevhNtauh1hhjhhhNhNubh)}(hhh](h)}(h,int register_netdev (struct net_device *dev)h]h)}(h+int register_netdev(struct net_device *dev)h](j)}(hinth]hint}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj(hM,ubj)}(hregister_netdevh]j%)}(hregister_netdevh]hregister_netdev}(hj"(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj(hM,ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj>(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:(ubj)}(h h]h }(hjK(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:(ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj\(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^(modnameN classnameNjj!)}j$]j')}jj$(sbc.register_netdevasbuh1hhj:(ubj)}(h h]h }(hj|(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:(ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:(ubj%)}(hdevh]hdev}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6(ubah}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj(hM,ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj(hM,ubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hM,hj'hhubjS)}(hhh]jX)}(hregister a network deviceh]hregister a network device}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj(hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj(hM,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to register **Description** Take a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate. This is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj(ubj)}(hhh]j)}(h.``struct net_device *dev`` device to register h](j)}(h``struct net_device *dev``h]j)}(hj)h]hstruct net_device *dev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj(ubj)}(hhh]jX)}(hdevice to registerh]hdevice to register}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM,hj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hM,hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubjX)}(h**Description**h]j)}(hj=)h]h Description}(hj?)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;)ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj(ubj )}(hXTake a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate. This is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h](jX)}(hXTake a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate.h](hQTake a completed network device structure and add it to the kernel interfaces. A }(hjW)hhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hj_)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW)ubh message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate.}(hjW)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hjS)ubjX)}(hThis is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h]hThis is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.}(hjx)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hjS)ubeh}(h]h ]h"]h$]h&]uh1j hjw)hM,hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_stats (C function)c.dev_get_statshNtauh1hhjhhhNhNubh)}(hhh](h)}(hdstruct rtnl_link_stats64 * dev_get_stats (struct net_device *dev, struct rtnl_link_stats64 *storage)h]h)}(hbstruct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, struct rtnl_link_stats64 *storage)h](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMT-ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj)hMT-ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}j dev_get_statssbc.dev_get_statsasbuh1hhj)hhhj)hMT-ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj)hMT-ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)hhhj)hMT-ubj)}(h dev_get_statsh]j%)}(hj)h]h dev_get_stats}(hj *hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj)hMT-ubj)}(h;(struct net_device *dev, struct rtnl_link_stats64 *storage)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj'*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#*ubj)}(h h]h }(hj4*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#*ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjE*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjG*modnameN classnameNjj!)}j$]j)c.dev_get_statsasbuh1hhj#*ubj)}(h h]h }(hjc*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#*ubj;)}(hj>h]h*}(hjq*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#*ubj%)}(hdevh]hdev}(hj~*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(h!struct rtnl_link_stats64 *storageh](h)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j)c.dev_get_statsasbuh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hstorageh]hstorage}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)hhhj)hMT-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj)hMT-ubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hMT-hj)hhubjS)}(hhh]jX)}(hget network device statisticsh]hget network device statistics}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMT-hj+hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj)hMT-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0+jxj0+jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *storage`` place to store stats **Description** Get network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](jX)}(h**Parameters**h]j)}(hj:+h]h Parameters}(hj<+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8+ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX-hj4+ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hjY+h]hstruct net_device *dev}(hj[+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW+ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMU-hjS+ubj)}(hhh]jX)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjr+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjn+hMU-hjo+ubah}(h]h ]h"]h$]h&]uh1jhjS+ubeh}(h]h ]h"]h$]h&]uh1jhjn+hMU-hjP+ubj)}(h;``struct rtnl_link_stats64 *storage`` place to store stats h](j)}(h%``struct rtnl_link_stats64 *storage``h]j)}(hj+h]h!struct rtnl_link_stats64 *storage}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMV-hj+ubj)}(hhh]jX)}(hplace to store statsh]hplace to store stats}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMV-hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMV-hjP+ubeh}(h]h ]h"]h$]h&]uh1jhj4+ubjX)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX-hj4+ubj )}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h]jX)}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](h+Get network statistics from device. Return }(hj+hhhNhNubj)}(h **storage**h]hstorage}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW-hj+ubah}(h]h ]h"]h$]h&]uh1j hj,hMW-hj4+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fetch_sw_netstats (C function)c.dev_fetch_sw_netstatshNtauh1hhjhhhNhNubh)}(hhh](h)}(hjvoid dev_fetch_sw_netstats (struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h]h)}(hivoid dev_fetch_sw_netstats(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](j)}(hvoidh]hvoid}(hj.,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*,hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj)}(h h]h }(hj=,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*,hhhj<,hM-ubj)}(hdev_fetch_sw_netstatsh]j%)}(hdev_fetch_sw_netstatsh]hdev_fetch_sw_netstats}(hjO,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*,hhhj<,hM-ubj)}(hO(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](j)}(hstruct rtnl_link_stats64 *sh](h)}(hjh]hstruct}(hjk,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjg,ubj)}(h h]h }(hjx,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg,ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jjQ,sbc.dev_fetch_sw_netstatsasbuh1hhjg,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg,ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjg,ubj%)}(hsh]hs}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjc,ubj)}(h0const struct pcpu_sw_netstats __percpu *netstatsh](h)}(hjh]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hpcpu_sw_netstatsh]hpcpu_sw_netstats}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j,c.dev_fetch_sw_netstatsasbuh1hhj,ubj)}(h h]h }(hj4-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh__percpu}(hj,hhhNhNubj)}(h h]h }(hjF-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hjT-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hnetstatsh]hnetstats}(hja-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjc,ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj*,hhhj<,hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&,hhhj<,hM-ubah}(h]j!,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<,hM-hj#,hhubjS)}(hhh]jX)}(h%get per-cpu network device statisticsh]h%get per-cpu network device statistics}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj-hhubah}(h]h ]h"]h$]h&]uh1jRhj#,hhhj<,hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct rtnl_link_stats64 *s`` place to store stats ``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from **Description** Read per-cpu network statistics and populate the related fields in **s**.h](jX)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj-ubj)}(hhh](j)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hj-h]hstruct rtnl_link_stats64 *s}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj-ubj)}(hhh]jX)}(hplace to store statsh]hplace to store stats}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hM-hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM-hj-ubj)}(hX``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from h](j)}(h4``const struct pcpu_sw_netstats __percpu *netstats``h]j)}(hj.h]h0const struct pcpu_sw_netstats __percpu *netstats}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj-ubj)}(hhh]jX)}(h"per-cpu network stats to read fromh]h"per-cpu network stats to read from}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM-hj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj.hM-hj-ubeh}(h]h ]h"]h$]h&]uh1jhj-ubjX)}(h**Description**h]j)}(hj@.h]h Description}(hjB.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>.ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj-ubj )}(hIRead per-cpu network statistics and populate the related fields in **s**.h]jX)}(hjX.h](hCRead per-cpu network statistics and populate the related fields in }(hjZ.hhhNhNubj)}(h**s**h]hs}(hja.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ.ubh.}(hjZ.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjV.ubah}(h]h ]h"]h$]h&]uh1j hjy.hM-hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_tstats64 (C function)c.dev_get_tstats64hNtauh1hhjhhhNhNubh)}(hhh](h)}(hKvoid dev_get_tstats64 (struct net_device *dev, struct rtnl_link_stats64 *s)h]h)}(hJvoid dev_get_tstats64(struct net_device *dev, struct rtnl_link_stats64 *s)h](j)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hM-ubj)}(hdev_get_tstats64h]j%)}(hdev_get_tstats64h]hdev_get_tstats64}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hM-ubj)}(h5(struct net_device *dev, struct rtnl_link_stats64 *s)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jj.sbc.dev_get_tstats64asbuh1hhj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj)/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hdevh]hdev}(hj6/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct rtnl_link_stats64 *sh](h)}(hjh]hstruct}(hjO/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjK/ubj)}(h h]h }(hj\/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK/ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjm/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjo/modnameN classnameNjj!)}j$]j/c.dev_get_tstats64asbuh1hhjK/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjK/ubj%)}(hj,h]hs}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hM-ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM-hj.hhubjS)}(hhh]jX)}(hndo_get_stats64 implementationh]hndo_get_stats64 implementation}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *s`` place to store stats **Description** Populate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](jX)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj/ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hj0h]hstruct net_device *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj 0ubj)}(hhh]jX)}(hdevice to get statistics fromh]hdevice to get statistics from}(hj)0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%0hM-hj&0ubah}(h]h ]h"]h$]h&]uh1jhj 0ubeh}(h]h ]h"]h$]h&]uh1jhj%0hM-hj0ubj)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjI0h]hstruct rtnl_link_stats64 *s}(hjK0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjC0ubj)}(hhh]jX)}(hplace to store statsh]hplace to store stats}(hjb0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^0hM-hj_0ubah}(h]h ]h"]h$]h&]uh1jhjC0ubeh}(h]h ]h"]h$]h&]uh1jhj^0hM-hj0ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj/ubj )}(hZPopulate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h]jX)}(hZPopulate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](h Populate }(hj0hhhNhNubj)}(h**s**h]hs}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj0ubah}(h]h ]h"]h$]h&]uh1j hj0hM-hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_sw_irq_coalesce_default_on (C function)#c.netdev_sw_irq_coalesce_default_onhNtauh1hhjhhhNhNubh)}(hhh](h)}(h?void netdev_sw_irq_coalesce_default_on (struct net_device *dev)h]h)}(h>void netdev_sw_irq_coalesce_default_on(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hM-ubj)}(h!netdev_sw_irq_coalesce_default_onh]j%)}(h!netdev_sw_irq_coalesce_default_onh]h!netdev_sw_irq_coalesce_default_on}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhj0hM-ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj"1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj/1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj@1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjB1modnameN classnameNjj!)}j$]j')}jj1sb#c.netdev_sw_irq_coalesce_default_onasbuh1hhj1ubj)}(h h]h }(hj`1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjn1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hdevh]hdev}(hj{1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj0hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hM-ubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hM-hj0hhubjS)}(hhh]jX)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj1hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` netdev to enable the IRQ coalescing on **Description** Sets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj1ubj)}(hhh]j)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on h](j)}(h``struct net_device *dev``h]j)}(hj1h]hstruct net_device *dev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj1ubj)}(hhh]jX)}(h&netdev to enable the IRQ coalescing onh]h&netdev to enable the IRQ coalescing on}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM-hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM-hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hj!2h]h Description}(hj#2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj1ubjX)}(hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.h]hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_mqs (C function)c.alloc_netdev_mqshNtauh1hhjhhhNhNubh)}(hhh](h)}(hstruct net_device * alloc_netdev_mqs (int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *), unsigned int txqs, unsigned int rxqs)h]h)}(hstruct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](h)}(hjh]hstruct}(hjf2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjb2hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj)}(h h]h }(hjt2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb2hhhjs2hM-ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jalloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhjb2hhhjs2hM-ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb2hhhjs2hM-ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjb2hhhjs2hM-ubj)}(halloc_netdev_mqsh]j%)}(hj2h]halloc_netdev_mqs}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjb2hhhjs2hM-ubj)}(h(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](j)}(hint sizeof_privh](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(h sizeof_privh]h sizeof_priv}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(hconst char *nameh](h)}(hjh]hconst}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj"3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(hcharh]hchar}(hj03hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj>3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjL3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hnameh]hname}(hjY3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(hunsigned char name_assign_typeh](j)}(hunsignedh]hunsigned}(hjr3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn3ubj)}(hcharh]hchar}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn3ubj%)}(hname_assign_typeh]hname_assign_type}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(h!void (*setup)(struct net_device*)h](j)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hjh]h(}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hsetuph]hsetup}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubj;)}(hjh]h)}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj;)}(hjh]h(}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubh)}(hjh]hstruct}(hj!4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj.4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj?4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjA4modnameN classnameNjj!)}j$]j2c.alloc_netdev_mqsasbuh1hhj3ubj;)}(hj>h]h*}(hj]4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj;)}(hjh]h)}(hjj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~4ubj)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~4ubj%)}(htxqsh]htxqs}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(hunsigned int rxqsh](j)}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj%)}(hrxqsh]hrxqs}(hj 5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjb2hhhjs2hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^2hhhjs2hM-ubah}(h]jY2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjs2hM-hj[2hhubjS)}(hhh]jX)}(hallocate network deviceh]hallocate network device}(hj55hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj25hhubah}(h]h ]h"]h$]h&]uh1jRhj[2hhhjs2hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjM5jxjM5jyjzj{uh1hhhhjhNhNubj})}(hX>**Parameters** ``int sizeof_priv`` size of private data to allocate space for ``const char *name`` device name format string ``unsigned char name_assign_type`` origin of device name ``void (*setup)(struct net_device *)`` callback to initialize device ``unsigned int txqs`` the number of TX subqueues to allocate ``unsigned int rxqs`` the number of RX subqueues to allocate **Description** Allocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.h](jX)}(h**Parameters**h]j)}(hjW5h]h Parameters}(hjY5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU5ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjQ5ubj)}(hhh](j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjv5h]hint sizeof_priv}(hjx5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt5ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjp5ubj)}(hhh]jX)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM-hj5ubah}(h]h ]h"]h$]h&]uh1jhjp5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM-hjm5ubj)}(h/``const char *name`` device name format string h](j)}(h``const char *name``h]j)}(hj5h]hconst char *name}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj5ubj)}(hhh]jX)}(hdevice name format stringh]hdevice name format string}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM-hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM-hjm5ubj)}(h9``unsigned char name_assign_type`` origin of device name h](j)}(h"``unsigned char name_assign_type``h]j)}(hj5h]hunsigned char name_assign_type}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj5ubj)}(hhh]jX)}(horigin of device nameh]horigin of device name}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM-hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM-hjm5ubj)}(hE``void (*setup)(struct net_device *)`` callback to initialize device h](j)}(h&``void (*setup)(struct net_device *)``h]j)}(hj!6h]h"void (*setup)(struct net_device *)}(hj#6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj6ubj)}(hhh]jX)}(hcallback to initialize deviceh]hcallback to initialize device}(hj:6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj66hM-hj76ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj66hM-hjm5ubj)}(h=``unsigned int txqs`` the number of TX subqueues to allocate h](j)}(h``unsigned int txqs``h]j)}(hjZ6h]hunsigned int txqs}(hj\6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX6ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjT6ubj)}(hhh]jX)}(h&the number of TX subqueues to allocateh]h&the number of TX subqueues to allocate}(hjs6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjo6hM-hjp6ubah}(h]h ]h"]h$]h&]uh1jhjT6ubeh}(h]h ]h"]h$]h&]uh1jhjo6hM-hjm5ubj)}(h=``unsigned int rxqs`` the number of RX subqueues to allocate h](j)}(h``unsigned int rxqs``h]j)}(hj6h]hunsigned int rxqs}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chIM-hj6ubj)}(hhh]jX)}(h&the number of RX subqueues to allocateh]h&the number of RX subqueues to allocate}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM-hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM-hjm5ubeh}(h]h ]h"]h$]h&]uh1jhjQ5ubjX)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjQ5ubjX)}(hAllocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.h]hAllocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjQ5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfree_netdev (C function) c.free_netdevhNtauh1hhjhhhNhNubh)}(hhh](h)}(h)void free_netdev (struct net_device *dev)h]h)}(h(void free_netdev(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj"7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj!7hM.ubj)}(h free_netdevh]j%)}(h free_netdevh]h free_netdev}(hj47hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj07ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj!7hM.ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjP7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjL7ubj)}(h h]h }(hj]7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL7ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjn7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjp7modnameN classnameNjj!)}j$]j')}jj67sb c.free_netdevasbuh1hhjL7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjL7ubj%)}(hdevh]hdev}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH7ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj!7hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj 7hhhj!7hM.ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!7hM.hj7hhubjS)}(hhh]jX)}(hfree network deviceh]hfree network device}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj7hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj!7hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device **Description** This function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.h](jX)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj7ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj8h]hstruct net_device *dev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj8ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj-8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)8hM.hj*8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj)8hM.hj 8ubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjO8h]h Description}(hjQ8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM8ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj7ubjX)}(hThis function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.h]hThis function does the last stage of destroying an allocated device interface. The reference to the device object is released. If this is the last reference then it will be freed.Must be called in process context.}(hje8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_dummy (C function)c.alloc_netdev_dummyhNtauh1hhjhhhNhNubh)}(hhh](h)}(h8struct net_device * alloc_netdev_dummy (int sizeof_priv)h]h)}(h6struct net_device *alloc_netdev_dummy(int sizeof_priv)h](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hM.ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jalloc_netdev_dummysbc.alloc_netdev_dummyasbuh1hhj8hhhj8hM.ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hM.ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8hhhj8hM.ubj)}(halloc_netdev_dummyh]j%)}(hj8h]halloc_netdev_dummy}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hM.ubj)}(h(int sizeof_priv)h]j)}(hint sizeof_privh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 9ubj%)}(h sizeof_privh]h sizeof_priv}(hj*9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhj8hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhj8hM.ubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hM.hj8hhubjS)}(hhh]jX)}(h+Allocate and initialize a dummy net device.h]h+Allocate and initialize a dummy net device.}(hjT9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjQ9hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhj8hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjl9jxjl9jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``int sizeof_priv`` size of private data to allocate space for **Return** the allocated net_device on success, NULL otherwiseh](jX)}(h**Parameters**h]j)}(hjv9h]h Parameters}(hjx9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt9ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjp9ubj)}(hhh]j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hj9h]hint sizeof_priv}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj9ubj)}(hhh]jX)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hM.hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM.hj9ubah}(h]h ]h"]h$]h&]uh1jhjp9ubjX)}(h **Return**h]j)}(hj9h]hReturn}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjp9ubjX)}(h3the allocated net_device on success, NULL otherwiseh]h3the allocated net_device on success, NULL otherwise}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjp9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsynchronize_net (C function)c.synchronize_nethNtauh1hhjhhhNhNubh)}(hhh](h)}(hvoid synchronize_net (void)h]h)}(hvoid synchronize_net(void)h](j)}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj$:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhj#:hM.ubj)}(hsynchronize_neth]j%)}(hsynchronize_neth]hsynchronize_net}(hj6:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhj#:hM.ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjR:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN:ubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ:ubah}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhj#:hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj :hhhj#:hM.ubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#:hM.hj :hhubjS)}(hhh]jX)}(h*Synchronize with packet receive processingh]h*Synchronize with packet receive processing}(hj|:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjy:hhubah}(h]h ]h"]h$]h&]uh1jRhj :hhhj#:hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``void`` no arguments **Description** Wait for packets currently being received to be done. Does not block later packets from starting.h](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj:ubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hj:h]hvoid}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhj:ubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hKhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hKhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubjX)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhj:ubj )}(haWait for packets currently being received to be done. Does not block later packets from starting.h]jX)}(haWait for packets currently being received to be done. Does not block later packets from starting.h]haWait for packets currently being received to be done. Does not block later packets from starting.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj;ubah}(h]h ]h"]h$]h&]uh1j hj ;hM.hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'unregister_netdevice_queue (C function)c.unregister_netdevice_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hPvoid unregister_netdevice_queue (struct net_device *dev, struct list_head *head)h]h)}(hOvoid unregister_netdevice_queue(struct net_device *dev, struct list_head *head)h](j)}(hvoidh]hvoid}(hjG;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC;hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj)}(h h]h }(hjV;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjC;hhhjU;hM/ubj)}(hunregister_netdevice_queueh]j%)}(hunregister_netdevice_queueh]hunregister_netdevice_queue}(hjh;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjC;hhhjU;hM/ubj)}(h0(struct net_device *dev, struct list_head *head)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjj;sbc.unregister_netdevice_queueasbuh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(hdevh]hdev}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|;ubj)}(hstruct list_head *headh](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(h list_headh]h list_head}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j;c.unregister_netdevice_queueasbuh1hhj;ubj)}(h h]h }(hj2<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj@<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(hheadh]hhead}(hjM<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjC;hhhjU;hM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?;hhhjU;hM/ubah}(h]j:;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjU;hM/hj<;hhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hjw<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjt<hhubah}(h]h ]h"]h$]h&]uh1jRhj<;hhhjU;hM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhjhNhNubj})}(hXk**Parameters** ``struct net_device *dev`` device ``struct list_head *head`` list **Description** This function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later. Callers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj<ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj<h]hstruct net_device *dev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj<ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hM/hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM/hj<ubj)}(h ``struct list_head *head`` list h](j)}(h``struct list_head *head``h]j)}(hj<h]hstruct list_head *head}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj<ubj)}(hhh]jX)}(hlisth]hlist}(hj =hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hM/hj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hM/hj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hj,=h]h Description}(hj.=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*=ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj<ubj )}(hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later. Callers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h](jX)}(hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.h]hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.}(hjF=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjB=ubjX)}(hXCallers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h]hXCallers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.}(hjU=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjB=ubeh}(h]h ]h"]h$]h&]uh1j hjT=hM/hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&unregister_netdevice_many (C function)c.unregister_netdevice_manyhNtauh1hhjhhhNhNubh)}(hhh](h)}(h7void unregister_netdevice_many (struct list_head *head)h]h)}(h6void unregister_netdevice_many(struct list_head *head)h](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhj=hM/ubj)}(hunregister_netdevice_manyh]j%)}(hunregister_netdevice_manyh]hunregister_netdevice_many}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhj=hM/ubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(h list_headh]h list_head}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jj=sbc.unregister_netdevice_manyasbuh1hhj=ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hheadh]hhead}(hj >hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubah}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhj=hM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhj=hM/ubah}(h]j}=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hM/hj=hhubjS)}(hhh]jX)}(hunregister many devicesh]hunregister many devices}(hjJ>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjG>hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj=hM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjb>jxjb>jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct list_head *head`` list of devices **Note** As most callers use a stack allocated list_head, we force a list_del() to make sure stack won't be corrupted later.h](jX)}(h**Parameters**h]j)}(hjl>h]h Parameters}(hjn>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj>ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjf>ubj)}(hhh]j)}(h+``struct list_head *head`` list of devices h](j)}(h``struct list_head *head``h]j)}(hj>h]hstruct list_head *head}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj>ubj)}(hhh]jX)}(hlist of devicesh]hlist of devices}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hM/hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM/hj>ubah}(h]h ]h"]h$]h&]uh1jhjf>ubjX)}(h**Note**h]j)}(hj>h]hNote}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjf>ubj)}(hhh]j)}(hsAs most callers use a stack allocated list_head, we force a list_del() to make sure stack won't be corrupted later.h](j)}(h0As most callers use a stack allocated list_head,h]h0As most callers use a stack allocated list_head,}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj>ubj)}(hhh]jX)}(hBwe force a list_del() to make sure stack won't be corrupted later.h]hDwe force a list_del() to make sure stack won’t be corrupted later.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM/hj>ubah}(h]h ]h"]h$]h&]uh1jhjf>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunregister_netdev (C function)c.unregister_netdevhNtauh1hhjhhhNhNubh)}(hhh](h)}(h/void unregister_netdev (struct net_device *dev)h]h)}(h.void unregister_netdev(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj6?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2?hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj)}(h h]h }(hjE?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2?hhhjD?hM/ubj)}(hunregister_netdevh]j%)}(hunregister_netdevh]hunregister_netdev}(hjW?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2?hhhjD?hM/ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjs?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjo?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo?ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jjY?sbc.unregister_netdevasbuh1hhjo?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo?ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo?ubj%)}(hdevh]hdev}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjk?ubah}(h]h ]h"]h$]h&]j<j=uh1jhj2?hhhjD?hM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.?hhhjD?hM/ubah}(h]j)?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjD?hM/hj+?hhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj?hhubah}(h]h ]h"]h$]h&]uh1jRhj+?hhhjD?hM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjhNhNubj})}(hX@**Parameters** ``struct net_device *dev`` device **Description** This function shuts down a device interface and removes it from the kernel tables. This is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj@ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj7@h]hstruct net_device *dev}(hj9@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5@ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj1@ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjP@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL@hM/hjM@ubah}(h]h ]h"]h$]h&]uh1jhj1@ubeh}(h]h ]h"]h$]h&]uh1jhjL@hM/hj.@ubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjr@h]h Description}(hjt@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp@ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj@ubj )}(hThis function shuts down a device interface and removes it from the kernel tables. This is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h](jX)}(hRThis function shuts down a device interface and removes it from the kernel tables.h]hRThis function shuts down a device interface and removes it from the kernel tables.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj@ubjX)}(hThis is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h]hThis is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj@ubeh}(h]h ]h"]h$]h&]uh1j hj@hM/hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_increment_features (C function)c.netdev_increment_featureshNtauh1hhjhhhNhNubh)}(hhh](h)}(hrnetdev_features_t netdev_increment_features (netdev_features_t all, netdev_features_t one, netdev_features_t mask)h]h)}(hqnetdev_features_t netdev_increment_features(netdev_features_t all, netdev_features_t one, netdev_features_t mask)h](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j')}jnetdev_increment_featuressbc.netdev_increment_featuresasbuh1hhj@hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hM0ubj)}(hnetdev_increment_featuresh]j%)}(hj@h]hnetdev_increment_features}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hM0ubj)}(hF(netdev_features_t all, netdev_features_t one, netdev_features_t mask)h](j)}(hnetdev_features_t allh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hj%AhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Aubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'AmodnameN classnameNjj!)}j$]j@c.netdev_increment_featuresasbuh1hhjAubj)}(h h]h }(hjCAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj%)}(hallh]hall}(hjQAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hnetdev_features_t oneh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hjmAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjoAmodnameN classnameNjj!)}j$]j@c.netdev_increment_featuresasbuh1hhjfAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfAubj%)}(honeh]hone}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hnetdev_features_t maskh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j@c.netdev_increment_featuresasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj%)}(hmaskh]hmask}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhj@hM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj@hM0ubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hM0hj@hhubjS)}(hhh]jX)}(hincrement feature set by oneh]hincrement feature set by one}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjBhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#Bjxj#Bjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``netdev_features_t all`` current feature set ``netdev_features_t one`` new feature set ``netdev_features_t mask`` mask feature set **Description** Computes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h](jX)}(h**Parameters**h]j)}(hj-Bh]h Parameters}(hj/BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Bubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj'Bubj)}(hhh](j)}(h.``netdev_features_t all`` current feature set h](j)}(h``netdev_features_t all``h]j)}(hjLBh]hnetdev_features_t all}(hjNBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjFBubj)}(hhh]jX)}(hcurrent feature seth]hcurrent feature set}(hjeBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjaBhM0hjbBubah}(h]h ]h"]h$]h&]uh1jhjFBubeh}(h]h ]h"]h$]h&]uh1jhjaBhM0hjCBubj)}(h*``netdev_features_t one`` new feature set h](j)}(h``netdev_features_t one``h]j)}(hjBh]hnetdev_features_t one}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjBubj)}(hhh]jX)}(hnew feature seth]hnew feature set}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM0hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM0hjCBubj)}(h,``netdev_features_t mask`` mask feature set h](j)}(h``netdev_features_t mask``h]j)}(hjBh]hnetdev_features_t mask}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjBubj)}(hhh]jX)}(hmask feature seth]hmask feature set}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM0hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM0hjCBubeh}(h]h ]h"]h$]h&]uh1jhj'BubjX)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj'Bubj )}(hComputes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h]jX)}(hComputes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h](hBComputes a new feature set after adding a device with feature set }(hjChhhNhNubj)}(h**one**h]hone}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh/ to the master device with current feature set }(hjChhhNhNubj)}(h**all**h]hall}(hj-ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh+. Will not enable anything that is off in }(hjChhhNhNubj)}(h**mask**h]hmask}(hj?ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh. Returns the new feature set.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjCubah}(h]h ]h"]h$]h&]uh1j hjWChM0hj'Bubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header (C function) c.eth_headerhNtauh1hhjhhhNhNubh)}(hhh](h)}(hint eth_header (struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h]h)}(hint eth_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h](j)}(hinth]hint}(hj~ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzChhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzChhhjChKCubj)}(h eth_headerh]j%)}(h eth_headerh]h eth_header}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzChhhjChKCubj)}(hz(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}jjCsb c.eth_headerasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hskbh]hskb}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj-DhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)Dubj)}(h h]h }(hj:DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)Dubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjKDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMDmodnameN classnameNjj!)}j$]jC c.eth_headerasbuh1hhj)Dubj)}(h h]h }(hjiDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)Dubj;)}(hj>h]h*}(hjwDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)Dubj%)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Dubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hshorth]hshort}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj%)}(htypeh]htype}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hconst void *daddrh](h)}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hvoidh]hvoid}(hj EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hj%EhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hdaddrh]hdaddr}(hj2EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hconst void *saddrh](h)}(hjh]hconst}(hjKEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGEubj)}(h h]h }(hjXEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGEubj)}(hvoidh]hvoid}(hjfEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGEubj)}(h h]h }(hjtEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGEubj%)}(hsaddrh]hsaddr}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hlenh]hlen}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzChhhjChKCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvChhhjChKCubah}(h]jqCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChKChjsChhubjS)}(hhh]jX)}(hcreate the Ethernet headerh]hcreate the Ethernet header}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKChjFhhubah}(h]h ]h"]h$]h&]uh1jRhjsChhhjChKCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"Fjxj"Fjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``struct net_device *dev`` source device ``unsigned short type`` Ethernet type field ``const void *daddr`` destination address (NULL leave destination address) ``const void *saddr`` source address (NULL use device source address) ``unsigned int len`` packet length (<= skb->len) **Description** Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.h](jX)}(h**Parameters**h]j)}(hj,Fh]h Parameters}(hj.FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Fubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhj&Fubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjKFh]hstruct sk_buff *skb}(hjMFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKDhjEFubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjdFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`FhKDhjaFubah}(h]h ]h"]h$]h&]uh1jhjEFubeh}(h]h ]h"]h$]h&]uh1jhj`FhKDhjBFubj)}(h)``struct net_device *dev`` source device h](j)}(h``struct net_device *dev``h]j)}(hjFh]hstruct net_device *dev}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKEhj~Fubj)}(hhh]jX)}(h source deviceh]h source device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhKEhjFubah}(h]h ]h"]h$]h&]uh1jhj~Fubeh}(h]h ]h"]h$]h&]uh1jhjFhKEhjBFubj)}(h,``unsigned short type`` Ethernet type field h](j)}(h``unsigned short type``h]j)}(hjFh]hunsigned short type}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKFhjFubj)}(hhh]jX)}(hEthernet type fieldh]hEthernet type field}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhKFhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhKFhjBFubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hjFh]hconst void *daddr}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjFubj)}(hhh]jX)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj GhKGhj Gubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhj GhKGhjBFubj)}(hF``const void *saddr`` source address (NULL use device source address) h](j)}(h``const void *saddr``h]j)}(hj/Gh]hconst void *saddr}(hj1GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Gubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKHhj)Gubj)}(hhh]jX)}(h/source address (NULL use device source address)h]h/source address (NULL use device source address)}(hjHGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDGhKHhjEGubah}(h]h ]h"]h$]h&]uh1jhj)Gubeh}(h]h ]h"]h$]h&]uh1jhjDGhKHhjBFubj)}(h1``unsigned int len`` packet length (<= skb->len) h](j)}(h``unsigned int len``h]j)}(hjhGh]hunsigned int len}(hjjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKIhjbGubj)}(hhh]jX)}(hpacket length (<= skb->len)h]hpacket length (<= skb->len)}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}GhKIhj~Gubah}(h]h ]h"]h$]h&]uh1jhjbGubeh}(h]h ]h"]h$]h&]uh1jhj}GhKIhjBFubeh}(h]h ]h"]h$]h&]uh1jhj&FubjX)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKKhj&FubjX)}(h\Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.h]h\Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKJhj&Fubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_get_headlen (C function)c.eth_get_headlenhNtauh1hhjhhhNhNubh)}(hhh](h)}(hMu32 eth_get_headlen (const struct net_device *dev, const void *data, u32 len)h]h)}(hLu32 eth_get_headlen(const struct net_device *dev, const void *data, u32 len)h](h)}(hhh]j%)}(hu32h]hu32}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jeth_get_headlensbc.eth_get_headlenasbuh1hhjGhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj)}(h h]h }(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhj HhKuubj)}(heth_get_headlenh]j%)}(hj Hh]heth_get_headlen}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhj HhKuubj)}(h9(const struct net_device *dev, const void *data, u32 len)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj:HhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6Hubj)}(h h]h }(hjGHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Hubh)}(hjh]hstruct}(hjUHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6Hubj)}(h h]h }(hjbHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Hubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjsHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjuHmodnameN classnameNjj!)}j$]jHc.eth_get_headlenasbuh1hhj6Hubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Hubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6Hubj%)}(hdevh]hdev}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Hubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2Hubj)}(hconst void *datah](h)}(hjh]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hdatah]hdata}(hj IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2Hubj)}(hu32 lenh](h)}(hhh]j%)}(hu32h]hu32}(hj%IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'ImodnameN classnameNjj!)}j$]jHc.eth_get_headlenasbuh1hhjIubj)}(h h]h }(hjCIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(hlenh]hlen}(hjQIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2Hubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhj HhKuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj HhKuubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj HhKuhjGhhubjS)}(hhh]jX)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hj{IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhjxIhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj HhKuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhjhNhNubj})}(hX **Parameters** ``const struct net_device *dev`` pointer to network device ``const void *data`` pointer to start of frame ``u32 len`` total length of frame **Description** Make a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.h](jX)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjIubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to network device h](j)}(h ``const struct net_device *dev``h]j)}(hjIh]hconst struct net_device *dev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKvhjIubj)}(hhh]jX)}(hpointer to network deviceh]hpointer to network device}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhKvhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhKvhjIubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hjIh]hconst void *data}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhjIubj)}(hhh]jX)}(hpointer to start of frameh]hpointer to start of frame}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj JhKwhj Jubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj JhKwhjIubj)}(h"``u32 len`` total length of frame h](j)}(h ``u32 len``h]j)}(hj.Jh]hu32 len}(hj0JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Jubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKxhj(Jubj)}(hhh]jX)}(htotal length of frameh]htotal length of frame}(hjGJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjCJhKxhjDJubah}(h]h ]h"]h$]h&]uh1jhj(Jubeh}(h]h ]h"]h$]h&]uh1jhjCJhKxhjIubeh}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjiJh]h Description}(hjkJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgJubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKzhjIubjX)}(hjMake a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.h]hjMake a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_type_trans (C function)c.eth_type_transhNtauh1hhjhhhNhNubh)}(hhh](h)}(hC__be16 eth_type_trans (struct sk_buff *skb, struct net_device *dev)h]h)}(hB__be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev)h](h)}(hhh]j%)}(h__be16h]h__be16}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j')}jeth_type_transsbc.eth_type_transasbuh1hhjJhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhjJhKubj)}(heth_type_transh]j%)}(hjJh]heth_type_trans}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJhhhjJhKubj)}(h-(struct sk_buff *skb, struct net_device *dev)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj KmodnameN classnameNjj!)}j$]jJc.eth_type_transasbuh1hhjJubj)}(h h]h }(hjh]h*}(hjJKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hskbh]hskb}(hjWKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjpKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlKubj)}(h h]h }(hj}KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlKubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]jJc.eth_type_transasbuh1hhjlKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlKubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlKubj%)}(hdevh]hdev}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhjJhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhjJhKubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhKhjJhhubjS)}(hhh]jX)}(h#determine the packet's protocol ID.h]h%determine the packet’s protocol ID.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjKhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjJhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj Ljxj Ljyjzj{uh1hhhhjhNhNubj})}(hX **Parameters** ``struct sk_buff *skb`` received socket data ``struct net_device *dev`` receiving network device **Description** The rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any 'now in use' protocol.h](jX)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj Lubj)}(hhh](j)}(h-``struct sk_buff *skb`` received socket data h](j)}(h``struct sk_buff *skb``h]j)}(hj2Lh]hstruct sk_buff *skb}(hj4LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Lubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj,Lubj)}(hhh]jX)}(hreceived socket datah]hreceived socket data}(hjKLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGLhKhjHLubah}(h]h ]h"]h$]h&]uh1jhj,Lubeh}(h]h ]h"]h$]h&]uh1jhjGLhKhj)Lubj)}(h4``struct net_device *dev`` receiving network device h](j)}(h``struct net_device *dev``h]j)}(hjkLh]hstruct net_device *dev}(hjmLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjeLubj)}(hhh]jX)}(hreceiving network deviceh]hreceiving network device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhKhjLubah}(h]h ]h"]h$]h&]uh1jhjeLubeh}(h]h ]h"]h$]h&]uh1jhjLhKhj)Lubeh}(h]h ]h"]h$]h&]uh1jhj LubjX)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj LubjX)}(hThe rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any 'now in use' protocol.h]hThe rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any ‘now in use’ protocol.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj Lubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header_parse (C function)c.eth_header_parsehNtauh1hhjhhhNhNubh)}(hhh](h)}(hFint eth_header_parse (const struct sk_buff *skb, unsigned char *haddr)h]h)}(hEint eth_header_parse(const struct sk_buff *skb, unsigned char *haddr)h](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.c hKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhKubj)}(heth_header_parseh]j%)}(heth_header_parseh]heth_header_parse}(hj MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhKubj)}(h1(const struct sk_buff *skb, unsigned char *haddr)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj(MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$Mubj)}(h h]h }(hj5MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$Mubh)}(hjh]hstruct}(hjCMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$Mubj)}(h h]h }(hjPMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$Mubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjaMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^Mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcMmodnameN classnameNjj!)}j$]j')}jjMsbc.eth_header_parseasbuh1hhj$Mubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$Mubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$Mubj%)}(hskbh]hskb}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Mubj)}(hunsigned char *haddrh](j)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(hcharh]hchar}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hhaddrh]hhaddr}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Mubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhjLhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjLhKubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhKhjLhhubjS)}(hhh]jX)}(h$extract hardware address from packeth]h$extract hardware address from packet}(hj$NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj!Nhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjLhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjh]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1Oubj%)}(hneighh]hneigh}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1Oubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-Oubj)}(hstruct hh_cache *hhh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hhh_cacheh]hhh_cache}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jOc.eth_header_cacheasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hj PhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hhhh]hhh}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-Oubj)}(h __be16 typeh](h)}(hhh]j%)}(h__be16h]h__be16}(hj5PhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2Pubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7PmodnameN classnameNjj!)}j$]jOc.eth_header_cacheasbuh1hhj.Pubj)}(h h]h }(hjSPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Pubj%)}(htypeh]htype}(hjaPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.Pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-Oubeh}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhjOhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjOhKubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhKhjNhhubjS)}(hhh]jX)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjPhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjOhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct neighbour *neigh`` source neighbour ``struct hh_cache *hh`` destination cache entry ``__be16 type`` Ethernet type field **Description** Create an Ethernet header template from the neighbour.h](jX)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjPubj)}(hhh](j)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hjPh]hconst struct neighbour *neigh}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjPubj)}(hhh]jX)}(hsource neighbourh]hsource neighbour}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhKhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhKhjPubj)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjQh]hstruct hh_cache *hh}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjPubj)}(hhh]jX)}(hdestination cache entryh]hdestination cache entry}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhKhjQubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjQhKhjPubj)}(h$``__be16 type`` Ethernet type field h](j)}(h``__be16 type``h]j)}(hj>Qh]h __be16 type}(hj@QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh]h*}(hjGRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hhhh]hhh}(hjTRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjmRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiRubj)}(h h]h }(hjzRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiRubh)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiRubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]j5Rc.eth_header_cache_updateasbuh1hhjiRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiRubj%)}(hdevh]hdev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hconst unsigned char *haddrh](h)}(hjh]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hj!ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(hcharh]hchar}(hj/ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hj=ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjKShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hhaddrh]hhaddr}(hjXShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjQhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhjQhKubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhKhjQhhubjS)}(hhh]jX)}(hupdate cache entryh]hupdate cache entry}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjShhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjQhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct hh_cache *hh`` destination cache entry ``const struct net_device *dev`` network device ``const unsigned char *haddr`` new hardware address **Description** Called by Address Resolution module to notify changes in address.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjSubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjSh]hstruct hh_cache *hh}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjSubj)}(hhh]jX)}(hdestination cache entryh]hdestination cache entry}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShKhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShKhjSubj)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjSh]hconst struct net_device *dev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjSubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThKhjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThKhjSubj)}(h4``const unsigned char *haddr`` new hardware address h](j)}(h``const unsigned char *haddr``h]j)}(hj5Th]hconst unsigned char *haddr}(hj7ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Tubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj/Tubj)}(hhh]jX)}(hnew hardware addressh]hnew hardware address}(hjNThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJThKhjKTubah}(h]h ]h"]h$]h&]uh1jhj/Tubeh}(h]h ]h"]h$]h&]uh1jhjJThKhjSubeh}(h]h ]h"]h$]h&]uh1jhjSubjX)}(h**Description**h]j)}(hjpTh]h Description}(hjrThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnTubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjSubjX)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hð_header_parse_protocol (C function)c.eth_header_parse_protocolhNtauh1hhjhhhNhNubh)}(hhh](h)}(h<__be16 eth_header_parse_protocol (const struct sk_buff *skb)h]h)}(h;__be16 eth_header_parse_protocol(const struct sk_buff *skb)h](h)}(hhh]j%)}(h__be16h]h__be16}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jeth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhjThhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjThMubj)}(heth_header_parse_protocolh]j%)}(hjTh]heth_header_parse_protocol}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjThMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hjh]hstruct}(hj"UhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hj/UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj@UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=Uubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBUmodnameN classnameNjj!)}j$]jTc.eth_header_parse_protocolasbuh1hhjUubj)}(h h]h }(hj^UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjlUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hskbh]hskb}(hjyUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjThMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhjThhubjS)}(hhh]jX)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjhNhNubj})}(hO**Parameters** ``const struct sk_buff *skb`` packet to extract protocol fromh](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjUubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](j)}(h``const struct sk_buff *skb``h]j)}(hjUh]hconst struct sk_buff *skb}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjUubj)}(hhh]jX)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(eth_prepare_mac_addr_change (C function)c.eth_prepare_mac_addr_changehNtauh1hhjhhhNhNubh)}(hhh](h)}(hAint eth_prepare_mac_addr_change (struct net_device *dev, void *p)h]h)}(h@int eth_prepare_mac_addr_change(struct net_device *dev, void *p)h](j)}(hinth]hint}(hj>VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:VhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjMVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:VhhhjLVhMubj)}(heth_prepare_mac_addr_changeh]j%)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hj_VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[Vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:VhhhjLVhMubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj{VhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwVubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjaVsbc.eth_prepare_mac_addr_changeasbuh1hhjwVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwVubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwVubj%)}(hdevh]hdev}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsVubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hj WhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hjGh]hp}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsVubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:VhhhjLVhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6VhhhjLVhMubah}(h]j1Vah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLVhMhj3VhhubjS)}(hhh]jX)}(hprepare for mac changeh]hprepare for mac change}(hj?WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjh]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLXubj%)}(hdevh]hdev}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHXubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hjGh]hp}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhj!XhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj Xhhhj!XhM ubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!XhM hjXhhubjS)}(hhh]jX)}(hcommit mac changeh]hcommit mac change}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjYhhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhj!XhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,Yjxj,Yjyjzj{uh1hhhhjhNhNubj})}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jX)}(h**Parameters**h]j)}(hj6Yh]h Parameters}(hj8YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Yubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM$hj0Yubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjUYh]hstruct net_device *dev}(hjWYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM!hjOYubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjnYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjYhM!hjkYubah}(h]h ]h"]h$]h&]uh1jhjOYubeh}(h]h ]h"]h$]h&]uh1jhjjYhM!hjLYubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjYh]hvoid *p}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM#hjYubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM"hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM#hjLYubeh}(h]h ]h"]h$]h&]uh1jhj0Yubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_mac_addr (C function)c.eth_mac_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h2int eth_mac_addr (struct net_device *dev, void *p)h]h)}(h1int eth_mac_addr(struct net_device *dev, void *p)h](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjYhM-ubj)}(h eth_mac_addrh]j%)}(h eth_mac_addrh]h eth_mac_addr}(hj ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjYhM-ubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj%ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!Zubj)}(h h]h }(hj2ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!Zubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjCZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@Zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEZmodnameN classnameNjj!)}j$]j')}jj Zsbc.eth_mac_addrasbuh1hhj!Zubj)}(h h]h }(hjcZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!Zubj;)}(hj>h]h*}(hjqZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!Zubj%)}(hdevh]hdev}(hj~ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!Zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hjGh]hp}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjYhM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjYhM-ubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhM-hjYhhubjS)}(hhh]jX)}(h!set new Ethernet hardware addressh]h!set new Ethernet hardware address}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hjZhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjYhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``void *p`` socket address **Description** Change hardware address of device. This doesn't change hardware matching, so needs to be overridden for most real devices.h](jX)}(h**Parameters**h]j)}(hj [h]h Parameters}(hj [hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj [ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM1hj[ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj*[h]hstruct net_device *dev}(hj,[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj([ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM.hj$[ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjC[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?[hM.hj@[ubah}(h]h ]h"]h$]h&]uh1jhj$[ubeh}(h]h ]h"]h$]h&]uh1jhj?[hM.hj![ubj)}(h``void *p`` socket address h](j)}(h ``void *p``h]j)}(hjc[h]hvoid *p}(hje[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM/hj][ubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hj|[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjx[hM/hjy[ubah}(h]h ]h"]h$]h&]uh1jhj][ubeh}(h]h ]h"]h$]h&]uh1jhjx[hM/hj![ubeh}(h]h ]h"]h$]h&]uh1jhj[ubjX)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM1hj[ubjX)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM0hj[ubjX)}(hWThis doesn't change hardware matching, so needs to be overridden for most real devices.h]hYThis doesn’t change hardware matching, so needs to be overridden for most real devices.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM2hj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_setup (C function) c.ether_setuphNtauh1hhjhhhNhNubh)}(hhh](h)}(h)void ether_setup (struct net_device *dev)h]h)}(h(void ether_setup(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMTubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhj\hMTubj)}(h ether_setuph]j%)}(h ether_setuph]h ether_setup}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhj\hMTubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj/\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+\ubj)}(h h]h }(hj<\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+\ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjM\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjO\modnameN classnameNjj!)}j$]j')}jj\sb c.ether_setupasbuh1hhj+\ubj)}(h h]h }(hjm\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+\ubj;)}(hj>h]h*}(hj{\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+\ubj%)}(hdevh]hdev}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'\ubah}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhj\hMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhj\hMTubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMThj[hhubjS)}(hhh]jX)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMThj\hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhj\hMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Fill in the fields of the device structure with Ethernet-generic values.h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMXhj\ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj\h]hstruct net_device *dev}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhj\ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj ]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMUhj ]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj]hMUhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hj.]h]h Description}(hj0]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,]ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMWhj\ubjX)}(hHFill in the fields of the device structure with Ethernet-generic values.h]hHFill in the fields of the device structure with Ethernet-generic values.}(hjD]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMVhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_etherdev_mqs (C function)c.alloc_etherdev_mqshNtauh1hhjhhhNhNubh)}(hhh](h)}(h^struct net_device * alloc_etherdev_mqs (int sizeof_priv, unsigned int txqs, unsigned int rxqs)h]h)}(h\struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](h)}(hjh]hstruct}(hjs]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjo]hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo]hhhj]hMmubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jalloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhjo]hhhj]hMmubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo]hhhj]hMmubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo]hhhj]hMmubj)}(halloc_etherdev_mqsh]j%)}(hj]h]halloc_etherdev_mqs}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjo]hhhj]hMmubj)}(h7(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j)}(hint sizeof_privh](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj%)}(h sizeof_privh]h sizeof_priv}(hj ^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(hj"^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj0^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(hinth]hint}(hj>^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hjL^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(htxqsh]htxqs}(hjZ^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hunsigned int rxqsh](j)}(hunsignedh]hunsigned}(hjs^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo^ubj)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo^ubj%)}(hrxqsh]hrxqs}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjo]hhhj]hMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjk]hhhj]hMmubah}(h]jf]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMmhjh]hhubjS)}(hhh]jX)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhj^hhubah}(h]h ]h"]h$]h&]uh1jRhjh]hhhj]hMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjhNhNubj})}(hX2**Parameters** ``int sizeof_priv`` Size of additional driver-private structure to be allocated for this Ethernet device ``unsigned int txqs`` The number of TX queues this device has. ``unsigned int rxqs`` The number of RX queues this device has. **Description** Fill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device. Constructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.h](jX)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj^ubj)}(hhh](j)}(hi``int sizeof_priv`` Size of additional driver-private structure to be allocated for this Ethernet device h](j)}(h``int sizeof_priv``h]j)}(hj_h]hint sizeof_priv}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohj_ubj)}(hhh]jX)}(hTSize of additional driver-private structure to be allocated for this Ethernet deviceh]hTSize of additional driver-private structure to be allocated for this Ethernet device}(hj/_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhj,_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj+_hMohj _ubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hjP_h]hunsigned int txqs}(hjR_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjJ_ubj)}(hhh]jX)}(h(The number of TX queues this device has.h]h(The number of TX queues this device has.}(hji_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhje_hMphjf_ubah}(h]h ]h"]h$]h&]uh1jhjJ_ubeh}(h]h ]h"]h$]h&]uh1jhje_hMphj _ubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hj_h]hunsigned int rxqs}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj_ubj)}(hhh]jX)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMqhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMqhj _ubeh}(h]h ]h"]h$]h&]uh1jhj^ubjX)}(h**Description**h]j)}(hj_h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMshj^ubjX)}(hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.h]hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMrhj^ubjX)}(hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.h]hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMuhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(platform_get_ethdev_address (C function)c.platform_get_ethdev_addresshNtauh1hhjhhhNhNubh)}(hhh](h)}(hOint platform_get_ethdev_address (struct device *dev, struct net_device *netdev)h]h)}(hNint platform_get_ethdev_address(struct device *dev, struct net_device *netdev)h](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hj'`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhj&`hMubj)}(hplatform_get_ethdev_addressh]j%)}(hplatform_get_ethdev_addressh]hplatform_get_ethdev_address}(hj9`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhj&`hMubj)}(h/(struct device *dev, struct net_device *netdev)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjU`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQ`ubj)}(h h]h }(hjb`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ`ubh)}(hhh]j%)}(hdeviceh]hdevice}(hjs`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetju`modnameN classnameNjj!)}j$]j')}jj;`sbc.platform_get_ethdev_addressasbuh1hhjQ`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ`ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQ`ubj%)}(hdevh]hdev}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjM`ubj)}(hstruct net_device *netdevh](h)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j`c.platform_get_ethdev_addressasbuh1hhj`ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hnetdevh]hnetdev}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjM`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhj&`hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhj&`hMubah}(h]j `ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&`hMhj `hhubjS)}(hhh]jX)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjHahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjEahhubah}(h]h ]h"]h$]h&]uh1jRhj `hhhj&`hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`ajxj`ajyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct device *dev`` Pointer to the device ``struct net_device *netdev`` Pointer to netdev to write the address to **Description** Wrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.h](jX)}(h**Parameters**h]j)}(hjjah]h Parameters}(hjlahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhaubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjdaubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjah]hstruct device *dev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjaubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjaubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjah]hstruct net_device *netdev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjaubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjaubeh}(h]h ]h"]h$]h&]uh1jhjdaubjX)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjdaubjX)}(hdWrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.h]hdWrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjdaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_get_mac_address (C function)c.fwnode_get_mac_addresshNtauh1hhjhhhNhNubh)}(hhh](h)}(hEint fwnode_get_mac_address (struct fwnode_handle *fwnode, char *addr)h]h)}(hDint fwnode_get_mac_address(struct fwnode_handle *fwnode, char *addr)h](j)}(hinth]hint}(hjBbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>bhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAubj)}(h h]h }(hjQbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>bhhhjPbhMAubj)}(hfwnode_get_mac_addressh]j%)}(hfwnode_get_mac_addressh]hfwnode_get_mac_address}(hjcbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_bubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>bhhhjPbhMAubj)}(h*(struct fwnode_handle *fwnode, char *addr)h](j)}(hstruct fwnode_handle *fwnodeh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{bubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jjebsbc.fwnode_get_mac_addressasbuh1hhj{bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{bubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{bubj%)}(hfwnodeh]hfwnode}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwbubj)}(h char *addrh](j)}(hcharh]hchar}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hj chhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(haddrh]haddr}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwbubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>bhhhjPbhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:bhhhjPbhMAubah}(h]j5bah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPbhMAhj7bhhubjS)}(hhh]jX)}(h"Get the MAC from the firmware nodeh]h"Get the MAC from the firmware node}(hjDchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAhjAchhubah}(h]h ]h"]h$]h&]uh1jRhj7bhhhjPbhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\cjxj\cjyjzj{uh1hhhhjhNhNubj})}(hX7**Parameters** ``struct fwnode_handle *fwnode`` Pointer to the firmware node ``char *addr`` Address of buffer to store the MAC in **Description** Search the firmware node for the best MAC address to use. 'mac-address' is checked first, because that is supposed to contain to "most recent" MAC address. If that isn't set, then 'local-mac-address' is checked next, because that is the default address. If that isn't set, then the obsolete 'address' is checked, just in case we're using an old device tree. Note that the 'address' property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address. All-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define 'mac-address' and 'local-mac-address', with zero MAC addresses. Some older U-Boots only initialized 'local-mac-address'. In this case, the real MAC is in 'local-mac-address', and 'mac-address' exists but is all zeros.h](jX)}(h**Parameters**h]j)}(hjfch]h Parameters}(hjhchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdcubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMEhj`cubj)}(hhh](j)}(h>``struct fwnode_handle *fwnode`` Pointer to the firmware node h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hjch]hstruct fwnode_handle *fwnode}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhjcubj)}(hhh]jX)}(hPointer to the firmware nodeh]hPointer to the firmware node}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMBhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMBhj|cubj)}(h5``char *addr`` Address of buffer to store the MAC in h](j)}(h``char *addr``h]j)}(hjch]h char *addr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMChjcubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMChjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMChj|cubeh}(h]h ]h"]h$]h&]uh1jhj`cubjX)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMEhj`cubjX)}(hXgSearch the firmware node for the best MAC address to use. 'mac-address' is checked first, because that is supposed to contain to "most recent" MAC address. If that isn't set, then 'local-mac-address' is checked next, because that is the default address. If that isn't set, then the obsolete 'address' is checked, just in case we're using an old device tree.#h]hX}Search the firmware node for the best MAC address to use. ‘mac-address’ is checked first, because that is supposed to contain to “most recent” MAC address. If that isn’t set, then ‘local-mac-address’ is checked next, because that is the default address. If that isn’t set, then the obsolete ‘address’ is checked, just in case we’re using an old device tree.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMDhj`cubjX)}(hNote that the 'address' property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address.h]hNote that the ‘address’ property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMJhj`cubjX)}(hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define 'mac-address' and 'local-mac-address', with zero MAC addresses. Some older U-Boots only initialized 'local-mac-address'. In this case, the real MAC is in 'local-mac-address', and 'mac-address' exists but is all zeros.h]hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define ‘mac-address’ and ‘local-mac-address’, with zero MAC addresses. Some older U-Boots only initialized ‘local-mac-address’. In this case, the real MAC is in ‘local-mac-address’, and ‘mac-address’ exists but is all zeros.}(hj-dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMNhj`cubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#device_get_mac_address (C function)c.device_get_mac_addresshNtauh1hhjhhhNhNubh)}(hhh](h)}(h;int device_get_mac_address (struct device *dev, char *addr)h]h)}(h:int device_get_mac_address(struct device *dev, char *addr)h](j)}(hinth]hint}(hj\dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXdhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbubj)}(h h]h }(hjkdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXdhhhjjdhMbubj)}(hdevice_get_mac_addressh]j%)}(hdevice_get_mac_addressh]hdevice_get_mac_address}(hj}dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjydubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXdhhhjjdhMbubj)}(h (struct device *dev, char *addr)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hdeviceh]hdevice}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jjdsbc.device_get_mac_addressasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hdevh]hdev}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(h char *addrh](j)}(hcharh]hchar}(hj ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hj'ehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(haddrh]haddr}(hj4ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXdhhhjjdhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjTdhhhjjdhMbubah}(h]jOdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjdhMbhjQdhhubjS)}(hhh]jX)}(hGet the MAC for a given deviceh]hGet the MAC for a given device}(hj^ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbhj[ehhubah}(h]h ]h"]h$]h&]uh1jRhjQdhhhjjdhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvejxjvejyjzj{uh1hhhhjhNhNubj})}(hv**Parameters** ``struct device *dev`` Pointer to the device ``char *addr`` Address of buffer to store the MAC inh](jX)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~eubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMfhjzeubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjeh]hstruct device *dev}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMchjeubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMchjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMchjeubj)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hjeh]h char *addr}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMehjeubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMdhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMehjeubeh}(h]h ]h"]h$]h&]uh1jhjzeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&device_get_ethdev_address (C function)c.device_get_ethdev_addresshNtauh1hhjhhhNhNubh)}(hhh](h)}(hMint device_get_ethdev_address (struct device *dev, struct net_device *netdev)h]h)}(hLint device_get_ethdev_address(struct device *dev, struct net_device *netdev)h](j)}(hinth]hint}(hj2fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.fhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj)}(h h]h }(hjAfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.fhhhj@fhMmubj)}(hdevice_get_ethdev_addressh]j%)}(hdevice_get_ethdev_addressh]hdevice_get_ethdev_address}(hjSfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.fhhhj@fhMmubj)}(h/(struct device *dev, struct net_device *netdev)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjofhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkfubj)}(h h]h }(hj|fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkfubh)}(hhh]j%)}(hdeviceh]hdevice}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jjUfsbc.device_get_ethdev_addressasbuh1hhjkfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkfubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkfubj%)}(hdevh]hdev}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgfubj)}(hstruct net_device *netdevh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jfc.device_get_ethdev_addressasbuh1hhjfubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hj+ghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hnetdevh]hnetdev}(hj8ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgfubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.fhhhj@fhMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*fhhhj@fhMmubah}(h]j%fah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@fhMmhj'fhhubjS)}(hhh]jX)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjbghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhj_ghhubah}(h]h ]h"]h$]h&]uh1jRhj'fhhhj@fhMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzgjxjzgjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct device *dev`` Pointer to the device ``struct net_device *netdev`` Pointer to netdev to write the address to **Description** Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.h](jX)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj~gubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjgh]hstruct device *dev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjgubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMnhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMnhjgubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjgh]hstruct net_device *netdev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjgubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMohjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMohjgubeh}(h]h ]h"]h$]h&]uh1jhj~gubjX)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj~gubjX)}(h^Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.h]h^Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.}(hj-hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphj~gubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_on (C function)c.netif_carrier_onhNtauh1hhjhhhNhNubh)}(hhh](h)}(h.void netif_carrier_on (struct net_device *dev)h]h)}(h-void netif_carrier_on(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj\hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMAubj)}(h h]h }(hjkhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhhjjhhMAubj)}(hnetif_carrier_onh]j%)}(hnetif_carrier_onh]hnetif_carrier_on}(hj}hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhhjjhhMAubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jjhsbc.netif_carrier_onasbuh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hdevh]hdev}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubah}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhhjjhhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhhjjhhMAubah}(h]jOhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhhMAhjQhhhubjS)}(hhh]jX)}(h set carrierh]h set carrier}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMAhjihhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhhjjhhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4ijxj4ijyjzj{uh1hhhhjhNhNubj})}(hy**Parameters** ``struct net_device *dev`` network device **Description** Device has detected acquisition of carrier.h](jX)}(h**Parameters**h]j)}(hj>ih]h Parameters}(hj@ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh]h*}(hjfjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hdevh]hdev}(hjsjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubah}(h]h ]h"]h$]h&]j<j=uh1jhjihhhjihMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjihMTubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihMThjihhubjS)}(hhh]jX)}(h clear carrierh]h clear carrier}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMThjjhhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjihMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhjhNhNubj})}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss of carrier.h](jX)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMXhjjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjjh]hstruct net_device *dev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMUhjjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMUhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMUhjjubah}(h]h ]h"]h$]h&]uh1jhjjubjX)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMWhjjubjX)}(h$Device has detected loss of carrier.h]h$Device has detected loss of carrier.}(hj/khhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMVhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_carrier_event (C function)c.netif_carrier_eventhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void netif_carrier_event (struct net_device *dev)h]h)}(h0void netif_carrier_event(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj^khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZkhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMeubj)}(h h]h }(hjmkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZkhhhjlkhMeubj)}(hnetif_carrier_eventh]j%)}(hnetif_carrier_eventh]hnetif_carrier_event}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{kubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZkhhhjlkhMeubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jjksbc.netif_carrier_eventasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhjZkhhhjlkhMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVkhhhjlkhMeubah}(h]jQkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlkhMehjSkhhubjS)}(hhh]jX)}(hreport carrier state eventh]hreport carrier state event}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMehjlhhubah}(h]h ]h"]h$]h&]uh1jRhjSkhhhjlkhMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6ljxj6ljyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device **Description** Device has detected a carrier event but the carrier state wasn't changed. Use in drivers when querying carrier state asynchronously, to avoid missing events (link flaps) if link recovers before it's queried.h](jX)}(h**Parameters**h]j)}(hj@lh]h Parameters}(hjBlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>lubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMihj:lubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj_lh]hstruct net_device *dev}(hjalhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]lubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMfhjYlubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjxlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjtlhMfhjulubah}(h]h ]h"]h$]h&]uh1jhjYlubeh}(h]h ]h"]h$]h&]uh1jhjtlhMfhjVlubah}(h]h ]h"]h$]h&]uh1jhj:lubjX)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhhj:lubjX)}(hDevice has detected a carrier event but the carrier state wasn't changed. Use in drivers when querying carrier state asynchronously, to avoid missing events (link flaps) if link recovers before it's queried.h]hDevice has detected a carrier event but the carrier state wasn’t changed. Use in drivers when querying carrier state asynchronously, to avoid missing events (link flaps) if link recovers before it’s queried.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMghj:lubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%is_link_local_ether_addr (C function)c.is_link_local_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h.bool is_link_local_ether_addr (const u8 *addr)h]h)}(h-bool is_link_local_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhKQubj)}(his_link_local_ether_addrh]j%)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhKQubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj(mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hu8h]hu8}(hj9mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;mmodnameN classnameNjj!)}j$]j')}jjmsbc.is_link_local_ether_addrasbuh1hhjmubj)}(h h]h }(hjYmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjgmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(haddrh]haddr}(hjtmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubah}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhKQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhKQubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhKQhjlhhubjS)}(hhh]jX)}(h1Determine if given Ethernet address is link-localh]h1Determine if given Ethernet address is link-local}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQhjmhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhKQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering. **Description** Please note: addr must be aligned to u16.h](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKUhjmubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjmh]hconst u8 *addr}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRhjmubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhKRhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhKRhjmubah}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h **Return**h]j)}(hjnh]hReturn}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKThjmubjX)}(hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.h]hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.}(hj0nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKThjmubjX)}(h**Description**h]j)}(hjAnh]h Description}(hjCnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?nubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKWhjmubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjWnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKVhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_zero_ether_addr (C function)c.is_zero_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h(bool is_zero_ether_addr (const u8 *addr)h]h)}(h'bool is_zero_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhKhubj)}(his_zero_ether_addrh]j%)}(his_zero_ether_addrh]his_zero_ether_addr}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhKhubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(hu8h]hu8}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jjnsbc.is_zero_ether_addrasbuh1hhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(haddrh]haddr}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubah}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~nhhhjnhKhubah}(h]jynah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhKhhj{nhhubjS)}(hhh]jX)}(h0Determine if give Ethernet address is all zeros.h]h0Determine if give Ethernet address is all zeros.}(hjEohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhhjBohhubah}(h]h ]h"]h$]h&]uh1jRhj{nhhhjnhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]ojxj]ojyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is all zeroes. **Description** Please note: addr must be aligned to u16.h](jX)}(h**Parameters**h]j)}(hjgoh]h Parameters}(hjiohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeoubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjaoubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjoh]hconst u8 *addr}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKihjoubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKihjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohKihj}oubah}(h]h ]h"]h$]h&]uh1jhjaoubjX)}(h **Return**h]j)}(hjoh]hReturn}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKkhjaoubjX)}(h"true if the address is all zeroes.h]h"true if the address is all zeroes.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKkhjaoubjX)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjaoubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjaoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_multicast_ether_addr (C function)c.is_multicast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h-bool is_multicast_ether_addr (const u8 *addr)h]h)}(h,bool is_multicast_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hj-phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)phhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{ubj)}(h h]h }(hj;phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)phhhj:phK{ubj)}(his_multicast_ether_addrh]j%)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjMphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)phhhj:phK{ubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjiphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjepubj)}(h h]h }(hjvphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjepubh)}(hhh]j%)}(hu8h]hu8}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjOpsbc.is_multicast_ether_addrasbuh1hhjepubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjepubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjepubj%)}(haddrh]haddr}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjepubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjapubah}(h]h ]h"]h$]h&]j<j=uh1jhj)phhhj:phK{ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%phhhj:phK{ubah}(h]j pah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:phK{hj"phhubjS)}(hhh]jX)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{hjphhubah}(h]h ]h"]h$]h&]uh1jRhj"phhhj:phK{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a multicast address. By definition the broadcast address is also a multicast address.h](jX)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj qubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjqubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hj-qh]hconst u8 *addr}(hj/qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+qubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hj'qubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjFqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBqhK|hjCqubah}(h]h ]h"]h$]h&]uh1jhj'qubeh}(h]h ]h"]h$]h&]uh1jhjBqhK|hj$qubah}(h]h ]h"]h$]h&]uh1jhjqubjX)}(h **Return**h]j)}(hjhqh]hReturn}(hjjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfqubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK~hjqubjX)}(hltrue if the address is a multicast address. By definition the broadcast address is also a multicast address.h]hltrue if the address is a multicast address. By definition the broadcast address is also a multicast address.}(hj~qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK~hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_local_ether_addr (C function)c.is_local_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h)bool is_local_ether_addr (const u8 *addr)h]h)}(h(bool is_local_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjqhKubj)}(his_local_ether_addrh]j%)}(his_local_ether_addrh]his_local_ether_addr}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjqhKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(hu8h]hu8}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj rmodnameN classnameNjj!)}j$]j')}jjqsbc.is_local_ether_addrasbuh1hhjqubj)}(h h]h }(hj'rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hj5rhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(haddrh]haddr}(hjBrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubah}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjqhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjqhKubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhKhjqhhubjS)}(hhh]jX)}(hEDetermine if the Ethernet address is locally-assigned one (IEEE 802).h]hEDetermine if the Ethernet address is locally-assigned one (IEEE 802).}(hjlrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjirhhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjqhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a local address.h](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjrubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjrh]hconst u8 *addr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjrubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjrubjX)}(h **Return**h]j)}(hjrh]hReturn}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjrubjX)}(h'true if the address is a local address.h]h'true if the address is a local address.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_broadcast_ether_addr (C function)c.is_broadcast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h-bool is_broadcast_ether_addr (const u8 *addr)h]h)}(h,bool is_broadcast_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hj-shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)shhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hj;shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)shhhj:shKubj)}(his_broadcast_ether_addrh]j%)}(his_broadcast_ether_addrh]his_broadcast_ether_addr}(hjMshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)shhhj:shKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjishhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjesubj)}(h h]h }(hjvshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjesubh)}(hhh]j%)}(hu8h]hu8}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jjOssbc.is_broadcast_ether_addrasbuh1hhjesubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjesubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjesubj%)}(haddrh]haddr}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjesubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjasubah}(h]h ]h"]h$]h&]j<j=uh1jhj)shhhj:shKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%shhhj:shKubah}(h]j sah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:shKhj"shhubjS)}(hhh]jX)}(h.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjshhubah}(h]h ]h"]h$]h&]uh1jRhj"shhhj:shKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is the broadcast address. **Description** Please note: addr must be aligned to u16.h](jX)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj tubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjtubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hj-th]hconst u8 *addr}(hj/thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+tubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj'tubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjFthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBthKhjCtubah}(h]h ]h"]h$]h&]uh1jhj'tubeh}(h]h ]h"]h$]h&]uh1jhjBthKhj$tubah}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h **Return**h]j)}(hjhth]hReturn}(hjjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjftubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjtubjX)}(h-true if the address is the broadcast address.h]h-true if the address is the broadcast address.}(hj~thhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjtubjX)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjtubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"is_unicast_ether_addr (C function)c.is_unicast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h+bool is_unicast_ether_addr (const u8 *addr)h]h)}(h*bool is_unicast_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjthKubj)}(his_unicast_ether_addrh]j%)}(his_unicast_ether_addrh]his_unicast_ether_addr}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjthKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj uubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubh)}(hhh]j%)}(hu8h]hu8}(hj.uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+uubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0umodnameN classnameNjj!)}j$]j')}jjtsbc.is_unicast_ether_addrasbuh1hhj uubj)}(h h]h }(hjNuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubj;)}(hj>h]h*}(hj\uhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj uubj%)}(haddrh]haddr}(hjiuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubah}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjthKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjthKubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthKhjthhubjS)}(hhh]jX)}(h,Determine if the Ethernet address is unicasth]h,Determine if the Ethernet address is unicast}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjuhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a unicast address.h](jX)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjuubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjuh]hconst u8 *addr}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjuubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhKhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKhjuubah}(h]h ]h"]h$]h&]uh1jhjuubjX)}(h **Return**h]j)}(hjvh]hReturn}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj vubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjuubjX)}(h)true if the address is a unicast address.h]h)true if the address is a unicast address.}(hj%vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_valid_ether_addr (C function)c.is_valid_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h)bool is_valid_ether_addr (const u8 *addr)h]h)}(h(bool is_valid_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjTvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPvhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjbvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPvhhhjavhKubj)}(his_valid_ether_addrh]j%)}(his_valid_ether_addrh]his_valid_ether_addr}(hjtvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPvhhhjavhKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hu8h]hu8}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jjvvsbc.is_valid_ether_addrasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(haddrh]haddr}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubah}(h]h ]h"]h$]h&]j<j=uh1jhjPvhhhjavhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLvhhhjavhKubah}(h]jGvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjavhKhjIvhhubjS)}(hhh]jX)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjIvhhhjavhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+wjxj+wjyjzj{uh1hhhhjhNhNubj})}(hXC**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF. Please note: addr must be aligned to u16. **Return** true if the address is valid.h](jX)}(h**Parameters**h]j)}(hj5wh]h Parameters}(hj7whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3wubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj/wubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjTwh]hconst u8 *addr}(hjVwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRwubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjNwubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjmwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjiwhKhjjwubah}(h]h ]h"]h$]h&]uh1jhjNwubeh}(h]h ]h"]h$]h&]uh1jhjiwhKhjKwubah}(h]h ]h"]h$]h&]uh1jhj/wubjX)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj/wubjX)}(hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.h]hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj/wubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj/wubjX)}(h **Return**h]j)}(hjwh]hReturn}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj/wubjX)}(htrue if the address is valid.h]htrue if the address is valid.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj/wubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_proto_is_802_3 (C function)c.eth_proto_is_802_3hNtauh1hhjhhhNhNubh)}(hhh](h)}(h&bool eth_proto_is_802_3 (__be16 proto)h]h)}(h%bool eth_proto_is_802_3(__be16 proto)h](j)}(hjTh]hbool}(hj xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjxhKubj)}(heth_proto_is_802_3h]j%)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hj*xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxhhhjxhKubj)}(h(__be16 proto)h]j)}(h __be16 protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjIxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKxmodnameN classnameNjj!)}j$]j')}jj,xsbc.eth_proto_is_802_3asbuh1hhjBxubj)}(h h]h }(hjixhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBxubj%)}(hprotoh]hproto}(hjwxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>xubah}(h]h ]h"]h$]h&]j<j=uh1jhjxhhhjxhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjxhKubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhKhjwhhubjS)}(hhh]jX)}(h3Determine if a given Ethertype/length is a protocolh]h3Determine if a given Ethertype/length is a protocol}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxhhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjxhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``__be16 proto`` Ethertype/length value to be tested **Description** Check that the value from the Ethertype/length field is a valid Ethertype. **Return** true if the valid is an 802.3 supported Ethertype.h](jX)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxubj)}(hhh]j)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hjxh]h __be16 proto}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxubj)}(hhh]jX)}(h#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjxubjX)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxubjX)}(hJCheck that the value from the Ethertype/length field is a valid Ethertype.h]hJCheck that the value from the Ethertype/length field is a valid Ethertype.}(hj3yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxubjX)}(h **Return**h]j)}(hjDyh]hReturn}(hjFyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjByubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxubjX)}(h2true if the valid is an 802.3 supported Ethertype.h]h2true if the valid is an 802.3 supported Ethertype.}(hjZyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_random_addr (C function)c.eth_random_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(hvoid eth_random_addr (u8 *addr)h]h)}(hvoid eth_random_addr(u8 *addr)h](j)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhKubj)}(heth_random_addrh]j%)}(heth_random_addrh]heth_random_addr}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjyhKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jjysbc.eth_random_addrasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(haddrh]haddr}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubah}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjyhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjyhKubah}(h]j|yah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhKhj~yhhubjS)}(hhh]jX)}(h2Generate software assigned random Ethernet addressh]h2Generate software assigned random Ethernet address}(hj.zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj+zhhubah}(h]h ]h"]h$]h&]uh1jRhj~yhhhjyhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFzjxjFzjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.h](jX)}(h**Parameters**h]j)}(hjPzh]h Parameters}(hjRzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNzubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjJzubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjozh]hu8 *addr}(hjqzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmzubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjizubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhKhjzubah}(h]h ]h"]h$]h&]uh1jhjizubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjfzubah}(h]h ]h"]h$]h&]uh1jhjJzubjX)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjJzubjX)}(hbGenerate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.h]hbGenerate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjJzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_broadcast_addr (C function)c.eth_broadcast_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h"void eth_broadcast_addr (u8 *addr)h]h)}(h!void eth_broadcast_addr(u8 *addr)h](j)}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjzhKubj)}(heth_broadcast_addrh]j%)}(heth_broadcast_addrh]heth_broadcast_addr}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj {ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjzhKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hj/{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1{modnameN classnameNjj!)}j$]j')}jj{sbc.eth_broadcast_addrasbuh1hhj({ubj)}(h h]h }(hjO{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj({ubj;)}(hj>h]h*}(hj]{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj({ubj%)}(haddrh]haddr}(hjj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj({ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj${ubah}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhjzhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjzhKubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhKhjzhhubjS)}(hhh]jX)}(hAssign broadcast addressh]hAssign broadcast address}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj{hhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjzhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Assign the broadcast address to the given address array.h](jX)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj{ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hj{h]hu8 *addr}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj{ubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**Description**h]j)}(hj|h]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj{ubjX)}(h8Assign the broadcast address to the given address array.h]h8Assign the broadcast address to the given address array.}(hj&|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_zero_addr (C function)c.eth_zero_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(hvoid eth_zero_addr (u8 *addr)h]h)}(hvoid eth_zero_addr(u8 *addr)h](j)}(hvoidh]hvoid}(hjU|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ|hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjd|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ|hhhjc|hKubj)}(h eth_zero_addrh]j%)}(h eth_zero_addrh]h eth_zero_addr}(hjv|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQ|hhhjc|hKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jjx|sbc.eth_zero_addrasbuh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(haddrh]haddr}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubah}(h]h ]h"]h$]h&]j<j=uh1jhjQ|hhhjc|hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjM|hhhjc|hKubah}(h]jH|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjc|hKhjJ|hhubjS)}(hhh]jX)}(hAssign zero addressh]hAssign zero address}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj|hhubah}(h]h ]h"]h$]h&]uh1jRhjJ|hhhjc|hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Assign the zero address to the given address array.h](jX)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj}ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hj;}h]hu8 *addr}(hj=}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9}ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj5}ubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjT}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjP}hMhjQ}ubah}(h]h ]h"]h$]h&]uh1jhj5}ubeh}(h]h ]h"]h$]h&]uh1jhjP}hMhj2}ubah}(h]h ]h"]h$]h&]uh1jhj}ubjX)}(h**Description**h]j)}(hjv}h]h Description}(hjx}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt}ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj}ubjX)}(h3Assign the zero address to the given address array.h]h3Assign the zero address to the given address array.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_random (C function)c.eth_hw_addr_randomhNtauh1hhjhhhNhNubh)}(hhh](h)}(h0void eth_hw_addr_random (struct net_device *dev)h]h)}(h/void eth_hw_addr_random(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj}hM ubj)}(heth_hw_addr_randomh]j%)}(heth_hw_addr_randomh]heth_hw_addr_random}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj}hM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jj}sbc.eth_hw_addr_randomasbuh1hhj}ubj)}(h h]h }(hj6~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj;)}(hj>h]h*}(hjD~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ubj%)}(hdevh]hdev}(hjQ~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubah}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhj}hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhj}hM ubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hM hj}hhubjS)}(hhh]jX)}(h>Generate software assigned random Ethernet and set device flagh]h>Generate software assigned random Ethernet and set device flag}(hj{~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjx~hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj}hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` pointer to net_device structure **Description** Generate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.h](jX)}(h**Parameters**h]j)}(hj~h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj~ubj)}(hhh]j)}(h;``struct net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hj~h]hstruct net_device *dev}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hj~ubj)}(hhh]jX)}(hpointer to net_device structureh]hpointer to net_device structure}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hM hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hM hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj~ubjX)}(hGenerate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.h]hGenerate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_crc (C function)c.eth_hw_addr_crchNtauh1hhjhhhNhNubh)}(hhh](h)}(h/u32 eth_hw_addr_crc (struct netdev_hw_addr *ha)h]h)}(h.u32 eth_hw_addr_crc(struct netdev_hw_addr *ha)h](h)}(hhh]j%)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jeth_hw_addr_crcsbc.eth_hw_addr_crcasbuh1hhj8hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj`hMubj)}(heth_hw_addr_crch]j%)}(hj]h]heth_hw_addr_crc}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj`hMubj)}(h(struct netdev_hw_addr *ha)h]j)}(hstruct netdev_hw_addr *hah](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetdev_hw_addrh]hnetdev_hw_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j[c.eth_hw_addr_crcasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhah]hha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhj`hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhj`hMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMhj1hhubjS)}(hhh]jX)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj`hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct netdev_hw_addr *ha`` pointer to hardware address **Description** Calculate CRC from a hardware address as basis for filter hashes.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hj+ubj)}(hhh]j)}(h:``struct netdev_hw_addr *ha`` pointer to hardware address h](j)}(h``struct netdev_hw_addr *ha``h]j)}(hjPh]hstruct netdev_hw_addr *ha}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjJubj)}(hhh]jX)}(hpointer to hardware addressh]hpointer to hardware address}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj+ubjX)}(hACalculate CRC from a hardware address as basis for filter hashes.h]hACalculate CRC from a hardware address as basis for filter hashes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_copy (C function)c.ether_addr_copyhNtauh1hhjhhhNhNubh)}(hhh](h)}(h-void ether_addr_copy (u8 *dst, const u8 *src)h]h)}(h,void ether_addr_copy(u8 *dst, const u8 *src)h](j)}(hvoidh]hvoid}(hjЀhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̀hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'ubj)}(h h]h }(hj߀hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj̀hhhjހhM'ubj)}(hether_addr_copyh]j%)}(hether_addr_copyh]hether_addr_copy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj̀hhhjހhM'ubj)}(h(u8 *dst, const u8 *src)h](j)}(hu8 *dsth](h)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_copyasbuh1hhj ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdsth]hdst}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const u8 *srch](h)}(hjh]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j,c.ether_addr_copyasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj̀hhhjހhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjȀhhhjހhM'ubah}(h]jÀah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjހhM'hjŀhhubjS)}(hhh]jX)}(hCopy an Ethernet addressh]hCopy an Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjŀhhhjހhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``u8 *dst`` Pointer to a six-byte array Ethernet address destination ``const u8 *src`` Pointer to a six-byte array Ethernet address source **Description** Please note: dst & src must both be aligned to u16.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hjubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hj&h]hu8 *dst}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(hj ubj)}(hhh]jX)}(h8Pointer to a six-byte array Ethernet address destinationh]h8Pointer to a six-byte array Ethernet address destination}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hM(hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM(hjubj)}(hF``const u8 *src`` Pointer to a six-byte array Ethernet address source h](j)}(h``const u8 *src``h]j)}(hj_h]h const u8 *src}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM)hjYubj)}(hhh]jX)}(h3Pointer to a six-byte array Ethernet address sourceh]h3Pointer to a six-byte array Ethernet address source}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM)hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM)hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hjubjX)}(h3Please note: dst & src must both be aligned to u16.h]h3Please note: dst & src must both be aligned to u16.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM*hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_set (C function)c.eth_hw_addr_sethNtauh1hhjhhhNhNubh)}(hhh](h)}(h=void eth_hw_addr_set (struct net_device *dev, const u8 *addr)h]h)}(hh]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jVc.eth_hw_addr_setasbuh1hhjubj)}(h h]h }(hjʃhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj؃hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjۂhhhjhM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjׂhhhjhM=ubah}(h]j҂ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM=hjԂhhubjS)}(hhh]jX)}(h'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM=hj hhubah}(h]h ]h"]h$]h&]uh1jRhjԂhhhjhM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` pointer to net_device structure ``const u8 *addr`` address to assign **Description** Assign given address to the net_device, addr_assign_type is not changed.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhj+ubj)}(hhh](j)}(h;``struct net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjPh]hstruct net_device *dev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM>hjJubj)}(hhh]jX)}(hpointer to net_device structureh]hpointer to net_device structure}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM>hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM>hjGubj)}(h%``const u8 *addr`` address to assign h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM?hjubj)}(hhh]jX)}(haddress to assignh]haddress to assign}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hjĄh]h Description}(hjƄhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj„ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhj+ubjX)}(hHAssign given address to the net_device, addr_assign_type is not changed.h]hHAssign given address to the net_device, addr_assign_type is not changed.}(hjڄhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM@hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eth_hw_addr_inherit (C function)c.eth_hw_addr_inherithNtauh1hhjhhhNhNubh)}(hhh](h)}(hIvoid eth_hw_addr_inherit (struct net_device *dst, struct net_device *src)h]h)}(hHvoid eth_hw_addr_inherit(struct net_device *dst, struct net_device *src)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMIubj)}(heth_hw_addr_inherith]j%)}(heth_hw_addr_inherith]heth_hw_addr_inherit}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMIubj)}(h0(struct net_device *dst, struct net_device *src)h](j)}(hstruct net_device *dsth](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jj,sbc.eth_hw_addr_inheritasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hstruct net_device *srch](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjŅhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjօhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӅubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj؅modnameN classnameNjj!)}j$]jc.eth_hw_addr_inheritasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMIubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMIhjhhubjS)}(hhh]jX)}(h%Copy dev_addr from another net_deviceh]h%Copy dev_addr from another net_device}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIhj6hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhjhNhNubj})}(hX!**Parameters** ``struct net_device *dst`` pointer to net_device to copy dev_addr to ``struct net_device *src`` pointer to net_device to copy dev_addr from **Description** Copy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhjUubj)}(hhh](j)}(hE``struct net_device *dst`` pointer to net_device to copy dev_addr to h](j)}(h``struct net_device *dst``h]j)}(hjzh]hstruct net_device *dst}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMJhjtubj)}(hhh]jX)}(h)pointer to net_device to copy dev_addr toh]h)pointer to net_device to copy dev_addr to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjqubj)}(hG``struct net_device *src`` pointer to net_device to copy dev_addr from h](j)}(h``struct net_device *src``h]j)}(hjh]hstruct net_device *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMKhjubj)}(hhh]jX)}(h+pointer to net_device to copy dev_addr fromh]h+pointer to net_device to copy dev_addr from}(hj̆hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjȆhMKhjɆubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȆhMKhjqubeh}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhjUubjX)}(hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h]hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMLhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_equal (C function)c.ether_addr_equalhNtauh1hhjhhhNhNubh)}(hhh](h)}(h8bool ether_addr_equal (const u8 *addr1, const u8 *addr2)h]h)}(h7bool ether_addr_equal(const u8 *addr1, const u8 *addr2)h](j)}(hjTh]hbool}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMXubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhj@hMXubj)}(hether_addr_equalh]j%)}(hether_addr_equalh]hether_addr_equal}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhj@hMXubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsbc.ether_addr_equalasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(haddr1h]haddr1}(hjȇhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj݇ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj݇ubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.ether_addr_equalasbuh1hhj݇ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj݇ubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj݇ubj%)}(haddr2h]haddr2}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj݇ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhj@hMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj@hMXubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hMXhj(hhubjS)}(hhh]jX)}(hCompare two Ethernet addressesh]hCompare two Ethernet addresses}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMXhj_hhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhj@hMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjhNhNubj})}(hX6**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: addr1 & addr2 must both be aligned to u16.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM\hj~ubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjh]hconst u8 *addr1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMYhjubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hj܈h]hconst u8 *addr2}(hjވhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڈubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMZhjֈubj)}(hhh]jX)}(hbool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2)h](j)}(hjTh]hbool}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMpubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjxhMpubj)}(hether_addr_equal_64bitsh]j%)}(hether_addr_equal_64bitsh]hether_addr_equal_64bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjxhMpubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjʼnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj‰ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjljmodnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_equal_64bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]jc.ether_addr_equal_64bitsasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr2h]haddr2}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjxhMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjxhMpubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMphj`hhubjS)}(hhh]jX)}(hCompare two Ethernet addressesh]hCompare two Ethernet addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMphjhhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjxhMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``const u8 *addr1`` Pointer to an array of 8 bytes ``const u8 *addr2`` Pointer to an other array of 8 bytes **Description** Compare two Ethernet addresses, returns true if equal, false otherwise. The function doesn't need any conditional branches and possibly uses word memory accesses on CPU allowing cheap unaligned memory reads. arrays = { byte1, byte2, byte3, byte4, byte5, byte6, pad1, pad2 } Please note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMthjubj)}(hhh](j)}(h3``const u8 *addr1`` Pointer to an array of 8 bytes h](j)}(h``const u8 *addr1``h]j)}(hjۊh]hconst u8 *addr1}(hj݊hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjيubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMqhjՊubj)}(hhh]jX)}(hPointer to an array of 8 bytesh]hPointer to an array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjՊubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjҊubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMrhjubj)}(hhh]jX)}(h$Pointer to an other array of 8 bytesh]h$Pointer to an other array of 8 bytes}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMrhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMrhjҊubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMthjubjX)}(hGCompare two Ethernet addresses, returns true if equal, false otherwise.h]hGCompare two Ethernet addresses, returns true if equal, false otherwise.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMshjubjX)}(hThe function doesn't need any conditional branches and possibly uses word memory accesses on CPU allowing cheap unaligned memory reads. arrays = { byte1, byte2, byte3, byte4, byte5, byte6, pad1, pad2 }h]hThe function doesn’t need any conditional branches and possibly uses word memory accesses on CPU allowing cheap unaligned memory reads. arrays = { byte1, byte2, byte3, byte4, byte5, byte6, pad1, pad2 }}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMuhjubjX)}(hNPlease note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.h]hNPlease note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMyhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'ether_addr_equal_unaligned (C function)c.ether_addr_equal_unalignedhNtauh1hhjhhhNhNubh)}(hhh](h)}(hBbool ether_addr_equal_unaligned (const u8 *addr1, const u8 *addr2)h]h)}(hAbool ether_addr_equal_unaligned(const u8 *addr1, const u8 *addr2)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hether_addr_equal_unalignedh]j%)}(hether_addr_equal_unalignedh]hether_addr_equal_unaligned}(hjҋhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj΋ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjԋsbc.ether_addr_equal_unalignedasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr1h]haddr1}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hhh]j%)}(hu8h]hu8}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j(c.ether_addr_equal_unalignedasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjތhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXF**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: Use only when any Ethernet address may not be u16 aligned.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hj"h]hconst u8 *addr1}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hj[h]hconst u8 *addr2}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjUubj)}(hhh]jX)}(hh]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j`c.ether_addr_equal_maskedasbuh1hhjubj)}(h h]h }(hjԎhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *maskh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j`c.ether_addr_equal_maskedasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmaskh]hmask}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jݍah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjߍhhubjS)}(hhh]jX)}(h*Compare two Ethernet addresses with a maskh]h*Compare two Ethernet addresses with a mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjߍhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the 1st Ethernet address ``const u8 *addr2`` Pointer to a six-byte array containing the 2nd Ethernet address ``const u8 *mask`` Pointer to a six-byte array containing the Ethernet address bitmask **Description** Compare two Ethernet addresses with a mask, returns true if for every bit set in the bitmask the equivalent bits in the ethernet addresses are equal. Using a mask with all bits set is a slower ether_addr_equal.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(hT``const u8 *addr1`` Pointer to a six-byte array containing the 1st Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjʏh]hconst u8 *addr1}(hj̏hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȏubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjďubj)}(hhh]jX)}(h?Pointer to a six-byte array containing the 1st Ethernet addressh]h?Pointer to a six-byte array containing the 1st Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjߏhMhjubah}(h]h ]h"]h$]h&]uh1jhjďubeh}(h]h ]h"]h$]h&]uh1jhjߏhMhjubj)}(hT``const u8 *addr2`` Pointer to a six-byte array containing the 2nd Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(h?Pointer to a six-byte array containing the 2nd Ethernet addressh]h?Pointer to a six-byte array containing the 2nd Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``const u8 *mask`` Pointer to a six-byte array containing the Ethernet address bitmask h](j)}(h``const u8 *mask``h]j)}(hj<h]hconst u8 *mask}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj6ubj)}(hhh]jX)}(hCPointer to a six-byte array containing the Ethernet address bitmaskh]hCPointer to a six-byte array containing the Ethernet address bitmask}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(hCompare two Ethernet addresses with a mask, returns true if for every bit set in the bitmask the equivalent bits in the ethernet addresses are equal. Using a mask with all bits set is a slower ether_addr_equal.h]hCompare two Ethernet addresses with a mask, returns true if for every bit set in the bitmask the equivalent bits in the ethernet addresses are equal. Using a mask with all bits set is a slower ether_addr_equal.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_to_u64 (C function)c.ether_addr_to_u64hNtauh1hhjhhhNhNubh)}(hhh](h)}(h&u64 ether_addr_to_u64 (const u8 *addr)h]h)}(h%u64 ether_addr_to_u64(const u8 *addr)h](h)}(hhh]j%)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jether_addr_to_u64sbc.ether_addr_to_u64asbuh1hhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hether_addr_to_u64h]j%)}(hjݐh]hether_addr_to_u64}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hu8h]hu8}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]jېc.ether_addr_to_u64asbuh1hhj ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(haddrh]haddr}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h-Convert an Ethernet address into a u64 value.h]h-Convert an Ethernet address into a u64 value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** a u64 value of the addressh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjБh]hconst u8 *addr}(hjґhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΑubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjʑubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʑubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǑubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hj h]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(ha u64 value of the addressh]ha u64 value of the address}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hu64_to_ether_addr (C function)c.u64_to_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(h(void u64_to_ether_addr (u64 u, u8 *addr)h]h)}(h'void u64_to_ether_addr(u64 u, u8 *addr)h](j)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj^hMubj)}(hu64_to_ether_addrh]j%)}(hu64_to_ether_addrh]hu64_to_ether_addr}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hMubj)}(h(u64 u, u8 *addr)h](j)}(hu64 uh](h)}(hhh]j%)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjssbc.u64_to_ether_addrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(huh]hu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjڒhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjגubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjܒmodnameN classnameNjj!)}j$]jc.u64_to_ether_addrasbuh1hhjӒubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӒubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjӒubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӒubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhj^hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhj^hMubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hMhjEhhubjS)}(hhh]jX)}(h%Convert a u64 to an Ethernet address.h]h%Convert a u64 to an Ethernet address.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj:hhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``u64 u`` u64 to convert to an Ethernet MAC address ``u8 *addr`` Pointer to a six-byte array to contain the Ethernet addressh](jX)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjYubj)}(hhh](j)}(h4``u64 u`` u64 to convert to an Ethernet MAC address h](j)}(h ``u64 u``h]j)}(hj~h]hu64 u}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjxubj)}(hhh]jX)}(h)u64 to convert to an Ethernet MAC addressh]h)u64 to convert to an Ethernet MAC address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(hH``u8 *addr`` Pointer to a six-byte array to contain the Ethernet addressh](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(h;Pointer to a six-byte array to contain the Ethernet addressh]h;Pointer to a six-byte array to contain the Ethernet address}(hjГhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj͓ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̓hMhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_dec (C function)c.eth_addr_dechNtauh1hhjhhhNhNubh)}(hhh](h)}(hvoid eth_addr_dec (u8 *addr)h]h)}(hvoid eth_addr_dec(u8 *addr)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(h eth_addr_dech]j%)}(h eth_addr_dech]h eth_addr_dec}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jj4sbc.eth_addr_decasbuh1hhjJubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hDecrement the given MAC addressh]hDecrement the given MAC address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjΔjxjΔjyjzj{uh1hhhhjhNhNubj})}(hc**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](jX)}(h**Parameters**h]j)}(hjؔh]h Parameters}(hjڔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֔ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjҔubj)}(hhh]j)}(hQ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(hDPointer to a six-byte array containing Ethernet address to decrementh]hDPointer to a six-byte array containing Ethernet address to decrement}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjҔubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_inc (C function)c.eth_addr_inchNtauh1hhjhhhNhNubh)}(hhh](h)}(hvoid eth_addr_inc (u8 *addr)h]h)}(hvoid eth_addr_inc(u8 *addr)h](j)}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj_hMubj)}(h eth_addr_inch]j%)}(h eth_addr_inch]h eth_addr_inc}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hMubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjtsbc.eth_addr_incasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hj̕hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhj_hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMhjFhhubjS)}(hhh]jX)}(h Increment the given MAC address.h]h Increment the given MAC address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hd**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(hR``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](j)}(h ``u8 *addr``h]j)}(hj7h]hu8 *addr}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj1ubj)}(hhh]jX)}(hEPointer to a six-byte array containing Ethernet address to increment.h]hEPointer to a six-byte array containing Ethernet address to increment.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_add (C function)c.eth_addr_addhNtauh1hhjhhhNhNubh)}(hhh](h)}(h)void eth_addr_add (u8 *addr, long offset)h]h)}(h(void eth_addr_add(u8 *addr, long offset)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h eth_addr_addh]j%)}(h eth_addr_addh]h eth_addr_add}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(u8 *addr, long offset)h](j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjіhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjΖubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjӖmodnameN classnameNjj!)}j$]j')}jjsbc.eth_addr_addasbuh1hhjʖubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʖubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjʖubj%)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʖubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƖubj)}(h long offseth](j)}(hlongh]hlong}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj%)}(hoffseth]hoffset}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƖubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h:Add (or subtract) an offset to/from the given MAC address.h]h:Add (or subtract) an offset to/from the given MAC address.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment. ``long offset`` Offset to add.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(hS``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment. h](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(hEPointer to a six-byte array containing Ethernet address to increment.h]hEPointer to a six-byte array containing Ethernet address to increment.}(hjŗhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj—ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``long offset`` Offset to add.h](j)}(h``long offset``h]j)}(hjh]h long offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjߗubj)}(hhh]jX)}(hOffset to add.h]hOffset to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjߗubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_etherdev_addr (C function)c.is_etherdev_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(hJbool is_etherdev_addr (const struct net_device *dev, const u8 addr[6 + 2])h]h)}(hIbool is_etherdev_addr(const struct net_device *dev, const u8 addr[6 + 2])h](j)}(hjTh]hbool}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjLhMubj)}(his_etherdev_addrh]j%)}(his_etherdev_addrh]his_etherdev_addr}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhjLhMubj)}(h4(const struct net_device *dev, const u8 addr[6 + 2])h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjasbc.is_etherdev_addrasbuh1hhjwubj)}(h h]h }(hjԘhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hconst u8 addr[6 + 2]h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]jИc.is_etherdev_addrasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(h[h]h[}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubhdesc_sig_literal_number)}(h6h]h6}(hjphhhNhNubah}(h]h ]mah"]h$]h&]uh1jnhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubhdesc_sig_operator)}(h+h]h+}(hjhhhNhNubah}(h]h ]oah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubjo)}(h2h]h2}(hjhhhNhNubah}(h]h ]j{ah"]h$]h&]uh1jnhjubj;)}(h]h]h]}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhjLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhjLhMubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMhj4hhubjS)}(hhh]jX)}(h5Tell if given Ethernet address belongs to the device.h]h5Tell if given Ethernet address belongs to the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``const struct net_device *dev`` Pointer to a device structure ``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address **Description** Compare passed address with all addresses of the device. Return true if the address if one of the device addresses. Note that this function calls ether_addr_equal_64bits() so take care of the right padding.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(h?``const struct net_device *dev`` Pointer to a device structure h](j)}(h ``const struct net_device *dev``h]j)}(hj%h]hconst struct net_device *dev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(hPointer to a device structureh]hPointer to a device structure}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(hU``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 addr[6 + 2]``h]j)}(hj^h]hconst u8 addr[6 + 2]}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjXubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.h]hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.h]hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!compare_ether_header (C function)c.compare_ether_headerhNtauh1hhjhhhNhNubh)}(hhh](h)}(hAunsigned long compare_ether_header (const void *a, const void *b)h]h)}(h@unsigned long compare_ether_header(const void *a, const void *b)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM-ubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM-ubj)}(hcompare_ether_headerh]j%)}(hcompare_ether_headerh]hcompare_ether_header}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM-ubj)}(h(const void *a, const void *b)h](j)}(h const void *ah](h)}(hjh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hjh]ha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(h const void *bh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj˛hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjٛhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjgh]hb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM-ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM-hjhhubjS)}(hhh]jX)}(hCompare two Ethernet headersh]hCompare two Ethernet headers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``const void *a`` Pointer to Ethernet header ``const void *b`` Pointer to Ethernet header **Description** Compare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hj+ubj)}(hhh](j)}(h-``const void *a`` Pointer to Ethernet header h](j)}(h``const void *a``h]j)}(hjPh]h const void *a}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.hjJubj)}(hhh]jX)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM.hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM.hjGubj)}(h-``const void *b`` Pointer to Ethernet header h](j)}(h``const void *b``h]j)}(hjh]h const void *b}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM/hjubj)}(hhh]jX)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hjĜh]h Description}(hjƜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjœubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hj+ubjX)}(hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.h]hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.}(hjڜhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM0hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_gen (C function)c.eth_hw_addr_genhNtauh1hhjhhhNhNubh)}(hhh](h)}(hSvoid eth_hw_addr_gen (struct net_device *dev, const u8 *base_addr, unsigned int id)h]h)}(hRvoid eth_hw_addr_gen(struct net_device *dev, const u8 *base_addr, unsigned int id)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMRubj)}(heth_hw_addr_genh]j%)}(heth_hw_addr_genh]heth_hw_addr_gen}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMRubj)}(h>(struct net_device *dev, const u8 *base_addr, unsigned int id)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jj,sbc.eth_hw_addr_genasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hconst u8 *base_addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjŝhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hj֝hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӝubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj؝modnameN classnameNjj!)}j$]jc.eth_hw_addr_genasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h base_addrh]h base_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hunsigned int idh](j)}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hidh]hid}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMRubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMRubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMRhjhhubjS)}(hhh]jX)}(h.Generate and assign Ethernet address to a porth]h.Generate and assign Ethernet address to a port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMRhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMRubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` pointer to port's net_device structure ``const u8 *base_addr`` base Ethernet address ``unsigned int id`` offset to add to the base address **Description** Generate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMVhjubj)}(hhh](j)}(hB``struct net_device *dev`` pointer to port's net_device structure h](j)}(h``struct net_device *dev``h]j)}(hj˞h]hstruct net_device *dev}(hj͞hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɞubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMShjŞubj)}(hhh]jX)}(h&pointer to port's net_device structureh]h(pointer to port’s net_device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjŞubeh}(h]h ]h"]h$]h&]uh1jhjhMShjžubj)}(h.``const u8 *base_addr`` base Ethernet address h](j)}(h``const u8 *base_addr``h]j)}(hjh]hconst u8 *base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMThjubj)}(hhh]jX)}(hbase Ethernet addressh]hbase Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjžubj)}(h6``unsigned int id`` offset to add to the base address h](j)}(h``unsigned int id``h]j)}(hj=h]hunsigned int id}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMUhj7ubj)}(hhh]jX)}(h!offset to add to the base addressh]h!offset to add to the base address}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMUhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMUhjžubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMWhjubjX)}(hGenerate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.h]hGenerate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMVhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pkt_type (C function)c.eth_skb_pkt_typehNtauh1hhjhhhNhNubh)}(hhh](h)}(hIvoid eth_skb_pkt_type (struct sk_buff *skb, const struct net_device *dev)h]h)}(hHvoid eth_skb_pkt_type(struct sk_buff *skb, const struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMgubj)}(h h]h }(hj̟hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj˟hMgubj)}(heth_skb_pkt_typeh]j%)}(heth_skb_pkt_typeh]heth_skb_pkt_type}(hjޟhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڟubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj˟hMgubj)}(h3(struct sk_buff *skb, const struct net_device *dev)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.eth_skb_pkt_typeasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j4c.eth_skb_pkt_typeasbuh1hhjhubj)}(h h]h }(hjàhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjѠhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hdevh]hdev}(hjޠhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj˟hMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj˟hMgubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj˟hMghjhhubjS)}(hhh]jX)}(h8Assign packet type if destination address does not matchh]h8Assign packet type if destination address does not match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMghjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj˟hMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(hXQ**Parameters** ``struct sk_buff *skb`` Assigned a packet type if address does not match **dev** address ``const struct net_device *dev`` Network device used to compare packet address against **Description** If the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.h](jX)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMkhj$ubj)}(hhh](j)}(hY``struct sk_buff *skb`` Assigned a packet type if address does not match **dev** address h](j)}(h``struct sk_buff *skb``h]j)}(hjIh]hstruct sk_buff *skb}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhhjCubj)}(hhh]jX)}(h@Assigned a packet type if address does not match **dev** addressh](h1Assigned a packet type if address does not match }(hjbhhhNhNubj)}(h**dev**h]hdev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh address}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^hMhhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhhj@ubj)}(hW``const struct net_device *dev`` Network device used to compare packet address against h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMihjubj)}(hhh]jX)}(h5Network device used to compare packet address againsth]h5Network device used to compare packet address against}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihj@ubeh}(h]h ]h"]h$]h&]uh1jhj$ubjX)}(h**Description**h]j)}(hjϡh]h Description}(hjѡhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͡ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMkhj$ubjX)}(hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.h]hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMjhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pad (C function) c.eth_skb_padhNtauh1hhjhhhNhNubh)}(hhh](h)}(h%int eth_skb_pad (struct sk_buff *skb)h]h)}(h$int eth_skb_pad(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubj)}(h eth_skb_padh]j%)}(h eth_skb_padh]h eth_skb_pad}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sb c.eth_skb_padasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj"hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMhj hhubjS)}(hhh]jX)}(h9Pad buffer to minimum number of octets for Ethernet frameh]h9Pad buffer to minimum number of octets for Ethernet frame}(hjԢhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjѢhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct sk_buff *skb`` Buffer to pad **Description** An Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(h&``struct sk_buff *skb`` Buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(h Buffer to padh]h Buffer to pad}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h]hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgro_node (C struct) c.gro_nodehNtauh1hhjhhhNhNubh)}(hhh](h)}(hgro_nodeh]h)}(hstruct gro_nodeh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hgro_nodeh]j%)}(hjh]hgro_node}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h,structure to support Generic Receive Offloadh]h,structure to support Generic Receive Offload}(hjףhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hjԣhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX"**Definition**:: struct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; }; **Members** ``bitmask`` bitmask to indicate used buckets in **hash** ``hash`` hashtable of pending aggregated skbs, separated by flows ``rx_list`` list of pending ``GRO_NORMAL`` skbs ``rx_count`` cached current length of **rx_list** ``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubjU)}(hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };h]hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubjX)}(h **Members**h]j)}(hj%h]hMembers}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhjubj)}(hhh](j)}(h9``bitmask`` bitmask to indicate used buckets in **hash** h](j)}(h ``bitmask``h]j)}(hjDh]hbitmask}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hj>ubj)}(hhh]jX)}(h,bitmask to indicate used buckets in **hash**h](h$bitmask to indicate used buckets in }(hj]hhhNhNubj)}(h**hash**h]hhash}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jWhjYhM_hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM_hj;ubj)}(hB``hash`` hashtable of pending aggregated skbs, separated by flows h](j)}(h``hash``h]j)}(hjh]hhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hjubj)}(hhh]jX)}(h8hashtable of pending aggregated skbs, separated by flowsh]h8hashtable of pending aggregated skbs, separated by flows}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj;ubj)}(h0``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hjĤh]hrx_list}(hjƤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¤ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubj)}(hhh]jX)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hjݤhhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݤubh skbs}(hjݤhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj٤hMahjڤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj٤hMahj;ubj)}(h2``rx_count`` cached current length of **rx_list** h](j)}(h ``rx_count``h]j)}(hjh]hrx_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhj ubj)}(hhh]jX)}(h$cached current length of **rx_list**h](hcached current length of }(hj(hhhNhNubj)}(h **rx_list**h]hrx_list}(hj0hhhNhNubah}(h]h ]hVh"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jWhj$hMbhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMbhj;ubj)}(hL``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](j)}(h``cached_napi_id``h]j)}(hjVh]hcached_napi_id}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjPubj)}(hhh]jX)}(h9napi_struct::napi_id cached for hotpath, 0 for standaloneh]h9napi_struct::napi_id cached for hotpath, 0 for standalone}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMbhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_is_scheduled (C function)c.napi_is_scheduledhNtauh1hhjhhhNhNubh)}(hhh](h)}(h.bool napi_is_scheduled (struct napi_struct *n)h]h)}(h-bool napi_is_scheduled(struct napi_struct *n)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnapi_is_scheduledh]j%)}(hnapi_is_scheduledh]hnapi_is_scheduled}(hjХhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̥ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjҥsbc.napi_is_scheduledasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(htest if NAPI is scheduledh]htest if NAPI is scheduled}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX?**Parameters** ``struct napi_struct *n`` NAPI context **Description** This check is "best-effort". With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results. NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead. Use only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled. **Return** True if NAPI is scheduled, False otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjȦhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjĦhMhjŦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĦhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hThis check is "best-effort". With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.h]hThis check is “best-effort”. With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.h]h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.h]hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(h **Return**h]j)}(hj/h]hReturn}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(h+True if NAPI is scheduled, False otherwise.h]h+True if NAPI is scheduled, False otherwise.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule (C function)c.napi_schedulehNtauh1hhjhhhNhNubh)}(hhh](h)}(h*bool napi_schedule (struct napi_struct *n)h]h)}(h)bool napi_schedule(struct napi_struct *n)h](j)}(hjTh]hbool}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjhM ubj)}(h napi_scheduleh]j%)}(h napi_scheduleh]h napi_schedule}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjhM ubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjΧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˧ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjЧmodnameN classnameNjj!)}j$]j')}jjsbc.napi_scheduleasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjhM ubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjihhubjS)}(hhh]jX)}(hschedule NAPI pollh]hschedule NAPI poll}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj/hhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjhNhNubj})}(hX#**Parameters** ``struct napi_struct *n`` NAPI context **Description** Schedule NAPI poll routine to be called if it is not already running. **Return** true if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.h](jX)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjNubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjsh]hstruct napi_struct *n}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hjmubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjjubah}(h]h ]h"]h$]h&]uh1jhjNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjNubjX)}(hESchedule NAPI poll routine to be called if it is not already running.h]hESchedule NAPI poll routine to be called if it is not already running.}(hjĨhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjNubjX)}(h **Return**h]j)}(hjըh]hReturn}(hjרhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӨubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjNubjX)}(htrue if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.h]htrue if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!napi_schedule_irqoff (C function)c.napi_schedule_irqoffhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void napi_schedule_irqoff (struct napi_struct *n)h]h)}(h0void napi_schedule_irqoff(struct napi_struct *n)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hM4ubj)}(hnapi_schedule_irqoffh]j%)}(hnapi_schedule_irqoffh]hnapi_schedule_irqoff}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hM4ubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jj=sbc.napi_schedule_irqoffasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hM4ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hM4hjhhubjS)}(hhh]jX)}(hschedule NAPI pollh]hschedule NAPI poll}(hj٩hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hj֩hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Variant of napi_schedule(), assuming hard irqs are masked.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM5hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM5hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjubjX)}(h:Variant of napi_schedule(), assuming hard irqs are masked.h]h:Variant of napi_schedule(), assuming hard irqs are masked.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_complete_done (C function)c.napi_complete_donehNtauh1hhjhhhNhNubh)}(hhh](h)}(h>bool napi_complete_done (struct napi_struct *n, int work_done)h]h)}(h=bool napi_complete_done(struct napi_struct *n, int work_done)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM@ubj)}(hnapi_complete_doneh]j%)}(hnapi_complete_doneh]hnapi_complete_done}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM@ubj)}(h&(struct napi_struct *n, int work_done)h](j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hj֪hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjҪubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҪubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.napi_complete_doneasbuh1hhjҪubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҪubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjҪubj%)}(hj0h]hn}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjҪubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjΪubj)}(h int work_doneh](j)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(h work_doneh]h work_done}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjΪubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM@ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@hjhhubjS)}(hhh]jX)}(hNAPI processing completeh]hNAPI processing complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX@**Parameters** ``struct napi_struct *n`` NAPI context ``int work_done`` number of packets processed **Description** Mark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete(). **Return** false if device should avoid rearming interrupts.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubj)}(hhh](j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjΫh]hstruct napi_struct *n}(hjЫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̫ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMAhjȫubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjȫubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjūubj)}(h.``int work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hjh]h int work_done}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjubj)}(hhh]jX)}(hnumber of packets processedh]hnumber of packets processed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjūubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubjX)}(hMark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete().h]hMark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete().}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjubjX)}(h **Return**h]j)}(hjih]hReturn}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjubjX)}(h1false if device should avoid rearming interrupts.h]h1false if device should avoid rearming interrupts.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_synchronize (C function)c.napi_synchronizehNtauh1hhjhhhNhNubh)}(hhh](h)}(h3void napi_synchronize (const struct napi_struct *n)h]h)}(h2void napi_synchronize(const struct napi_struct *n)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM[ubj)}(hnapi_synchronizeh]j%)}(hnapi_synchronizeh]hnapi_synchronize}(hjϬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˬubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM[ubj)}(h(const struct napi_struct *n)h]j)}(hconst struct napi_struct *nh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jjѬsbc.napi_synchronizeasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM[ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM[hjhhubjS)}(hhh]jX)}(hwait until NAPI is not runningh]hwait until NAPI is not running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct napi_struct *n`` NAPI context **Description** Wait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hjubj)}(hhh]j)}(h-``const struct napi_struct *n`` NAPI context h](j)}(h``const struct napi_struct *n``h]j)}(hjɭh]hconst struct napi_struct *n}(hj˭hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǭubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hjíubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjޭhM\hj߭ubah}(h]h ]h"]h$]h&]uh1jhjíubeh}(h]h ]h"]h$]h&]uh1jhjޭhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjubjX)}(hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.h]hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*napi_if_scheduled_mark_missed (C function)c.napi_if_scheduled_mark_missedhNtauh1hhjhhhNhNubh)}(hhh](h)}(h:bool napi_if_scheduled_mark_missed (struct napi_struct *n)h]h)}(h9bool napi_if_scheduled_mark_missed(struct napi_struct *n)h](j)}(hjTh]hbool}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjVhMlubj)}(hnapi_if_scheduled_mark_missedh]j%)}(hnapi_if_scheduled_mark_missedh]hnapi_if_scheduled_mark_missed}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjVhMlubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjksbc.napi_if_scheduled_mark_missedasbuh1hhjubj)}(h h]h }(hjîhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjѮhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjޮhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubah}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjVhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjVhMlubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMlhj>hhubjS)}(hhh]jX)}(h.if napi is running, set the NAPIF_STATE_MISSEDh]h.if napi is running, set the NAPIF_STATE_MISSED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhjhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjVhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** If napi is running, set the NAPIF_STATE_MISSED, and return true if NAPI is scheduled.h](jX)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphj#ubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjHh]hstruct napi_struct *n}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhjBubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMnhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMnhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphj#ubjX)}(hUIf napi is running, set the NAPIF_STATE_MISSED, and return true if NAPI is scheduled.h]hUIf napi is running, set the NAPIF_STATE_MISSED, and return true if NAPI is scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv_flags (C enum)c.netdev_priv_flagshNtauh1hhjhhhNhNubh)}(hhh](h)}(hnetdev_priv_flagsh]h)}(henum netdev_priv_flagsh](h)}(hhh]henum}(hjȯhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjįhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuubj)}(h h]h }(hj֯hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjįhhhjկhMuubj)}(hnetdev_priv_flagsh]j%)}(hj¯h]hnetdev_priv_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjįhhhjկhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjկhMuubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjկhMuhjhhubjS)}(hhh]jX)}(h3:c:type:`struct net_device ` priv_flagsh](h)}(h(:c:type:`struct net_device `h]j)}(hjh]hstruct net_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j')}jj¯sbc.netdev_priv_flagsasbj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhj ubh priv_flags}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjկhMuubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhjhNhNubj})}(hX**Constants** ``IFF_802_1Q_VLAN`` 802.1Q VLAN device ``IFF_EBRIDGE`` Ethernet bridging device ``IFF_BONDING`` bonding master or slave ``IFF_ISATAP`` ISATAP interface (RFC4214) ``IFF_WAN_HDLC`` WAN HDLC device ``IFF_XMIT_DST_RELEASE`` dev_hard_start_xmit() is allowed to release skb->dst ``IFF_DONT_BRIDGE`` disallow bridging this ether dev ``IFF_DISABLE_NETPOLL`` disable netpoll at run-time ``IFF_MACVLAN_PORT`` device used as macvlan port ``IFF_BRIDGE_PORT`` device used as bridge port ``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port ``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit ``IFF_UNICAST_FLT`` Supports unicast filtering ``IFF_TEAM_PORT`` device used as team port ``IFF_SUPP_NOFCS`` device supports sending custom FCS ``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running ``IFF_MACVLAN`` Macvlan device ``IFF_XMIT_DST_RELEASE_PERM`` IFF_XMIT_DST_RELEASE not taking into account underlying stacked devices ``IFF_L3MDEV_MASTER`` device is an L3 master device ``IFF_NO_QUEUE`` device can run without qdisc attached ``IFF_OPENVSWITCH`` device is a Open vSwitch master ``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device ``IFF_TEAM`` device is a team device ``IFF_RXFH_CONFIGURED`` device has had Rx Flow indirection table configured ``IFF_PHONY_HEADROOM`` the headroom value is controlled by an external entity (i.e. the master device for bridged veth) ``IFF_MACSEC`` device is a MACsec device ``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook ``IFF_FAILOVER`` device is a failover master device ``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device ``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device ``IFF_NO_ADDRCONF`` prevent ipv6 addrconf ``IFF_TX_SKB_NO_LINEAR`` device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h](jX)}(h **Constants**h]j)}(hjSh]h Constants}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjMubj)}(hhh](j)}(h'``IFF_802_1Q_VLAN`` 802.1Q VLAN device h](j)}(h``IFF_802_1Q_VLAN``h]j)}(hjrh]hIFF_802_1Q_VLAN}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjlubj)}(hhh]jX)}(h802.1Q VLAN deviceh]h802.1Q VLAN device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h)``IFF_EBRIDGE`` Ethernet bridging device h](j)}(h``IFF_EBRIDGE``h]j)}(hjh]h IFF_EBRIDGE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hEthernet bridging deviceh]hEthernet bridging device}(hjİhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h(``IFF_BONDING`` bonding master or slave h](j)}(h``IFF_BONDING``h]j)}(hjh]h IFF_BONDING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjްubj)}(hhh]jX)}(hbonding master or slaveh]hbonding master or slave}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjްubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h*``IFF_ISATAP`` ISATAP interface (RFC4214) h](j)}(h``IFF_ISATAP``h]j)}(hjh]h IFF_ISATAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hISATAP interface (RFC4214)h]hISATAP interface (RFC4214)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjiubj)}(h!``IFF_WAN_HDLC`` WAN HDLC device h](j)}(h``IFF_WAN_HDLC``h]j)}(hjVh]h IFF_WAN_HDLC}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjPubj)}(hhh]jX)}(hWAN HDLC deviceh]hWAN HDLC device}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjiubj)}(hN``IFF_XMIT_DST_RELEASE`` dev_hard_start_xmit() is allowed to release skb->dst h](j)}(h``IFF_XMIT_DST_RELEASE``h]j)}(hjh]hIFF_XMIT_DST_RELEASE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h4dev_hard_start_xmit() is allowed to release skb->dsth]h4dev_hard_start_xmit() is allowed to release skb->dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h5``IFF_DONT_BRIDGE`` disallow bridging this ether dev h](j)}(h``IFF_DONT_BRIDGE``h]j)}(hjɱh]hIFF_DONT_BRIDGE}(hj˱hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjñubj)}(hhh]jX)}(h disallow bridging this ether devh]h disallow bridging this ether dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjޱhMhj߱ubah}(h]h ]h"]h$]h&]uh1jhjñubeh}(h]h ]h"]h$]h&]uh1jhjޱhMhjiubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hjh]hIFF_DISABLE_NETPOLL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h1``IFF_MACVLAN_PORT`` device used as macvlan port h](j)}(h``IFF_MACVLAN_PORT``h]j)}(hj;h]hIFF_MACVLAN_PORT}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh]jX)}(hdevice used as macvlan porth]hdevice used as macvlan port}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjiubj)}(h/``IFF_BRIDGE_PORT`` device used as bridge port h](j)}(h``IFF_BRIDGE_PORT``h]j)}(hjth]hIFF_BRIDGE_PORT}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjnubj)}(hhh]jX)}(hdevice used as bridge porth]hdevice used as bridge port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h?``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port h](j)}(h``IFF_OVS_DATAPATH``h]j)}(hjh]hIFF_OVS_DATAPATH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h)device used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hjƲhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj²hMhjòubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj²hMhjiubj)}(hG``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit h](j)}(h``IFF_TX_SKB_SHARING``h]j)}(hjh]hIFF_TX_SKB_SHARING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h/``IFF_UNICAST_FLT`` Supports unicast filtering h](j)}(h``IFF_UNICAST_FLT``h]j)}(hjh]hIFF_UNICAST_FLT}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hSupports unicast filteringh]hSupports unicast filtering}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjiubj)}(h+``IFF_TEAM_PORT`` device used as team port h](j)}(h``IFF_TEAM_PORT``h]j)}(hjXh]h IFF_TEAM_PORT}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubj)}(hhh]jX)}(hdevice used as team porth]hdevice used as team port}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjiubj)}(h6``IFF_SUPP_NOFCS`` device supports sending custom FCS h](j)}(h``IFF_SUPP_NOFCS``h]j)}(hjh]hIFF_SUPP_NOFCS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h"device supports sending custom FCSh]h"device supports sending custom FCS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(hS``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running h](j)}(h``IFF_LIVE_ADDR_CHANGE``h]j)}(hjʳh]hIFF_LIVE_ADDR_CHANGE}(hj̳hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȳubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjijubj)}(hhh]jX)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjijubeh}(h]h ]h"]h$]h&]uh1jhj߳hMhjiubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hjh]h IFF_MACVLAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMacvlan deviceh]hMacvlan device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(hf``IFF_XMIT_DST_RELEASE_PERM`` IFF_XMIT_DST_RELEASE not taking into account underlying stacked devices h](j)}(h``IFF_XMIT_DST_RELEASE_PERM``h]j)}(hj=h]hIFF_XMIT_DST_RELEASE_PERM}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7ubj)}(hhh]jX)}(hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devicesh]hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devices}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjiubj)}(h4``IFF_L3MDEV_MASTER`` device is an L3 master device h](j)}(h``IFF_L3MDEV_MASTER``h]j)}(hjwh]hIFF_L3MDEV_MASTER}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjqubj)}(hhh]jX)}(hdevice is an L3 master deviceh]hdevice is an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h7``IFF_NO_QUEUE`` device can run without qdisc attached h](j)}(h``IFF_NO_QUEUE``h]j)}(hjh]h IFF_NO_QUEUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h%device can run without qdisc attachedh]h%device can run without qdisc attached}(hjɴhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjŴhMhjƴubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŴhMhjiubj)}(h4``IFF_OPENVSWITCH`` device is a Open vSwitch master h](j)}(h``IFF_OPENVSWITCH``h]j)}(hjh]hIFF_OPENVSWITCH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdevice is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h?``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device h](j)}(h``IFF_L3MDEV_SLAVE``h]j)}(hj"h]hIFF_L3MDEV_SLAVE}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h)device is enslaved to an L3 master deviceh]h)device is enslaved to an L3 master device}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjiubj)}(h%``IFF_TEAM`` device is a team device h](j)}(h ``IFF_TEAM``h]j)}(hj[h]hIFF_TEAM}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjUubj)}(hhh]jX)}(hdevice is a team deviceh]hdevice is a team device}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjiubj)}(hL``IFF_RXFH_CONFIGURED`` device has had Rx Flow indirection table configured h](j)}(h``IFF_RXFH_CONFIGURED``h]j)}(hjh]hIFF_RXFH_CONFIGURED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h3device has had Rx Flow indirection table configuredh]h3device has had Rx Flow indirection table configured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(hx``IFF_PHONY_HEADROOM`` the headroom value is controlled by an external entity (i.e. the master device for bridged veth) h](j)}(h``IFF_PHONY_HEADROOM``h]j)}(hj͵h]hIFF_PHONY_HEADROOM}(hjϵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˵ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjǵubj)}(hhh]jX)}(h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)h]h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjǵubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hjh]h IFF_MACSEC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(hA``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook h](j)}(h``IFF_NO_RX_HANDLER``h]j)}(hj@h]hIFF_NO_RX_HANDLER}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]jX)}(h*device doesn't support the rx_handler hookh]h,device doesn’t support the rx_handler hook}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjiubj)}(h4``IFF_FAILOVER`` device is a failover master device h](j)}(h``IFF_FAILOVER``h]j)}(hjyh]h IFF_FAILOVER}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjsubj)}(hhh]jX)}(h"device is a failover master deviceh]h"device is a failover master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(hG``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device h](j)}(h``IFF_FAILOVER_SLAVE``h]j)}(hjh]hIFF_FAILOVER_SLAVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h/device is lower dev of a failover master deviceh]h/device is lower dev of a failover master device}(hj˶hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjǶhMhjȶubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǶhMhjiubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hjh]hIFF_L3MDEV_RX_HANDLER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h*``IFF_NO_ADDRCONF`` prevent ipv6 addrconf h](j)}(h``IFF_NO_ADDRCONF``h]j)}(hj$h]hIFF_NO_ADDRCONF}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjiubj)}(hx``IFF_TX_SKB_NO_LINEAR`` device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h](j)}(h``IFF_TX_SKB_NO_LINEAR``h]j)}(hj]h]hIFF_TX_SKB_NO_LINEAR}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubj)}(hhh]jX)}(h_device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h]h_device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubjX)}(hThese are the :c:type:`struct net_device `, they are only set internally by drivers and used in the kernel. These flags are invisible to userspace; this means that the order of these flags can change during any kernel release.h](hThese are the }(hjhhhNhNubh)}(h(:c:type:`struct net_device `h]j)}(hjh]hstruct net_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubh, they are only set internally by drivers and used in the kernel. These flags are invisible to userspace; this means that the order of these flags can change during any kernel release.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjܷhMhjhhubjX)}(hYou should add bitfield booleans after either net_device::priv_flags (hotpath) or ::threaded (slowpath) instead of extending these flags.h]hYou should add bitfield booleans after either net_device::priv_flags (hotpath) or ::threaded (slowpath) instead of extending these flags.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_device (C struct) c.net_devicehNtauh1hhjhhhNhNubh)}(hhh](h)}(h net_deviceh]h)}(hstruct net_deviceh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(h net_deviceh]j%)}(hj h]h net_device}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hThe DEVICE structure.h]hThe DEVICE structure.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjhNhNubj})}(hXc**Definition**:: struct net_device { __cacheline_group_begin(net_device_read_tx); unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:1; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps __rcu *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries __rcu *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_egress; #endif; __cacheline_group_end(net_device_read_tx); __cacheline_group_begin(net_device_read_txrx); union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; netdev_features_t features; struct inet6_dev __rcu *ip6_ptr; __cacheline_group_end(net_device_read_txrx); __cacheline_group_begin(net_device_read_rx); struct bpf_prog __rcu *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t __rcu *rx_handler; void __rcu *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info __rcu *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_ingress; #endif; __cacheline_group_end(net_device_read_rx); char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias __rcu *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device __rcu *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info __rcu *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer __rcu *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev __rcu *ax25_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev __rcu *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev __rcu *mctp_ptr; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue __rcu *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries __rcu *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc __rcu *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << ((4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; enum netdev_stat_type pcpu_stat_type:8; #if IS_ENABLED(CONFIG_GARP); struct garp_port __rcu *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port __rcu *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta __rcu *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map __rcu *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin __rcu *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; unsigned long gro_flush_timeout; u32 napi_defer_hard_irqs; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider __rcu *hwprov; u8 priv[] ; }; **Members** ``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions ``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels ``netmem_tx`` device support netmem_tx. ``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions ``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. ``_tx`` Array of TX queues ``gso_partial_features`` value(s) from NETIF_F_GSO\* ``real_num_tx_queues`` Number of TX queues currently active in device ``gso_max_size`` Maximum size of generic segmentation offload ``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. ``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO ``num_tc`` Number of traffic classes in the net device ``mtu`` Interface MTU value ``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed ``tc_to_txq`` XXX: need comments on this one ``xps_maps`` XXX: need comments on this one ``nf_hooks_egress`` netfilter hooks executed for egress packets ``tcx_egress`` BPF & clsact qdisc specific data for egress processing ``{unnamed_union}`` anonymous ``lstats`` Loopback statistics: packets, bytes ``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes ``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes ``state`` Generic network queuing layer state, see netdev_state_t ``flags`` Interface flags (a la BSD) ``hard_header_len`` Maximum hardware header length. ``features`` Currently active device features ``ip6_ptr`` IPv6 specific data ``xdp_prog`` XDP sockets filter program pointer ``ptype_specific`` Device-specific, protocol-specific packet handlers ``ifindex`` interface index ``real_num_rx_queues`` Number of RX queues currently active in device ``_rx`` Array of RX queues ``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) ``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. ``rx_handler`` handler for received packets ``rx_handler_data`` XXX: need comments on this one ``nd_net`` Network namespace this network device is inside protected by **lock** ``npinfo`` XXX: need comments on this one ``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing ``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. ``name_node`` Name hashlist node ``ifalias`` SNMP alias ``mem_end`` Shared memory end ``mem_start`` Shared memory start ``base_addr`` Device I/O address ``dev_list`` The global list of network devices ``napi_list`` List entry used for polling NAPI devices ``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev ``close_list`` List entry used when we are closing the device ``ptype_all`` Device-specific packet handlers for all protocols ``adj_list`` Directly linked devices, like slaves for bonding ``xdp_features`` XDP capability supported by the device ``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. ``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. ``gflags`` Global flags ( kept as legacy ) ``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb ``hw_features`` User-changeable features ``wanted_features`` User-requested features ``vlan_features`` Mask of features inheritable by VLAN devices ``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. ``mpls_features`` Mask of features inheritable by MPLS ``min_mtu`` Interface Minimum MTU value ``max_mtu`` Interface Maximum MTU value ``type`` Interface hardware type ``min_header_len`` Minimum hardware header length ``name_assign_type`` network interface name assignment type ``group`` The group the device belongs to ``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead ``core_stats`` core networking counters, do not use this in drivers ``carrier_up_count`` Number of times the carrier has been up ``carrier_down_count`` Number of times the carrier has been down ``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. ``ethtool_ops`` Management operations ``l3mdev_ops`` Layer 3 master device operations ``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. ``xfrmdev_ops`` Transformation offload operations ``tlsdev_ops`` Transport Layer Security offload operations ``operstate`` RFC2863 operstate ``link_mode`` Mapping policy to operstate ``if_port`` Selectable AUI, TP, ... ``dma`` DMA channel ``perm_addr`` Permanent hw address ``addr_assign_type`` Hw address assignment type ``addr_len`` Hardware address length ``upper_level`` Maximum depth level of upper devices. ``lower_level`` Maximum depth level of lower devices. ``threaded`` napi threaded state. ``neigh_priv_len`` Used in neigh_alloc() ``dev_id`` Used to differentiate devices that share the same link layer address ``dev_port`` Used to differentiate devices that share the same function ``irq`` Device IRQ number ``priv_len`` Size of the ->priv flexible array ``addr_list_lock`` XXX: need comments on this one ``uc`` unicast mac addresses ``mc`` multicast mac addresses ``dev_addrs`` list of device hw addresses ``queues_kset`` Group of all Kobjects in the Tx and RX queues ``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. ``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode ``allmulti`` Counter, enables or disables allmulticast mode ``uc_promisc`` Counter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode() ``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. ``ip_ptr`` IPv4 specific data ``fib_nh_head`` nexthops associated with this netdev ``vlan_info`` VLAN info ``dsa_ptr`` dsa specific data ``tipc_ptr`` TIPC specific data ``atalk_ptr`` AppleTalk link ``ax25_ptr`` AX.25 specific data ``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering ``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct ``mpls_ptr`` mpls_dev struct pointer ``mctp_ptr`` MCTP specific data ``dev_addr`` Hw address (before bcast, because most packets are unicast) ``num_rx_queues`` Number of RX queues allocated at register_netdev() time ``xdp_zc_max_segs`` Maximum number of segments supported by AF_XDP zero copy driver ``ingress_queue`` XXX: need comments on this one ``nf_hooks_ingress`` netfilter hooks executed for ingress packets ``broadcast`` hw bcast address ``rx_cpu_rmap`` CPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined ``index_hlist`` Device index hash chain ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time ``qdisc`` Root qdisc from userspace point of view ``tx_queue_len`` Max frames per queue allowed ``tx_global_lock`` XXX: need comments on this one ``xdp_bulkq`` XDP device bulk queue ``qdisc_hash`` qdisc hash table ``watchdog_timer`` List of timers ``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) ``proto_down_reason`` reason a netdev interface is held down ``todo_list`` Delayed register/unregister ``pcpu_refcnt`` Number of references to this device ``dev_refcnt`` Number of references to this device ``refcnt_tracker`` Tracker directory for tracked references to this device ``link_watch_list`` XXX: need comments on this one ``reg_state`` Register/unregister state machine ``dismantle`` Device is going to be freed ``moving_ns`` device is changing netns, protected by **lock** ``rtnl_link_initializing`` Device being created, suppress events ``needs_free_netdev`` Should unregister perform free_netdev? ``priv_destructor`` Called from unregister ``ml_priv`` Mid-layer private ``ml_priv_type`` Mid-layer private type ``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. ``garp_port`` GARP ``mrp_port`` MRP ``dm_private`` Drop monitor private ``dev`` Class/net/name entry ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups ``sysfs_rx_queue_group`` Space for optional per-rx queue attributes ``rtnl_link_ops`` Rtnl_link_ops ``stat_ops`` Optional ops for queue-aware statistics ``queue_mgmt_ops`` Optional ops for queue management ``tso_max_size`` Device (as in HW) limit on the max TSO request size ``tso_max_segs`` Device (as in HW) limit on the max TSO segment count ``dcbnl_ops`` Data Center Bridging netlink ops ``prio_tc_map`` XXX: need comments on this one ``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp ``priomap`` XXX: need comments on this one ``link_topo`` Physical link topology tracking attached PHYs ``phydev`` Physical device may attach itself for hardware timestamping ``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. ``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock ``proto_down`` protocol port state information can be sent to the switch driver and used to set the phys state of the switch port. ``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). ``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). ``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN ``netns_immutable`` interface can't change network namespaces ``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes ``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. ``macsec_ops`` MACsec offloading ops ``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device ``udp_tunnel_nic`` UDP tunnel offload state ``cfg`` net_device queue-related configuration ``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. ``ethtool`` ethtool related state ``xdp_state`` stores info on attached XDP BPF programs ``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. ``linkwatch_dev_tracker`` refcount tracker used by linkwatch. ``watchdog_dev_tracker`` refcount tracker used by watchdog. ``dev_registered_tracker`` tracker for reference held while registered ``offload_xstats_l3`` L3 HW stats for this netdevice. ``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. ``dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. ``page_pools`` page pools created for this netdevice ``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). ``max_pacing_offload_horizon`` max EDT offload horizon in nsec. ``napi_config`` An array of napi_config structures containing per-NAPI settings. ``gro_flush_timeout`` timeout for GRO layer in NAPI ``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. ``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). ``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. ``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: take after rtnl_lock. ``net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h ``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. ``hwprov`` Tracks which PTP performs hardware packet time stamping. ``priv`` Flexible array containing private datah](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh:}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubjU)}(hX&struct net_device { __cacheline_group_begin(net_device_read_tx); unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:1; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps __rcu *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries __rcu *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_egress; #endif; __cacheline_group_end(net_device_read_tx); __cacheline_group_begin(net_device_read_txrx); union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; netdev_features_t features; struct inet6_dev __rcu *ip6_ptr; __cacheline_group_end(net_device_read_txrx); __cacheline_group_begin(net_device_read_rx); struct bpf_prog __rcu *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t __rcu *rx_handler; void __rcu *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info __rcu *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_ingress; #endif; __cacheline_group_end(net_device_read_rx); char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias __rcu *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device __rcu *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info __rcu *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer __rcu *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev __rcu *ax25_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev __rcu *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev __rcu *mctp_ptr; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue __rcu *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries __rcu *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc __rcu *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << ((4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; enum netdev_stat_type pcpu_stat_type:8; #if IS_ENABLED(CONFIG_GARP); struct garp_port __rcu *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port __rcu *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta __rcu *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map __rcu *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin __rcu *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; unsigned long gro_flush_timeout; u32 napi_defer_hard_irqs; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider __rcu *hwprov; u8 priv[] ; };h]hX&struct net_device { __cacheline_group_begin(net_device_read_tx); unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:1; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps __rcu *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries __rcu *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_egress; #endif; __cacheline_group_end(net_device_read_tx); __cacheline_group_begin(net_device_read_txrx); union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; netdev_features_t features; struct inet6_dev __rcu *ip6_ptr; __cacheline_group_end(net_device_read_txrx); __cacheline_group_begin(net_device_read_rx); struct bpf_prog __rcu *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t __rcu *rx_handler; void __rcu *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info __rcu *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_ingress; #endif; __cacheline_group_end(net_device_read_rx); char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias __rcu *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device __rcu *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info __rcu *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer __rcu *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev __rcu *ax25_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev __rcu *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev __rcu *mctp_ptr; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue __rcu *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries __rcu *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc __rcu *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << ((4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; enum netdev_stat_type pcpu_stat_type:8; #if IS_ENABLED(CONFIG_GARP); struct garp_port __rcu *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port __rcu *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta __rcu *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map __rcu *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin __rcu *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; unsigned long gro_flush_timeout; u32 napi_defer_hard_irqs; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider __rcu *hwprov; u8 priv[] ; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubj)}(hhh](j)}(hl``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions h](j)}(h``priv_flags``h]j)}(hjh]h priv_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitionsh]h\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions}(hj׸hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjԸubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӸhMhjubj)}(h``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels h](j)}(h``lltx``h]j)}(hjh]hlltx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnelsh]h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h(``netmem_tx`` device support netmem_tx. h](j)}(h ``netmem_tx``h]j)}(hj2h]h netmem_tx}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(hhh]jX)}(hdevice support netmem_tx.h]hdevice support netmem_tx.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(hf``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions h](j)}(h``netdev_ops``h]j)}(hjkh]h netdev_ops}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjeubj)}(hhh]jX)}(hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functionsh]hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(hW``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. h](j)}(h``header_ops``h]j)}(hjh]h header_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjubj)}(hhh]jX)}(hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.h]hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hj߹h]h_tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݹubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjٹubj)}(hhh]jX)}(hArray of TX queuesh]hArray of TX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjٹubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``gso_partial_features`` value(s) from NETIF_F_GSO\* h](j)}(h``gso_partial_features``h]j)}(hjh]hgso_partial_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(hF``real_num_tx_queues`` Number of TX queues currently active in device h](j)}(h``real_num_tx_queues``h]j)}(hjQh]hreal_num_tx_queues}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubj)}(hhh]jX)}(h.Number of TX queues currently active in deviceh]h.Number of TX queues currently active in device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(h>``gso_max_size`` Maximum size of generic segmentation offload h](j)}(h``gso_max_size``h]j)}(hjh]h gso_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,Maximum size of generic segmentation offloadh]h,Maximum size of generic segmentation offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. h](j)}(h``gso_ipv4_max_size``h]j)}(hjúh]hgso_ipv4_max_size}(hjźhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Maximum size of generic segmentation offload, for IPv4.h]h7Maximum size of generic segmentation offload, for IPv4.}(hjܺhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjٺubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjغhMhjubj)}(hR``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO h](j)}(h``gso_max_segs``h]j)}(hjh]h gso_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h@Maximum number of segments that can be passed to the NIC for GSOh]h@Maximum number of segments that can be passed to the NIC for GSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``num_tc`` Number of traffic classes in the net device h](j)}(h ``num_tc``h]j)}(hj7h]hnum_tc}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1ubj)}(hhh]jX)}(h+Number of traffic classes in the net deviceh]h+Number of traffic classes in the net device}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(h``mtu`` Interface MTU value h](j)}(h``mtu``h]j)}(hjph]hmtu}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMAhjjubj)}(hhh]jX)}(hInterface MTU valueh]hInterface MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(hf``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed h](j)}(h``needed_headroom``h]j)}(hjh]hneeded_headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjubj)}(hhh]jX)}(hQExtra headroom the hardware may need, but not in all cases can this be guaranteedh]hQExtra headroom the hardware may need, but not in all cases can this be guaranteed}(hj»hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hjh]h tc_to_txq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjݻubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݻubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``xps_maps`` XXX: need comments on this one h](j)}(h ``xps_maps``h]j)}(hjh]hxps_maps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h@``nf_hooks_egress`` netfilter hooks executed for egress packets h](j)}(h``nf_hooks_egress``h]j)}(hjUh]hnf_hooks_egress}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubj)}(hhh]jX)}(h+netfilter hooks executed for egress packetsh]h+netfilter hooks executed for egress packets}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(hF``tcx_egress`` BPF & clsact qdisc specific data for egress processing h](j)}(h``tcx_egress``h]j)}(hjh]h tcx_egress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h6BPF & clsact qdisc specific data for egress processingh]h6BPF & clsact qdisc specific data for egress processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjǼh]h{unnamed_union}}(hjɼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjżubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjܼhKhjݼubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܼhKhjubj)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hjh]hlstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes h](j)}(h ``tstats``h]j)}(hj9h]htstats}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubj)}(hhh]jX)}(h-Tunnel statistics: RX/TX packets, RX/TX bytesh]h-Tunnel statistics: RX/TX packets, RX/TX bytes}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h=``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes h](j)}(h ``dstats``h]j)}(hjrh]hdstats}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjlubj)}(hhh]jX)}(h1Dummy statistics: RX/TX/drop packets, RX/TX bytesh]h1Dummy statistics: RX/TX/drop packets, RX/TX bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``state`` Generic network queuing layer state, see netdev_state_t h](j)}(h ``state``h]j)}(hjh]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Generic network queuing layer state, see netdev_state_th]h7Generic network queuing layer state, see netdev_state_t}(hjĽhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``flags`` Interface flags (a la BSD) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hj޽ubj)}(hhh]jX)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhj޽ubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(h4``hard_header_len`` Maximum hardware header length. h](j)}(h``hard_header_len``h]j)}(hjh]hhard_header_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhjubj)}(hhh]jX)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMEhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMEhjubj)}(h.``features`` Currently active device features h](j)}(h ``features``h]j)}(hjVh]hfeatures}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjPubj)}(hhh]jX)}(h Currently active device featuresh]h Currently active device features}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(h``ip6_ptr`` IPv6 specific data h](j)}(h ``ip6_ptr``h]j)}(hjh]hip6_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjubj)}(hhh]jX)}(hIPv6 specific datah]hIPv6 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(h0``xdp_prog`` XDP sockets filter program pointer h](j)}(h ``xdp_prog``h]j)}(hjȾh]hxdp_prog}(hjʾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƾubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~hj¾ubj)}(hhh]jX)}(h"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjݾhM~hj޾ubah}(h]h ]h"]h$]h&]uh1jhj¾ubeh}(h]h ]h"]h$]h&]uh1jhjݾhM~hjubj)}(hF``ptype_specific`` Device-specific, protocol-specific packet handlers h](j)}(h``ptype_specific``h]j)}(hjh]hptype_specific}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``ifindex`` interface index h](j)}(h ``ifindex``h]j)}(hj:h]hifindex}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]jX)}(hinterface indexh]hinterface index}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(hF``real_num_rx_queues`` Number of RX queues currently active in device h](j)}(h``real_num_rx_queues``h]j)}(hjsh]hreal_num_rx_queues}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hjmubj)}(hhh]jX)}(h.Number of RX queues currently active in deviceh]h.Number of RX queues currently active in device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubj)}(h``_rx`` Array of RX queues h](j)}(h``_rx``h]j)}(hjh]h_rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMzhjubj)}(hhh]jX)}(hArray of RX queuesh]hArray of RX queues}(hjſhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhj¿ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(hT``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) h](j)}(h``gro_max_size``h]j)}(hjh]h gro_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj߿ubj)}(hhh]jX)}(hBMaximum size of aggregated packet in generic receive offload (GRO)h]hBMaximum size of aggregated packet in generic receive offload (GRO)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj߿ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hd``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. h](j)}(h``gro_ipv4_max_size``h]j)}(hjh]hgro_ipv4_max_size}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMMaximum size of aggregated packet in generic receive offload (GRO), for IPv4.h]hMMaximum size of aggregated packet in generic receive offload (GRO), for IPv4.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h,``rx_handler`` handler for received packets h](j)}(h``rx_handler``h]j)}(hjYh]h rx_handler}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjSubj)}(hhh]jX)}(hhandler for received packetsh]hhandler for received packets}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(h3``rx_handler_data`` XXX: need comments on this one h](j)}(h``rx_handler_data``h]j)}(hjh]hrx_handler_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``nd_net`` Network namespace this network device is inside protected by **lock** h](j)}(h ``nd_net``h]j)}(hjh]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hENetwork namespace this network device is inside protected by **lock**h](h=Network namespace this network device is inside protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``npinfo`` XXX: need comments on this one h](j)}(h ``npinfo``h]j)}(hjh]hnpinfo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(hH``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing h](j)}(h``tcx_ingress``h]j)}(hjLh]h tcx_ingress}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjFubj)}(hhh]jX)}(h7BPF & clsact qdisc specific data for ingress processingh]h7BPF & clsact qdisc specific data for ingress processing}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(h``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. h](j)}(h``name``h]j)}(hjh]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hThis is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface.h]hThis is the first field of the “visible” part of this structure (i.e. as seen by users in the “Space.c” file). It is the name of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``name_node`` Name hashlist node h](j)}(h ``name_node``h]j)}(hjh]h name_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hName hashlist nodeh]hName hashlist node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``ifalias`` SNMP alias h](j)}(h ``ifalias``h]j)}(hjh]hifalias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h SNMP aliash]h SNMP alias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``mem_end`` Shared memory end h](j)}(h ``mem_end``h]j)}(hj1h]hmem_end}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+ubj)}(hhh]jX)}(hShared memory endh]hShared memory end}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubj)}(h"``mem_start`` Shared memory start h](j)}(h ``mem_start``h]j)}(hjjh]h mem_start}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubj)}(hhh]jX)}(hShared memory starth]hShared memory start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``base_addr`` Device I/O address h](j)}(h ``base_addr``h]j)}(hjh]h base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDevice I/O addressh]hDevice I/O address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``dev_list`` The global list of network devices h](j)}(h ``dev_list``h]j)}(hjh]hdev_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h"The global list of network devicesh]h"The global list of network devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``napi_list`` List entry used for polling NAPI devices h](j)}(h ``napi_list``h]j)}(hjh]h napi_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(hd``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev h](j)}(h``unreg_list``h]j)}(hjNh]h unreg_list}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHubj)}(hhh]jX)}(hTList entry when we are unregistering the device; see the function unregister_netdevh]hTList entry when we are unregistering the device; see the function unregister_netdev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(h>``close_list`` List entry used when we are closing the device h](j)}(h``close_list``h]j)}(hjh]h close_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h.List entry used when we are closing the deviceh]h.List entry used when we are closing the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``ptype_all`` Device-specific packet handlers for all protocols h](j)}(h ``ptype_all``h]j)}(hjh]h ptype_all}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hjh]hadj_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h8``xdp_features`` XDP capability supported by the device h](j)}(h``xdp_features``h]j)}(hj3h]h xdp_features}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hj-ubj)}(hhh]jX)}(h&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM9hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM9hjubj)}(hB``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. h](j)}(h``xdp_metadata_ops``h]j)}(hjlh]hxdp_metadata_ops}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjfubj)}(hhh]jX)}(h,Includes pointers to XDP metadata callbacks.h]h,Includes pointers to XDP metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(hK``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. h](j)}(h``xsk_tx_metadata_ops``h]j)}(hjh]hxsk_tx_metadata_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjubj)}(hhh]jX)}(h2Includes pointers to AF_XDP TX metadata callbacks.h]h2Includes pointers to AF_XDP TX metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h+``gflags`` Global flags ( kept as legacy ) h](j)}(h ``gflags``h]j)}(hjh]hgflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj)}(hhh]jX)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb h](j)}(h``needed_tailroom``h]j)}(hjh]hneeded_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjubj)}(hhh]jX)}(hExtra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skbh]hExtra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMLhjubj)}(h)``hw_features`` User-changeable features h](j)}(h``hw_features``h]j)}(hjQh]h hw_features}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubj)}(hhh]jX)}(hUser-changeable featuresh]hUser-changeable features}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(h,``wanted_features`` User-requested features h](j)}(h``wanted_features``h]j)}(hjh]hwanted_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hUser-requested featuresh]hUser-requested features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``vlan_features`` Mask of features inheritable by VLAN devices h](j)}(h``vlan_features``h]j)}(hjh]h vlan_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. h](j)}(h``hw_enc_features``h]j)}(hjh]hhw_enc_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.h]hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``mpls_features`` Mask of features inheritable by MPLS h](j)}(h``mpls_features``h]j)}(hj6h]h mpls_features}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jX)}(h$Mask of features inheritable by MPLSh]h$Mask of features inheritable by MPLS}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(h(``min_mtu`` Interface Minimum MTU value h](j)}(h ``min_mtu``h]j)}(hjoh]hmin_mtu}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjiubj)}(hhh]jX)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h(``max_mtu`` Interface Maximum MTU value h](j)}(h ``max_mtu``h]j)}(hjh]hmax_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjubj)}(hhh]jX)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubj)}(hhh]jX)}(hInterface hardware typeh]hInterface hardware type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h2``min_header_len`` Minimum hardware header length h](j)}(h``min_header_len``h]j)}(hjh]hmin_header_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhjubj)}(hhh]jX)}(hMinimum hardware header lengthh]hMinimum hardware header length}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMFhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMFhjubj)}(h<``name_assign_type`` network interface name assignment type h](j)}(h``name_assign_type``h]j)}(hjSh]hname_assign_type}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hjMubj)}(hhh]jX)}(h&network interface name assignment typeh]h&network interface name assignment type}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM\hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM\hjubj)}(h*``group`` The group the device belongs to h](j)}(h ``group``h]j)}(hjh]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hThe group the device belongs toh]hThe group the device belongs to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hjh]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 insteadh]hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 instead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hD``core_stats`` core networking counters, do not use this in drivers h](j)}(h``core_stats``h]j)}(hjh]h core_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjubj)}(hhh]jX)}(h4core networking counters, do not use this in driversh]h4core networking counters, do not use this in drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h=``carrier_up_count`` Number of times the carrier has been up h](j)}(h``carrier_up_count``h]j)}(hj9h]hcarrier_up_count}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hj3ubj)}(hhh]jX)}(h'Number of times the carrier has been uph]h'Number of times the carrier has been up}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM$hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM$hjubj)}(hA``carrier_down_count`` Number of times the carrier has been down h](j)}(h``carrier_down_count``h]j)}(hjrh]hcarrier_down_count}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjlubj)}(hhh]jX)}(h)Number of times the carrier has been downh]h)Number of times the carrier has been down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h}``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. h](j)}(h``wireless_handlers``h]j)}(hjh]hwireless_handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjubj)}(hhh]jX)}(hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.h]hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hjh]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjubj)}(hhh]jX)}(hManagement operationsh]hManagement operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h0``l3mdev_ops`` Layer 3 master device operations h](j)}(h``l3mdev_ops``h]j)}(hjh]h l3mdev_ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjubj)}(hhh]jX)}(h Layer 3 master device operationsh]h Layer 3 master device operations}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM0hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM0hjubj)}(hn``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. h](j)}(h ``ndisc_ops``h]j)}(hjWh]h ndisc_ops}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjQubj)}(hhh]jX)}(h_Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN.h]h_Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM2hjubj)}(h2``xfrmdev_ops`` Transformation offload operations h](j)}(h``xfrmdev_ops``h]j)}(hjh]h xfrmdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjubj)}(hhh]jX)}(h!Transformation offload operationsh]h!Transformation offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hjh]h tlsdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hjubj)}(hhh]jX)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(h ``operstate`` RFC2863 operstate h](j)}(h ``operstate``h]j)}(hjh]h operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjubj)}(hhh]jX)}(hRFC2863 operstateh]hRFC2863 operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h*``link_mode`` Mapping policy to operstate h](j)}(h ``link_mode``h]j)}(hj<h]h link_mode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hj6ubj)}(hhh]jX)}(hMapping policy to operstateh]hMapping policy to operstate}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhM>hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM>hjubj)}(h$``if_port`` Selectable AUI, TP, ... h](j)}(h ``if_port``h]j)}(hjuh]hif_port}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjoubj)}(hhh]jX)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h``dma`` DMA channel h](j)}(h``dma``h]j)}(hjh]hdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjubj)}(hhh]jX)}(h DMA channelh]h DMA channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(h#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hjh]h perm_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhjubj)}(hhh]jX)}(hPermanent hw addressh]hPermanent hw address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h0``addr_assign_type`` Hw address assignment type h](j)}(h``addr_assign_type``h]j)}(hj h]haddr_assign_type}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhjubj)}(hhh]jX)}(hHw address assignment typeh]hHw address assignment type}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMQhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMQhjubj)}(h%``addr_len`` Hardware address length h](j)}(h ``addr_len``h]j)}(hjYh]haddr_len}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhjSubj)}(hhh]jX)}(hHardware address lengthh]hHardware address length}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMRhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMRhjubj)}(h6``upper_level`` Maximum depth level of upper devices. h](j)}(h``upper_level``h]j)}(hjh]h upper_level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjubj)}(hhh]jX)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hjh]h lower_level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThjubj)}(hhh]jX)}(h%Maximum depth level of lower devices.h]h%Maximum depth level of lower devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(h"``threaded`` napi threaded state. h](j)}(h ``threaded``h]j)}(hjh]hthreaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjubj)}(hhh]jX)}(hnapi threaded state.h]hnapi threaded state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hj=h]hneigh_priv_len}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhj7ubj)}(hhh]jX)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMVhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMVhjubj)}(hP``dev_id`` Used to differentiate devices that share the same link layer address h](j)}(h ``dev_id``h]j)}(hjvh]hdev_id}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXhjpubj)}(hhh]jX)}(hDUsed to differentiate devices that share the same link layer addressh]hDUsed to differentiate devices that share the same link layer address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(hH``dev_port`` Used to differentiate devices that share the same function h](j)}(h ``dev_port``h]j)}(hjh]hdev_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMZhjubj)}(hhh]jX)}(h:Used to differentiate devices that share the same functionh]h:Used to differentiate devices that share the same function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h``irq`` Device IRQ number h](j)}(h``irq``h]j)}(hjh]hirq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDevice IRQ numberh]hDevice IRQ number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``priv_len`` Size of the ->priv flexible array h](j)}(h ``priv_len``h]j)}(hj#h]hpriv_len}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjubj)}(hhh]jX)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hM;hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM;hjubj)}(h2``addr_list_lock`` XXX: need comments on this one h](j)}(h``addr_list_lock``h]j)}(hj\h]haddr_list_lock}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjVubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhM[hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM[hjubj)}(h``uc`` unicast mac addresses h](j)}(h``uc``h]j)}(hjh]huc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubj)}(hhh]jX)}(hunicast mac addressesh]hunicast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(h``mc`` multicast mac addresses h](j)}(h``mc``h]j)}(hjh]hmc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjubj)}(hhh]jX)}(hmulticast mac addressesh]hmulticast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(h*``dev_addrs`` list of device hw addresses h](j)}(h ``dev_addrs``h]j)}(hjh]h dev_addrs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubj)}(hhh]jX)}(hlist of device hw addressesh]hlist of device hw addresses}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(h>``queues_kset`` Group of all Kobjects in the Tx and RX queues h](j)}(h``queues_kset``h]j)}(hj@h]h queues_kset}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhj:ubj)}(hhh]jX)}(h-Group of all Kobjects in the Tx and RX queuesh]h-Group of all Kobjects in the Tx and RX queues}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMdhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMdhjubj)}(hi``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. h](j)}(h``unlink_list``h]j)}(hjyh]h unlink_list}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjsubj)}(hhh]jX)}(hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.h]hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode h](j)}(h``promiscuity``h]j)}(hjh]h promiscuity}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjubj)}(hhh]jX)}(hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous modeh]hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h<``allmulti`` Counter, enables or disables allmulticast mode h](j)}(h ``allmulti``h]j)}(hjh]hallmulti}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjubj)}(hhh]jX)}(h.Counter, enables or disables allmulticast modeh]h.Counter, enables or disables allmulticast mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubj)}(h``uc_promisc`` Counter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode() h](j)}(h``uc_promisc``h]j)}(hj&h]h uc_promisc}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hj ubj)}(hhh]jX)}(hCounter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode()h]hCounter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode()}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM`hjubj)}(hS``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. h](j)}(h``nested_level``h]j)}(hj`h]h nested_level}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjZubj)}(hhh]jX)}(hAUsed as a parameter of spin_lock_nested() of dev->addr_list_lock.h]hAUsed as a parameter of spin_lock_nested() of dev->addr_list_lock.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(h``ip_ptr`` IPv4 specific data h](j)}(h ``ip_ptr``h]j)}(hjh]hip_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhjubj)}(hhh]jX)}(hIPv4 specific datah]hIPv4 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h5``fib_nh_head`` nexthops associated with this netdev h](j)}(h``fib_nh_head``h]j)}(hjh]h fib_nh_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``vlan_info`` VLAN info h](j)}(h ``vlan_info``h]j)}(hj h]h vlan_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjubj)}(hhh]jX)}(h VLAN infoh]h VLAN info}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMjhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMjhjubj)}(h``dsa_ptr`` dsa specific data h](j)}(h ``dsa_ptr``h]j)}(hjEh]hdsa_ptr}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhj?ubj)}(hhh]jX)}(hdsa specific datah]hdsa specific data}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMkhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMkhjubj)}(h ``tipc_ptr`` TIPC specific data h](j)}(h ``tipc_ptr``h]j)}(hj~h]htipc_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhjxubj)}(hhh]jX)}(hTIPC specific datah]hTIPC specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h``atalk_ptr`` AppleTalk link h](j)}(h ``atalk_ptr``h]j)}(hjh]h atalk_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjubj)}(hhh]jX)}(hAppleTalk linkh]hAppleTalk link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h!``ax25_ptr`` AX.25 specific data h](j)}(h ``ax25_ptr``h]j)}(hjh]hax25_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjubj)}(hhh]jX)}(hAX.25 specific datah]hAX.25 specific data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(hG``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering h](j)}(h``ieee80211_ptr``h]j)}(hj)h]h ieee80211_ptr}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhj#ubj)}(hhh]jX)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMqhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMqhjubj)}(hW``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct h](j)}(h``ieee802154_ptr``h]j)}(hjbh]hieee802154_ptr}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshj\ubj)}(hhh]jX)}(hCIEEE 802.15.4 low-rate Wireless Personal Area Network device structh]hCIEEE 802.15.4 low-rate Wireless Personal Area Network device struct}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMshjubj)}(h%``mpls_ptr`` mpls_dev struct pointer h](j)}(h ``mpls_ptr``h]j)}(hjh]hmpls_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjubj)}(hhh]jX)}(hmpls_dev struct pointerh]hmpls_dev struct pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(h ``mctp_ptr`` MCTP specific data h](j)}(h ``mctp_ptr``h]j)}(hjh]hmctp_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubj)}(hhh]jX)}(hMCTP specific datah]hMCTP specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(hI``dev_addr`` Hw address (before bcast, because most packets are unicast) h](j)}(h ``dev_addr``h]j)}(hjh]hdev_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxhjubj)}(hhh]jX)}(h;Hw address (before bcast, because most packets are unicast)h]h;Hw address (before bcast, because most packets are unicast)}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMxhjubj)}(hJ``num_rx_queues`` Number of RX queues allocated at register_netdev() time h](j)}(h``num_rx_queues``h]j)}(hjHh]h num_rx_queues}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hjBubj)}(hhh]jX)}(h7Number of RX queues allocated at register_netdev() timeh]h7Number of RX queues allocated at register_netdev() time}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM|hjubj)}(hT``xdp_zc_max_segs`` Maximum number of segments supported by AF_XDP zero copy driver h](j)}(h``xdp_zc_max_segs``h]j)}(hjh]hxdp_zc_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj|ubj)}(hhh]jX)}(h?Maximum number of segments supported by AF_XDP zero copy driverh]h?Maximum number of segments supported by AF_XDP zero copy driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``ingress_queue`` XXX: need comments on this one h](j)}(h``ingress_queue``h]j)}(hjh]h ingress_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``nf_hooks_ingress`` netfilter hooks executed for ingress packets h](j)}(h``nf_hooks_ingress``h]j)}(hjh]hnf_hooks_ingress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``broadcast`` hw bcast address h](j)}(h ``broadcast``h]j)}(hj.h]h broadcast}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubj)}(hhh]jX)}(hhw bcast addressh]hhw bcast address}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(h``rx_cpu_rmap`` CPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined h](j)}(h``rx_cpu_rmap``h]j)}(hjgh]h rx_cpu_rmap}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubj)}(hhh]jX)}(hCPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is definedh]hCPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjubj)}(h(``index_hlist`` Device index hash chain h](j)}(h``index_hlist``h]j)}(hjh]h index_hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDevice index hash chainh]hDevice index hash chain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time h](j)}(h``num_tx_queues``h]j)}(hjh]h num_tx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Number of TX queues allocated at alloc_netdev_mq() timeh]h7Number of TX queues allocated at alloc_netdev_mq() time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``qdisc`` Root qdisc from userspace point of view h](j)}(h ``qdisc``h]j)}(hjh]hqdisc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(h'Root qdisc from userspace point of viewh]h'Root qdisc from userspace point of view}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(h.``tx_queue_len`` Max frames per queue allowed h](j)}(h``tx_queue_len``h]j)}(hjLh]h tx_queue_len}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjFubj)}(hhh]jX)}(hMax frames per queue allowedh]hMax frames per queue allowed}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(h2``tx_global_lock`` XXX: need comments on this one h](j)}(h``tx_global_lock``h]j)}(hjh]htx_global_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``xdp_bulkq`` XDP device bulk queue h](j)}(h ``xdp_bulkq``h]j)}(hjh]h xdp_bulkq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXDP device bulk queueh]hXDP device bulk queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``qdisc_hash`` qdisc hash table h](j)}(h``qdisc_hash``h]j)}(hjh]h qdisc_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hqdisc hash tableh]hqdisc hash table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h"``watchdog_timer`` List of timers h](j)}(h``watchdog_timer``h]j)}(hj0h]hwatchdog_timer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubj)}(hhh]jX)}(hList of timersh]hList of timers}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(h\``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) h](j)}(h``watchdog_timeo``h]j)}(hjih]hwatchdog_timeo}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjcubj)}(hhh]jX)}(hHRepresents the timeout that is used by the watchdog (see dev_watchdog())h]hHRepresents the timeout that is used by the watchdog (see dev_watchdog())}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubj)}(h=``proto_down_reason`` reason a netdev interface is held down h](j)}(h``proto_down_reason``h]j)}(hjh]hproto_down_reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h&reason a netdev interface is held downh]h&reason a netdev interface is held down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``todo_list`` Delayed register/unregister h](j)}(h ``todo_list``h]j)}(hjh]h todo_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDelayed register/unregisterh]hDelayed register/unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjh]h pcpu_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h#Number of references to this deviceh]h#Number of references to this device}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(h3``dev_refcnt`` Number of references to this device h](j)}(h``dev_refcnt``h]j)}(hjNh]h dev_refcnt}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHubj)}(hhh]jX)}(h#Number of references to this deviceh]h#Number of references to this device}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(hK``refcnt_tracker`` Tracker directory for tracked references to this device h](j)}(h``refcnt_tracker``h]j)}(hjh]hrefcnt_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Tracker directory for tracked references to this deviceh]h7Tracker directory for tracked references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``link_watch_list`` XXX: need comments on this one h](j)}(h``link_watch_list``h]j)}(hjh]hlink_watch_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``reg_state`` Register/unregister state machine h](j)}(h ``reg_state``h]j)}(hjh]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h!Register/unregister state machineh]h!Register/unregister state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``dismantle`` Device is going to be freed h](j)}(h ``dismantle``h]j)}(hj2h]h dismantle}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(hhh]jX)}(hDevice is going to be freedh]hDevice is going to be freed}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h>``moving_ns`` device is changing netns, protected by **lock** h](j)}(h ``moving_ns``h]j)}(hjkh]h moving_ns}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMC hjeubj)}(hhh]jX)}(h/device is changing netns, protected by **lock**h](h'device is changing netns, protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMC hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMC hjubj)}(hA``rtnl_link_initializing`` Device being created, suppress events h](j)}(h``rtnl_link_initializing``h]j)}(hjh]hrtnl_link_initializing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhME hjubj)}(hhh]jX)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhME hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhME hjubj)}(h=``needs_free_netdev`` Should unregister perform free_netdev? h](j)}(h``needs_free_netdev``h]j)}(hjh]hneeds_free_netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h&Should unregister perform free_netdev?h]h&Should unregister perform free_netdev?}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hj$h]hpriv_destructor}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hCalled from unregisterh]hCalled from unregister}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h``ml_priv`` Mid-layer private h](j)}(h ``ml_priv``h]j)}(hj]h]hml_priv}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubj)}(hhh]jX)}(hMid-layer privateh]hMid-layer private}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(h(``ml_priv_type`` Mid-layer private type h](j)}(h``ml_priv_type``h]j)}(hjh]h ml_priv_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMid-layer private typeh]hMid-layer private type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. h](j)}(h``pcpu_stat_type``h]j)}(hjh]hpcpu_stat_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hType of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally.h]hType of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``garp_port`` GARP h](j)}(h ``garp_port``h]j)}(hj h]h garp_port}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hGARPh]hGARP}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``mrp_port`` MRP h](j)}(h ``mrp_port``h]j)}(hjBh]hmrp_port}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh]jX)}(hMRPh]hMRP}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(h$``dm_private`` Drop monitor private h](j)}(h``dm_private``h]j)}(hj{h]h dm_private}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjuubj)}(hhh]jX)}(hDrop monitor privateh]hDrop monitor private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``dev`` Class/net/name entry h](j)}(h``dev``h]j)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hClass/net/name entryh]hClass/net/name entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups h](j)}(h``sysfs_groups``h]j)}(hjh]h sysfs_groups}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h?Space for optional device, statistics and wireless sysfs groupsh]h?Space for optional device, statistics and wireless sysfs groups}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``sysfs_rx_queue_group`` Space for optional per-rx queue attributes h](j)}(h``sysfs_rx_queue_group``h]j)}(hj'h]hsysfs_rx_queue_group}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!ubj)}(hhh]jX)}(h*Space for optional per-rx queue attributesh]h*Space for optional per-rx queue attributes}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(h ``rtnl_link_ops`` Rtnl_link_ops h](j)}(h``rtnl_link_ops``h]j)}(hj`h]h rtnl_link_ops}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjZubj)}(hhh]jX)}(h Rtnl_link_opsh]h Rtnl_link_ops}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(h5``stat_ops`` Optional ops for queue-aware statistics h](j)}(h ``stat_ops``h]j)}(hjh]hstat_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h'Optional ops for queue-aware statisticsh]h'Optional ops for queue-aware statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``queue_mgmt_ops`` Optional ops for queue management h](j)}(h``queue_mgmt_ops``h]j)}(hjh]hqueue_mgmt_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h!Optional ops for queue managementh]h!Optional ops for queue management}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hE``tso_max_size`` Device (as in HW) limit on the max TSO request size h](j)}(h``tso_max_size``h]j)}(hj h]h tso_max_size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h3Device (as in HW) limit on the max TSO request sizeh]h3Device (as in HW) limit on the max TSO request size}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hF``tso_max_segs`` Device (as in HW) limit on the max TSO segment count h](j)}(h``tso_max_segs``h]j)}(hjDh]h tso_max_segs}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj>ubj)}(hhh]jX)}(h4Device (as in HW) limit on the max TSO segment counth]h4Device (as in HW) limit on the max TSO segment count}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h/``dcbnl_ops`` Data Center Bridging netlink ops h](j)}(h ``dcbnl_ops``h]j)}(hj}h]h dcbnl_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjwubj)}(hhh]jX)}(h Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``prio_tc_map`` XXX: need comments on this one h](j)}(h``prio_tc_map``h]j)}(hjh]h prio_tc_map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp h](j)}(h``fcoe_ddp_xid``h]j)}(hjh]h fcoe_ddp_xid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h#Max exchange id for FCoE LRO by ddph]h#Max exchange id for FCoE LRO by ddp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``priomap`` XXX: need comments on this one h](j)}(h ``priomap``h]j)}(hj(h]hpriomap}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"ubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h<``link_topo`` Physical link topology tracking attached PHYs h](j)}(h ``link_topo``h]j)}(hjah]h link_topo}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[ubj)}(hIhh]jX)}(h-Physical link topology tracking attached PHYsh]h-Physical link topology tracking attached PHYs}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(hG``phydev`` Physical device may attach itself for hardware timestamping h](j)}(h ``phydev``h]j)}(hjh]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h;Physical device may attach itself for hardware timestampingh]h;Physical device may attach itself for hardware timestamping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. h](j)}(h ``sfp_bus``h]j)}(hjh]hsfp_bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h6attached :c:type:`struct sfp_bus ` structure.h](h attached }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjhMhjubh structure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock h](j)}(h``qdisc_tx_busylock``h]j)}(hj0h]hqdisc_tx_busylock}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubj)}(hhh]jX)}(h1lockdep class annotating Qdisc->busylock spinlockh]h1lockdep class annotating Qdisc->busylock spinlock}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(h``proto_down`` protocol port state information can be sent to the switch driver and used to set the phys state of the switch port. h](j)}(h``proto_down``h]j)}(hjih]h proto_down}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjcubj)}(hhh]jX)}(hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.h]hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubj)}(h``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). h](j)}(h``irq_affinity_auto``h]j)}(hjh]hirq_affinity_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).h]hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hl``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). h](j)}(h``rx_cpu_rmap_auto``h]j)}(hjh]hrx_cpu_rmap_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().h]hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV h](j)}(h``see_all_hwtstamp_requests``h]j)}(hjh]hsee_all_hwtstamp_requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEVh]hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren’t HWTSTAMP_SOURCE_NETDEV}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubj)}(hJ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN h](j)}(h``change_proto_down``h]j)}(hjQh]hchange_proto_down}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubj)}(hhh]jX)}(h3device supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(h>``netns_immutable`` interface can't change network namespaces h](j)}(h``netns_immutable``h]j)}(hjh]hnetns_immutable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h)interface can't change network namespacesh]h+interface can’t change network namespaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes h](j)}(h ``fcoe_mtu``h]j)}(hjh]hfcoe_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,device supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. h](j)}(h``net_notifier_list``h]j)}(hjh]hnet_notifier_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.h]hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``macsec_ops`` MACsec offloading ops h](j)}(h``macsec_ops``h]j)}(hj6h]h macsec_ops}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jX)}(hMACsec offloading opsh]hMACsec offloading ops}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(hf``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device h](j)}(h``udp_tunnel_nic_info``h]j)}(hjoh]hudp_tunnel_nic_info}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjiubj)}(hhh]jX)}(hMstatic structure describing the UDP tunnel offload capabilities of the deviceh]hMstatic structure describing the UDP tunnel offload capabilities of the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``udp_tunnel_nic`` UDP tunnel offload state h](j)}(h``udp_tunnel_nic``h]j)}(hjh]hudp_tunnel_nic}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hjh]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h``cfg_pending``h]j)}(hjh]h cfg_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hsame as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h1same as **cfg** but when device is being activelyh](hsame as }(hj;hhhNhNubj)}(h**cfg**h]hcfg}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh" but when device is being actively}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhj0hM hj7ubj)}(hhh]jX)}(hsreconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected.h]hsreconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj[ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hj4ubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjubj)}(h"``ethtool`` ethtool related state h](j)}(h ``ethtool``h]j)}(hjh]hethtool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hethtool related stateh]hethtool related state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``xdp_state`` stores info on attached XDP BPF programs h](j)}(h ``xdp_state``h]j)}(hjh]h xdp_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. h](j)}(h``dev_addr_shadow``h]j)}(hjh]hdev_addr_shadow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h,Copy of **dev_addr** to catch direct writes.h](hCopy of }(hjhhhNhNubj)}(h **dev_addr**h]hdev_addr}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to catch direct writes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hjNh]hlinkwatch_dev_tracker}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjHubj)}(hhh]jX)}(h#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM hjubj)}(h<``watchdog_dev_tracker`` refcount tracker used by watchdog. h](j)}(h``watchdog_dev_tracker``h]j)}(hjh]hwatchdog_dev_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h"refcount tracker used by watchdog.h]h"refcount tracker used by watchdog.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hG``dev_registered_tracker`` tracker for reference held while registered h](j)}(h``dev_registered_tracker``h]j)}(hjh]hdev_registered_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h+tracker for reference held while registeredh]h+tracker for reference held while registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hjh]hoffload_xstats_l3}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. h](j)}(h``devlink_port``h]j)}(hj3h]h devlink_port}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-ubj)}(hhh]jX)}(hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.h]hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubj)}(h```dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. h](j)}(h ``dpll_pin``h]j)}(hjmh]hdpll_pin}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjgubj)}(hhh]jX)}(hRPointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered.h]hRPointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``page_pools`` page pools created for this netdevice h](j)}(h``page_pools``h]j)}(hjh]h page_pools}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hjh]h irq_moder}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).h]h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``max_pacing_offload_horizon`` max EDT offload horizon in nsec. h](j)}(h``max_pacing_offload_horizon``h]j)}(hjh]hmax_pacing_offload_horizon}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hjRh]h napi_config}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubj)}(hhh]jX)}(h@An array of napi_config structures containing per-NAPI settings.h]h@An array of napi_config structures containing per-NAPI settings.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(h4``gro_flush_timeout`` timeout for GRO layer in NAPI h](j)}(h``gro_flush_timeout``h]j)}(hjh]hgro_flush_timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(htimeout for GRO layer in NAPIh]htimeout for GRO layer in NAPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hq``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. h](j)}(h``napi_defer_hard_irqs``h]j)}(hjh]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.h]hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h``up``h]j)}(hjh]hup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hcopy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h@copy of **state**'s IFF_UP, but safe to read with just **lock**.h](hcopy of }(hjhhhNhNubj)}(h **state**h]hstate}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(’s IFF_UP, but safe to read with just }(hjhhhNhNubj)}(h**lock**h]hlock}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hhh]jX)}(h{May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close).h](hGMay report false negatives while the device is being opened or closed (}(hjThhhNhNubj)}(h**lock**h]hlock}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh, does not protect .ndo_open, or .ndo_close).}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjQubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hh``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. h](j)}(h``request_ops_lock``h]j)}(hjh]hrequest_ops_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hRrequest the core to run all **netdev_ops** and **ethtool_ops** under the **lock**.h](hrequest the core to run all }(hjhhhNhNubj)}(h**netdev_ops**h]h netdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh under the }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hXL``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: take after rtnl_lock. h](j)}(h``lock``h]j)}(hj h]hlock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh](jX)}(hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.h]hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hFor the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**.h](hFor the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting }(hj1hhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhE protection mixes with rtnl_lock in multiple ways, fields are either:}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjD2)}(hhh](jI2)}(h+simply protected by the instance **lock**; h]jX)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(hjvhhhNhNubj)}(h**lock**h]hlock}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh;}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjrubah}(h]h ]h"]h$]h&]uh1jH2hjoubjI2)}(hAdouble protected - writers hold both locks, readers hold either; h]jX)}(h@double protected - writers hold both locks, readers hold either;h]h@double protected - writers hold both locks, readers hold either;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jH2hjoubjI2)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; h]jX)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;h]hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jH2hjoubjI2)}(hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. h]jX)}(hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock.h]hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jH2hjoubeh}(h]h ]h"]h$]h&]j3juh1jC2hjhM hjubj)}(hhh](j)}(hSimply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** h](j)}(hSimply protects:h]hSimply protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hu**gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded**h](j)}(h**gro_flush_timeout**h]hgro_flush_timeout}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**napi_defer_hard_irqs**h]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **napi_list**h]h napi_list}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **reg_state**h]h reg_state}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **threaded**h]hthreaded}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hEDouble protects: **up**, **moving_ns**, **nd_net**, **xdp_features** h](j)}(hDouble protects:h]hDouble protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h3**up**, **moving_ns**, **nd_net**, **xdp_features**h](j)}(h**up**h]hup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h **moving_ns**h]h moving_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **nd_net**h]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**xdp_features**h]h xdp_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hDDouble ops protects: **real_num_rx_queues**, **real_num_tx_queues** h](j)}(hDouble ops protects:h]hDouble ops protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h.**real_num_rx_queues**, **real_num_tx_queues**h](j)}(h**real_num_rx_queues**h]hreal_num_rx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h**real_num_tx_queues**h]hreal_num_tx_queues}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jWhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h^Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue h](j)}(hAlso protects some fields in:h]hAlso protects some fields in:}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjBubj)}(hhh]jX)}(h?struct napi_struct, struct netdev_queue, struct netdev_rx_queueh]h?struct napi_struct, struct netdev_queue, struct netdev_rx_queue}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM hjUubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjThM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(hOrdering: take after rtnl_lock.h]hOrdering: take after rtnl_lock.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h```net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h h](j)}(h``net_shaper_hierarchy``h]j)}(hjh]hnet_shaper_hierarchy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hFdata tracking the current shaper status see include/net/net_shapers.h h](j)}(h'data tracking the current shaper statush]h'data tracking the current shaper status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hhh]jX)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hb``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. h](j)}(h``neighbours``h]j)}(hjh]h neighbours}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hRList heads pointing to this device's neighbours' dev_list, one per address-family.h]hVList heads pointing to this device’s neighbours’ dev_list, one per address-family.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hD``hwprov`` Tracks which PTP performs hardware packet time stamping. h](j)}(h ``hwprov``h]j)}(hj5h]hhwprov}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hj/ubj)}(hhh]jX)}(h8Tracks which PTP performs hardware packet time stamping.h]h8Tracks which PTP performs hardware packet time stamping.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM!hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM!hjubj)}(h/``priv`` Flexible array containing private datah](j)}(h``priv``h]j)}(hjnh]hpriv}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjhubj)}(hhh]jX)}(h&Flexible array containing private datah]h&Flexible array containing private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjhhubj )}(hXActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module. interface address info: FIXME: cleanup struct net_device such that network protocol info moves out. h](jX)}(hActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module.h]hActually, this whole structure is a big mistake. It mixes I/O data with strictly “high-level” data, and it has to know about almost every data structure used in the INET module.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(hinterface address info:h]hinterface address info:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(hKFIXME: cleanup struct net_device such that network protocol info moves out.h]hKFIXME: cleanup struct net_device such that network protocol info moves out.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv (C function) c.netdev_privhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void * netdev_priv (const struct net_device *dev)h]h)}(h/void *netdev_priv(const struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hM ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj%hM ubj)}(h netdev_privh]j%)}(h netdev_privh]h netdev_priv}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hM ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjGsb c.netdev_privasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj%hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj%hM ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hM hj hhubjS)}(hhh]jX)}(h"access network device private datah]h"access network device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj%hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Get network device private datah](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj@h]hconst struct net_device *dev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj:ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hGet network device private datah]hGet network device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add (C function)c.netif_napi_addhNtauh1hhjhhhNhNubh)}(hhh](h)}(hnvoid netif_napi_add (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]h)}(hlvoid netif_napi_add(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hnetif_napi_addh]j%)}(hnetif_napi_addh]hnetif_napi_add}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(hY(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_napi_addasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.netif_napi_addasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j7c.netif_napi_addasbuh1hhjubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjMh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hinitialize a NAPI contexth]hinitialize a NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX0**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** netif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM hjubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjRh]hstruct napi_struct *napi}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjLubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghM hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM hjubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjh]h&int (*poll)(struct napi_struct *, int)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hvnetif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](hLnetif_napi_add() must be used to initialize a NAPI context prior to calling }(hjhhhNhNubju)}(h*any*h]hany}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubh% of the other NAPI-related functions.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_napi_add_config (C function)c.netif_napi_add_confighNtauh1hhjhhhNhNubh)}(hhh](h)}(hvoid netif_napi_add_config (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int), int index)h]h)}(h~void netif_napi_add_config(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int), int index)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj+hM ubj)}(hnetif_napi_add_configh]j%)}(hnetif_napi_add_configh]hnetif_napi_add_config}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj+hM ubj)}(hd(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int), int index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j')}jj@sbc.netif_napi_add_configasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_napi_add_configasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hjh]h(}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hpollh]hpoll}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_napi_add_configasbuh1hhj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj;)}(hjMh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj;)}(hjh]h)}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(h int indexh](j)}(hinth]hint}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hindexh]hindex}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj+hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj+hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hM hjhhubjS)}(hhh]jX)}(h0initialize a NAPI context with persistent configh]h0initialize a NAPI context with persistent config}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjghhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj+hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function ``int index`` the NAPI indexh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjh]h&int (*poll)(struct napi_struct *, int)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hM hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM hjubj)}(h``int index`` the NAPI indexh](j)}(h ``int index``h]j)}(hjVh]h int index}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjPubj)}(hhh]jX)}(hthe NAPI indexh]hthe NAPI index}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add_tx (C function)c.netif_napi_add_txhNtauh1hhjhhhNhNubh)}(hhh](h)}(hqvoid netif_napi_add_tx (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]h)}(hovoid netif_napi_add_tx(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM& ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM& ubj)}(hnetif_napi_add_txh]j%)}(hnetif_napi_add_txh]hnetif_napi_add_tx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM& ubj)}(hY(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.netif_napi_add_txasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.netif_napi_add_txasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j'c.netif_napi_add_txasbuh1hhjubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjMh]h,}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM& ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM& ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM& hjhhubjS)}(hhh]jX)}(h0initialize a NAPI context to be used for Tx onlyh]h0initialize a NAPI context to be used for Tx only}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM& hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM& ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXm**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** This variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM* hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM' hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM' hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM' hjubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjBh]hstruct napi_struct *napi}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM( hj<ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM( hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM( hjubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hj{h]h&int (*poll)(struct napi_struct *, int)}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM) hjuubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM) hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM) hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+ hjubjX)}(hThis variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.h]hThis variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM* hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_napi_del (C function)c.__netif_napi_delhNtauh1hhjhhhNhNubh)}(hhh](h)}(h0void __netif_napi_del (struct napi_struct *napi)h]h)}(h/void __netif_napi_del(struct napi_struct *napi)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9 ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hM9 ubj)}(h__netif_napi_delh]j%)}(h__netif_napi_delh]h__netif_napi_del}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hM9 ubj)}(h(struct napi_struct *napi)h]j)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjsbc.__netif_napi_delasbuh1hhj4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hM9 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj hM9 ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM9 hjhhubjS)}(hhh]jX)}(hremove a NAPI contexth]hremove a NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hM9 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX **Parameters** ``struct napi_struct *napi`` NAPI context **Description** Warning: caller must observe RCU grace period before freeing memory containing **napi**. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM= hjubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM: hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM: hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM: hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM< hjubjX)}(hWarning: caller must observe RCU grace period before freeing memory containing **napi**. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.h](hOWarning: caller must observe RCU grace period before freeing memory containing }(hjMhhhNhNubj)}(h**napi**h]hnapi}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM; hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_del (C function)c.netif_napi_delhNtauh1hhjhhhNhNubh)}(hhh](h)}(h.void netif_napi_del (struct napi_struct *napi)h]h)}(h-void netif_napi_del(struct napi_struct *napi)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMN ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMN ubj)}(hnetif_napi_delh]j%)}(hnetif_napi_delh]hnetif_napi_del}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMN ubj)}(h(struct napi_struct *napi)h]j)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_napi_delasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMN ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMN ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMN hjhhubjS)}(hhh]jX)}(hremove a NAPI contexth]hremove a NAPI context}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMN hjKhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMN ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct napi_struct *napi`` NAPI context **Description** netif_napi_del() removes a NAPI context from the network device NAPI listh](jX)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMR hjjubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMO hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMO hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMO hjubah}(h]h ]h"]h$]h&]uh1jhjjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQ hjjubj )}(hInetif_napi_del() removes a NAPI context from the network device NAPI listh]jX)}(hjh]hInetif_napi_del() removes a NAPI context from the network device NAPI list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMP hjubah}(h]h ]h"]h$]h&]uh1j hjhMP hjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_start_queue (C function)c.netif_start_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h/void netif_start_queue (struct net_device *dev)h]h)}(h.void netif_start_queue(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj&hM ubj)}(hnetif_start_queueh]j%)}(hnetif_start_queueh]hnetif_start_queue}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj&hM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jj;sbc.netif_start_queueasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj&hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj&hM ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hM hj hhubjS)}(hhh]jX)}(hallow transmith]hallow transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj&hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj )}(h>Allow upper layers to call the device hard_start_xmit routine.h]jX)}(hjlh]h>Allow upper layers to call the device hard_start_xmit routine.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjjubah}(h]h ]h"]h$]h&]uh1j hj{hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_wake_queue (C function)c.netif_wake_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h.void netif_wake_queue (struct net_device *dev)h]h)}(h-void netif_wake_queue(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hnetif_wake_queueh]j%)}(hnetif_wake_queueh]hnetif_wake_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_wake_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hrestart transmith]hrestart transmit}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj_hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~ubj )}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]jX)}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_stop_queue (C function)c.netif_stop_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h.void netif_stop_queue (struct net_device *dev)h]h)}(h-void netif_stop_queue(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hMubj)}(hnetif_stop_queueh]j%)}(hnetif_stop_queueh]hnetif_stop_queue}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjPsbc.netif_stop_queueasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubah}(h]h ]h"]h$]h&]j<j=uh1jhj)hhhj;hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj;hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hMhj"hhubjS)}(hhh]jX)}(hstop transmitted packetsh]hstop transmitted packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj.h]hstruct net_device *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj )}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]jX)}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_queue_stopped (C function)c.netif_queue_stoppedhNtauh1hhjhhhNhNubh)}(hhh](h)}(h7bool netif_queue_stopped (const struct net_device *dev)h]h)}(h6bool netif_queue_stopped(const struct net_device *dev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM,ubj)}(hnetif_queue_stoppedh]j%)}(hnetif_queue_stoppedh]hnetif_queue_stopped}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM,ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j')}jjsbc.netif_queue_stoppedasbuh1hhjubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM,ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM,ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM,hjhhubjS)}(hhh]jX)}(h%test if transmit queue is flowblockedh]h%test if transmit queue is flowblocked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if transmit queue on device is currently unable to send.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjubj )}(h=Test if transmit queue on device is currently unable to send.h]jX)}(hj&h]h=Test if transmit queue on device is currently unable to send.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hj$ubah}(h]h ]h"]h$]h&]uh1j hj5hM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+netdev_queue_set_dql_min_limit (C function) c.netdev_queue_set_dql_min_limithNtauh1hhjhhhNhNubh)}(hhh](h)}(h\void netdev_queue_set_dql_min_limit (struct netdev_queue *dev_queue, unsigned int min_limit)h]h)}(h[void netdev_queue_set_dql_min_limit(struct netdev_queue *dev_queue, unsigned int min_limit)h](j)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjjhMHubj)}(hnetdev_queue_set_dql_min_limith]j%)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjjhMHubj)}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.netdev_queue_set_dql_min_limitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int min_limith](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h min_limith]h min_limit}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhjjhMHubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjjhMHubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMHhjQhhubjS)}(hhh]jX)}(hset dql minimum limith]hset dql minimum limit}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjjhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjjhMHubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXR**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue ``unsigned int min_limit`` dql minimum limit **Description** Forces xmit_more() to return true until the minimum threshold defined by **min_limit** is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjubj)}(hhh](j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjh]hstruct netdev_queue *dev_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubj)}(h-``unsigned int min_limit`` dql minimum limit h](j)}(h``unsigned int min_limit``h]j)}(hjh]hunsigned int min_limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjubj)}(hhh]jX)}(hdql minimum limith]hdql minimum limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj"h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjubjX)}(hForces xmit_more() to return true until the minimum threshold defined by **min_limit** is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.h](hIForces xmit_more() to return true until the minimum threshold defined by }(hj8hhhNhNubj)}(h **min_limit**h]h min_limit}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhk is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netdev_txq_bql_enqueue_prefetchw (C function)"c.netdev_txq_bql_enqueue_prefetchwhNtauh1hhjhhhNhNubh)}(hhh](h)}(hFvoid netdev_txq_bql_enqueue_prefetchw (struct netdev_queue *dev_queue)h]h)}(hEvoid netdev_txq_bql_enqueue_prefetchw(struct netdev_queue *dev_queue)h](j)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMdubj)}(h netdev_txq_bql_enqueue_prefetchwh]j%)}(h netdev_txq_bql_enqueue_prefetchwh]h netdev_txq_bql_enqueue_prefetchw}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjhMdubj)}(h (struct netdev_queue *dev_queue)h]j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb"c.netdev_txq_bql_enqueue_prefetchwasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMdubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMdhjnhhubjS)}(hhh]jX)}(hprefetch bql data for writeh]hprefetch bql data for write}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhj6hhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue **Description** BQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.h](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjUubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjzh]hstruct netdev_queue *dev_queue}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjtubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMehjqubah}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjUubjX)}(hiBQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.h]hiBQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_txq_bql_complete_prefetchw (C function)#c.netdev_txq_bql_complete_prefetchwhNtauh1hhjhhhNhNubh)}(hhh](h)}(hGvoid netdev_txq_bql_complete_prefetchw (struct netdev_queue *dev_queue)h]h)}(hFvoid netdev_txq_bql_complete_prefetchw(struct netdev_queue *dev_queue)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMrubj)}(h!netdev_txq_bql_complete_prefetchwh]j%)}(h!netdev_txq_bql_complete_prefetchwh]h!netdev_txq_bql_complete_prefetchw}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMrubj)}(h (struct netdev_queue *dev_queue)h]j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjsb#c.netdev_txq_bql_complete_prefetchwasbuh1hhj3ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMrubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMrhjhhubjS)}(hhh]jX)}(hprefetch bql data for writeh]hprefetch bql data for write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue **Description** BQL enabled drivers might use this helper in their TX completion path, to give appropriate hint to the CPU.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhjubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjh]hstruct netdev_queue *dev_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubjX)}(hkBQL enabled drivers might use this helper in their TX completion path, to give appropriate hint to the CPU.h]hkBQL enabled drivers might use this helper in their TX completion path, to give appropriate hint to the CPU.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_tx_sent_queue (C function)c.netdev_tx_sent_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hNvoid netdev_tx_sent_queue (struct netdev_queue *dev_queue, unsigned int bytes)h]h)}(hMvoid netdev_tx_sent_queue(struct netdev_queue *dev_queue, unsigned int bytes)h](j)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjhMubj)}(hnetdev_tx_sent_queueh]j%)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjhMubj)}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_tx_sent_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(hbytesh]hbytes}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjhMubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjphhubjS)}(hhh]jX)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int bytes`` number of bytes queued to the device queue **Description** Report the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjh]hstruct netdev_queue *dev_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hnetwork device queueh]hnetwork device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``unsigned int bytes`` number of bytes queued to the device queue h](j)}(h``unsigned int bytes``h]j)}(hjh]hunsigned int bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h*number of bytes queued to the device queueh]h*number of bytes queued to the device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj )}(hXReport the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h]jX)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](h_Report the number of bytes queued for sending/completion to the network device hardware queue. }(hj[hhhNhNubj)}(h **bytes**h]hbytes}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj[hhhNhNubj)}(h **bytes**h]hbytes}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_sent_queue (C function)c.netdev_sent_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hCvoid netdev_sent_queue (struct net_device *dev, unsigned int bytes)h]h)}(hBvoid netdev_sent_queue(struct net_device *dev, unsigned int bytes)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_sent_queueh]j%)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h,(struct net_device *dev, unsigned int bytes)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_sent_queueasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hbytesh]hbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int bytes`` number of bytes queued to the hardware device queue **Description** Report the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hK``unsigned int bytes`` number of bytes queued to the hardware device queue h](j)}(h``unsigned int bytes``h]j)}(hj?h]hunsigned int bytes}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj9ubj)}(hhh]jX)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj )}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h]jX)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](haReport the number of bytes queued for sending/completion to the network device hardware queue#0. }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhR should be a good approximation and should exactly match netdev_completed_queue() }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This is typically called once per packet, from ndo_start_xmit().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_tx_completed_queue (C function)c.netdev_tx_completed_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hfvoid netdev_tx_completed_queue (struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h]h)}(hevoid netdev_tx_completed_queue(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_tx_completed_queueh]j%)}(hnetdev_tx_completed_queueh]hnetdev_tx_completed_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hG(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_tx_completed_queueasbuh1hhj&ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(hunsigned int pktsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpktsh]hpkts}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbytesh]hbytes}(hj% hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjL hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg jxjg jyjzj{uh1hhhhjhNhNubj})}(hXs**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int pkts`` number of packets (currently ignored) ``unsigned int bytes`` number of bytes dequeued from the device queue **Description** Must be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h](jX)}(h**Parameters**h]j)}(hjq h]h Parameters}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj h]hstruct netdev_queue *dev_queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hnetwork device queueh]hnetwork device queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h<``unsigned int pkts`` number of packets (currently ignored) h](j)}(h``unsigned int pkts``h]j)}(hj h]hunsigned int pkts}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(hF``unsigned int bytes`` number of bytes dequeued from the device queue h](j)}(h``unsigned int bytes``h]j)}(hj h]hunsigned int bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(h.number of bytes dequeued from the device queueh]h.number of bytes dequeued from the device queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjk ubjX)}(h**Description**h]j)}(hj= h]h Description}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj; ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk ubj )}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]jX)}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjS ubah}(h]h ]h"]h$]h&]uh1j hje hMhjk ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_completed_queue (C function)c.netdev_completed_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h[void netdev_completed_queue (struct net_device *dev, unsigned int pkts, unsigned int bytes)h]h)}(hZvoid netdev_completed_queue(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hnetdev_completed_queueh]j%)}(hnetdev_completed_queueh]hnetdev_completed_queue}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h?(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.netdev_completed_queueasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdevh]hdev}(hj" hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hunsigned int pktsh](j)}(hunsignedh]hunsigned}(hj; hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7 ubj)}(h h]h }(hjI hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7 ubj)}(hinth]hint}(hjW hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7 ubj)}(h h]h }(hje hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7 ubj%)}(hpktsh]hpkts}(hjs hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7 ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hbytesh]hbytes}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(h,report bytes and packets completed by deviceh]h,report bytes and packets completed by device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int pkts`` actual number of packets sent over the medium ``unsigned int bytes`` actual number of bytes sent over the medium **Description** Report the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj/ h]hstruct net_device *dev}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj- ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj) ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjD hMhjE ubah}(h]h ]h"]h$]h&]uh1jhj) ubeh}(h]h ]h"]h$]h&]uh1jhjD hMhj& ubj)}(hD``unsigned int pkts`` actual number of packets sent over the medium h](j)}(h``unsigned int pkts``h]j)}(hjh h]hunsigned int pkts}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjb ubj)}(hhh]jX)}(h-actual number of packets sent over the mediumh]h-actual number of packets sent over the medium}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj} hMhj~ ubah}(h]h ]h"]h$]h&]uh1jhjb ubeh}(h]h ]h"]h$]h&]uh1jhj} hMhj& ubj)}(hC``unsigned int bytes`` actual number of bytes sent over the medium h](j)}(h``unsigned int bytes``h]j)}(hj h]hunsigned int bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(h+actual number of bytes sent over the mediumh]h+actual number of bytes sent over the medium}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj& ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj )}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h]jX)}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](hrReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, }(hj hhhNhNubj)}(h **bytes**h]hbytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh must exactly match the }(hj hhhNhNubj)}(h **bytes**h]hbytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh% amount passed to netdev_sent_queue()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1j hj( hMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_tx_reset_subqueue (C function)c.netdev_tx_reset_subqueuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hEvoid netdev_tx_reset_subqueue (const struct net_device *dev, u32 qid)h]h)}(hDvoid netdev_tx_reset_subqueue(const struct net_device *dev, u32 qid)h](j)}(hvoidh]hvoid}(hjO hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hj^ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK hhhj] hM ubj)}(hnetdev_tx_reset_subqueueh]j%)}(hnetdev_tx_reset_subqueueh]hnetdev_tx_reset_subqueue}(hjp hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjK hhhj] hM ubj)}(h'(const struct net_device *dev, u32 qid)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjr sbc.netdev_tx_reset_subqueueasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu32 qidh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.netdev_tx_reset_subqueueasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hqidh]hqid}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjK hhhj] hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjG hhhj] hM ubah}(h]jB ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj] hM hjD hhubjS)}(hhh]jX)}(h/reset the BQL stats and state of a netdev queueh]h/reset the BQL stats and state of a netdev queue}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjohhubah}(h]h ]h"]h$]h&]uh1jRhjD hhhj] hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hr**Parameters** ``const struct net_device *dev`` network device ``u32 qid`` stack index of the queue to reseth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h-``u32 qid`` stack index of the queue to reseth](j)}(h ``u32 qid``h]j)}(hjh]hu32 qid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h!stack index of the queue to reseth]h!stack index of the queue to reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_reset_queue (C function)c.netdev_reset_queuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h6void netdev_reset_queue (struct net_device *dev_queue)h]h)}(h5void netdev_reset_queue(struct net_device *dev_queue)h](j)}(hvoidh]hvoid}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThMubj)}(hnetdev_reset_queueh]j%)}(hnetdev_reset_queueh]hnetdev_reset_queue}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThMubj)}(h(struct net_device *dev_queue)h]j)}(hstruct net_device *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjisbc.netdev_reset_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubah}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThMubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhj;hhubjS)}(hhh]jX)}(h5reset the packets and bytes count of a network deviceh]h5reset the packets and bytes count of a network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev_queue`` network device **Description** Reset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"ubj)}(hhh]j)}(h0``struct net_device *dev_queue`` network device h](j)}(h ``struct net_device *dev_queue``h]j)}(hjGh]hstruct net_device *dev_queue}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"ubj )}(hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh]jX)}(hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh]hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_cap_txqueue (C function)c.netdev_cap_txqueuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h@u16 netdev_cap_txqueue (struct net_device *dev, u16 queue_index)h]h)}(h?u16 netdev_cap_txqueue(struct net_device *dev, u16 queue_index)h](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_cap_txqueuesbc.netdev_cap_txqueueasbuh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM#ubj)}(hnetdev_cap_txqueueh]j%)}(hjh]hnetdev_cap_txqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM#ubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jc.netdev_cap_txqueueasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_cap_txqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM#ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM#hjhhubjS)}(hhh]jX)}(h0check if selected tx queue exceeds device queuesh]h0check if selected tx queue exceeds device queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` given tx queue index **Description** Returns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj-h]hstruct net_device *dev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hj'ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM$hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM$hj$ubj)}(h)``u16 queue_index`` given tx queue index h](j)}(h``u16 queue_index``h]j)}(hjfh]hu16 queue_index}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hj`ubj)}(hhh]jX)}(hgiven tx queue indexh]hgiven tx queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hM%hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM%hj$ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubj )}(hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h]jX)}(hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h]hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hjubah}(h]h ]h"]h$]h&]uh1j hjhM&hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_running (C function)c.netif_runninghNtauh1hhjhhhNhNubh)}(hhh](h)}(h1bool netif_running (const struct net_device *dev)h]h)}(h0bool netif_running(const struct net_device *dev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM7ubj)}(h netif_runningh]j%)}(h netif_runningh]h netif_running}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM7ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubh)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(ubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jjsbc.netif_runningasbuh1hhj(ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM7ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM7hjhhubjS)}(hhh]jX)}(h test if uph]h test if up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if the device has been brought up.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj h]hconst struct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM8hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM8hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj )}(h'Test if the device has been brought up.h]jX)}(hj^h]h'Test if the device has been brought up.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hj\ubah}(h]h ]h"]h$]h&]uh1j hjmhM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_start_subqueue (C function)c.netif_start_subqueuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hCvoid netif_start_subqueue (struct net_device *dev, u16 queue_index)h]h)}(hBvoid netif_start_subqueue(struct net_device *dev, u16 queue_index)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMIubj)}(hnetif_start_subqueueh]j%)}(hnetif_start_subqueueh]hnetif_start_subqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMIubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_start_subqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j c.netif_start_subqueueasbuh1hhj?ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(h queue_indexh]h queue_index}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMIubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMIhjhhubjS)}(hhh]jX)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Start individual transmit queue of a device with multiple transmit queues.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjh]hu16 queue_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhjubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMKhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhjubjX)}(hJStart individual transmit queue of a device with multiple transmit queues.h]hJStart individual transmit queue of a device with multiple transmit queues.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_stop_subqueue (C function)c.netif_stop_subqueuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hBvoid netif_stop_subqueue (struct net_device *dev, u16 queue_index)h]h)}(hAvoid netif_stop_subqueue(struct net_device *dev, u16 queue_index)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMWubj)}(hnetif_stop_subqueueh]j%)}(hnetif_stop_subqueueh]hnetif_stop_subqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMWubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_stop_subqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j c.netif_stop_subqueueasbuh1hhjAubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj%)}(h queue_indexh]h queue_index}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMWubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMWubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMWhjhhubjS)}(hhh]jX)}(h stop sending packets on subqueueh]h stop sending packets on subqueue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMWubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Stop individual transmit queue of a device with multiple transmit queues.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjh]hu16 queue_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMYhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjubjX)}(hIStop individual transmit queue of a device with multiple transmit queues.h]hIStop individual transmit queue of a device with multiple transmit queues.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMZhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__netif_subqueue_stopped (C function)c.__netif_subqueue_stoppedhNtauh1hhjhhhNhNubh)}(hhh](h)}(hMbool __netif_subqueue_stopped (const struct net_device *dev, u16 queue_index)h]h)}(hLbool __netif_subqueue_stopped(const struct net_device *dev, u16 queue_index)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMdubj)}(h__netif_subqueue_stoppedh]j%)}(h__netif_subqueue_stoppedh]h__netif_subqueue_stopped}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMdubj)}(h/(const struct net_device *dev, u16 queue_index)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__netif_subqueue_stoppedasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j)c.__netif_subqueue_stoppedasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj%)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMdubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMdhjhhubjS)}(hhh]jX)}(htest status of subqueueh]htest status of subqueue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Check individual transmit queue of a device with multiple transmit queues.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hj4h]hu16 queue_index}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhj.ubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMfhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMfhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjubjX)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_subqueue_stopped (C function)c.netif_subqueue_stoppedhNtauh1hhjhhhNhNubh)}(hhh](h)}(hObool netif_subqueue_stopped (const struct net_device *dev, struct sk_buff *skb)h]h)}(hNbool netif_subqueue_stopped(const struct net_device *dev, struct sk_buff *skb)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMsubj)}(hnetif_subqueue_stoppedh]j%)}(hnetif_subqueue_stoppedh]hnetif_subqueue_stopped}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMsubj)}(h3(const struct net_device *dev, struct sk_buff *skb)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]j')}jjsbc.netif_subqueue_stoppedasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jEc.netif_subqueue_stoppedasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMsubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMshjhhubjS)}(hhh]jX)}(htest status of subqueueh]htest status of subqueue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device ``struct sk_buff *skb`` sub queue buffer pointer **Description** Check individual transmit queue of a device with multiple transmit queues.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhjubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj?h]hconst struct net_device *dev}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthj9ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMthjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMthj6ubj)}(h1``struct sk_buff *skb`` sub queue buffer pointer h](j)}(h``struct sk_buff *skb``h]j)}(hjxh]hstruct sk_buff *skb}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjrubj)}(hhh]jX)}(hsub queue buffer pointerh]hsub queue buffer pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhjubjX)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_wake_subqueue (C function)c.netif_wake_subqueuehNtauh1hhjhhhNhNubh)}(hhh](h)}(hBvoid netif_wake_subqueue (struct net_device *dev, u16 queue_index)h]h)}(hAvoid netif_wake_subqueue(struct net_device *dev, u16 queue_index)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetif_wake_subqueueh]j%)}(hnetif_wake_subqueueh]hnetif_wake_subqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjsbc.netif_wake_subqueueasbuh1hhj1ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]joc.netif_wake_subqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Resume individual transmit queue of a device with multiple transmit queues.h](jX)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjAh]hstruct net_device *dev}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj;ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjzh]hu16 queue_index}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjtubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj8ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(hKResume individual transmit queue of a device with multiple transmit queues.h]hKResume individual transmit queue of a device with multiple transmit queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_attr_test_mask (C function)c.netif_attr_test_maskhNtauh1hhjhhhNhNubh)}(hhh](h)}(h\bool netif_attr_test_mask (unsigned long j, const unsigned long *mask, unsigned int nr_bits)h]h)}(h[bool netif_attr_test_mask(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetif_attr_test_maskh]j%)}(hnetif_attr_test_maskh]hnetif_attr_test_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](j)}(hunsigned long jh](j)}(hunsignedh]hunsigned}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(hlongh]hlong}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hjh]hj}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hconst unsigned long *maskh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj* hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnr_bitsh]hnr_bits}(hj8 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h$Test a CPU or Rx queue set in a maskh]h$Test a CPU or Rx queue set in a mask}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_ hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjz jxjz jyjzj{uh1hhhhjhNhNubj})}(hX **Parameters** ``unsigned long j`` CPU/Rx queue index ``const unsigned long *mask`` bitmask of all cpus/rx queues ``unsigned int nr_bits`` number of bits in the bitmask **Description** Test if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj~ ubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hj h]hunsigned long j}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h<``const unsigned long *mask`` bitmask of all cpus/rx queues h](j)}(h``const unsigned long *mask``h]j)}(hj h]hconst unsigned long *mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hbitmask of all cpus/rx queuesh]hbitmask of all cpus/rx queues}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj!h]hunsigned int nr_bits}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj.!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*!hMhj+!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj*!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj~ ubjX)}(h**Description**h]j)}(hjP!h]h Description}(hjR!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN!ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj~ ubjX)}(hFTest if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.h]hFTest if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.}(hjf!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj~ ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_attr_test_online (C function)c.netif_attr_test_onlinehNtauh1hhjhhhNhNubh)}(hhh](h)}(hebool netif_attr_test_online (unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h]h)}(hdbool netif_attr_test_online(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j)}(hjTh]hbool}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj!hMubj)}(hnetif_attr_test_onlineh]j%)}(hnetif_attr_test_onlineh]hnetif_attr_test_online}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj!hMubj)}(hI(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j)}(hunsigned long jh](j)}(hunsignedh]hunsigned}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(hlongh]hlong}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj%)}(hjph]hj}(hj "hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(h const unsigned long *online_maskh](h)}(hjh]hconst}(hj!"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj."hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(hunsignedh]hunsigned}(hj<"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(h h]h }(hjJ"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(hlongh]hlong}(hjX"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(h h]h }(hjf"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjt"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(h online_maskh]h online_mask}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hnr_bitsh]hnr_bits}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj!hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhj!hMubah}(h]j!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMhj!hhubjS)}(hhh]jX)}(hTest for online CPU/Rx queueh]hTest for online CPU/Rx queue}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"hhubah}(h]h ]h"]h$]h&]uh1jRhj!hhhj!hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#jxj#jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``unsigned long j`` CPU/Rx queue index ``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online ``unsigned int nr_bits`` number of bits in the bitmask **Return** true if a CPU/Rx queue is online.h](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hj=#h]hunsigned long j}(hj?#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7#ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjV#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjR#hMhjS#ubah}(h]h ]h"]h$]h&]uh1jhj7#ubeh}(h]h ]h"]h$]h&]uh1jhjR#hMhj4#ubj)}(hP``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online h](j)}(h$``const unsigned long *online_mask``h]j)}(hjv#h]h const unsigned long *online_mask}(hjx#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjp#ubj)}(hhh]jX)}(h*bitmask for CPUs/Rx queues that are onlineh]h*bitmask for CPUs/Rx queues that are online}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjp#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj4#ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj#h]hunsigned int nr_bits}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj4#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjX)}(h **Return**h]j)}(hj#h]hReturn}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubjX)}(h!true if a CPU/Rx queue is online.h]h!true if a CPU/Rx queue is online.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_attrmask_next (C function)c.netif_attrmask_nexthNtauh1hhjhhhNhNubh)}(hhh](h)}(hYunsigned int netif_attrmask_next (int n, const unsigned long *srcp, unsigned int nr_bits)h]h)}(hXunsigned int netif_attrmask_next(int n, const unsigned long *srcp, unsigned int nr_bits)h](j)}(hunsignedh]hunsigned}(hj/$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+$hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj>$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+$hhhj=$hMubj)}(hinth]hint}(hjL$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+$hhhj=$hMubj)}(h h]h }(hjZ$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+$hhhj=$hMubj)}(hnetif_attrmask_nexth]j%)}(hnetif_attrmask_nexth]hnetif_attrmask_next}(hjl$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+$hhhj=$hMubj)}(h8(int n, const unsigned long *srcp, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hj0h]hn}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubj)}(hconst unsigned long *srcph](h)}(hjh]hconst}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(hunsignedh]hunsigned}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(hlongh]hlong}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hsrcph]hsrcp}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj5%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1%ubj)}(h h]h }(hjC%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1%ubj)}(hinth]hint}(hjQ%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1%ubj)}(h h]h }(hj_%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1%ubj%)}(hnr_bitsh]hnr_bits}(hjm%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj+$hhhj=$hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'$hhhj=$hMubah}(h]j"$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=$hMhj$$hhubjS)}(hhh]jX)}(h1get the next CPU/Rx queue in a cpu/Rx queues maskh]h1get the next CPU/Rx queue in a cpu/Rx queues mask}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%hhubah}(h]h ]h"]h$]h&]uh1jRhj$$hhhj=$hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``int n`` CPU/Rx queue index ``const unsigned long *srcp`` the cpumask/Rx queue mask pointer ``unsigned int nr_bits`` number of bits in the bitmask **Return** next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hj%h]hint n}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubj)}(h@``const unsigned long *srcp`` the cpumask/Rx queue mask pointer h](j)}(h``const unsigned long *srcp``h]j)}(hj&h]hconst unsigned long *srcp}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj &ubj)}(hhh]jX)}(h!the cpumask/Rx queue mask pointerh]h!the cpumask/Rx queue mask pointer}(hj*&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&&hMhj'&ubah}(h]h ]h"]h$]h&]uh1jhj &ubeh}(h]h ]h"]h$]h&]uh1jhj&&hMhj%ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjJ&h]hunsigned int nr_bits}(hjL&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjD&ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjc&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_&hMhj`&ubah}(h]h ]h"]h$]h&]uh1jhjD&ubeh}(h]h ]h"]h$]h&]uh1jhj_&hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h **Return**h]j)}(hj&h]hReturn}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubjX)}(h[next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.h]h[next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netif_attrmask_next_and (C function)c.netif_attrmask_next_andhNtauh1hhjhhhNhNubh)}(hhh](h)}(hqint netif_attrmask_next_and (int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h]h)}(hpint netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj&hMubj)}(hnetif_attrmask_next_andh]j%)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj&hMubj)}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(hj0h]hn}(hj#'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hconst unsigned long *src1ph](h)}(hjh]hconst}(hj;'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7'ubj)}(h h]h }(hjH'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7'ubj)}(hunsignedh]hunsigned}(hjV'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7'ubj)}(h h]h }(hjd'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7'ubj)}(hlongh]hlong}(hjr'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7'ubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7'ubj%)}(hsrc1ph]hsrc1p}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hconst unsigned long *src2ph](h)}(hjh]hconst}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(hunsignedh]hunsigned}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(hlongh]hlong}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hsrc2ph]hsrc2p}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj-(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)(ubj)}(h h]h }(hj;(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)(ubj)}(hinth]hint}(hjI(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)(ubj)}(h h]h }(hjW(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)(ubj%)}(hnr_bitsh]hnr_bits}(hje(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&hhhj&hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj&hMubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hMhj&hhubjS)}(hhh]jX)}(h.get the next CPU/Rx queue in \*src1p & \*src2ph]h.get the next CPU/Rx queue in *src1p & *src2p}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjhNhNubj})}(hXp**Parameters** ``int n`` CPU/Rx queue index ``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer ``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer ``unsigned int nr_bits`` number of bits in the bitmask **Return** next (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hj(h]hint n}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj(ubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hj )h]hconst unsigned long *src1p}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj)ubj)}(hhh]jX)}(h%the first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hj")hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hjB)h]hconst unsigned long *src2p}(hjD)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<)ubj)}(hhh]jX)}(h&the second CPUs/Rx queues mask pointerh]h&the second CPUs/Rx queues mask pointer}(hj[)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjW)hMhjX)ubah}(h]h ]h"]h$]h&]uh1jhj<)ubeh}(h]h ]h"]h$]h&]uh1jhjW)hMhj(ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj{)h]hunsigned int nr_bits}(hj})hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhju)ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhju)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubjX)}(h **Return**h]j)}(hj)h]hReturn}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubjX)}(hinext (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.h]hinext (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_is_multiqueue (C function)c.netif_is_multiqueuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h7bool netif_is_multiqueue (const struct net_device *dev)h]h)}(h6bool netif_is_multiqueue(const struct net_device *dev)h](j)}(hjTh]hbool}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj *hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj*hMubj)}(hnetif_is_multiqueueh]j%)}(hnetif_is_multiqueueh]hnetif_is_multiqueue}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj*hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj7*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3*ubj)}(h h]h }(hjD*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3*ubh)}(hjh]hstruct}(hjR*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3*ubj)}(h h]h }(hj_*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3*ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjp*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr*modnameN classnameNjj!)}j$]j')}jj*sbc.netif_is_multiqueueasbuh1hhj3*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3*ubj%)}(hdevh]hdev}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/*ubah}(h]h ]h"]h$]h&]j<j=uh1jhj)hhhj*hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj*hMubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hMhj)hhubjS)}(hhh]jX)}(h+test if device has multiple transmit queuesh]h+test if device has multiple transmit queues}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has multiple transmit queuesh](jX)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj+h]hconst struct net_device *dev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj/+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj++hMhj,+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj++hMhj +ubah}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hjQ+h]h Description}(hjS+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubjX)}(h,Check if device has multiple transmit queuesh]h,Check if device has multiple transmit queues}(hjg+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_hold (C function) c.dev_holdhNtauh1hhjhhhNhNubh)}(hhh](h)}(h&void dev_hold (struct net_device *dev)h]h)}(h%void dev_hold(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj+hM%ubj)}(hdev_holdh]j%)}(hdev_holdh]hdev_hold}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj+hM%ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]j')}jj+sb c.dev_holdasbuh1hhj+ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hdevh]hdev}(hj,,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubah}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj+hM%ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj+hM%ubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hM%hj+hhubjS)}(hhh]jX)}(hget reference to deviceh]hget reference to device}(hjV,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjS,hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj+hM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjn,jxjn,jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Hold reference to device to keep it from being freed. Try using netdev_hold() instead.h](jX)}(h**Parameters**h]j)}(hjx,h]h Parameters}(hjz,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjr,ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj,h]hstruct net_device *dev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hj,ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM&hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hM&hj,ubah}(h]h ]h"]h$]h&]uh1jhjr,ubjX)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hjr,ubjX)}(hVHold reference to device to keep it from being freed. Try using netdev_hold() instead.h]hVHold reference to device to keep it from being freed. Try using netdev_hold() instead.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjr,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_put (C function) c.dev_puthNtauh1hhjhhhNhNubh)}(hhh](h)}(h%void dev_put (struct net_device *dev)h]h)}(h$void dev_put(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1ubj)}(h h]h }(hj&-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj%-hM1ubj)}(hdev_puth]j%)}(hdev_puth]hdev_put}(hj8-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj%-hM1ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjT-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjP-ubj)}(h h]h }(hja-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP-ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjr-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjt-modnameN classnameNjj!)}j$]j')}jj:-sb c.dev_putasbuh1hhjP-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP-ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjP-ubj%)}(hdevh]hdev}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjP-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjL-ubah}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj%-hM1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhj%-hM1ubah}(h]j -ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%-hM1hj -hhubjS)}(hhh]jX)}(hrelease reference to deviceh]hrelease reference to device}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hj-hhubah}(h]h ]h"]h$]h&]uh1jRhj -hhhj%-hM1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Release reference to device to allow it to be freed. Try using netdev_put() instead.h](jX)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hj-ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj.h]hstruct net_device *dev}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hj.ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj1.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-.hM2hj..ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj-.hM2hj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubjX)}(h**Description**h]j)}(hjS.h]h Description}(hjU.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hj-ubjX)}(hTRelease reference to device to allow it to be freed. Try using netdev_put() instead.h]hTRelease reference to device to allow it to be freed. Try using netdev_put() instead.}(hji.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlinkwatch_sync_dev (C function)c.linkwatch_sync_devhNtauh1hhjhhhNhNubh)}(hhh](h)}(h0void linkwatch_sync_dev (struct net_device *dev)h]h)}(h/void linkwatch_sync_dev(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMXubj)}(hlinkwatch_sync_devh]j%)}(hlinkwatch_sync_devh]hlinkwatch_sync_dev}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hMXubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jj.sbc.linkwatch_sync_devasbuh1hhj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj!/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hdevh]hdev}(hj./hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hMXubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMXhj.hhubjS)}(hhh]jX)}(h#sync linkwatch for the given deviceh]h#sync linkwatch for the given device}(hjX/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXhjU/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjp/jxjp/jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device to sync linkwatch for **Description** Sync linkwatch for the given device, removing it from the pending work list (if queued).h](jX)}(h**Parameters**h]j)}(hjz/h]h Parameters}(hj|/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx/ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hjt/ubj)}(hhh]j)}(h@``struct net_device *dev`` network device to sync linkwatch for h](j)}(h``struct net_device *dev``h]j)}(hj/h]hstruct net_device *dev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhj/ubj)}(hhh]jX)}(h$network device to sync linkwatch forh]h$network device to sync linkwatch for}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMYhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMYhj/ubah}(h]h ]h"]h$]h&]uh1jhjt/ubjX)}(h**Description**h]j)}(hj/h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjt/ubjX)}(hXSync linkwatch for the given device, removing it from the pending work list (if queued).h]hXSync linkwatch for the given device, removing it from the pending work list (if queued).}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMZhjt/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_ok (C function)c.netif_carrier_okhNtauh1hhjhhhNhNubh)}(hhh](h)}(h4bool netif_carrier_ok (const struct net_device *dev)h]h)}(h3bool netif_carrier_ok(const struct net_device *dev)h](j)}(hjTh]hbool}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbubj)}(h h]h }(hj'0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj&0hMbubj)}(hnetif_carrier_okh]j%)}(hnetif_carrier_okh]hnetif_carrier_ok}(hj90hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj50ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhj&0hMbubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjU0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQ0ubj)}(h h]h }(hjb0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ0ubh)}(hjh]hstruct}(hjp0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQ0ubj)}(h h]h }(hj}0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ0ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jj;0sbc.netif_carrier_okasbuh1hhjQ0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQ0ubj%)}(hdevh]hdev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjM0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj&0hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj&0hMbubah}(h]j 0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&0hMbhj0hhubjS)}(hhh]jX)}(htest if carrier presenth]htest if carrier present}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhj0hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj&0hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj 1jxj 1jyjzj{uh1hhhhjhNhNubj})}(hy**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is present on deviceh](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhj1ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj41h]hconst struct net_device *dev}(hj61hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj21ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchj.1ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjM1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjI1hMchjJ1ubah}(h]h ]h"]h$]h&]uh1jhj.1ubeh}(h]h ]h"]h$]h&]uh1jhjI1hMchj+1ubah}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hjo1h]h Description}(hjq1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehj1ubjX)}(h%Check if carrier is present on deviceh]h%Check if carrier is present on device}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_on (C function)c.netif_dormant_onhNtauh1hhjhhhNhNubh)}(hhh](h)}(h.void netif_dormant_on (struct net_device *dev)h]h)}(h-void netif_dormant_on(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hMuubj)}(hnetif_dormant_onh]j%)}(hnetif_dormant_onh]hnetif_dormant_on}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hMuubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jj1sbc.netif_dormant_onasbuh1hhj1ubj)}(h h]h }(hj/2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj=2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hdevh]hdev}(hjJ2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhj1hMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhj1hMuubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hMuhj1hhubjS)}(hhh]jX)}(hmark device as dormant.h]hmark device as dormant.}(hjt2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjq2hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device **Description** Mark device as dormant (as per RFC2863). The dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not 'up') but is in a "pending" state, waiting for some external event. For "on- demand" interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.h](jX)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj2ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj2h]hstruct net_device *dev}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhj2ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMvhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMvhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxhj2ubjX)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhj2ubjX)}(hXHThe dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not 'up') but is in a "pending" state, waiting for some external event. For "on- demand" interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.h]hXTThe dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not ‘up’) but is in a “pending” state, waiting for some external event. For “on- demand” interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_off (C function)c.netif_dormant_offhNtauh1hhjhhhNhNubh)}(hhh](h)}(h/void netif_dormant_off (struct net_device *dev)h]h)}(h.void netif_dormant_off(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjD3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjS3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@3hhhjR3hMubj)}(hnetif_dormant_offh]j%)}(hnetif_dormant_offh]hnetif_dormant_off}(hje3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@3hhhjR3hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}3ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjg3sbc.netif_dormant_offasbuh1hhj}3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}3ubj%)}(hdevh]hdev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjy3ubah}(h]h ]h"]h$]h&]j<j=uh1jhj@3hhhjR3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<3hhhjR3hMubah}(h]j73ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjR3hMhj93hhubjS)}(hhh]jX)}(hset device as not dormant.h]hset device as not dormant.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhj93hhhjR3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhjhNhNubj})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in dormant state.h](jX)}(h**Parameters**h]j)}(hj&4h]h Parameters}(hj(4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj 4ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjE4h]hstruct net_device *dev}(hjG4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?4ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj^4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZ4hMhj[4ubah}(h]h ]h"]h$]h&]uh1jhj?4ubeh}(h]h ]h"]h$]h&]uh1jhjZ4hMhj<4ubah}(h]h ]h"]h$]h&]uh1jhj 4ubjX)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj 4ubjX)}(hDevice is not in dormant state.h]hDevice is not in dormant state.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj 4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant (C function)c.netif_dormanthNtauh1hhjhhhNhNubh)}(hhh](h)}(h1bool netif_dormant (const struct net_device *dev)h]h)}(h0bool netif_dormant(const struct net_device *dev)h](j)}(hjTh]hbool}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hMubj)}(h netif_dormanth]j%)}(h netif_dormanth]h netif_dormant}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj)5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj:5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj75ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<5modnameN classnameNjj!)}j$]j')}jj4sbc.netif_dormantasbuh1hhj4ubj)}(h h]h }(hjZ5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjh5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hdevh]hdev}(hju5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubah}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhj4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhj4hMubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMhj4hhubjS)}(hhh]jX)}(htest if device is dormanth]htest if device is dormant}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjhNhNubj})}(ho**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is dormant.h](jX)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj5h]hconst struct net_device *dev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubjX)}(hCheck if device is dormant.h]hCheck if device is dormant.}(hj16hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_on (C function)c.netif_testing_onhNtauh1hhjhhhNhNubh)}(hhh](h)}(h.void netif_testing_on (struct net_device *dev)h]h)}(h-void netif_testing_on(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj`6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjo6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\6hhhjn6hMubj)}(hnetif_testing_onh]j%)}(hnetif_testing_onh]hnetif_testing_on}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\6hhhjn6hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jj6sbc.netif_testing_onasbuh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hdevh]hdev}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj\6hhhjn6hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjX6hhhjn6hMubah}(h]jS6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjn6hMhjU6hhubjS)}(hhh]jX)}(hmark device as under test.h]hmark device as under test.}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7hhubah}(h]h ]h"]h$]h&]uh1jRhjU6hhhjn6hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj87jxj87jyjzj{uh1hhhhjhNhNubj})}(hX4**Parameters** ``struct net_device *dev`` network device **Description** Mark device as under test (as per RFC2863). The testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.h](jX)}(h**Parameters**h]j)}(hjB7h]h Parameters}(hjD7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<7ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hja7h]hstruct net_device *dev}(hjc7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[7ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjz7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjv7hMhjw7ubah}(h]h ]h"]h$]h&]uh1jhj[7ubeh}(h]h ]h"]h$]h&]uh1jhjv7hMhjX7ubah}(h]h ]h"]h$]h&]uh1jhj<7ubjX)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<7ubjX)}(h+Mark device as under test (as per RFC2863).h]h+Mark device as under test (as per RFC2863).}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<7ubjX)}(hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.h]hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_off (C function)c.netif_testing_offhNtauh1hhjhhhNhNubh)}(hhh](h)}(h/void netif_testing_off (struct net_device *dev)h]h)}(h.void netif_testing_off(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hMubj)}(hnetif_testing_offh]j%)}(hnetif_testing_offh]hnetif_testing_off}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj-8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)8ubj)}(h h]h }(hj:8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)8ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjK8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjM8modnameN classnameNjj!)}j$]j')}jj8sbc.netif_testing_offasbuh1hhj)8ubj)}(h h]h }(hjk8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)8ubj;)}(hj>h]h*}(hjy8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)8ubj%)}(hdevh]hdev}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%8ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMhj7hhubjS)}(hhh]jX)}(hset device as not under test.h]hset device as not under test.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhjhNhNubj})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in testing state.h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj8h]hstruct net_device *dev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hj,9h]h Description}(hj.9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubjX)}(hDevice is not in testing state.h]hDevice is not in testing state.}(hjB9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing (C function)c.netif_testinghNtauh1hhjhhhNhNubh)}(hhh](h)}(h1bool netif_testing (const struct net_device *dev)h]h)}(h0bool netif_testing(const struct net_device *dev)h](j)}(hjTh]hbool}(hjq9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm9hhhj~9hMubj)}(h netif_testingh]j%)}(h netif_testingh]h netif_testing}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjm9hhhj~9hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jj9sbc.netif_testingasbuh1hhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hdevh]hdev}(hj!:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhjm9hhhj~9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhji9hhhj~9hMubah}(h]jd9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~9hMhjf9hhubjS)}(hhh]jX)}(htest if device is under testh]htest if device is under test}(hjK:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjH:hhubah}(h]h ]h"]h$]h&]uh1jRhjf9hhhj~9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjc:jxjc:jyjzj{uh1hhhhjhNhNubj})}(hq**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is under testh](jX)}(h**Parameters**h]j)}(hjm:h]h Parameters}(hjo:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjg:ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj:h]hconst struct net_device *dev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjg:ubjX)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjg:ubjX)}(hCheck if device is under testh]hCheck if device is under test}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjg:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_oper_up (C function)c.netif_oper_uphNtauh1hhjhhhNhNubh)}(hhh](h)}(h1bool netif_oper_up (const struct net_device *dev)h]h)}(h0bool netif_oper_up(const struct net_device *dev)h](j)}(hjTh]hbool}(hj ;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj;hMubj)}(h netif_oper_uph]j%)}(h netif_oper_uph]h netif_oper_up}(hj,;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjH;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjD;ubj)}(h h]h }(hjU;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD;ubh)}(hjh]hstruct}(hjc;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjD;ubj)}(h h]h }(hjp;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD;ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jj.;sbc.netif_oper_upasbuh1hhjD;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD;ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjD;ubj%)}(hdevh]hdev}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@;ubah}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhj;hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj;hMubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hMhj;hhubjS)}(hhh]jX)}(htest if device is operationalh]htest if device is operational}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj;hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhjhNhNubj})}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is operationalh](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj <hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj'<h]hconst struct net_device *dev}(hj)<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!<ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj@<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<<hMhj=<ubah}(h]h ]h"]h$]h&]uh1jhj!<ubeh}(h]h ]h"]h$]h&]uh1jhj<<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hjb<h]h Description}(hjd<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubjX)}(hCheck if carrier is operationalh]hCheck if carrier is operational}(hjx<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_device_present (C function)c.netif_device_presenthNtauh1hhjhhhNhNubh)}(hhh](h)}(h8bool netif_device_present (const struct net_device *dev)h]h)}(h7bool netif_device_present(const struct net_device *dev)h](j)}(hjTh]hbool}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMubj)}(hnetif_device_presenth]j%)}(hnetif_device_presenth]hnetif_device_present}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj =hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jj<sbc.netif_device_presentasbuh1hhj<ubj)}(h h]h }(hj<=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hjJ=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hdevh]hdev}(hjW=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubah}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhj<hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMhj<hhubjS)}(hhh]jX)}(his device available or removedh]his device available or removed}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj~=hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has not been removed from system.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj=h]hconst struct net_device *dev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubjX)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubjX)}(h1Check if device has not been removed from system.h]h1Check if device has not been removed from system.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_tx_lock (C function)c.netif_tx_lockhNtauh1hhjhhhNhNubh)}(hhh](h)}(h+void netif_tx_lock (struct net_device *dev)h]h)}(h*void netif_tx_lock(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjB>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>>hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{ubj)}(h h]h }(hjQ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>>hhhjP>hM{ubj)}(h netif_tx_lockh]j%)}(h netif_tx_lockh]h netif_tx_lock}(hjc>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>>hhhjP>hM{ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{>ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jje>sbc.netif_tx_lockasbuh1hhj{>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{>ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{>ubj%)}(hdevh]hdev}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw>ubah}(h]h ]h"]h$]h&]j<j=uh1jhj>>hhhjP>hM{ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:>hhhjP>hM{ubah}(h]j5>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjP>hM{hj7>hhubjS)}(hhh]jX)}(h!grab network device transmit lockh]h!grab network device transmit lock}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hj>hhubah}(h]h ]h"]h$]h&]uh1jRhj7>hhhjP>hM{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhjhNhNubj})}(hn**Parameters** ``struct net_device *dev`` network device **Description** Get network device transmit lockh](jX)}(h**Parameters**h]j)}(hj$?h]h Parameters}(hj&?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjC?h]hstruct net_device *dev}(hjE?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hj=?ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj\?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjX?hM|hjY?ubah}(h]h ]h"]h$]h&]uh1jhj=?ubeh}(h]h ]h"]h$]h&]uh1jhjX?hM|hj:?ubah}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hj~?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~hj?ubjX)}(h Get network device transmit lockh]h Get network device transmit lock}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_uc_sync (C function)c.__dev_uc_synchNtauh1hhjhhhNhNubh)}(hhh](h)}(hint __dev_uc_sync (struct net_device *dev, int (*sync)(struct net_device *, const unsigned char *), int (*unsync)(struct net_device *, const unsigned char *))h]h)}(hint __dev_uc_sync(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhj?hM2ubj)}(h __dev_uc_synch]j%)}(h __dev_uc_synch]h __dev_uc_sync}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhj?hM2ubj)}(h(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hj @hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj @modnameN classnameNjj!)}j$]j')}jj?sbc.__dev_uc_syncasbuh1hhj?ubj)}(h h]h }(hj>@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjL@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hdevh]hdev}(hjY@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(h5int (*sync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjr@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn@ubj;)}(hjh]h(}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubj%)}(hsynch]hsync}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn@ubj;)}(hjh]h)}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubj;)}(hjh]h(}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubh)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjn@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn@ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j:@c.__dev_uc_syncasbuh1hhjn@ubj;)}(hj>h]h*}(hj AhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubj;)}(hjMh]h,}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubj)}(h h]h }(hj&AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn@ubh)}(hjh]hconst}(hj4AhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjn@ubj)}(h h]h }(hjAAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn@ubj)}(hunsignedh]hunsigned}(hjOAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn@ubj)}(h h]h }(hj]AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn@ubj)}(hcharh]hchar}(hjkAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn@ubj;)}(hj>h]h*}(hjyAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubj;)}(hjh]h)}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hjh]h(}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hunsynch]hunsync}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubj;)}(hjh]h)}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj;)}(hjh]h(}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubh)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hj BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j:@c.__dev_uc_syncasbuh1hhjAubj;)}(hj>h]h*}(hj8BhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj;)}(hjMh]h,}(hjEBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj)}(h h]h }(hjRBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hjh]hconst}(hj`BhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjmBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(hunsignedh]hunsigned}(hj{BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(hcharh]hchar}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj;)}(hjh]h)}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhj?hM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhj?hM2ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?hM2hj?hhubjS)}(hhh]jX)}(h!Synchronize device's unicast listh]h#Synchronize device’s unicast list}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjBhhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhj?hM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*sync)(struct net_device *, const unsigned char *)`` function to call if address should be added ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Add newly added addresses to the interface, and release addresses that have been deleted.h](jX)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjBubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjCh]hstruct net_device *dev}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjCubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hj5ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1ChM3hj2Cubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj1ChM3hjCubj)}(hh``int (*sync)(struct net_device *, const unsigned char *)`` function to call if address should be added h](j)}(h;``int (*sync)(struct net_device *, const unsigned char *)``h]j)}(hjUCh]h7int (*sync)(struct net_device *, const unsigned char *)}(hjWChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hjOCubj)}(hhh]jX)}(h+function to call if address should be addedh]h+function to call if address should be added}(hjnChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjChM4hjkCubah}(h]h ]h"]h$]h&]uh1jhjOCubeh}(h]h ]h"]h$]h&]uh1jhjjChM4hjCubj)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hjCh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjCubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM5hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM5hjCubeh}(h]h ]h"]h$]h&]uh1jhjBubjX)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjBubj )}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]jX)}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]hYAdd newly added addresses to the interface, and release addresses that have been deleted.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjCubah}(h]h ]h"]h$]h&]uh1j hjChM6hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_uc_unsync (C function)c.__dev_uc_unsynchNtauh1hhjhhhNhNubh)}(hhh](h)}(hhvoid __dev_uc_unsync (struct net_device *dev, int (*unsync)(struct net_device *, const unsigned char *))h]h)}(hevoid __dev_uc_unsync(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDubj)}(h h]h }(hj'DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhj&DhMDubj)}(h__dev_uc_unsynch]j%)}(h__dev_uc_unsynch]h__dev_uc_unsync}(hj9DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Dubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhj&DhMDubj)}(hQ(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjUDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQDubj)}(h h]h }(hjbDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQDubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjsDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjuDmodnameN classnameNjj!)}j$]j')}jj;Dsbc.__dev_uc_unsyncasbuh1hhjQDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQDubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQDubj%)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMDubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hjh]h(}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hunsynch]hunsync}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubj;)}(hjh]h)}(hj EhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj;)}(hjh]h(}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubh)}(hjh]hstruct}(hj%EhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hj2EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjCEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@Eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEEmodnameN classnameNjj!)}j$]jDc.__dev_uc_unsyncasbuh1hhjDubj;)}(hj>h]h*}(hjaEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj;)}(hjMh]h,}(hjnEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj)}(h h]h }(hj{EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hjh]hconst}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hcharh]hchar}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj;)}(hjh]h)}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMDubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhj&DhMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhj&DhMDubah}(h]j Dah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&DhMDhj DhhubjS)}(hhh]jX)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjFhhubah}(h]h ]h"]h$]h&]uh1jRhj Dhhhj&DhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Remove all addresses that were added to the device by dev_uc_sync().h](jX)}(h**Parameters**h]j)}(hj&Fh]h Parameters}(hj(FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Fubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhj Fubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjEFh]hstruct net_device *dev}(hjGFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhj?Fubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hj^FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZFhMEhj[Fubah}(h]h ]h"]h$]h&]uh1jhj?Fubeh}(h]h ]h"]h$]h&]uh1jhjZFhMEhjh]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@Gubj%)}(hdevh]hdev}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@Gubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjh]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hsynch]hsync}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubj;)}(hjh]h)}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj;)}(hjh]h(}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubh)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hj!HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj2HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Hubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4HmodnameN classnameNjj!)}j$]j~Gc.__dev_mc_syncasbuh1hhjGubj;)}(hj>h]h*}(hjPHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj;)}(hjMh]h,}(hj]HhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj)}(h h]h }(hjjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hjh]hconst}(hjxHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(hcharh]hchar}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj;)}(hjh]h)}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjh]h*}(hj IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hunsynch]hunsync}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubj;)}(hjh]h)}(hj&IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj;)}(hjh]h(}(hj3IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubh)}(hjh]hstruct}(hj@IhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjMIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj^IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[Iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`ImodnameN classnameNjj!)}j$]j~Gc.__dev_mc_syncasbuh1hhjHubj;)}(hj>h]h*}(hj|IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj;)}(hjMh]h,}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hjh]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hunsignedh]hunsigned}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hcharh]hchar}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj;)}(hjh]h)}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjh]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hdevh]hdev}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hj LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hjh]h(}(hj'LhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj;)}(hj>h]h*}(hj4LhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hunsynch]hunsync}(hjALhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubj;)}(hjh]h)}(hjOLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj;)}(hjh]h(}(hj\LhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubh)}(hjh]hstruct}(hjiLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjvLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jKc.__dev_mc_unsyncasbuh1hhjLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj;)}(hjMh]h,}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hjh]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(hunsignedh]hunsigned}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(hcharh]hchar}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj;)}(hjh]h)}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXKhhhjjKhMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjTKhhhjjKhMpubah}(h]jOKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjKhMphjQKhhubjS)}(hhh]jX)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjHMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjEMhhubah}(h]h ]h"]h$]h&]uh1jRhjQKhhhjjKhMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`Mjxj`Mjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Remove all addresses that were added to the device by dev_mc_sync().h](jX)}(h**Parameters**h]j)}(hjjMh]h Parameters}(hjlMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhMubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjdMubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjMh]hstruct net_device *dev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhjMubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMqhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMqhjMubj)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hjMh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjMubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMrhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMrhjMubeh}(h]h ]h"]h$]h&]uh1jhjdMubjX)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjdMubj )}(hDRemove all addresses that were added to the device by dev_mc_sync().h]jX)}(hjNh]hDRemove all addresses that were added to the device by dev_mc_sync().}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjNubah}(h]h ]h"]h$]h&]uh1j hj$NhMshjdMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper (C struct) c.net_shaperhNtauh1hhjhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhNubh)}(hhh](h)}(h net_shaperh]h)}(hstruct net_shaperh](h)}(hjh]hstruct}(hjLNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHNhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKubj)}(h h]h }(hjZNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHNhhhjYNhKubj)}(h net_shaperh]j%)}(hjFNh]h net_shaper}(hjlNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHNhhhjYNhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDNhhhjYNhKubah}(h]j>Nah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYNhKhjANhhubjS)}(hhh]jX)}(hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.h]hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK!hjNhhubah}(h]h ]h"]h$]h&]uh1jRhjANhhhjYNhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjhj@NhNubj})}(hX**Definition**:: struct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; }; **Members** ``parent`` Unique identifier for the shaper parent, usually implied ``handle`` Unique identifier for this shaper ``metric`` Specify if the rate limits refers to PPS or BPS ``bw_min`` Minimum guaranteed rate for this shaper ``bw_max`` Maximum peak rate allowed for this shaper ``burst`` Maximum burst for the peek rate of this shaper ``priority`` Scheduling priority for this shaper ``weight`` Scheduling weight for this shaperh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh:}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hjNubjU)}(hstruct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; };h]hstruct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; };}hjNsbah}(h]h ]h"]h$]h&]j<j=uh1jThY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hjNubjX)}(h **Members**h]j)}(hjNh]hMembers}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK2hjNubj)}(hhh](j)}(hD``parent`` Unique identifier for the shaper parent, usually implied h](j)}(h ``parent``h]j)}(hjNh]hparent}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK$hjNubj)}(hhh]jX)}(h8Unique identifier for the shaper parent, usually impliedh]h8Unique identifier for the shaper parent, usually implied}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhK$hjOubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjOhK$hjNubj)}(h-``handle`` Unique identifier for this shaper h](j)}(h ``handle``h]j)}(hj4Oh]hhandle}(hj6OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Oubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hj.Oubj)}(hhh]jX)}(h!Unique identifier for this shaperh]h!Unique identifier for this shaper}(hjMOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIOhK%hjJOubah}(h]h ]h"]h$]h&]uh1jhj.Oubeh}(h]h ]h"]h$]h&]uh1jhjIOhK%hjNubj)}(h;``metric`` Specify if the rate limits refers to PPS or BPS h](j)}(h ``metric``h]j)}(hjmOh]hmetric}(hjoOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkOubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK&hjgOubj)}(hhh]jX)}(h/Specify if the rate limits refers to PPS or BPSh]h/Specify if the rate limits refers to PPS or BPS}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhK&hjOubah}(h]h ]h"]h$]h&]uh1jhjgOubeh}(h]h ]h"]h$]h&]uh1jhjOhK&hjNubj)}(h3``bw_min`` Minimum guaranteed rate for this shaper h](j)}(h ``bw_min``h]j)}(hjOh]hbw_min}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hjOubj)}(hhh]jX)}(h'Minimum guaranteed rate for this shaperh]h'Minimum guaranteed rate for this shaper}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhK'hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhK'hjNubj)}(h5``bw_max`` Maximum peak rate allowed for this shaper h](j)}(h ``bw_max``h]j)}(hjOh]hbw_max}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK(hjOubj)}(hhh]jX)}(h)Maximum peak rate allowed for this shaperh]h)Maximum peak rate allowed for this shaper}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhK(hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhK(hjNubj)}(h9``burst`` Maximum burst for the peek rate of this shaper h](j)}(h ``burst``h]j)}(hjPh]hburst}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK)hjPubj)}(hhh]jX)}(h.Maximum burst for the peek rate of this shaperh]h.Maximum burst for the peek rate of this shaper}(hj1PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-PhK)hj.Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj-PhK)hjNubj)}(h1``priority`` Scheduling priority for this shaper h](j)}(h ``priority``h]j)}(hjQPh]hpriority}(hjSPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOPubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjKPubj)}(hhh]jX)}(h#Scheduling priority for this shaperh]h#Scheduling priority for this shaper}(hjjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfPhK*hjgPubah}(h]h ]h"]h$]h&]uh1jhjKPubeh}(h]h ]h"]h$]h&]uh1jhjfPhK*hjNubj)}(h,``weight`` Scheduling weight for this shaperh](j)}(h ``weight``h]j)}(hjPh]hweight}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjPubj)}(hhh]jX)}(h!Scheduling weight for this shaperh]h!Scheduling weight for this shaper}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK+hjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhK*hjNubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhj@NhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper_ops (C struct)c.net_shaper_opshNtauh1hhjhhhj@NhNubh)}(hhh](h)}(hnet_shaper_opsh]h)}(hstruct net_shaper_opsh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK1ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjPhK1ubj)}(hnet_shaper_opsh]j%)}(hjPh]hnet_shaper_ops}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjPhK1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjPhK1ubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhK1hjPhhubjS)}(hhh]jX)}(h Operations on device H/W shapersh]h Operations on device H/W shapers}(hj&QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKQjxj>Qjyjzj{uh1hhhhjhj@NhNubj})}(hX**Definition**:: struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); }; **Members** ``group`` create the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. ``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. ``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. ``capabilities`` get the shaper features supported by the device Fills the bitmask **cap** with the supported capabilities for the specified **scope** and device specified by **binding**.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjJQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFQubh:}(hjFQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK@hjBQubjU)}(hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };h]hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };}hjcQsbah}(h]h ]h"]h$]h&]j<j=uh1jThY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKBhjBQubjX)}(h **Members**h]j)}(hjtQh]hMembers}(hjvQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrQubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKIhjBQubj)}(hhh](j)}(hX``group`` create the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. h](j)}(h ``group``h]j)}(hjQh]hgroup}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKUhjQubj)}(hhh](jX)}(h-create the specified shapers scheduling grouph]h-create the specified shapers scheduling group}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKNhjQubjX)}(hXiNest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE.h](h Nest the }(hjQhhhNhNubj)}(h **leaves**h]hleaves}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh shapers identified under the * }(hjQhhhNhNubj)}(h**node**h]hnode}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh; shaper. All the shapers belong to the device specified by }(hjQhhhNhNubj)}(h **binding**h]hbinding}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh. The }(hjQhhhNhNubj)}(h **leaves**h]hleaves}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh arrays size is specified by }(hjQhhhNhNubj)}(h**leaves_count**h]h leaves_count}(hj RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh. Create either the }(hjQhhhNhNubj)}(h **leaves**h]hleaves}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh and the }(hjQhhhNhNubj)}(h**node**h]hnode}(hj/RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubhL shaper; or if they already exists, links them together in the desired way. }(hjQhhhNhNubj)}(h **leaves**h]hleaves}(hjARhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh& scope must be NET_SHAPER_SCOPE_QUEUE.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKPhjQubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhKUhjQubj)}(hp``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. h](j)}(h``set``h]j)}(hjlRh]hset}(hjnRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjRubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK_hjfRubj)}(hhh](jX)}(hUpdates the specified shaperh]hUpdates the specified shaper}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK]hjRubjX)}(hIUpdates or creates the **shaper** on the device specified by **binding**.h](hUpdates or creates the }(hjRhhhNhNubj)}(h **shaper**h]hshaper}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh on the device specified by }(hjRhhhNhNubj)}(h **binding**h]hbinding}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjRhK_hjRubeh}(h]h ]h"]h$]h&]uh1jhjfRubeh}(h]h ]h"]h$]h&]uh1jhjRhK_hjQubj)}(h``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. h](j)}(h ``delete``h]j)}(hjRh]hdelete}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKihjRubj)}(hhh](jX)}(hRemoves the specified shaperh]hRemoves the specified shaper}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKfhjRubjX)}(hRemoves the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior.h](hh]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzTubj%)}(hphydevh]hphydev}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvTubah}(h]h ]h"]h$]h&]j<j=uh1jhj=ThhhjOThKtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9ThhhjOThKtubah}(h]j4Tah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOThKthj6ThhubjS)}(hhh]jX)}(h8Convenience function to print out the current phy statush]h8Convenience function to print out the current phy status}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKthjThhubah}(h]h ]h"]h$]h&]uh1jRhj6ThhhjOThKtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hj#Uh]h Parameters}(hj%UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Uubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKxhjUubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjBUh]hstruct phy_device *phydev}(hjDUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Uubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKzhjh]h*}(hj%VhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hphydevh]hphydev}(hj2VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjNVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPVmodnameN classnameNjj!)}j$]jVc.phy_get_rate_matchingasbuh1hhjGVubj)}(h h]h }(hjlVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGVubj%)}(hifaceh]hiface}(hjzVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(h]h ]h"]h$]h&]j<j=uh1jhjUhhhjUhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjUhKubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhKhjUhhubjS)}(hhh]jX)}(h'determine if rate matching is supportedh]h'determine if rate matching is supported}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjVhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjUhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` The phy device to return rate matching for ``phy_interface_t iface`` The interface mode to use **Description** This determines the type of rate matching (if any) that **phy** supports using **iface**. **iface** may be ``PHY_INTERFACE_MODE_NA`` to determine if any interface supports rate matching. **Return** The type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](jX)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjVubj)}(hhh](j)}(hI``struct phy_device *phydev`` The phy device to return rate matching for h](j)}(h``struct phy_device *phydev``h]j)}(hjVh]hstruct phy_device *phydev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjVubj)}(hhh]jX)}(h*The phy device to return rate matching forh]h*The phy device to return rate matching for}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhKhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjVubj)}(h4``phy_interface_t iface`` The interface mode to use h](j)}(h``phy_interface_t iface``h]j)}(hjWh]hphy_interface_t iface}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjWubj)}(hhh]jX)}(hThe interface mode to useh]hThe interface mode to use}(hj7WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3WhKhj4Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj3WhKhjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjX)}(h**Description**h]j)}(hjYWh]h Description}(hj[WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWWubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjVubjX)}(hThis determines the type of rate matching (if any) that **phy** supports using **iface**. **iface** may be ``PHY_INTERFACE_MODE_NA`` to determine if any interface supports rate matching.h](h8This determines the type of rate matching (if any) that }(hjoWhhhNhNubj)}(h**phy**h]hphy}(hjwWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoWubh supports using }(hjoWhhhNhNubj)}(h **iface**h]hiface}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoWubh. }(hjoWhhhNhNubj)}(h **iface**h]hiface}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoWubh may be }(hjoWhhhNhNubj)}(h``PHY_INTERFACE_MODE_NA``h]hPHY_INTERFACE_MODE_NA}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoWubh6 to determine if any interface supports rate matching.}(hjoWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjVubjX)}(h **Return**h]j)}(hjWh]hReturn}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjVubjX)}(hQThe type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](hThe type of rate matching }(hjWhhhNhNubj)}(h**phy**h]hphy}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh supports for }(hjWhhhNhNubj)}(h **iface**h]hiface}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh, or }(hjWhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hj XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restart_aneg (C function)c.phy_restart_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h0int phy_restart_aneg (struct phy_device *phydev)h]h)}(h/int phy_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjCXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?XhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjRXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?XhhhjQXhKubj)}(hphy_restart_anegh]j%)}(hphy_restart_anegh]hphy_restart_aneg}(hjdXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`Xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?XhhhjQXhKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|Xubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Xubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjfXsbc.phy_restart_anegasbuh1hhj|Xubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Xubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|Xubj%)}(hphydevh]hphydev}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Xubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxXubah}(h]h ]h"]h$]h&]j<j=uh1jhj?XhhhjQXhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;XhhhjQXhKubah}(h]j6Xah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQXhKhj8XhhubjS)}(hhh]jX)}(hrestart auto-negotiationh]hrestart auto-negotiation}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjYhhubah}(h]h ]h"]h$]h&]uh1jRhj8XhhhjQXhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](jX)}(h**Parameters**h]j)}(hj%Yh]h Parameters}(hj'YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Yubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjYubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjDYh]hstruct phy_device *phydev}(hjFYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj>Yubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj]YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYYhKhjZYubah}(h]h ]h"]h$]h&]uh1jhj>Yubeh}(h]h ]h"]h$]h&]uh1jhjYYhKhj;Yubah}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjYh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Yubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjYubjX)}(h_Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](hRestart the autonegotiation on }(hjYhhhNhNubj)}(h **phydev**h]hphydev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh6. Returns >= 0 on success or negative errno on error.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhjThhhNhNubh)}(hhh](h)}(h-int phy_aneg_done (struct phy_device *phydev)h]h)}(h,int phy_aneg_done(struct phy_device *phydev)h](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjYhKubj)}(h phy_aneg_doneh]j%)}(h phy_aneg_doneh]h phy_aneg_done}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjYhKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hj ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj1ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.Zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3ZmodnameN classnameNjj!)}j$]j')}jjYsbc.phy_aneg_doneasbuh1hhjZubj)}(h h]h }(hjQZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hj_ZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hphydevh]hphydev}(hjlZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Zubah}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjYhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjYhKubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhKhjYhhubjS)}(hhh]jX)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjYhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Return the auto-negotiation status from this **phydev** Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](jX)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjZubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjZh]hstruct phy_device *phydev}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjZubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhKhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjZubah}(h]h ]h"]h$]h&]uh1jhjZubjX)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjZubjX)}(hReturn the auto-negotiation status from this **phydev** Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](h-Return the auto-negotiation status from this }(hj([hhhNhNubj)}(h **phydev**h]hphydev}(hj0[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj([ubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hj([hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhjThhhNhNubh)}(hhh](h)}(hEbool phy_check_valid (int speed, int duplex, unsigned long *features)h]h)}(hDbool phy_check_valid(int speed, int duplex, unsigned long *features)h](j)}(hjTh]hbool}(hji[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje[hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjw[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje[hhhjv[hKubj)}(hphy_check_validh]j%)}(hphy_check_validh]hphy_check_valid}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhje[hhhjv[hKubj)}(h0(int speed, int duplex, unsigned long *features)h](j)}(h int speedh](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hspeedh]hspeed}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(h int duplexh](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hduplexh]hduplex}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(hunsigned long *featuresh](j)}(hunsignedh]hunsigned}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj \ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj \ubj)}(hlongh]hlong}(hj+\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj \ubj)}(h h]h }(hj9\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj \ubj;)}(hj>h]h*}(hjG\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj \ubj%)}(hfeaturesh]hfeatures}(hjT\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj \ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubeh}(h]h ]h"]h$]h&]j<j=uh1jhje[hhhjv[hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhja[hhhjv[hKubah}(h]j\[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjv[hKhj^[hhubjS)}(hhh]jX)}(hScheck if there is a valid PHY setting which matches speed, duplex, and feature maskh]hScheck if there is a valid PHY setting which matches speed, duplex, and feature mask}(hj~\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj{\hhubah}(h]h ]h"]h$]h&]uh1jRhj^[hhhjv[hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``int speed`` speed to match ``int duplex`` duplex to match ``unsigned long *features`` A mask of the valid settings **Description** Returns true if there is a valid setting, false otherwise.h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj\ubj)}(hhh](j)}(h``int speed`` speed to match h](j)}(h ``int speed``h]j)}(hj\h]h int speed}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj\ubj)}(hhh]jX)}(hspeed to matchh]hspeed to match}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hKhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hKhj\ubj)}(h``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hj\h]h int duplex}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj\ubj)}(hhh]jX)}(hduplex to matchh]hduplex to match}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj ]hKhj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj ]hKhj\ubj)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hj1]h]hunsigned long *features}(hj3]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj+]ubj)}(hhh]jX)}(hA mask of the valid settingsh]hA mask of the valid settings}(hjJ]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjF]hKhjG]ubah}(h]h ]h"]h$]h&]uh1jhj+]ubeh}(h]h ]h"]h$]h&]uh1jhjF]hKhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjl]h]h Description}(hjn]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj]ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj\ubjX)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhjThhhNhNubh)}(hhh](h)}(hIint phy_mii_ioctl (struct phy_device *phydev, struct ifreq *ifr, int cmd)h]h)}(hHint phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj]hM-ubj)}(h phy_mii_ioctlh]j%)}(h phy_mii_ioctlh]h phy_mii_ioctl}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhj]hM-ubj)}(h7(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj ^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj]sbc.phy_mii_ioctlasbuh1hhj]ubj)}(h h]h }(hj,^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hj:^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hphydevh]hphydev}(hjG^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hj`^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\^ubj)}(h h]h }(hjm^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\^ubh)}(hhh]j%)}(hifreqh]hifreq}(hj~^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j(^c.phy_mii_ioctlasbuh1hhj\^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\^ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\^ubj%)}(hifrh]hifr}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hint cmdh](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hcmdh]hcmd}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhj]hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhj]hM-ubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hM-hj]hhubjS)}(hhh]jX)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hj_hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj]hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj._jxj._jyjzj{uh1hhhhjThNhNubj})}(hX\**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's ``int cmd`` ioctl cmd to execute **Description** Note that this function is currently incompatible with the PHYCONTROL layer. It changes registers without regard to current state. Use at own risk.h](jX)}(h**Parameters**h]j)}(hj8_h]h Parameters}(hj:_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6_ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hj2_ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjW_h]hstruct phy_device *phydev}(hjY_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU_ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjQ_ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjp_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl_hM.hjm_ubah}(h]h ]h"]h$]h&]uh1jhjQ_ubeh}(h]h ]h"]h$]h&]uh1jhjl_hM.hjN_ubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hj_h]hstruct ifreq *ifr}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hj_ubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hj_h]h struct ifreq}(hj_hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhj_hM/hj_ubh for socket ioctl’s}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj_hM/hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM/hjN_ubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hj_h]hint cmd}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hj_ubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM0hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM0hjN_ubeh}(h]h ]h"]h$]h&]uh1jhj2_ubjX)}(h**Description**h]j)}(hj#`h]h Description}(hj%`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!`ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hj2_ubjX)}(hNote that this function is currently incompatible with the PHYCONTROL layer. It changes registers without regard to current state. Use at own risk.h]hNote that this function is currently incompatible with the PHYCONTROL layer. It changes registers without regard to current state. Use at own risk.}(hj9`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hj2_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhjThhhNhNubh)}(hhh](h)}(hEint phy_do_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd)h]h)}(hDint phy_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hinth]hint}(hjh`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd`hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjw`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd`hhhjv`hMubj)}(h phy_do_ioctlh]j%)}(h phy_do_ioctlh]h phy_do_ioctl}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjd`hhhjv`hMubj)}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j')}jj`sbc.phy_do_ioctlasbuh1hhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hdevh]hdev}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hj$ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(hifreqh]hifreq}(hj5ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2aubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7amodnameN classnameNjj!)}j$]j`c.phy_do_ioctlasbuh1hhjaubj)}(h h]h }(hjSahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjaahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hifrh]hifr}(hjnahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hint cmdh](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hcmdh]hcmd}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjd`hhhjv`hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj``hhhjv`hMubah}(h]j[`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjv`hMhj]`hhubjS)}(hhh]jX)}(h$generic ndo_eth_ioctl implementationh]h$generic ndo_eth_ioctl implementation}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjahhubah}(h]h ]h"]h$]h&]uh1jRhj]`hhhjv`hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct net_device *dev`` the net_device struct ``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's ``int cmd`` ioctl cmd to executeh](jX)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjaubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjbh]hstruct net_device *dev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj bubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjbubj)}(hhh]jX)}(hthe net_device structh]hthe net_device struct}(hj'bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#bhMhj$bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj#bhMhjbubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjGbh]hstruct ifreq *ifr}(hjIbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjAbubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjfbh]h struct ifreq}(hjhbhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjdbubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhj\bhMhj`bubh for socket ioctl’s}(hj`bhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj\bhMhj]bubah}(h]h ]h"]h$]h&]uh1jhjAbubeh}(h]h ]h"]h$]h&]uh1jhj\bhMhjbubj)}(h ``int cmd`` ioctl cmd to executeh](j)}(h ``int cmd``h]j)}(hjbh]hint cmd}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjbubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhjThhhNhNubh)}(hhh](h)}(hMint phy_do_ioctl_running (struct net_device *dev, struct ifreq *ifr, int cmd)h]h)}(hLint phy_do_ioctl_running(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjchMubj)}(hphy_do_ioctl_runningh]j%)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjchMubj)}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj6chhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2cubj)}(h h]h }(hjCchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2cubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjTchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVcmodnameN classnameNjj!)}j$]j')}jjcsbc.phy_do_ioctl_runningasbuh1hhj2cubj)}(h h]h }(hjtchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2cubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2cubj%)}(hdevh]hdev}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.cubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hifreqh]hifreq}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jpcc.phy_do_ioctl_runningasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hifrh]hifr}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.cubj)}(hint cmdh](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hj&dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hcmdh]hcmd}(hj4dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.cubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjchMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjchMubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchMhjbhhubjS)}(hhh]jX)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(hj^dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj[dhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjchMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvdjxjvdjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct net_device *dev`` the net_device struct ``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's ``int cmd`` ioctl cmd to execute **Description** Same as phy_do_ioctl, but ensures that net_device is running before handling the ioctl.h](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~dubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzdubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjdh]hstruct net_device *dev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjdubj)}(hhh]jX)}(hthe net_device structh]hthe net_device struct}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjdh]hstruct ifreq *ifr}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjdubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjdh]h struct ifreq}(hjdhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjdhMhjdubh for socket ioctl’s}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hj0eh]hint cmd}(hj2ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.eubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj*eubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjIehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEehMhjFeubah}(h]h ]h"]h$]h&]uh1jhj*eubeh}(h]h ]h"]h$]h&]uh1jhjEehMhjdubeh}(h]h ]h"]h$]h&]uh1jhjzdubjX)}(h**Description**h]j)}(hjkeh]h Description}(hjmehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjieubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzdubjX)}(hWSame as phy_do_ioctl, but ensures that net_device is running before handling the ioctl.h]hWSame as phy_do_ioctl, but ensures that net_device is running before handling the ioctl.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhjThhhNhNubh)}(hhh](h)}(h4void phy_trigger_machine (struct phy_device *phydev)h]h)}(h3void phy_trigger_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjehMubj)}(hphy_trigger_machineh]j%)}(hphy_trigger_machineh]hphy_trigger_machine}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjehMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj fmodnameN classnameNjj!)}j$]j')}jjesbc.phy_trigger_machineasbuh1hhjeubj)}(h h]h }(hj+fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hj9fhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hphydevh]hphydev}(hjFfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubah}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhjehMubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMhjehhubjS)}(hhh]jX)}(h$Trigger the state machine to run nowh]h$Trigger the state machine to run now}(hjpfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjmfhhubah}(h]h ]h"]h$]h&]uh1jRhjehhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjfh]hstruct phy_device *phydev}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjfubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhjThhhNhNubh)}(hhh](h)}(hAint phy_ethtool_get_strings (struct phy_device *phydev, u8 *data)h]h)}(h@int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data)h](j)}(hinth]hint}(hj ghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjghMubj)}(hphy_ethtool_get_stringsh]j%)}(hphy_ethtool_get_stringsh]hphy_ethtool_get_strings}(hj,ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(gubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjghMubj)}(h%(struct phy_device *phydev, u8 *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjHghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDgubj)}(h h]h }(hjUghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDgubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjfghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhgmodnameN classnameNjj!)}j$]j')}jj.gsbc.phy_ethtool_get_stringsasbuh1hhjDgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDgubj%)}(hphydevh]hphydev}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@gubj)}(hu8 *datah](h)}(hhh]j%)}(hu8h]hu8}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jgc.phy_ethtool_get_stringsasbuh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hdatah]hdata}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@gubeh}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjghMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhjghMubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghMhjghhubjS)}(hhh]jX)}(hGet the statistic counter namesh]hGet the statistic counter names}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjghMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8hjxj8hjyjzj{uh1hhhhjThNhNubj})}(hn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u8 *data`` Where to put the stringsh](jX)}(h**Parameters**h]j)}(hjBhh]h Parameters}(hjDhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@hubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-iubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjOihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQimodnameN classnameNjj!)}j$]j')}jjisbc.phy_ethtool_get_sset_countasbuh1hhj-iubj)}(h h]h }(hjoihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-iubj;)}(hj>h]h*}(hj}ihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-iubj%)}(hphydevh]hphydev}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)iubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhjihM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhjihM-ubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihM-hjhhhubjS)}(hhh]jX)}(h$Get the number of statistic countersh]h$Get the number of statistic counters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hjihhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjihM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjiubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjih]hstruct phy_device *phydev}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjiubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hj jubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj jhM3hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhjThhhNhNubh)}(hhh](h)}(h]int phy_ethtool_get_stats (struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h]h)}(h\int phy_ethtool_get_stats(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](j)}(hinth]hint}(hjOjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGubj)}(h h]h }(hj^jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKjhhhj]jhMGubj)}(hphy_ethtool_get_statsh]j%)}(hphy_ethtool_get_statsh]hphy_ethtool_get_stats}(hjpjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjljubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKjhhhj]jhMGubj)}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jjrjsbc.phy_ethtool_get_statsasbuh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hphydevh]hphydev}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(hstruct ethtool_stats *statsh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hj khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(h ethtool_statsh]h ethtool_stats}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]jjc.phy_ethtool_get_statsasbuh1hhjjubj)}(h h]h }(hj:khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjHkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hstatsh]hstats}(hjUkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(h u64 *datah](h)}(hhh]j%)}(hu64h]hu64}(hjqkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjskmodnameN classnameNjj!)}j$]jjc.phy_ethtool_get_statsasbuh1hhjjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjkubj%)}(hdatah]hdata}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKjhhhj]jhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGjhhhj]jhMGubah}(h]jBjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]jhMGhjDjhhubjS)}(hhh]jX)}(hGet the statistic countersh]hGet the statistic counters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjDjhhhj]jhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct ethtool_stats *stats`` What counters to get ``u64 *data`` Where to store the countersh](jX)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjkubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjlh]hstruct phy_device *phydev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMIhjlubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj.lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*lhMIhj+lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj*lhMIhj lubj)}(h5``struct ethtool_stats *stats`` What counters to get h](j)}(h``struct ethtool_stats *stats``h]j)}(hjNlh]hstruct ethtool_stats *stats}(hjPlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMJhjHlubj)}(hhh]jX)}(hWhat counters to geth]hWhat counters to get}(hjglhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjclhMJhjdlubah}(h]h ]h"]h$]h&]uh1jhjHlubeh}(h]h ]h"]h$]h&]uh1jhjclhMJhj lubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hjlh]h u64 *data}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMLhjlubj)}(hhh]jX)}(hWhere to store the countersh]hWhere to store the counters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMLhj lubeh}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhjThhhNhNubh)}(hhh](h)}(hTint phy_start_cable_test (struct phy_device *phydev, struct netlink_ext_ack *extack)h]h)}(hSint phy_start_cable_test(struct phy_device *phydev, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhMGubj)}(hphy_start_cable_testh]j%)}(hphy_start_cable_testh]hphy_start_cable_test}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhMGubj)}(h;(struct phy_device *phydev, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj+mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjmmodnameN classnameNjj!)}j$]j')}jjmsbc.phy_start_cable_testasbuh1hhjmubj)}(h h]h }(hj\mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hphydevh]hphydev}(hjwmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jXmc.phy_start_cable_testasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hextackh]hextack}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhMGubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMGhjlhhubjS)}(hhh]jX)}(hStart a cable testh]hStart a cable test}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjnhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)njxj)njyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](jX)}(h**Parameters**h]j)}(hj3nh]h Parameters}(hj5nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1nubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhj-nubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjRnh]hstruct phy_device *phydev}(hjTnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMIhjLnubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjknhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgnhMIhjhnubah}(h]h ]h"]h$]h&]uh1jhjLnubeh}(h]h ]h"]h$]h&]uh1jhjgnhMIhjInubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjnh]hstruct netlink_ext_ack *extack}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjnubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMJhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMKhjInubeh}(h]h ]h"]h$]h&]uh1jhj-nubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhjThhhNhNubh)}(hhh](h)}(h}int phy_start_cable_test_tdr (struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h]h)}(h|int phy_start_cable_test_tdr(struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h](j)}(hinth]hint}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhMubj)}(hphy_start_cable_test_tdrh]j%)}(hphy_start_cable_test_tdrh]hphy_start_cable_test_tdr}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhMubj)}(h`(struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj"ohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hj/ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj@ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=oubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBomodnameN classnameNjj!)}j$]j')}jjosbc.phy_start_cable_test_tdrasbuh1hhjoubj)}(h h]h }(hj`ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjnohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hphydevh]hphydev}(hj{ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j\oc.phy_start_cable_test_tdrasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hextackh]hextack}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(h#const struct phy_tdr_config *configh](h)}(hjh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hj,phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hphy_tdr_configh]hphy_tdr_config}(hj=phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:pubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?pmodnameN classnameNjj!)}j$]j\oc.phy_start_cable_test_tdrasbuh1hhjpubj)}(h h]h }(hj[phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjiphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hconfigh]hconfig}(hjvphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhMubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMhjnhhubjS)}(hhh]jX)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjphhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjnhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct netlink_ext_ack *extack`` extack for reporting useful error messages ``const struct phy_tdr_config *config`` Configuration of the test to runh](jX)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjpubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjph]hstruct phy_device *phydev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjpubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjpubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjqh]hstruct netlink_ext_ack *extack}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjqubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hj3qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/qhMhj0qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj/qhMhjpubj)}(hH``const struct phy_tdr_config *config`` Configuration of the test to runh](j)}(h'``const struct phy_tdr_config *config``h]j)}(hjSqh]h#const struct phy_tdr_config *config}(hjUqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjMqubj)}(hhh]jX)}(h Configuration of the test to runh]h Configuration of the test to run}(hjlqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjiqubah}(h]h ]h"]h$]h&]uh1jhjMqubeh}(h]h ]h"]h$]h&]uh1jhjhqhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhjThhhNhNubh)}(hhh](h)}(hSunsigned int phy_inband_caps (struct phy_device *phydev, phy_interface_t interface)h]h)}(hRunsigned int phy_inband_caps(struct phy_device *phydev, phy_interface_t interface)h](j)}(hunsignedh]hunsigned}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjqhM ubj)}(hinth]hint}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhjqhM ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjqhM ubj)}(hphy_inband_capsh]j%)}(hphy_inband_capsh]hphy_inband_caps}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjqhM ubj)}(h6(struct phy_device *phydev, phy_interface_t interface)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj$rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!rubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&rmodnameN classnameNjj!)}j$]j')}jjqsbc.phy_inband_capsasbuh1hhjrubj)}(h h]h }(hjDrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjRrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hphydevh]hphydev}(hj_rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj{rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}rmodnameN classnameNjj!)}j$]j@rc.phy_inband_capsasbuh1hhjtrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtrubj%)}(h interfaceh]h interface}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubeh}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjqhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjqhM ubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhM hjqhhubjS)}(hhh]jX)}(h2query which in-band signalling modes are supportedh]h2query which in-band signalling modes are supported}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjrhhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjqhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``phy_interface_t interface`` the interface mode for the PHY **Description** Returns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported by the PHY for this interface mode.h](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjrubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjsh]hstruct phy_device *phydev}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hj subj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj+shhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj5sh]hstruct phy_device}(hj7shhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj3subah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj'shM hj+subeh}(h]h ]h"]h$]h&]uh1jWhj'shM hj(subah}(h]h ]h"]h$]h&]uh1jhj subeh}(h]h ]h"]h$]h&]uh1jhj'shM hj subj)}(h=``phy_interface_t interface`` the interface mode for the PHY h](j)}(h``phy_interface_t interface``h]j)}(hjjsh]hphy_interface_t interface}(hjlshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjdsubj)}(hhh]jX)}(hthe interface mode for the PHYh]hthe interface mode for the PHY}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjdsubeh}(h]h ]h"]h$]h&]uh1jhjshMhj subeh}(h]h ]h"]h$]h&]uh1jhjrubjX)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjrubjX)}(hXXReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported by the PHY for this interface mode.h](hReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn’t implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from }(hjshhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjsh]henum link_inband_signalling}(hjshhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjlink_inband_signallinguh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjsubhQ to describe which inband modes are supported by the PHY for this interface mode.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjshMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhjThhhNhNubh)}(hhh](h)}(hEint phy_config_inband (struct phy_device *phydev, unsigned int modes)h]h)}(hDint phy_config_inband(struct phy_device *phydev, unsigned int modes)h](j)}(hinth]hint}(hj thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj thhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM!ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj thhhjthM!ubj)}(hphy_config_inbandh]j%)}(hphy_config_inbandh]hphy_config_inband}(hj.thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*tubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj thhhjthM!ubj)}(h/(struct phy_device *phydev, unsigned int modes)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjJthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFtubj)}(h h]h }(hjWthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFtubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjetubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjtmodnameN classnameNjj!)}j$]j')}jj0tsbc.phy_config_inbandasbuh1hhjFtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFtubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFtubj%)}(hphydevh]hphydev}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBtubj)}(hunsigned int modesh](j)}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hmodesh]hmodes}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBtubeh}(h]h ]h"]h$]h&]j<j=uh1jhj thhhjthM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjthM!ubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthM!hjthhubjS)}(hhh]jX)}(h&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM!hjuhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6ujxj6ujyjzj{uh1hhhhjThNhNubj})}(hX"**Parameters** ``struct phy_device *phydev`` the phy_device struct ``unsigned int modes`` in-band modes to configure **Description** disables, enables or enables-with-bypass in-band signalling between the PHY and host system. **Return** zero on success, or negative errno value.h](jX)}(h**Parameters**h]j)}(hj@uh]h Parameters}(hjBuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>uubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM%hj:uubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj_uh]hstruct phy_device *phydev}(hjauhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]uubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM"hjYuubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjxuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjtuhM"hjuuubah}(h]h ]h"]h$]h&]uh1jhjYuubeh}(h]h ]h"]h$]h&]uh1jhjtuhM"hjVuubj)}(h2``unsigned int modes`` in-band modes to configure h](j)}(h``unsigned int modes``h]j)}(hjuh]hunsigned int modes}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM#hjuubj)}(hhh]jX)}(hin-band modes to configureh]hin-band modes to configure}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM#hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM#hjVuubeh}(h]h ]h"]h$]h&]uh1jhj:uubjX)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM%hj:uubj)}(hhh]j)}(h]disables, enables or enables-with-bypass in-band signalling between the PHY and host system. h](j)}(h;disables, enables or enables-with-bypass in-band signallingh]h;disables, enables or enables-with-bypass in-band signalling}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM&hjuubj)}(hhh]jX)}(h between the PHY and host system.h]h between the PHY and host system.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM&hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM&hjuubah}(h]h ]h"]h$]h&]uh1jhj:uubjX)}(h **Return**h]j)}(hj$vh]hReturn}(hj&vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"vubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hj:uubjX)}(h)zero on success, or negative errno value.h]h)zero on success, or negative errno value.}(hj:vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hj:uubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h/int _phy_start_aneg (struct phy_device *phydev)h]h)}(h.int _phy_start_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjivhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjevhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMAubj)}(h h]h }(hjxvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjevhhhjwvhMAubj)}(h_phy_start_anegh]j%)}(h_phy_start_anegh]h_phy_start_aneg}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjevhhhjwvhMAubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jjvsbc._phy_start_anegasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hphydevh]hphydev}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubah}(h]h ]h"]h$]h&]j<j=uh1jhjevhhhjwvhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjavhhhjwvhMAubah}(h]j\vah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwvhMAhj^vhhubjS)}(hhh]jX)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hj)whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMAhj&whhubah}(h]h ]h"]h$]h&]uh1jRhj^vhhhjwvhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAwjxjAwjyjzj{uh1hhhhjThNhNubj})}(hX>**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Sanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](jX)}(h**Parameters**h]j)}(hjKwh]h Parameters}(hjMwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIwubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMEhjEwubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjjwh]hstruct phy_device *phydev}(hjlwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBhjdwubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMBhjwubah}(h]h ]h"]h$]h&]uh1jhjdwubeh}(h]h ]h"]h$]h&]uh1jhjwhMBhjawubah}(h]h ]h"]h$]h&]uh1jhjEwubjX)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMDhjEwubj)}(hhh]j)}(hSanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](j)}(h4Sanitizes the settings (if we're not autonegotiatingh]h6Sanitizes the settings (if we’re not autonegotiating}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhjwubj)}(hhh]jX)}(hthem), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h]hthem), and then calls the driver’s config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMEhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMFhjwubah}(h]h ]h"]h$]h&]uh1jhjEwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h.int phy_start_aneg (struct phy_device *phydev)h]h)}(h-int phy_start_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMaubj)}(h h]h }(hj$xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhj#xhMaubj)}(hphy_start_anegh]j%)}(hphy_start_anegh]hphy_start_aneg}(hj6xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxhhhj#xhMaubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjRxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNxubj)}(h h]h }(hj_xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNxubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjpxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrxmodnameN classnameNjj!)}j$]j')}jj8xsbc.phy_start_anegasbuh1hhjNxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNxubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNxubj%)}(hphydevh]hphydev}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJxubah}(h]h ]h"]h$]h&]j<j=uh1jhjxhhhj#xhMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj xhhhj#xhMaubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#xhMahj xhhubjS)}(hhh]jX)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMahjxhhubah}(h]h ]h"]h$]h&]uh1jRhj xhhhj#xhMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhjThNhNubj})}(hX>**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Sanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](jX)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMehjxubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjyh]hstruct phy_device *phydev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMbhjyubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj/yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+yhMbhj,yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj+yhMbhj yubah}(h]h ]h"]h$]h&]uh1jhjxubjX)}(h**Description**h]j)}(hjQyh]h Description}(hjSyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOyubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhjxubj)}(hhh]j)}(hSanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](j)}(h4Sanitizes the settings (if we're not autonegotiatingh]h6Sanitizes the settings (if we’re not autonegotiating}(hjnyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMfhjjyubj)}(hhh]jX)}(hthem), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h]hthem), and then calls the driver’s config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMehj}yubah}(h]h ]h"]h$]h&]uh1jhjjyubeh}(h]h ]h"]h$]h&]uh1jhj|yhMfhjgyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhjThhhNhNubh)}(hhh](h)}(h9int phy_speed_down (struct phy_device *phydev, bool sync)h]h)}(h8int phy_speed_down(struct phy_device *phydev, bool sync)h](j)}(hinth]hint}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhMubj)}(hphy_speed_downh]j%)}(hphy_speed_downh]hphy_speed_down}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjyhMubj)}(h&(struct phy_device *phydev, bool sync)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hj zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j')}jjysbc.phy_speed_downasbuh1hhjyubj)}(h h]h }(hjh]h*}(hjJzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hphydevh]hphydev}(hjWzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(h bool synch](j)}(hjTh]hbool}(hjpzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlzubj)}(h h]h }(hj}zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlzubj%)}(hsynch]hsync}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjyhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjyhMubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhMhjyhhubjS)}(hhh]jX)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjyhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``bool sync`` perform action synchronously **Description** Typically used to save energy when waiting for a WoL packet WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h](jX)}(h**Parameters**h]j)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjzh]hstruct phy_device *phydev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj {hMhj {ubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj {hMhjzubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hj/{h]h bool sync}(hj1{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj){ubj)}(hhh]jX)}(hperform action synchronouslyh]hperform action synchronously}(hjH{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjD{hMhjE{ubah}(h]h ]h"]h$]h&]uh1jhj){ubeh}(h]h ]h"]h$]h&]uh1jhjD{hMhjzubeh}(h]h ]h"]h$]h&]uh1jhjzubjX)}(h**Description**h]j)}(hjj{h]h Description}(hjl{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh{ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubjX)}(h;Typically used to save energy when waiting for a WoL packeth]h;Typically used to save energy when waiting for a WoL packet}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubjX)}(hX2WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h]hX6WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you’re sure it’s safe with the respective network chip.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhjThhhNhNubh)}(hhh](h)}(h,int phy_speed_up (struct phy_device *phydev)h]h)}(h+int phy_speed_up(struct phy_device *phydev)h](j)}(hinth]hint}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhj{hMubj)}(h phy_speed_uph]j%)}(h phy_speed_uph]h phy_speed_up}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhj{hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jj{sbc.phy_speed_upasbuh1hhj{ubj)}(h h]h }(hj9|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjG|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hphydevh]hphydev}(hjT|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubah}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhj{hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhj{hMubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMhj{hhubjS)}(hhh]jX)}(h1(re)set advertised speeds to all supported speedsh]h1(re)set advertised speeds to all supported speeds}(hj~|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj{|hhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhj{hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Used to revert the effect of phy_speed_downh](jX)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj|ubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj|h]hstruct phy_device *phydev}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj|ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubjX)}(h**Description**h]j)}(hj|h]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj|ubjX)}(h+Used to revert the effect of phy_speed_downh]h+Used to revert the effect of phy_speed_down}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhjThhhNhNubh)}(hhh](h)}(h2void phy_start_machine (struct phy_device *phydev)h]h)}(h1void phy_start_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj?}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;}hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjN}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;}hhhjM}hMubj)}(hphy_start_machineh]j%)}(hphy_start_machineh]hphy_start_machine}(hj`}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;}hhhjM}hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj|}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjx}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx}ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjb}sbc.phy_start_machineasbuh1hhjx}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx}ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjx}ubj%)}(hphydevh]hphydev}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjt}ubah}(h]h ]h"]h$]h&]j<j=uh1jhj;}hhhjM}hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7}hhhjM}hMubah}(h]j2}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjM}hMhj4}hhubjS)}(hhh]jX)}(h start PHY state machine trackingh]h start PHY state machine tracking}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj4}hhhjM}hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhjThNhNubj})}(hXg**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** The PHY infrastructure can run a state machine which tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h](jX)}(h**Parameters**h]j)}(hj!~h]h Parameters}(hj#~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj~ubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj@~h]hstruct phy_device *phydev}(hjB~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj:~ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjY~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjU~hMhjV~ubah}(h]h ]h"]h$]h&]uh1jhj:~ubeh}(h]h ]h"]h$]h&]uh1jhjU~hMhj7~ubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hj{~h]h Description}(hj}~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy~ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj~ubj)}(hhh]j)}(hXThe PHY infrastructure can run a state machine which tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h](j)}(h.The PHY infrastructure can run a state machineh]h.The PHY infrastructure can run a state machine}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj~ubj)}(hhh]jX)}(hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h]hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhjThhhNhNubh)}(hhh](h)}(h*void phy_error (struct phy_device *phydev)h]h)}(h)void phy_error(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hMKubj)}(h phy_errorh]j%)}(h phy_errorh]h phy_error}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hMKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsb c.phy_errorasbuh1hhj$ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhj~hMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhj~hMKubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMKhj~hhubjS)}(hhh]jX)}(h%enter ERROR state for this PHY deviceh]h%enter ERROR state for this PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhj~hMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Moves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMLhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMNhjubjX)}(hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h]hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhjThhhNhNubh)}(hhh](h)}(h6void phy_request_interrupt (struct phy_device *phydev)h]h)}(h5void phy_request_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjzhMubj)}(hphy_request_interrupth]j%)}(hphy_request_interrupth]hphy_request_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjzhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjǀhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĀubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjɀmodnameN classnameNjj!)}j$]j')}jjsbc.phy_request_interruptasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhjzhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjzhMubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMhjahhubjS)}(hhh]jX)}(h-request and enable interrupt for a PHY deviceh]h-request and enable interrupt for a PHY device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjzhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Request and enable the interrupt for the given PHY. If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h](jX)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjHubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjmh]hstruct phy_device *phydev}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjgubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjHubj)}(hhh]j)}(hRequest and enable the interrupt for the given PHY. If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h](j)}(h3Request and enable the interrupt for the given PHY.h]h3Request and enable the interrupt for the given PHY.}(hjŁhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h]h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.}(hjׁhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjӁhMhjԁubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӁhMhjubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhjThhhNhNubh)}(hhh](h)}(h3void phy_free_interrupt (struct phy_device *phydev)h]h)}(h2void phy_free_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hMubj)}(hphy_free_interrupth]j%)}(hphy_free_interrupth]hphy_free_interrupt}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jj:sbc.phy_free_interruptasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj%hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj%hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hMhj hhubjS)}(hhh]jX)}(h+disable and free interrupt for a PHY deviceh]h+disable and free interrupt for a PHY device}(hjׂhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjԂhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Disable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(heDisable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](j)}(h1Disable and free the interrupt for the given PHY.h]h1Disable and free the interrupt for the given PHY.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjlubj)}(hhh]jX)}(h3This should only be called with a valid IRQ number.h]h3This should only be called with a valid IRQ number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjiubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhjThhhNhNubh)}(hhh](h)}(h)void phy_stop (struct phy_device *phydev)h]h)}(h(void phy_stop(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjÃhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMSubj)}(h h]h }(hj҃hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjуhMSubj)}(hphy_stoph]j%)}(hphy_stoph]hphy_stop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjуhMSubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsb c.phy_stopasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjуhMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjуhMSubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjуhMShjhhubjS)}(hhh]jX)}(h5Bring down the PHY link, and stop checking the statush]h5Bring down the PHY link, and stop checking the status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMShjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjуhMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMWhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjĄh]hstruct phy_device *phydev}(hjƄhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj„ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMYhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj݄hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMThjڄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjلhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhjThhhNhNubh)}(hhh](h)}(h*void phy_start (struct phy_device *phydev)h]h)}(h)void phy_start(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj,hMubj)}(h phy_starth]j%)}(h phy_starth]h phy_start}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj,hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j')}jjAsb c.phy_startasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj,hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj,hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hMhjhhubjS)}(hhh]jX)}(hstart or restart a PHY deviceh]hstart or restart a PHY device}(hjޅhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjۅhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj,hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXF**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Indicates the attached device's readiness to handle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hIndicates the attached device's readiness to handle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h](j)}(h,Indicates the attached device's readiness toh]h.Indicates the attached device’s readiness to}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjsubj)}(hhh]jX)}(hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h]hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhjThhhNhNubh)}(hhh](h)}(h2void phy_mac_interrupt (struct phy_device *phydev)h]h)}(h1void phy_mac_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjʆhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƆhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjنhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƆhhhj؆hMubj)}(hphy_mac_interrupth]j%)}(hphy_mac_interrupth]hphy_mac_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjƆhhhj؆hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jjsbc.phy_mac_interruptasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjƆhhhj؆hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj†hhhj؆hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj؆hMhjhhubjS)}(hhh]jX)}(hMAC says the link has changedh]hMAC says the link has changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj؆hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` phy_device struct with changed link **Description** The MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hB``struct phy_device *phydev`` phy_device struct with changed link h](j)}(h``struct phy_device *phydev``h]j)}(hjˇh]hstruct phy_device *phydev}(hj͇hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɇubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjŇubj)}(hhh]jX)}(h#phy_device struct with changed linkh]h#phy_device struct with changed link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjŇubeh}(h]h ]h"]h$]h&]uh1jhjhMhj‡ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(hThe MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h]hThe MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhjThhhNhNubh)}(hhh](h)}(hDint phy_loopback (struct phy_device *phydev, bool enable, int speed)h]h)}(hCint phy_loopback(struct phy_device *phydev, bool enable, int speed)h](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjYhMubj)}(h phy_loopbackh]j%)}(h phy_loopbackh]h phy_loopback}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjYhMubj)}(h3(struct phy_device *phydev, bool enable, int speed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjnsbc.phy_loopbackasbuh1hhjubj)}(h h]h }(hjƈhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjԈhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(henableh]henable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int speedh](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(hspeedh]hspeed}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhjYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhjYhMubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhMhj@hhubjS)}(hhh]jX)}(hConfigure loopback mode of PHYh]hConfigure loopback mode of PHY}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXO**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool enable`` enable or disable loopback mode ``int speed`` enable loopback mode with speed **Description** Configure loopback mode of PHY and signal link down and link up if speed is changing. **Return** 0 on success, negative error code on failure.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjΉhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjʉhMhjˉubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʉhMhjubj)}(h0``bool enable`` enable or disable loopback mode h](j)}(h``bool enable``h]j)}(hjh]h bool enable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(henable or disable loopback modeh]henable or disable loopback mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``int speed`` enable loopback mode with speed h](j)}(h ``int speed``h]j)}(hj'h]h int speed}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj!ubj)}(hhh]jX)}(henable loopback mode with speedh]henable loopback mode with speed}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(hUConfigure loopback mode of PHY and signal link down and link up if speed is changing.h]hUConfigure loopback mode of PHY and signal link down and link up if speed is changing.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(h-0 on success, negative error code on failure.h]h-0 on success, negative error code on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhjThhhNhNubh)}(hhh](h)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]h)}(hh]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjʊhhhj܊hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjƊhhhj܊hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj܊hMhjÊhhubjS)}(hhh]jX)}(h*indicate whether the MAC can stop tx clockh]h*indicate whether the MAC can stop tx clock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjÊhhhj܊hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Indicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjϋh]hstruct phy_device *phydev}(hjыhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͋ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjɋubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɋubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƋubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjubjX)}(hIndicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.h]hIndicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_eee_rx_clock_stop (C function)c.phy_eee_rx_clock_stophNtauh1hhjThhhNhNubh)}(hhh](h)}(hKint phy_eee_rx_clock_stop (struct phy_device *phydev, bool clk_stop_enable)h]h)}(hJint phy_eee_rx_clock_stop(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhj]hMubj)}(hphy_eee_rx_clock_stoph]j%)}(hphy_eee_rx_clock_stoph]hphy_eee_rx_clock_stop}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhj]hMubj)}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjrsbc.phy_eee_rx_clock_stopasbuh1hhjubj)}(h h]h }(hjʌhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj،hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool clk_stop_enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hclk_stop_enableh]hclk_stop_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj]hMubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhjDhhubjS)}(hhh]jX)}(h"configure PHY receive clock in LPIh]h"configure PHY receive clock in LPI}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjThNhNubj})}(hXP**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool clk_stop_enable`` flag to indicate whether the clock can be stopped **Description** Configure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4. **Return** 0 or negative error.h](jX)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj_ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj~ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(hK``bool clk_stop_enable`` flag to indicate whether the clock can be stopped h](j)}(h``bool clk_stop_enable``h]j)}(hjh]hbool clk_stop_enable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h1flag to indicate whether the clock can be stoppedh]h1flag to indicate whether the clock can be stopped}(hj֍hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjҍhMhjӍubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҍhMhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj_ubjX)}(hConfigure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4.h]hConfigure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj_ubjX)}(h **Return**h]j)}(hjh]hReturn}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hj_ubjX)}(h0 or negative error.h]h0 or negative error.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM!hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_init_eee (C function)c.phy_init_eeehNtauh1hhjThhhNhNubh)}(hhh](h)}(hBint phy_init_eee (struct phy_device *phydev, bool clk_stop_enable)h]h)}(hAint phy_init_eee(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjrhM/ubj)}(h phy_init_eeeh]j%)}(h phy_init_eeeh]h phy_init_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhjrhM/ubj)}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_init_eeeasbuh1hhjubj)}(h h]h }(hjߎhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool clk_stop_enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hclk_stop_enableh]hclk_stop_enable}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhjrhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhjrhM/ubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhM/hjYhhubjS)}(hhh]jX)}(hinit and check the EEE featureh]hinit and check the EEE feature}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hjUhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjrhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhjThNhNubj})}(hX]**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool clk_stop_enable`` PHY may stop the clock during LPI **Description** it checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the "Clock stop enable" bit if required.h](jX)}(h**Parameters**h]j)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjtubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h;``bool clk_stop_enable`` PHY may stop the clock during LPI h](j)}(h``bool clk_stop_enable``h]j)}(hjҏh]hbool clk_stop_enable}(hjԏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjЏubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hj̏ubj)}(hhh]jX)}(h!PHY may stop the clock during LPIh]h!PHY may stop the clock during LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhj̏ubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubeh}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjtubjX)}(hit checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the "Clock stop enable" bit if required.h]hit checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the “Clock stop enable” bit if required.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhjThhhNhNubh)}(hhh](h)}(h/int phy_get_eee_err (struct phy_device *phydev)h]h)}(h.int phy_get_eee_err(struct phy_device *phydev)h](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj`hMMubj)}(hphy_get_eee_errh]j%)}(hphy_get_eee_errh]hphy_get_eee_err}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj`hMMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjusbc.phy_get_eee_errasbuh1hhjubj)}(h h]h }(hj͐hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjېhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj`hMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj`hMMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMMhjGhhubjS)}(hhh]jX)}(hreport the EEE wake error counth]hreport the EEE wake error count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj`hMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** it is to report the number of time where the PHY failed to complete its normal wake sequence.h](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhj.ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjSh]hstruct phy_device *phydev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMNhjMubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMNhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMNhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhj.ubjX)}(h]it is to report the number of time where the PHY failed to complete its normal wake sequence.h]h]it is to report the number of time where the PHY failed to complete its normal wake sequence.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhjThhhNhNubh)}(hhh](h)}(hNint phy_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]h)}(hMint phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hinth]hint}(hjӑhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϑhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϑhhhjhMcubj)}(hphy_ethtool_get_eeeh]j%)}(hphy_ethtool_get_eeeh]hphy_ethtool_get_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjϑhhhjhMcubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jjsbc.phy_ethtool_get_eeeasbuh1hhj ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jJc.phy_ethtool_get_eeeasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hj̒hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hdatah]hdata}(hjْhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjϑhhhjhMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjˑhhhjhMcubah}(h]jƑah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMchjȑhhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMchjhhubah}(h]h ]h"]h$]h&]uh1jRhjȑhhhjhMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** get the current EEE settings, filling in all members of **data**.h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMghjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjDh]hstruct phy_device *phydev}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhj>ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMdhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMdhj;ubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hj}h]hstruct ethtool_keee *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMehjwubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMehj;ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMghjubjX)}(hAget the current EEE settings, filling in all members of **data**.h](h8get the current EEE settings, filling in all members of }(hjΓhhhNhNubj)}(h**data**h]hdata}(hj֓hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΓubh.}(hjΓhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhjThhhNhNubh)}(hhh](h)}(hNint phy_ethtool_set_eee (struct phy_device *phydev, struct ethtool_keee *data)h]h)}(hMint phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hphy_ethtool_set_eeeh]j%)}(hphy_ethtool_set_eeeh]hphy_ethtool_set_eee}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jj2sbc.phy_ethtool_set_eeeasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj˔hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjܔhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjٔubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjޔmodnameN classnameNjj!)}j$]jc.phy_ethtool_set_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hset EEE supported and statush]hset EEE supported and status}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj<hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** it is to program the Advertisement EEE register.h](jX)}(h**Parameters**h]j)}(hjah]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj[ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjh]hstruct ethtool_keee *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjҕhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjΕhMhjϕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΕhMhjwubeh}(h]h ]h"]h$]h&]uh1jhj[ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj[ubjX)}(h0it is to program the Advertisement EEE register.h]h0it is to program the Advertisement EEE register.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhjThhhNhNubh)}(hhh](h)}(hPint phy_ethtool_set_wol (struct phy_device *phydev, struct ethtool_wolinfo *wol)h]h)}(hOint phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhjGhMubj)}(hphy_ethtool_set_wolh]j%)}(hphy_ethtool_set_wolh]hphy_ethtool_set_wol}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhjGhMubj)}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj\sbc.phy_ethtool_set_wolasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hj–hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hphydevh]hphydev}(hjϖhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_ethtool_set_wolasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hwolh]hwol}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhjGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhjGhMubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMhj.hhubjS)}(hhh]jX)}(hConfigure Wake On LANh]hConfigure Wake On LAN}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhjGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Configuration requestedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj×hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjݗubj)}(hhh]jX)}(hConfiguration requestedh]hConfiguration requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjݗubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhjThhhNhNubh)}(hhh](h)}(hQvoid phy_ethtool_get_wol (struct phy_device *phydev, struct ethtool_wolinfo *wol)h]h)}(hPvoid phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhMubj)}(hphy_ethtool_get_wolh]j%)}(hphy_ethtool_get_wolh]hphy_ethtool_get_wol}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjKhMubj)}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj`sbc.phy_ethtool_get_wolasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjƘhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hphydevh]hphydev}(hjӘhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.phy_ethtool_get_wolasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hwolh]hwol}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjKhMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj2hhubjS)}(hhh]jX)}(h)Get the current Wake On LAN configurationh]h)Get the current Wake On LAN configuration}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Store the current configuration hereh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjǙhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjÙhMhjęubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÙhMhjubj)}(hD``struct ethtool_wolinfo *wol`` Store the current configuration hereh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h$Store the current configuration hereh]h$Store the current configuration here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhjThhhNhNubh)}(hhh](h)}(h4int phy_ethtool_nway_reset (struct net_device *ndev)h]h)}(h3int phy_ethtool_nway_reset(struct net_device *ndev)h](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjOhMubj)}(hphy_ethtool_nway_reseth]j%)}(hphy_ethtool_nway_reseth]hphy_ethtool_nway_reset}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhjOhMubj)}(h(struct net_device *ndev)h]j)}(hstruct net_device *ndevh](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjdsbc.phy_ethtool_nway_resetasbuh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjʚhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hndevh]hndev}(hjךhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubah}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhjOhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhjOhMubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMhj6hhubjS)}(hhh]jX)}(hRestart auto negotiationh]hRestart auto negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhjOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hS**Parameters** ``struct net_device *ndev`` Network device to restart autoneg forh](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hA``struct net_device *ndev`` Network device to restart autoneg forh](j)}(h``struct net_device *ndev``h]j)}(hjBh]hstruct net_device *ndev}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj<ubj)}(hhh]jX)}(h%Network device to restart autoneg forh]h%Network device to restart autoneg for}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhjThhhNhNubh)}(hhh](h)}(hEint phy_config_interrupt (struct phy_device *phydev, bool interrupts)h]h)}(hDint phy_config_interrupt(struct phy_device *phydev, bool interrupts)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_config_interrupth]j%)}(hphy_config_interrupth]hphy_config_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h,(struct phy_device *phydev, bool interrupts)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjٛhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj՛ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj՛ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_config_interruptasbuh1hhj՛ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj՛ubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj՛ubj%)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj՛ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjћubj)}(hbool interruptsh](j)}(hjTh]hbool}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(h interruptsh]h interrupts}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjћubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h5configure the PHY device for the requested interruptsh]h5configure the PHY device for the requested interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``bool interrupts`` interrupt flags to configure for this **phydev** **Description** Returns 0 on success or < 0 on error.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjќh]hstruct phy_device *phydev}(hjӜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϜubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj˜ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj˜ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjȜubj)}(hE``bool interrupts`` interrupt flags to configure for this **phydev** h](j)}(h``bool interrupts``h]j)}(hj h]hbool interrupts}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jX)}(h0interrupt flags to configure for this **phydev**h](h&interrupt flags to configure for this }(hj#hhhNhNubj)}(h **phydev**h]hphydev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jWhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjȜubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubjX)}(h%Returns 0 on success or < 0 on error.h]h%Returns 0 on success or < 0 on error.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhjThhhNhNubh)}(hhh](h)}(hcunsigned int phy_supported_speeds (struct phy_device *phy, unsigned int *speeds, unsigned int size)h]h)}(hbunsigned int phy_supported_speeds(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hjÝhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_supported_speedsh]j%)}(hphy_supported_speedsh]hphy_supported_speeds}(hj՝hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjѝubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(hA(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjםsbc.phy_supported_speedsasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int *speedsh](j)}(hunsignedh]hunsigned}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hspeedsh]hspeeds}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjϞhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjݞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h5return all speeds currently supported by a phy deviceh]h5return all speeds currently supported by a phy device}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phy`` The phy device to return supported speeds of. ``unsigned int *speeds`` buffer to store supported speeds in. ``unsigned int size`` size of speeds buffer. **Description** Returns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.h](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj?ubj)}(hhh](j)}(hI``struct phy_device *phy`` The phy device to return supported speeds of. h](j)}(h``struct phy_device *phy``h]j)}(hjdh]hstruct phy_device *phy}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj^ubj)}(hhh]jX)}(h-The phy device to return supported speeds of.h]h-The phy device to return supported speeds of.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhKhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKhj[ubj)}(h>``unsigned int *speeds`` buffer to store supported speeds in. h](j)}(h``unsigned int *speeds``h]j)}(hjh]hunsigned int *speeds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jX)}(h$buffer to store supported speeds in.h]h$buffer to store supported speeds in.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj[ubj)}(h-``unsigned int size`` size of speeds buffer. h](j)}(h``unsigned int size``h]j)}(hj֟h]hunsigned int size}(hj؟hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԟubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjПubj)}(hhh]jX)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjПubeh}(h]h ]h"]h$]h&]uh1jhjhKhj[ubeh}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj?ubjX)}(hReturns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.h]hReturns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhjThhhNhNubh)}(hhh](h)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]h)}(h5void phy_sanitize_settings(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhjdhKubj)}(hphy_sanitize_settingsh]j%)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRhhhjdhKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjysbc.phy_sanitize_settingsasbuh1hhjubj)}(h h]h }(hjѠhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjߠhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjRhhhjdhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjdhKubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhKhjKhhubjS)}(hhh]jX)}(h6make sure the PHY is set to supported speed and duplexh]h6make sure the PHY is set to supported speed and duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjdhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the target phy_device struct **Description** Make sure the PHY is set to supported speeds and duplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj2ubj)}(hhh]j)}(h;``struct phy_device *phydev`` the target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjWh]hstruct phy_device *phydev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjQubj)}(hhh]jX)}(hthe target phy_device structh]hthe target phy_device struct}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj2ubj)}(hhh]j)}(hMake sure the PHY is set to supported speeds and duplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h](j)}(h0Make sure the PHY is set to supported speeds andh]h0Make sure the PHY is set to supported speeds and}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jX)}(hgduplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h]hgduplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhjThhhNhNubh)}(hhh](h)}(hYint __phy_hwtstamp_get (struct phy_device *phydev, struct kernel_hwtstamp_config *config)h]h)}(hXint __phy_hwtstamp_get(struct phy_device *phydev, struct kernel_hwtstamp_config *config)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_hwtstamp_geth]j%)}(h__phy_hwtstamp_geth]h__phy_hwtstamp_get}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(struct phy_device *phydev, struct kernel_hwtstamp_config *config)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj$sbc.__phy_hwtstamp_getasbuh1hhj:ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(h%struct kernel_hwtstamp_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hj΢hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˢubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjТmodnameN classnameNjj!)}j$]jxc.__phy_hwtstamp_getasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h0Get hardware timestamping configuration from PHYh]h0Get hardware timestamping configuration from PHY}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj.hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration **Description** Query the PHY device for its current hardware timestamping configuration.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjMubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjrh]hstruct phy_device *phydev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjlubj)}(hhh]jX)}(hthe PHY device structureh]hthe PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hjh]h%struct kernel_hwtstamp_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjģhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjMubjX)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhjThhhNhNubh)}(hhh](h)}(hyint __phy_hwtstamp_set (struct phy_device *phydev, struct kernel_hwtstamp_config *config, struct netlink_ext_ack *extack)h]h)}(hxint __phy_hwtstamp_set(struct phy_device *phydev, struct kernel_hwtstamp_config *config, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj9hMubj)}(h__phy_hwtstamp_seth]j%)}(h__phy_hwtstamp_seth]h__phy_hwtstamp_set}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hMubj)}(hb(struct phy_device *phydev, struct kernel_hwtstamp_config *config, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjNsbc.__phy_hwtstamp_setasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(h%struct kernel_hwtstamp_config *configh](h)}(hjh]hstruct}(hjڤhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֤ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֤ubh)}(hhh]j%)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_hwtstamp_setasbuh1hhj֤ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֤ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj֤ubj%)}(hconfigh]hconfig}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֤ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.__phy_hwtstamp_setasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhj hhubjS)}(hhh]jX)}(h.Modify PHY hardware timestamping configurationh]h.Modify PHY hardware timestamping configuration}(hj˥hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjȥhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration ``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hthe PHY device structureh]hthe PHY device structure}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hjEh]h%struct kernel_hwtstamp_config *config}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj?ubj)}(hhh]jX)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(hV``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj~h]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjxubj)}(hhh]jX)}(h3netlink extended ack structure, for error reportingh]h3netlink extended ack structure, for error reporting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhjThhhNhNubh)}(hhh](h)}(hOvoid phy_queue_state_machine (struct phy_device *phydev, unsigned long jiffies)h]h)}(hNvoid phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies)h](j)}(hvoidh]hvoid}(hjئhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԦhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԦhhhjhMubj)}(hphy_queue_state_machineh]j%)}(hphy_queue_state_machineh]hphy_queue_state_machine}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjԦhhhjhMubj)}(h2(struct phy_device *phydev, unsigned long jiffies)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jjsbc.phy_queue_state_machineasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hunsigned long jiffiesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hjiffiesh]hjiffies}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjԦhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjЦhhhjhMubah}(h]j˦ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjͦhhubjS)}(hhh]jX)}(h%Trigger the state machine to run soonh]h%Trigger the state machine to run soon}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjͦhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``unsigned long jiffies`` Run the state machine after these jiffiesh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj*h]hstruct phy_device *phydev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj$ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj!ubj)}(hC``unsigned long jiffies`` Run the state machine after these jiffiesh](j)}(h``unsigned long jiffies``h]j)}(hjch]hunsigned long jiffies}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj]ubj)}(hhh]jX)}(h)Run the state machine after these jiffiesh]h)Run the state machine after these jiffies}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj!ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhjThhhNhNubh)}(hhh](h)}(hvoid __phy_ethtool_get_phy_stats (struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h]h)}(hvoid __phy_ethtool_get_phy_stats(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\ubj)}(h h]h }(hj̨hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj˨hM\ubj)}(h__phy_ethtool_get_phy_statsh]j%)}(h__phy_ethtool_get_phy_statsh]h__phy_ethtool_get_phy_stats}(hjިhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڨubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj˨hM\ubj)}(hl(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_ethtool_get_phy_statsasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h'struct ethtool_eth_phy_stats *phy_statsh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(hethtool_eth_phy_statsh]hethtool_eth_phy_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j4c.__phy_ethtool_get_phy_statsasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(h phy_statsh]h phy_stats}(hjéhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&struct ethtool_phy_stats *phydev_statsh](h)}(hjh]hstruct}(hjܩhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjةubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjةubh)}(hhh]j%)}(hethtool_phy_statsh]hethtool_phy_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j4c.__phy_ethtool_get_phy_statsasbuh1hhjةubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjةubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjةubj%)}(h phydev_statsh]h phydev_stats}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjةubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj˨hM\ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj˨hM\ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj˨hM\hjhhubjS)}(hhh]jX)}(h$Retrieve standardized PHY statisticsh]h$Retrieve standardized PHY statistics}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\hjZhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj˨hM\ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device ``struct ethtool_eth_phy_stats *phy_stats`` Pointer to ethtool_eth_phy_stats structure ``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure **Description** Fetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hjyubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM]hjubj)}(hhh]jX)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(hW``struct ethtool_eth_phy_stats *phy_stats`` Pointer to ethtool_eth_phy_stats structure h](j)}(h+``struct ethtool_eth_phy_stats *phy_stats``h]j)}(hjתh]h'struct ethtool_eth_phy_stats *phy_stats}(hj٪hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjժubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM^hjѪubj)}(hhh]jX)}(h*Pointer to ethtool_eth_phy_stats structureh]h*Pointer to ethtool_eth_phy_stats structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjѪubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(hR``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure h](j)}(h*``struct ethtool_phy_stats *phydev_stats``h]j)}(hjh]h&struct ethtool_phy_stats *phydev_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM_hj ubj)}(hhh]jX)}(h&Pointer to ethtool_phy_stats structureh]h&Pointer to ethtool_phy_stats structure}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM_hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM_hjubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMahjyubjX)}(hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h]hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhjThhhNhNubh)}(hhh](h)}(hlvoid __phy_ethtool_get_link_ext_stats (struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h]h)}(hkvoid __phy_ethtool_get_link_ext_stats(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMrubj)}(h __phy_ethtool_get_link_ext_statsh]j%)}(h __phy_ethtool_get_link_ext_statsh]h __phy_ethtool_get_link_ext_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMrubj)}(hF(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjͫhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjɫubj)}(h h]h }(hjګhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjɫubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb"c.__phy_ethtool_get_link_ext_statsasbuh1hhjɫubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjɫubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjɫubj%)}(hphydevh]hphydev}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjɫubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjūubj)}(h)struct ethtool_link_ext_stats *link_statsh](h)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(hethtool_link_ext_statsh]hethtool_link_ext_stats}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j"c.__phy_ethtool_get_link_ext_statsasbuh1hhj;ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(h link_statsh]h link_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjūubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMrubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMrhjhhubjS)}(hhh]jX)}(h+Retrieve extended link statistics for a PHYh]h+Retrieve extended link statistics for a PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjجjxjجjyjzj{uh1hhhhjThNhNubj})}(hXP**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device ``struct ethtool_link_ext_stats *link_stats`` Pointer to the structure to store extended link statistics **Description** Populates the ethtool_link_ext_stats structure with link down event counts and additional driver-specific link statistics, if available.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMvhjܬubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMshjubj)}(hhh]jX)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(hi``struct ethtool_link_ext_stats *link_stats`` Pointer to the structure to store extended link statistics h](j)}(h-``struct ethtool_link_ext_stats *link_stats``h]j)}(hj:h]h)struct ethtool_link_ext_stats *link_stats}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMthj4ubj)}(hhh]jX)}(h:Pointer to the structure to store extended link statisticsh]h:Pointer to the structure to store extended link statistics}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMthjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMthjubeh}(h]h ]h"]h$]h&]uh1jhjܬubjX)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMvhjܬubjX)}(hPopulates the ethtool_link_ext_stats structure with link down event counts and additional driver-specific link statistics, if available.h]hPopulates the ethtool_link_ext_stats structure with link down event counts and additional driver-specific link statistics, if available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMuhjܬubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhjThhhNhNubh)}(hhh](h)}(hWint phy_ethtool_get_plca_cfg (struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h]h)}(hVint phy_ethtool_get_plca_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjɭhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjȭhMubj)}(hphy_ethtool_get_plca_cfgh]j%)}(hphy_ethtool_get_plca_cfgh]hphy_ethtool_get_plca_cfg}(hjۭhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj׭ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjȭhMubj)}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjݭsbc.phy_ethtool_get_plca_cfgasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_plca_cfg *plca_cfgh](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j1c.phy_ethtool_get_plca_cfgasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hplca_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjȭhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjȭhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjȭhMhjhhubjS)}(hhh]jX)}(hGet PLCA RS configurationh]hGet PLCA RS configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjȭhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct phy_plca_cfg *plca_cfg`` where to store the retrieved configuration **Description** Retrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj+h]hstruct phy_device *phydev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj%ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubj)}(hM``struct phy_plca_cfg *plca_cfg`` where to store the retrieved configuration h](j)}(h!``struct phy_plca_cfg *plca_cfg``h]j)}(hjdh]hstruct phy_plca_cfg *plca_cfg}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj^ubj)}(hhh]jX)}(h*where to store the retrieved configurationh]h*where to store the retrieved configuration}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(hkRetrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.h]hkRetrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhjThhhNhNubh)}(hhh](h)}(huint plca_check_valid (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h]h)}(htint plca_check_valid(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hplca_check_validh]j%)}(hplca_check_validh]hplca_check_valid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jjsbc.plca_check_validasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#const struct phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hj̰hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjɰubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjΰmodnameN classnameNjj!)}j$]j[c.plca_check_validasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplca_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j[c.plca_check_validasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjܯhhhjhMubah}(h]jׯah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjٯhhubjS)}(hhh]jX)}(h(Check PLCA configuration before enablingh]h(Check PLCA configuration before enabling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjٯhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration ``struct netlink_ext_ack *extack`` extack for reporting useful error messages **Description** Checks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjñhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޱubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjڱubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjڱubeh}(h]h ]h"]h$]h&]uh1jhjhMhjױubj)}(hC``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjh]h#const struct phy_plca_cfg *plca_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hcurrent PLCA configurationh]hcurrent PLCA configuration}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjױubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjRh]hstruct netlink_ext_ack *extack}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjLubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjױubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.h]hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhjThhhNhNubh)}(hhh](h)}(h}int phy_ethtool_set_plca_cfg (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h]h)}(h|int phy_ethtool_set_plca_cfg(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjҲhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjβhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjβhhhjhMubj)}(hphy_ethtool_set_plca_cfgh]j%)}(hphy_ethtool_set_plca_cfgh]hphy_ethtool_set_plca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjβhhhjhMubj)}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j')}jjsbc.phy_ethtool_set_plca_cfgasbuh1hhj ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#const struct phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jIc.phy_ethtool_set_plca_cfgasbuh1hhj}ubj)}(h h]h }(hjسhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ubj%)}(hplca_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]jIc.phy_ethtool_set_plca_cfgasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjβhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjʲhhhjhMubah}(h]jŲah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjDzhhubjS)}(hhh]jX)}(hSet PLCA RS configurationh]hSet PLCA RS configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjDzhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXY**Parameters** ``struct phy_device *phydev`` the phy_device struct ``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply ``struct netlink_ext_ack *extack`` extack for reporting useful error messages **Description** Sets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjδh]hstruct phy_device *phydev}(hjдhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̴ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjȴubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȴubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŴubj)}(hH``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjh]h#const struct phy_plca_cfg *plca_cfg}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hnew PLCA configuration to applyh]hnew PLCA configuration to apply}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŴubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj@h]hstruct netlink_ext_ack *extack}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj:ubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjŴubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(heSets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.h]heSets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhjThhhNhNubh)}(hhh](h)}(h\int phy_ethtool_get_plca_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]h)}(h[int phy_ethtool_get_plca_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM(ubj)}(h h]h }(hjϵhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjεhM(ubj)}(hphy_ethtool_get_plca_statush]j%)}(hphy_ethtool_get_plca_statush]hphy_ethtool_get_plca_status}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݵubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjεhM(ubj)}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_ethtool_get_plca_statusasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_plca_status *plca_sth](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hphy_plca_statush]hphy_plca_status}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.phy_ethtool_get_plca_statusasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hplca_sth]hplca_st}(hjƶhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjεhM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjεhM(ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjεhM(hjhhubjS)}(hhh]jX)}(hGet PLCA RS status informationh]hGet PLCA RS status information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM(hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjεhM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct phy_plca_status *plca_st`` where to store the retrieved status information **Description** Retrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM,hj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj1h]hstruct phy_device *phydev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM)hj+ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM)hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhM)hj(ubj)}(hT``struct phy_plca_status *plca_st`` where to store the retrieved status information h](j)}(h#``struct phy_plca_status *plca_st``h]j)}(hjjh]hstruct phy_plca_status *plca_st}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM*hjdubj)}(hhh]jX)}(h/where to store the retrieved status informationh]h/where to store the retrieved status information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM*hj(ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM,hj ubjX)}(hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.h]hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM+hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhjThhhNhNubh)}(hhh](h)}(h5int phy_check_link_status (struct phy_device *phydev)h]h)}(h4int phy_check_link_status(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_check_link_statush]j%)}(hphy_check_link_statush]hphy_check_link_status}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jj sbc.phy_check_link_statusasbuh1hhj#ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jݷah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj߷hhubjS)}(hhh]jX)}(h+check link status and set state accordinglyh]h+check link status and set state accordingly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj߷hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj¸jxj¸jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Check for link and whether autoneg was triggered / is running and set state accordinglyh](jX)}(h**Parameters**h]j)}(hj̸h]h Parameters}(hjθhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʸubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjƸubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjƸubjX)}(h**Description**h]j)}(hj&h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjƸubjX)}(hWCheck for link and whether autoneg was triggered / is running and set state accordinglyh]hWCheck for link and whether autoneg was triggered / is running and set state accordingly}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjƸubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhjThhhNhNubh)}(hhh](h)}(h1void phy_stop_machine (struct phy_device *phydev)h]h)}(h0void phy_stop_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM'ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjyhM'ubj)}(hphy_stop_machineh]j%)}(hphy_stop_machineh]hphy_stop_machine}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjyhM'ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjƹhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjùubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjȹmodnameN classnameNjj!)}j$]j')}jjsbc.phy_stop_machineasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjyhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjyhM'ubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhM'hj`hhubjS)}(hhh]jX)}(h#stop the PHY state machine trackingh]h#stop the PHY state machine tracking}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM'hj(hhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjyhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Stops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](jX)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM+hjGubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjlh]hstruct phy_device *phydev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM(hjfubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjcubah}(h]h ]h"]h$]h&]uh1jhjGubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM*hjGubj)}(hhh]j)}(hStops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](j)}(h3Stops the state machine delayed workqueue, sets theh]h3Stops the state machine delayed workqueue, sets the}(hjĺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM+hjubj)}(hhh]jX)}(hVstate to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h]hXstate to UP (unless it wasn’t up yet). This function must be called BEFORE phy_detach.}(hjֺhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjҺhM+hjӺubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҺhM+hjubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhjThhhNhNubh)}(hhh](h)}(h6int phy_disable_interrupts (struct phy_device *phydev)h]h)}(h5int phy_disable_interrupts(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMZubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj$hMZubj)}(hphy_disable_interruptsh]j%)}(hphy_disable_interruptsh]hphy_disable_interrupts}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj$hMZubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jj9sbc.phy_disable_interruptsasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj$hMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj$hMZubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$hMZhj hhubjS)}(hhh]jX)}(h,Disable the PHY interrupts from the PHY sideh]h,Disable the PHY interrupts from the PHY side}(hjֻhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMZhjӻhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj$hMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM^hjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM[hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhjThhhNhNubh)}(hhh](h)}(h2irqreturn_t phy_interrupt (int irq, void *phy_dat)h]h)}(h1irqreturn_t phy_interrupt(int irq, void *phy_dat)h](h)}(hhh]j%)}(h irqreturn_th]h irqreturn_t}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}j phy_interruptsbc.phy_interruptasbuh1hhjmhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjhMdubj)}(h phy_interrupth]j%)}(hjh]h phy_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjhMdubj)}(h(int irq, void *phy_dat)h](j)}(hint irqh](j)}(hinth]hint}(hjühhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjѼhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hirqh]hirq}(hj߼hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void *phy_dath](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphy_dath]hphy_dat}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjhMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhMdubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMdhjfhhubjS)}(hhh]jX)}(hPHY interrupt handlerh]hPHY interrupt handler}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMdhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjhMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhjThNhNubj})}(h{**Parameters** ``int irq`` interrupt line ``void *phy_dat`` phy_device pointer **Description** Handle PHY interrupth](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhhjgubj)}(hhh](j)}(h``int irq`` interrupt line h](j)}(h ``int irq``h]j)}(hjh]hint irq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMehjubj)}(hhh]jX)}(hinterrupt lineh]hinterrupt line}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubj)}(h%``void *phy_dat`` phy_device pointer h](j)}(h``void *phy_dat``h]j)}(hjŽh]h void *phy_dat}(hjǽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjýubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhjubj)}(hhh]jX)}(hphy_device pointerh]hphy_device pointer}(hj޽hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjڽhMfhj۽ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڽhMfhjubeh}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhhjgubjX)}(hHandle PHY interrupth]hHandle PHY interrupt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhjThhhNhNubh)}(hhh](h)}(h5int phy_enable_interrupts (struct phy_device *phydev)h]h)}(h4int phy_enable_interrupts(struct phy_device *phydev)h](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShMubj)}(hphy_enable_interruptsh]j%)}(hphy_enable_interruptsh]hphy_enable_interrupts}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjhsbc.phy_enable_interruptsasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hjξhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hphydevh]hphydev}(hj۾hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubah}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjShMubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMhj:hhubjS)}(hhh]jX)}(h'Enable the interrupts from the PHY sideh]h'Enable the interrupts from the PHY side}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj!ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjFh]hstruct phy_device *phydev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj@ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhjThhhNhNubh)}(hhh](h)}(h0int phy_update_stats (struct phy_device *phydev)h]h)}(h/int phy_update_stats(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_update_statsh]j%)}(hphy_update_statsh]hphy_update_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjݿhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjٿubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjٿubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjÿsbc.phy_update_statsasbuh1hhjٿubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjٿubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjٿubj%)}(hphydevh]hphydev}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjٿubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjտubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h*Update PHY device statistics if supported.h]h*Update PHY device statistics if supported.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhjThNhNubj})}(hX3**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device structure. **Description** If the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0. **Return** 0 on success, or a negative error code if the callback fails.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj|ubj)}(hhh]j)}(hC``struct phy_device *phydev`` Pointer to the PHY device structure. h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h$Pointer to the PHY device structure.h]h$Pointer to the PHY device structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj|ubjX)}(hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.h]hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj|ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj|ubjX)}(h=0 on success, or a negative error code if the callback fails.h]h=0 on success, or a negative error code if the callback fails.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhjThhhNhNubh)}(hhh](h)}(hAunsigned int phy_get_next_update_time (struct phy_device *phydev)h]h)}(h@unsigned int phy_get_next_update_time(struct phy_device *phydev)h](j)}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhMubj)}(hinth]hint}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhjVhMubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhMubj)}(hphy_get_next_update_timeh]j%)}(hphy_get_next_update_timeh]hphy_get_next_update_time}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjVhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_get_next_update_timeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjVhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjVhMubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMhj=hhubjS)}(hhh]jX)}(h"Determine the next PHY update timeh]h"Determine the next PHY update time}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhjVhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhjThNhNubj})}(hX:**Parameters** ``struct phy_device *phydev`` Pointer to the phy_device structure **Description** This function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used. **Return** The time for the next polling event in jiffiesh](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj@ubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the phy_device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjeh]hstruct phy_device *phydev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj_ubj)}(hhh]jX)}(h#Pointer to the phy_device structureh]h#Pointer to the phy_device structure}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj@ubjX)}(hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.h]hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj@ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj@ubjX)}(h.The time for the next polling event in jiffiesh]h.The time for the next polling event in jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhjThhhNhNubh)}(hhh](h)}(h1void phy_state_machine (struct work_struct *work)h]h)}(h0void phy_state_machine(struct work_struct *work)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMAubj)}(hphy_state_machineh]j%)}(hphy_state_machineh]hphy_state_machine}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMAubj)}(h(struct work_struct *work)h]j)}(hstruct work_struct *workh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h work_structh]h work_struct}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj/sbc.phy_state_machineasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hworkh]hwork}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMAubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMAhjhhubjS)}(hhh]jX)}(hHandle the state machineh]hHandle the state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h]**Parameters** ``struct work_struct *work`` work_struct that describes the work to be doneh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMEhjubj)}(hhh]j)}(hK``struct work_struct *work`` work_struct that describes the work to be doneh](j)}(h``struct work_struct *work``h]j)}(hj h]hstruct work_struct *work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMGhjubj)}(hhh]jX)}(h.work_struct that describes the work to be doneh]h.work_struct that describes the work to be done}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMBhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h\void phy_ethtool_set_eee_noneg (struct phy_device *phydev, const struct eee_config *old_cfg)h]h)}(h[void phy_ethtool_set_eee_noneg(struct phy_device *phydev, const struct eee_config *old_cfg)h](j)}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM{ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjuhM{ubj)}(hphy_ethtool_set_eee_nonegh]j%)}(hphy_ethtool_set_eee_nonegh]hphy_ethtool_set_eee_noneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjuhM{ubj)}(h=(struct phy_device *phydev, const struct eee_config *old_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_ethtool_set_eee_nonegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const struct eee_config *old_cfgh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h eee_configh]h eee_config}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jc.phy_ethtool_set_eee_nonegasbuh1hhjubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hold_cfgh]hold_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjuhM{ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhjuhM{ubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhM{hj\hhubjS)}(hhh]jX)}(h7Adjusts MAC LPI configuration without PHY renegotiationh]h7Adjusts MAC LPI configuration without PHY renegotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM{hjhhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhjuhM{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` pointer to the target PHY device structure ``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings **Description** This function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC's Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(hI``struct phy_device *phydev`` pointer to the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM}hjubj)}(hhh]jX)}(h*pointer to the target PHY device structureh]h*pointer to the target PHY device structure}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM}hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubj)}(hi``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings h](j)}(h$``const struct eee_config *old_cfg``h]j)}(hj,h]h const struct eee_config *old_cfg}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM~hj&ubj)}(hhh]jX)}(hCpointer to the eee_config structure containing the old EEE settingsh]hCpointer to the eee_config structure containing the old EEE settings}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhM~hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM~hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(hXThis function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC's Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.h]hXThis function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC’s Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhjThhhNhNubh)}(hhh](h)}(h)const char * phy_speed_to_str (int speed)h]h)}(h'const char *phy_speed_to_str(int speed)h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKubj)}(hphy_speed_to_strh]j%)}(hphy_speed_to_strh]hphy_speed_to_str}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h (int speed)h]j)}(h int speedh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hspeedh]hspeed}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h/Return a string representing the PHY link speedh]h/Return a string representing the PHY link speed}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjThhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhjThNhNubj})}(h1**Parameters** ``int speed`` Speed of the linkh](jX)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjsubj)}(hhh]j)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh]jX)}(hSpeed of the linkh]hSpeed of the link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhjThhhNhNubh)}(hhh](h)}(h4const char * phy_duplex_to_str (unsigned int duplex)h]h)}(h2const char *phy_duplex_to_str(unsigned int duplex)h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKCubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKCubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKCubj)}(hphy_duplex_to_strh]j%)}(hphy_duplex_to_strh]hphy_duplex_to_str}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKCubj)}(h(unsigned int duplex)h]j)}(hunsigned int duplexh](j)}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(hinth]hint}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj%)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKCubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKChjhhubjS)}(hhh]jX)}(h#Return string describing the duplexh]h#Return string describing the duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKChjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hD**Parameters** ``unsigned int duplex`` Duplex setting to describeh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKGhjubj)}(hhh]j)}(h2``unsigned int duplex`` Duplex setting to describeh](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKIhjubj)}(hhh]jX)}(hDuplex setting to describeh]hDuplex setting to describe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhjThhhNhNubh)}(hhh](h)}(h9const char * phy_rate_matching_to_str (int rate_matching)h]h)}(h7const char *phy_rate_matching_to_str(int rate_matching)h](h)}(hjh]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKTubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjahKTubj)}(hcharh]hchar}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhjahKTubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjahKTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPhhhjahKTubj)}(hphy_rate_matching_to_strh]j%)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjahKTubj)}(h(int rate_matching)h]j)}(hint rate_matchingh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h rate_matchingh]h rate_matching}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjPhhhjahKTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjahKTubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahKThjIhhubjS)}(hhh]jX)}(h,Return a string describing the rate matchingh]h,Return a string describing the rate matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKThjhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjahKTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hI**Parameters** ``int rate_matching`` Type of rate matching to describeh](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKXhjubj)}(hhh]j)}(h7``int rate_matching`` Type of rate matching to describeh](j)}(h``int rate_matching``h]j)}(hj@h]hint rate_matching}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKZhj:ubj)}(hhh]jX)}(h!Type of rate matching to describeh]h!Type of rate matching to describe}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKVhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhKZhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhjThhhNhNubh)}(hhh](h)}(h7int phy_interface_num_ports (phy_interface_t interface)h]h)}(h6int phy_interface_num_ports(phy_interface_t interface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKiubj)}(hphy_interface_num_portsh]j%)}(hphy_interface_num_portsh]hphy_interface_num_ports}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKiubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_interface_num_portsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKiubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKihjhhubjS)}(hhh]jX)}(hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.h]hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKihj/hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjThNhNubj})}(he**Parameters** ``phy_interface_t interface`` The interface mode we want to get the number of portsh](jX)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKmhjNubj)}(hhh]j)}(hS``phy_interface_t interface`` The interface mode we want to get the number of portsh](j)}(h``phy_interface_t interface``h]j)}(hjsh]hphy_interface_t interface}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKohjmubj)}(hhh]jX)}(h5The interface mode we want to get the number of portsh]h5The interface mode we want to get the number of ports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKmhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKohjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hAvoid phy_set_max_speed (struct phy_device *phydev, u32 max_speed)h]h)}(h@void phy_set_max_speed(struct phy_device *phydev, u32 max_speed)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_set_max_speedh]j%)}(hphy_set_max_speedh]hphy_set_max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h*(struct phy_device *phydev, u32 max_speed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}jjsbc.phy_set_max_speedasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 max_speedh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jDc.phy_set_max_speedasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj%)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h,Set the maximum speed the PHY should supporth]h,Set the maximum speed the PHY should support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXB**Parameters** ``struct phy_device *phydev`` The phy_device struct ``u32 max_speed`` Maximum speed **Description** The PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hKhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hKhj ubj)}(h ``u32 max_speed`` Maximum speed h](j)}(h``u32 max_speed``h]j)}(hjOh]h u32 max_speed}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjIubj)}(hhh]jX)}(h Maximum speedh]h Maximum speed}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhKhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubjX)}(hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.h]hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhjThhhNhNubh)}(hhh](h)}(h7void phy_resolve_aneg_pause (struct phy_device *phydev)h]h)}(h6void phy_resolve_aneg_pause(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_resolve_aneg_pauseh]j%)}(hphy_resolve_aneg_pauseh]hphy_resolve_aneg_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jjsbc.phy_resolve_aneg_pauseasbuh1hhjubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hDetermine pause autoneg resultsh]hDetermine pause autoneg results}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Description** Once autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h]hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhjThhhNhNubh)}(hhh](h)}(h:void phy_resolve_aneg_linkmode (struct phy_device *phydev)h]h)}(h9void phy_resolve_aneg_linkmode(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj^hMubj)}(hphy_resolve_aneg_linkmodeh]j%)}(hphy_resolve_aneg_linkmodeh]hphy_resolve_aneg_linkmode}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjssbc.phy_resolve_aneg_linkmodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhj^hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhj^hMubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hMhjEhhubjS)}(hhh]jX)}(h,resolve the advertisements into PHY settingsh]h,resolve the advertisements into PHY settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` The phy_device struct **Description** Resolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.h](jX)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,ubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjQh]hstruct phy_device *phydev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjKubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,ubjX)}(hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.h]hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hEint __phy_read_mmd (struct phy_device *phydev, int devad, u32 regnum)h]h)}(hDint __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_read_mmdh]j%)}(h__phy_read_mmdh]h__phy_read_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h2(struct phy_device *phydev, int devad, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jjsbc.__phy_read_mmdasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.__phy_read_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hGConvenience function for reading a register from an MMD on a given PHY.h]hGConvenience function for reading a register from an MMD on a given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from (0..31) ``u32 regnum`` The register on the MMD to read (0..65535) **Description** Same rules as for __phy_read();h](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjOh]hstruct phy_device *phydev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjIubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(h+``int devad`` The MMD to read from (0..31) h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe MMD to read from (0..31)h]hThe MMD to read from (0..31)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(h:``u32 regnum`` The register on the MMD to read (0..65535) h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h*The register on the MMD to read (0..65535)h]h*The register on the MMD to read (0..65535)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubjX)}(hSame rules as for __phy_read();h]hSame rules as for __phy_read();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hCint phy_read_mmd (struct phy_device *phydev, int devad, u32 regnum)h]h)}(hBint phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum)h](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjOhMubj)}(h phy_read_mmdh]j%)}(h phy_read_mmdh]h phy_read_mmd}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhjOhMubj)}(h2(struct phy_device *phydev, int devad, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjdsbc.phy_read_mmdasbuh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]jc.phy_read_mmdasbuh1hhj!ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj%)}(hregnumh]hregnum}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubeh}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhjOhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhjOhMubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMhj6hhubjS)}(hhh]jX)}(hGConvenience function for reading a register from an MMD on a given PHY.h]hGConvenience function for reading a register from an MMD on a given PHY.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj{hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhjOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read **Description** Same rules as for phy_read();h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hj1h]h u32 regnum}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj+ubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hSame rules as for phy_read();h]hSame rules as for phy_read();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hOint __phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hNint __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_write_mmdh]j%)}(h__phy_write_mmdh]h__phy_write_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_write_mmdasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hdevadh]hdevad}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j(c.__phy_write_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j(c.__phy_write_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read ``u16 val`` value to write to **regnum** **Description** Same rules as for __phy_write();h](jX)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjRubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjwh]hstruct phy_device *phydev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjqubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj"h]hu16 val}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj;hhhNhNubj)}(h **regnum**h]hregnum}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjRubjX)}(h Same rules as for __phy_write();h]h Same rules as for __phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hMint phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hLint phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h phy_write_mmdh]j%)}(h phy_write_mmdh]h phy_write_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phy_write_mmdasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hdevadh]hdevad}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.phy_write_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.phy_write_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read ``u16 val`` value to write to **regnum** **Description** Same rules as for phy_write();h](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjQubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjvh]hstruct phy_device *phydev}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjpubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj!h]hu16 val}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj:hhhNhNubj)}(h **regnum**h]hregnum}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjQubjX)}(hSame rules as for phy_write();h]hSame rules as for phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hQint phy_modify_changed (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]h)}(hPint phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_modify_changedh]j%)}(hphy_modify_changedh]hphy_modify_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phy_modify_changedasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j&c.phy_modify_changedasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j&c.phy_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j&c.phy_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%Function for modifying a PHY registerh]h%Function for modifying a PHY register}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation. Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjcubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hj3h]hu16 set}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj-ubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjLhhhNhNubj)}(h **regnum**h]hregnum}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**NOTE**h]j)}(hj|h]hNOTE}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjcubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjcubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhjThhhNhNubh)}(hhh](h)}(hKint __phy_modify (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]h)}(hJint __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h __phy_modifyh]j%)}(h __phy_modifyh]h __phy_modify}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjsbc.__phy_modifyasbuh1hhj ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jGc.__phy_modifyasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jGc.__phy_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jGc.__phy_modifyasbuh1hhj ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hseth]hset}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjehhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXo**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjTh]hu16 set}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjNubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjmhhhNhNubj)}(h **regnum**h]hregnum}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jWhjihM hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhjThhhNhNubh)}(hhh](h)}(hIint phy_modify (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]h)}(hHint phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h phy_modifyh]j%)}(h phy_modifyh]h phy_modify}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jjsb c.phy_modifyasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jY c.phy_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jY c.phy_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]jY c.phy_modifyasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h7Convenience function for modifying a given PHY registerh]h7Convenience function for modifying a given PHY register}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM!hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj-h]hu16 mask}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hj'ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjfh]hu16 set}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM!hj`ubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhj{hM!hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM!hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM#hjubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM#hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hbint __phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(haint __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM4ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM4ubj)}(h__phy_modify_mmd_changedh]j%)}(h__phy_modify_mmd_changedh]h__phy_modify_mmd_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM4ubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_modify_mmd_changedasbuh1hhj-ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jkc.__phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]jkc.__phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jkc.__phy_modify_mmd_changedasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM4ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM4hjhhubjS)}(hhh]jX)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM4hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **Description** Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | set Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM8hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM5hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj;h]h int devad}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM6hj5ubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhM6hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM6hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjth]h u32 regnum}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7hjnubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM8hjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hjubjX)}(h~Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | seth]h~Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | set}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM:hjubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhjThhhNhNubh)}(hhh](h)}(h`int phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(h_int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMTubj)}(hphy_modify_mmd_changedh]j%)}(hphy_modify_mmd_changedh]hphy_modify_mmd_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMTubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hdevadh]hdevad}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]jc.phy_modify_mmd_changedasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhjhMTubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMThjxhhubjS)}(hhh]jX)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMThjMhhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjhMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation. Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjlubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMUhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMVhjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMWhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj<h]hu16 mask}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhj6ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMXhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMXhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjuh]hu16 set}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMYhjoubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjlubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM[hjlubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM[hjlubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM_hjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hZint __phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(hYint __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMoubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMoubj)}(h__phy_modify_mmdh]j%)}(h__phy_modify_mmdh]h__phy_modify_mmd}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMoubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sbc.__phy_modify_mmdasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhj:ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hmaskh]hmask}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMoubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMohjhhubjS)}(hhh]jX)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMohjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMshjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMphjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMphj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMphjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjYh]h int devad}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMqhjSubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMqhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMqhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMrhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMshjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMthjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjMh]hNOTE}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMvhjubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hXint phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(hWint phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_modify_mmdh]j%)}(hphy_modify_mmdh]hphy_modify_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_modify_mmdasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hdevadh]hdevad}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j c.phy_modify_mmdasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_modify_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.phy_modify_mmdasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj\hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj{ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjKh]hu16 mask}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjEubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj~ubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj{ubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhjThhhNhNubh)}(hhh](h)}(h-int phy_save_page (struct phy_device *phydev)h]h)}(h,int phy_save_page(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(h phy_save_pageh]j%)}(h phy_save_pageh]h phy_save_page}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sbc.phy_save_pageasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(h+take the bus lock and save the current pageh]h+take the bus lock and save the current page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` **Description** Take the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj,hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj6h]hstruct phy_device}(hj8hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj(hMhj,ubeh}(h]h ]h"]h$]h&]uh1jWhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjmh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhjThhhNhNubh)}(hhh](h)}(h9int phy_select_page (struct phy_device *phydev, int page)h]h)}(h8int phy_select_page(struct phy_device *phydev, int page)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_select_pageh]j%)}(hphy_select_pageh]hphy_select_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h%(struct phy_device *phydev, int page)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_select_pageasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint pageh](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj%)}(hpageh]hpage}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h8take the bus lock, save the current page, and set a pageh]h8take the bus lock, save the current page, and set a page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` desired page **Description** Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj h]hstruct phy_device}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int page`` desired page h](j)}(h ``int page``h]j)}(hj@h]hint page}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj:ubj)}(hhh]jX)}(h desired pageh]h desired page}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhjThhhNhNubh)}(hhh](h)}(hFint phy_restore_page (struct phy_device *phydev, int oldpage, int ret)h]h)}(hEint phy_restore_page(struct phy_device *phydev, int oldpage, int ret)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_restore_pageh]j%)}(hphy_restore_pageh]hphy_restore_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct phy_device *phydev, int oldpage, int ret)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_restore_pageasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int oldpageh](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(holdpageh]holdpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint reth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreth]hret}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h2restore the page register and release the bus lockh]h2restore the page register and release the bus lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXL**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() ``int ret`` operation's return code **Description** Release the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations. **Return** **oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj+h]hstruct phy_device *phydev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj%ubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjDhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjNh]hstruct phy_device}(hjPhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj@hMhjDubeh}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubj)}(hU``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() h](j)}(h``int oldpage``h]j)}(hjh]h int oldpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj}ubj)}(hhh]jX)}(hDthe old page, return value from phy_save_page() or phy_select_page()h]hDthe old page, return value from phy_save_page() or phy_select_page()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"ubj)}(h$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hjh]hint ret}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hoperation's return codeh]hoperation’s return code}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hRelease the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations.h](h%Release the MDIO bus lock, restoring }(hj hhhNhNubj)}(h **oldpage**h]holdpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(h **Return**h]j)}(hj0h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(h**oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](j)}(h **oldpage**h]holdpage}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh' if it was a negative value, otherwise }(hjFhhhNhNubj)}(h**ret**h]hret}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubhp if it was a negative errno value, otherwise phy_write_page()’s negative value if it were in error, otherwise }(hjFhhhNhNubj)}(h**ret**h]hret}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hDint phy_read_paged (struct phy_device *phydev, int page, u32 regnum)h]h)}(hCint phy_read_paged(struct phy_device *phydev, int page, u32 regnum)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_read_pagedh]j%)}(hphy_read_pagedh]hphy_read_paged}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct phy_device *phydev, int page, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_read_pagedasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint pageh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hpageh]hpage}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_read_pagedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number **Description** Same rules as for phy_read().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj%h]hstruct phy_device *phydev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj>hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjHh]hstruct phy_device}(hjJhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj:hMhj>ubeh}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj}h]hSint page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjwubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hSame rules as for phy_read().h]hSame rules as for phy_read().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hNint phy_write_paged (struct phy_device *phydev, int page, u32 regnum, u16 val)h]h)}(hMint phy_write_paged(struct phy_device *phydev, int page, u32 regnum, u16 val)h](j)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhjDhMubj)}(hphy_write_pagedh]j%)}(hphy_write_pagedh]hphy_write_paged}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhjDhMubj)}(h:(struct phy_device *phydev, int page, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjYsbc.phy_write_pagedasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hint pageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_write_pagedasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jc.phy_write_pagedasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubeh}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhMubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhj+hhubjS)}(hhh]jX)}(h1Convenience function for writing a paged registerh]h1Convenience function for writing a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 val`` value to write **Description** Same rules as for phy_write().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hj!hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjTh]hint page}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjNubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u16 val`` value to write h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hvalue to writeh]hvalue to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hSame rules as for phy_write().h]hSame rules as for phy_write().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhjThhhNhNubh)}(hhh](h)}(haint phy_modify_paged_changed (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]h)}(h`int phy_modify_paged_changed(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM+ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThM+ubj)}(hphy_modify_paged_changedh]j%)}(hphy_modify_paged_changedh]hphy_modify_paged_changed}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThM+ubj)}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjisbc.phy_modify_paged_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hint pageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]jc.phy_modify_paged_changedasbuh1hhj&ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(hregnumh]hregnum}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jc.phy_modify_paged_changedasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_modify_paged_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjThM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThM+ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThM+hj;hhubjS)}(hhh]jX)}(h'Function for modifying a paged registerh]h'Function for modifying a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM+hjhhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhjThNhNubj})}(hX[**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM/hj/ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjTh]hstruct phy_device *phydev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM,hjNubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjmhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjwh]hstruct phy_device}(hjyhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjihM,hjmubeh}(h]h ]h"]h$]h&]uh1jWhjihM,hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM,hjKubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjh]hint page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM-hjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjKubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM.hjubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjKubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM/hjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM/hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM/hjKubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjWh]hu16 set}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM0hjQubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM0hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM0hjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM2hj/ubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM1hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hYint phy_modify_paged (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]h)}(hXint phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMBubj)}(hphy_modify_pagedh]j%)}(hphy_modify_pagedh]hphy_modify_paged}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMBubj)}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjsbc.phy_modify_pagedasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hint pageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jNc.phy_modify_pagedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jNc.phy_modify_pagedasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jNc.phy_modify_pagedasbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hseth]hset}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMBubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMBhjhhubjS)}(hhh]jX)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMBhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Same rules as for phy_read() and phy_write().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMFhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMChjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMChjubeh}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj=h]hint page}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMDhj7ubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMDhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMDhjubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjvh]h u32 regnum}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMEhjpubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMFhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMGhjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj#h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMIhjubjX)}(h-Same rules as for phy_read() and phy_write().h]h-Same rules as for phy_read() and phy_write().}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMHhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhjThhhNhNubh)}(hhh](h)}(h5int genphy_c45_pma_resume (struct phy_device *phydev)h]h)}(h4int genphy_c45_pma_resume(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK1ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhK1ubj)}(hgenphy_c45_pma_resumeh]j%)}(hgenphy_c45_pma_resumeh]hgenphy_c45_pma_resume}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjvhK1ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_pma_resumeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjvhK1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhK1ubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhK1hj]hhubjS)}(hhh]jX)}(hwakes up the PMA moduleh]hwakes up the PMA module}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK1hj%hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhK1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK5hjDubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjih]hstruct phy_device *phydev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK7hjcubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK2hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hK7hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhjThhhNhNubh)}(hhh](h)}(h6int genphy_c45_pma_suspend (struct phy_device *phydev)h]h)}(h5int genphy_c45_pma_suspend(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK?ubj)}(hgenphy_c45_pma_suspendh]j%)}(hgenphy_c45_pma_suspendh]hgenphy_c45_pma_suspend}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK?ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_pma_suspendasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhK?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhK?ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK?hjhhubjS)}(hhh]jX)}(hsuspends the PMA moduleh]hsuspends the PMA module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK?hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhK?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKChjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKEhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5genphy_c45_pma_baset1_setup_master_slave (C function)*c.genphy_c45_pma_baset1_setup_master_slavehNtauh1hhjThhhNhNubh)}(hhh](h)}(hHint genphy_c45_pma_baset1_setup_master_slave (struct phy_device *phydev)h]h)}(hGint genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKMubj)}(h h]h }(hj- hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj, hKMubj)}(h(genphy_c45_pma_baset1_setup_master_slaveh]j%)}(h(genphy_c45_pma_baset1_setup_master_slaveh]h(genphy_c45_pma_baset1_setup_master_slave}(hj? hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj; ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj, hKMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj[ hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjW ubj)}(h h]h }(hjh hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjy hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{ modnameN classnameNjj!)}j$]j')}jjA sb*c.genphy_c45_pma_baset1_setup_master_slaveasbuh1hhjW ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjW ubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjS ubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj, hKMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj, hKMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj, hKMhj hhubjS)}(hhh]jX)}(h6configures forced master/slave role of BaseT1 devices.h]h6configures forced master/slave role of BaseT1 devices.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj, hKMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKQhj ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj! hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKShj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKOhj5 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj4 hKShj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhjThhhNhNubh)}(hhh](h)}(h;int genphy_c45_pma_setup_forced (struct phy_device *phydev)h]h)}(h:int genphy_c45_pma_setup_forced(struct phy_device *phydev)h](j)}(hinth]hint}(hjy hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKkubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju hhhj hKkubj)}(hgenphy_c45_pma_setup_forcedh]j%)}(hgenphy_c45_pma_setup_forcedh]hgenphy_c45_pma_setup_forced}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhju hhhj hKkubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.genphy_c45_pma_setup_forcedasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhju hhhj hKkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjq hhhj hKkubah}(h]jl ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hKkhjn hhubjS)}(hhh]jX)}(hconfigures a forced speedh]hconfigures a forced speed}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKkhj6 hhubah}(h]h ]h"]h$]h&]uh1jRhjn hhhj hKkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQ jxjQ jyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj[ h]h Parameters}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKohjU ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjz h]hstruct phy_device *phydev}(hj| hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKqhjt ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlhj ubah}(h]h ]h"]h$]h&]uh1jhjt ubeh}(h]h ]h"]h$]h&]uh1jhj hKqhjq ubah}(h]h ]h"]h$]h&]uh1jhjU ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h9int genphy_c45_an_config_aneg (struct phy_device *phydev)h]h)}(h8int genphy_c45_an_config_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hgenphy_c45_an_config_anegh]j%)}(hgenphy_c45_an_config_anegh]hgenphy_c45_an_config_aneg}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj/ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj, ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1 modnameN classnameNjj!)}j$]j')}jj sbc.genphy_c45_an_config_anegasbuh1hhj ubj)}(h h]h }(hjO hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj] hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(h!configure advertisement registersh]h!configure advertisement registers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Configure advertisement registers based on modes set in phydev->advertising Returns negative errno code on failure, 0 if advertisement didn't change, or 1 if advertised modes changed.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj ubjX)}(hKConfigure advertisement registers based on modes set in phydev->advertisingh]hKConfigure advertisement registers based on modes set in phydev->advertising}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj ubjX)}(hkReturns negative errno code on failure, 0 if advertisement didn't change, or 1 if advertised modes changed.h]hmReturns negative errno code on failure, 0 if advertisement didn’t change, or 1 if advertised modes changed.}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h:int genphy_c45_an_disable_aneg (struct phy_device *phydev)h]h)}(h9int genphy_c45_an_disable_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjd hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj` hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM8ubj)}(h h]h }(hjs hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj` hhhjr hM8ubj)}(hgenphy_c45_an_disable_anegh]j%)}(hgenphy_c45_an_disable_anegh]hgenphy_c45_an_disable_aneg}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj` hhhjr hM8ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.genphy_c45_an_disable_anegasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhj` hhhjr hM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\ hhhjr hM8ubah}(h]jW ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjr hM8hjY hhubjS)}(hhh]jX)}(hdisable auto-negotiationh]hdisable auto-negotiation}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM8hj!hhubah}(h]h ]h"]h$]h&]uh1jRhjY hhhjr hM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhjThNhNubj})}(hX **Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Disable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers. Returns zero on success, negative errno code on failure.h](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hj@ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjeh]hstruct phy_device *phydev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hj_ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhM9hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM9hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hj@ubjX)}(htDisable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers.h]htDisable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hj@ubjX)}(h8Returns zero on success, negative errno code on failure.h]h8Returns zero on success, negative errno code on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM=hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h7int genphy_c45_restart_aneg (struct phy_device *phydev)h]h)}(h6int genphy_c45_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMMubj)}(hgenphy_c45_restart_anegh]j%)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_restart_anegasbuh1hhj-ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMMhjhhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This assumes that the auto-negotiation MMD is present. Enable and restart auto-negotiation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMQhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMNhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMNhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhjubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMOhjubjX)}(h$Enable and restart auto-negotiation.h]h$Enable and restart auto-negotiation.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(hOint genphy_c45_check_and_restart_aneg (struct phy_device *phydev, bool restart)h]h)}(hNint genphy_c45_check_and_restart_aneg(struct phy_device *phydev, bool restart)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMaubj)}(h!genphy_c45_check_and_restart_anegh]j%)}(h!genphy_c45_check_and_restart_anegh]h!genphy_c45_check_and_restart_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMaubj)}(h)(struct phy_device *phydev, bool restart)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb#c.genphy_c45_check_and_restart_anegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool restarth](j)}(hjTh]hbool}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj%)}(hrestarth]hrestart}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhMaubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMahjyhhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMahjuhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool restart`` whether aneg restart is requested **Description** This assumes that the auto-negotiation MMD is present. Check, and restart auto-negotiation if needed.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hjh]h bool restart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchjubj)}(hhh]jX)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj-h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehjubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.c'hMdhjubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhjThhhNhNubh)}(hhh](h)}(h4int genphy_c45_aneg_done (struct phy_device *phydev)h]h)}(h3int genphy_c45_aneg_done(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMubj)}(hgenphy_c45_aneg_doneh]j%)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_aneg_doneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjvhhubjS)}(hhh]jX)}(h'return auto-negotiation complete statush]h'return auto-negotiation complete status}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj>hhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhjThNhNubj})}(hX1**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This assumes that the auto-negotiation MMD is present. Reads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwiseh](jX)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj]ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj|ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj]ubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj]ubjX)}(hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwiseh]hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhjThhhNhNubh)}(hhh](h)}(h4int genphy_c45_read_link (struct phy_device *phydev)h]h)}(h3int genphy_c45_read_link(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hgenphy_c45_read_linkh]j%)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jj4sbc.genphy_c45_read_linkasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h*read the overall link status from the MMDsh]h*read the overall link status from the MMDs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(hRead the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.h]hRead the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhjThhhNhNubh)}(hhh](h)}(h3int genphy_c45_read_lpa (struct phy_device *phydev)h]h)}(h2int genphy_c45_read_lpa(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_c45_read_lpah]j%)}(hgenphy_c45_read_lpah]hgenphy_c45_read_lpa}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_read_lpaasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the Clause 45 defined base (7.19) and 10G (7.33) status registers, filling in the link partner advertisement, pause and asym_pause members in **phydev**. This assumes that the auto-negotiation MMD is present, and the backplane bit (7.48.0) is clear. Clause 45 PHY drivers are expected to fill in the remainder of the link partner advert from vendor registers.h](jX)}(h**Parameters**h]j)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjnubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjnubjX)}(hXnRead the Clause 45 defined base (7.19) and 10G (7.33) status registers, filling in the link partner advertisement, pause and asym_pause members in **phydev**. This assumes that the auto-negotiation MMD is present, and the backplane bit (7.48.0) is clear. Clause 45 PHY drivers are expected to fill in the remainder of the link partner advert from vendor registers.h](hRead the Clause 45 defined base (7.19) and 10G (7.33) status registers, filling in the link partner advertisement, pause and asym_pause members in }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. This assumes that the auto-negotiation MMD is present, and the backplane bit (7.48.0) is clear. Clause 45 PHY drivers are expected to fill in the remainder of the link partner advert from vendor registers.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_pma_baset1_read_master_slave (C function))c.genphy_c45_pma_baset1_read_master_slavehNtauh1hhjThhhNhNubh)}(hhh](h)}(hGint genphy_c45_pma_baset1_read_master_slave (struct phy_device *phydev)h]h)}(hFint genphy_c45_pma_baset1_read_master_slave(struct phy_device *phydev)h](j)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hM9ubj)}(h'genphy_c45_pma_baset1_read_master_slaveh]j%)}(h'genphy_c45_pma_baset1_read_master_slaveh]h'genphy_c45_pma_baset1_read_master_slave}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hM9ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsb)c.genphy_c45_pma_baset1_read_master_slaveasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubah}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj3hM9ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hM9ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hM9hjhhubjS)}(hhh]jX)}(h&read forced master/slave configurationh]h&read forced master/slave configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hM9ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM=hjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM?hj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhjThhhNhNubh)}(hhh](h)}(h3int genphy_c45_read_pma (struct phy_device *phydev)h]h)}(h2int genphy_c45_read_pma(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhjhMUubj)}(hgenphy_c45_read_pmah]j%)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhjhMUubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_read_pmaasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj|hhhjhMUubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhMUubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMUhjuhhubjS)}(hhh]jX)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMUhj=hhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjhMUubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMYhj\ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM[hj{ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhjThhhNhNubh)}(hhh](h)}(h4int genphy_c45_read_mdix (struct phy_device *phydev)h]h)}(h3int genphy_c45_read_mdix(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_c45_read_mdixh]j%)}(hgenphy_c45_read_mdixh]hgenphy_c45_read_mdix}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_read_mdixasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hread mdix status from PMAh]hread mdix status from PMA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhjThhhNhNubh)}(hhh](h)}(h=int genphy_c45_read_eee_abilities (struct phy_device *phydev)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhjDhM~ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhM~ubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhM~hj+hhubjS)}(hhh]jX)}(hread supported EEE link modesh]hread supported EEE link modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhjDhM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj7h]hstruct phy_device *phydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj1ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_an_config_eee_aneg (C function)c.genphy_c45_an_config_eee_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h=int genphy_c45_an_config_eee_aneg (struct phy_device *phydev)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hconfigure EEE advertisementh]hconfigure EEE advertisement}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjmubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1genphy_c45_pma_baset1_read_abilities (C function)&c.genphy_c45_pma_baset1_read_abilitieshNtauh1hhjThhhNhNubh)}(hhh](h)}(hDint genphy_c45_pma_baset1_read_abilities (struct phy_device *phydev)h]h)}(hCint genphy_c45_pma_baset1_read_abilities(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h$genphy_c45_pma_baset1_read_abilitiesh]j%)}(h$genphy_c45_pma_baset1_read_abilitiesh]h$genphy_c45_pma_baset1_read_abilities}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjsb&c.genphy_c45_pma_baset1_read_abilitiesasbuh1hhj%ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h)read supported baset1 link modes from PMAh]h)read supported baset1 link modes from PMA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the extended BASE-T1 ability registerh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(hHRead the supported link modes from the extended BASE-T1 ability registerh]hHRead the supported link modes from the extended BASE-T1 ability register}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_pma_read_ext_abilities (C function)#c.genphy_c45_pma_read_ext_abilitieshNtauh1hhjThhhNhNubh)}(hhh](h)}(hAint genphy_c45_pma_read_ext_abilities (struct phy_device *phydev)h]h)}(h@int genphy_c45_pma_read_ext_abilities(struct phy_device *phydev)h](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhj{hMubj)}(h!genphy_c45_pma_read_ext_abilitiesh]j%)}(h!genphy_c45_pma_read_ext_abilitiesh]h!genphy_c45_pma_read_ext_abilities}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhj{hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb#c.genphy_c45_pma_read_ext_abilitiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj{hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj{hMubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMhjbhhubjS)}(hhh]jX)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj* hhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhj{hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjE jxjE jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the PMA/PMD extended ability register (Register 1.11).h](jX)}(h**Parameters**h]j)}(hjO h]h Parameters}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjI ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjn h]hstruct phy_device *phydev}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjh ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjh ubeh}(h]h ]h"]h$]h&]uh1jhj hMhje ubah}(h]h ]h"]h$]h&]uh1jhjI ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjI ubjX)}(hYRead the supported link modes from the PMA/PMD extended ability register (Register 1.11).h]hYRead the supported link modes from the PMA/PMD extended ability register (Register 1.11).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjI ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_pma_read_abilities (C function)c.genphy_c45_pma_read_abilitieshNtauh1hhjThhhNhNubh)}(hhh](h)}(h=int genphy_c45_pma_read_abilities (struct phy_device *phydev)h]h)}(hh]h*}(hjw!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'!ubj%)}(hphydevh]hphydev}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#!ubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hM(ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM(hj hhubjS)}(hhh]jX)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM(hj!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.h](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM,hj!ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj!h]hstruct phy_device *phydev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM)hj!ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM)hj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hM)hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubjX)}(h**Description**h]j)}(hj*"h]h Description}(hj,"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj("ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM+hj!ubjX)}(hXRead the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.h]hXRead the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.}(hj@"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM*hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_read_status (C function)c.genphy_c45_read_statushNtauh1hhjThhhNhNubh)}(hhh](h)}(h6int genphy_c45_read_status (struct phy_device *phydev)h]h)}(h5int genphy_c45_read_status(struct phy_device *phydev)h](j)}(hinth]hint}(hjo"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk"hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj~"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk"hhhj}"hMubj)}(hgenphy_c45_read_statush]j%)}(hgenphy_c45_read_statush]hgenphy_c45_read_status}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjk"hhhj}"hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jj"sbc.genphy_c45_read_statusasbuh1hhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubah}(h]h ]h"]h$]h&]j<j=uh1jhjk"hhhj}"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjg"hhhj}"hMubah}(h]jb"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}"hMhjd"hhubjS)}(hhh]jX)}(hread PHY statush]hread PHY status}(hj/#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj,#hhubah}(h]h ]h"]h$]h&]uh1jRhjd"hhhj}"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjG#jxjG#jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads status from PHY and sets phy_device members accordingly.h](jX)}(h**Parameters**h]j)}(hjQ#h]h Parameters}(hjS#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjK#ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjp#h]hstruct phy_device *phydev}(hjr#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjj#ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjg#ubah}(h]h ]h"]h$]h&]uh1jhjK#ubjX)}(h**Description**h]j)}(hj#h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjK#ubjX)}(h>Reads status from PHY and sets phy_device members accordingly.h]h>Reads status from PHY and sets phy_device members accordingly.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjK#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h6int genphy_c45_config_aneg (struct phy_device *phydev)h]h)}(h5int genphy_c45_config_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj#hMubj)}(hgenphy_c45_config_anegh]j%)}(hgenphy_c45_config_anegh]hgenphy_c45_config_aneg}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj $ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj#hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj-$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)$ubj)}(h h]h }(hj:$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)$ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjK$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjM$modnameN classnameNjj!)}j$]j')}jj$sbc.genphy_c45_config_anegasbuh1hhj)$ubj)}(h h]h }(hjk$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)$ubj;)}(hj>h]h*}(hjy$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)$ubj%)}(hphydevh]hphydev}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%$ubah}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj#hMubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hMhj#hhubjS)}(hhh]jX)}(h(restart auto-negotiation or forced setuph]h(restart auto-negotiation or forced setup}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj$ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj$h]hstruct phy_device *phydev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj$ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubjX)}(h**Description**h]j)}(hj,%h]h Description}(hj.%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*%ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj$ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hjI%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjE%ubj)}(hhh]jX)}(headvertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h]headvertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.}(hj[%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjW%hMhjX%ubah}(h]h ]h"]h$]h&]uh1jhjE%ubeh}(h]h ]h"]h$]h&]uh1jhjW%hMhjB%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_fast_retrain (C function)c.genphy_c45_fast_retrainhNtauh1hhjThhhNhNubh)}(hhh](h)}(hDint genphy_c45_fast_retrain (struct phy_device *phydev, bool enable)h]h)}(hCint genphy_c45_fast_retrain(struct phy_device *phydev, bool enable)h](j)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj%hMubj)}(hgenphy_c45_fast_retrainh]j%)}(hgenphy_c45_fast_retrainh]hgenphy_c45_fast_retrain}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj%hMubj)}(h((struct phy_device *phydev, bool enable)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j')}jj%sbc.genphy_c45_fast_retrainasbuh1hhj%ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hj$&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hphydevh]hphydev}(hj1&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(h bool enableh](j)}(hjTh]hbool}(hjJ&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF&ubj)}(h h]h }(hjW&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF&ubj%)}(henableh]henable}(hje&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjF&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj%hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj%hMubah}(h]j%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hMhj%hhubjS)}(hhh]jX)}(h configure fast retrain registersh]h configure fast retrain registers}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhjThNhNubj})}(hXK**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool enable`` enable fast retrain or not **Description** If fast-retrain is enabled, we configure PHY as advertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.h](jX)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj&ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj&ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj&ubj)}(h+``bool enable`` enable fast retrain or not h](j)}(h``bool enable``h]j)}(hj 'h]h bool enable}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'ubj)}(hhh]jX)}(henable fast retrain or noth]henable fast retrain or not}(hj"'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubjX)}(h**Description**h]j)}(hjD'h]h Description}(hjF'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj&ubj)}(hhh]j)}(hIf fast-retrain is enabled, we configure PHY as advertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.h](j)}(h/If fast-retrain is enabled, we configure PHY ash]h/If fast-retrain is enabled, we configure PHY as}(hja'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj]'ubj)}(hhh]jX)}(hadvertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.h]hadvertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.}(hjs'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjp'ubah}(h]h ]h"]h$]h&]uh1jhj]'ubeh}(h]h ]h"]h$]h&]uh1jhjo'hMhjZ'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_get_cfg (C function)c.genphy_c45_plca_get_cfghNtauh1hhjThhhNhNubh)}(hhh](h)}(hVint genphy_c45_plca_get_cfg (struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h]h)}(hUint genphy_c45_plca_get_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj'hMubj)}(hgenphy_c45_plca_get_cfgh]j%)}(hgenphy_c45_plca_get_cfgh]hgenphy_c45_plca_get_cfg}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj'hMubj)}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj (ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j')}jj'sbc.genphy_c45_plca_get_cfgasbuh1hhj'ubj)}(h h]h }(hj/(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hj=(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hphydevh]hphydev}(hjJ(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(hstruct phy_plca_cfg *plca_cfgh](h)}(hjh]hstruct}(hjc(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_(ubj)}(h h]h }(hjp(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_(ubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j+(c.genphy_c45_plca_get_cfgasbuh1hhj_(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_(ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_(ubj%)}(hplca_cfgh]hplca_cfg}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj'hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj'hMubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMhj'hhubjS)}(hhh]jX)}(h.get PLCA configuration from standard registersh]h.get PLCA configuration from standard registers}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj'hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct phy_plca_cfg *plca_cfg`` output structure to store the PLCA configuration **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.h](jX)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj)ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj%)h]hstruct phy_device *phydev}(hj')hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj)ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj>)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:)hMhj;)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj:)hMhj)ubj)}(hS``struct phy_plca_cfg *plca_cfg`` output structure to store the PLCA configuration h](j)}(h!``struct phy_plca_cfg *plca_cfg``h]j)}(hj^)h]hstruct phy_plca_cfg *plca_cfg}(hj`)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjX)ubj)}(hhh]jX)}(h0output structure to store the PLCA configurationh]h0output structure to store the PLCA configuration}(hjw)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjs)hMhjt)ubah}(h]h ]h"]h$]h&]uh1jhjX)ubeh}(h]h ]h"]h$]h&]uh1jhjs)hMhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)ubjX)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj)ubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj)ubj)}(hhh]jX)}(hManagement Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_set_cfg (C function)c.genphy_c45_plca_set_cfghNtauh1hhjThhhNhNubh)}(hhh](h)}(h\int genphy_c45_plca_set_cfg (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h]h)}(h[int genphy_c45_plca_set_cfg(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM3ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj*hM3ubj)}(hgenphy_c45_plca_set_cfgh]j%)}(hgenphy_c45_plca_set_cfgh]hgenphy_c45_plca_set_cfg}(hj)*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj*hM3ubj)}(h@(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjE*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjA*ubj)}(h h]h }(hjR*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA*ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjc*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetje*modnameN classnameNjj!)}j$]j')}jj+*sbc.genphy_c45_plca_set_cfgasbuh1hhjA*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA*ubj%)}(hphydevh]hphydev}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=*ubj)}(h#const struct phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j*c.genphy_c45_plca_set_cfgasbuh1hhj*ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hplca_cfgh]hplca_cfg}(hj)+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj*hhhj*hM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*hhhj*hM3ubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hM3hj)hhubjS)}(hhh]jX)}(h/set PLCA configuration using standard registersh]h/set PLCA configuration using standard registers}(hjS+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM3hjP+hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj*hM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjk+jxjk+jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const struct phy_plca_cfg *plca_cfg`` structure containing the PLCA configuration. Fields set to -1 are not to be changed. **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h](jX)}(h**Parameters**h]j)}(hju+h]h Parameters}(hjw+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM7hjo+ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj+h]hstruct phy_device *phydev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM4hj+ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hM4hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM4hj+ubj)}(h}``const struct phy_plca_cfg *plca_cfg`` structure containing the PLCA configuration. Fields set to -1 are not to be changed. h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hj+h]h#const struct phy_plca_cfg *plca_cfg}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM6hj+ubj)}(hhh]jX)}(hTstructure containing the PLCA configuration. Fields set to -1 are not to be changed.h]hTstructure containing the PLCA configuration. Fields set to -1 are not to be changed.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM5hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM6hj+ubeh}(h]h ]h"]h$]h&]uh1jhjo+ubjX)}(h**Description**h]j)}(hj ,h]h Description}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM8hjo+ubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hj&,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hj",ubj)}(hhh]jX)}(hManagement Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.}(hj8,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4,hM9hj5,ubah}(h]h ]h"]h$]h&]uh1jhj",ubeh}(h]h ]h"]h$]h&]uh1jhj4,hM9hj,ubah}(h]h ]h"]h$]h&]uh1jhjo+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_plca_get_status (C function)c.genphy_c45_plca_get_statushNtauh1hhjThhhNhNubh)}(hhh](h)}(h[int genphy_c45_plca_get_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]h)}(hZint genphy_c45_plca_get_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hinth]hint}(hjx,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt,hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjt,hhhj,hMubj)}(hgenphy_c45_plca_get_statush]j%)}(hgenphy_c45_plca_get_statush]hgenphy_c45_plca_get_status}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjt,hhhj,hMubj)}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jj,sbc.genphy_c45_plca_get_statusasbuh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hphydevh]hphydev}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(hstruct phy_plca_status *plca_sth](h)}(hjh]hstruct}(hj'-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#-ubj)}(h h]h }(hj4-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#-ubh)}(hhh]j%)}(hphy_plca_statush]hphy_plca_status}(hjE-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjG-modnameN classnameNjj!)}j$]j,c.genphy_c45_plca_get_statusasbuh1hhj#-ubj)}(h h]h }(hjc-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#-ubj;)}(hj>h]h*}(hjq-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#-ubj%)}(hplca_sth]hplca_st}(hj~-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjt,hhhj,hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjp,hhhj,hMubah}(h]jk,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hMhjm,hhubjS)}(hhh]jX)}(h'get PLCA status from standard registersh]h'get PLCA status from standard registers}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-hhubah}(h]h ]h"]h$]h&]uh1jRhjm,hhhj,hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct phy_plca_status *plca_st`` output structure to store the PLCA status **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h](jX)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj-h]hstruct phy_device *phydev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj-ubj)}(hN``struct phy_plca_status *plca_st`` output structure to store the PLCA status h](j)}(h#``struct phy_plca_status *plca_st``h]j)}(hj".h]hstruct phy_plca_status *plca_st}(hj$.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj .ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj.ubj)}(hhh]jX)}(h)output structure to store the PLCA statush]h)output structure to store the PLCA status}(hj;.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7.hMhj8.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj7.hMhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-ubjX)}(h**Description**h]j)}(hj].h]h Description}(hj_.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-ubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hjz.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjv.ubj)}(hhh]jX)}(hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjv.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjs.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c45_eee_is_active (C function)c.genphy_c45_eee_is_activehNtauh1hhjThhhNhNubh)}(hhh](h)}(hKint genphy_c45_eee_is_active (struct phy_device *phydev, unsigned long *lp)h]h)}(hJint genphy_c45_eee_is_active(struct phy_device *phydev, unsigned long *lp)h](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMubj)}(hgenphy_c45_eee_is_activeh]j%)}(hgenphy_c45_eee_is_activeh]hgenphy_c45_eee_is_active}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hMubj)}(h.(struct phy_device *phydev, unsigned long *lp)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj /hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj'/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)/modnameN classnameNjj!)}j$]j')}jj.sbc.genphy_c45_eee_is_activeasbuh1hhj/ubj)}(h h]h }(hjG/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hjU/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hphydevh]hphydev}(hjb/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hunsigned long *lph](j)}(hunsignedh]hunsigned}(hj{/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw/ubj)}(hlongh]hlong}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjw/ubj%)}(hlph]hlp}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hMubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMhj.hhubjS)}(hhh]jX)}(hget EEE statush]hget EEE status}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``unsigned long *lp`` variable to store LP advertised linkmodes **Description** this function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h](jX)}(h**Parameters**h]j)}(hj 0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj+0h]hstruct phy_device *phydev}(hj-0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj%0ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjD0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@0hMhjA0ubah}(h]h ]h"]h$]h&]uh1jhj%0ubeh}(h]h ]h"]h$]h&]uh1jhj@0hMhj"0ubj)}(h@``unsigned long *lp`` variable to store LP advertised linkmodes h](j)}(h``unsigned long *lp``h]j)}(hjd0h]hunsigned long *lp}(hjf0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj^0ubj)}(hhh]jX)}(h)variable to store LP advertised linkmodesh]h)variable to store LP advertised linkmodes}(hj}0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjy0hMhjz0ubah}(h]h ]h"]h$]h&]uh1jhj^0ubeh}(h]h ]h"]h$]h&]uh1jhjy0hMhj"0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0ubjX)}(hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h]hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_get_eee (C function)c.genphy_c45_ethtool_get_eeehNtauh1hhjThhhNhNubh)}(hhh](h)}(hUint genphy_c45_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]h)}(hTint genphy_c45_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hMubj)}(hgenphy_c45_ethtool_get_eeeh]j%)}(hgenphy_c45_ethtool_get_eeeh]hgenphy_c45_ethtool_get_eee}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhj0hMubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj!1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj.1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj?1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjA1modnameN classnameNjj!)}j$]j')}jj1sbc.genphy_c45_ethtool_get_eeeasbuh1hhj1ubj)}(h h]h }(hj_1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjm1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hphydevh]hphydev}(hjz1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j[1c.genphy_c45_ethtool_get_eeeasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hdatah]hdata}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhj0hhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and status}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,2jxj,2jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** it reports the Supported/Advertisement/LP Advertisement capabilities.h](jX)}(h**Parameters**h]j)}(hj62h]h Parameters}(hj82hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj42ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj02ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjU2h]hstruct phy_device *phydev}(hjW2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjO2ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjn2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjj2hMhjk2ubah}(h]h ]h"]h$]h&]uh1jhjO2ubeh}(h]h ]h"]h$]h&]uh1jhjj2hMhjL2ubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hj2h]hstruct ethtool_keee *data}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2ubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjL2ubeh}(h]h ]h"]h$]h&]uh1jhj02ubjX)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj02ubjX)}(hEit reports the Supported/Advertisement/LP Advertisement capabilities.h]hEit reports the Supported/Advertisement/LP Advertisement capabilities.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj02ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_set_eee (C function)c.genphy_c45_ethtool_set_eeehNtauh1hhjThhhNhNubh)}(hhh](h)}(hUint genphy_c45_ethtool_set_eee (struct phy_device *phydev, struct ethtool_keee *data)h]h)}(hTint genphy_c45_ethtool_set_eee(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 3hhhj3hMubj)}(hgenphy_c45_ethtool_set_eeeh]j%)}(hgenphy_c45_ethtool_set_eeeh]hgenphy_c45_ethtool_set_eee}(hj/3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj 3hhhj3hMubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjK3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjG3ubj)}(h h]h }(hjX3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG3ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hji3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjk3modnameN classnameNjj!)}j$]j')}jj13sbc.genphy_c45_ethtool_set_eeeasbuh1hhjG3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjG3ubj%)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjC3ubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j3c.genphy_c45_ethtool_set_eeeasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hdatah]hdata}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjC3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj 3hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhj3hhubjS)}(hhh]jX)}(hset EEE supported and statush]hset EEE supported and status}(hj>4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj;4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjV4jxjV4jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** sets the Supported/Advertisement/LP Advertisement capabilities. If eee_enabled is false, no links modes are advertised, but the previously advertised link modes are retained. This allows EEE to be enabled/disabled in a non-destructive way. Returns either error code, 0 if there was no change, or positive value if there was a change which triggered auto-neg.h](jX)}(h**Parameters**h]j)}(hj`4h]h Parameters}(hjb4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjZ4ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj4h]hstruct phy_device *phydev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjy4ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjy4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjv4ubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hj4h]hstruct ethtool_keee *data}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj4ubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjv4ubeh}(h]h ]h"]h$]h&]uh1jhjZ4ubjX)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjZ4ubjX)}(hXfsets the Supported/Advertisement/LP Advertisement capabilities. If eee_enabled is false, no links modes are advertised, but the previously advertised link modes are retained. This allows EEE to be enabled/disabled in a non-destructive way. Returns either error code, 0 if there was no change, or positive value if there was a change which triggered auto-neg.h]hXfsets the Supported/Advertisement/LP Advertisement capabilities. If eee_enabled is false, no links modes are advertised, but the previously advertised link modes are retained. This allows EEE to be enabled/disabled in a non-destructive way. Returns either error code, 0 if there was no change, or positive value if there was a change which triggered auto-neg.}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjZ4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interface_t (C enum)c.phy_interface_thNtauh1hhjThhhNhNubh)}(hhh](h)}(hphy_interface_th]h)}(henum phy_interface_th](h)}(hhh]henum}(hj85hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj45hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj)}(h h]h }(hjF5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj45hhhjE5hKubj)}(hphy_interface_th]j%)}(hj25h]hphy_interface_t}(hjX5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjT5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj45hhhjE5hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj05hhhjE5hKubah}(h]j+5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjE5hKhj-5hhubjS)}(hhh]jX)}(hInterface Mode definitionsh]hInterface Mode definitions}(hjz5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKFhjw5hhubah}(h]h ]h"]h$]h&]uh1jRhj-5hhhjE5hKubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjThNhNubj})}(hX **Constants** ``PHY_INTERFACE_MODE_NA`` Not Applicable - don't touch ``PHY_INTERFACE_MODE_INTERNAL`` No interface, MAC and PHY combined ``PHY_INTERFACE_MODE_MII`` Media-independent interface ``PHY_INTERFACE_MODE_GMII`` Gigabit media-independent interface ``PHY_INTERFACE_MODE_SGMII`` Serial gigabit media-independent interface ``PHY_INTERFACE_MODE_TBI`` Ten Bit Interface ``PHY_INTERFACE_MODE_REVMII`` Reverse Media Independent Interface ``PHY_INTERFACE_MODE_RMII`` Reduced Media Independent Interface ``PHY_INTERFACE_MODE_REVRMII`` Reduced Media Independent Interface in PHY role ``PHY_INTERFACE_MODE_RGMII`` Reduced gigabit media-independent interface ``PHY_INTERFACE_MODE_RGMII_ID`` RGMII with Internal RX+TX delay ``PHY_INTERFACE_MODE_RGMII_RXID`` RGMII with Internal RX delay ``PHY_INTERFACE_MODE_RGMII_TXID`` RGMII with Internal TX delay ``PHY_INTERFACE_MODE_RTBI`` Reduced TBI ``PHY_INTERFACE_MODE_SMII`` Serial MII ``PHY_INTERFACE_MODE_XGMII`` 10 gigabit media-independent interface ``PHY_INTERFACE_MODE_XLGMII`` 40 gigabit media-independent interface ``PHY_INTERFACE_MODE_MOCA`` Multimedia over Coax ``PHY_INTERFACE_MODE_PSGMII`` Penta SGMII ``PHY_INTERFACE_MODE_QSGMII`` Quad SGMII ``PHY_INTERFACE_MODE_TRGMII`` Turbo RGMII ``PHY_INTERFACE_MODE_100BASEX`` 100 BaseX ``PHY_INTERFACE_MODE_1000BASEX`` 1000 BaseX ``PHY_INTERFACE_MODE_2500BASEX`` 2500 BaseX ``PHY_INTERFACE_MODE_5GBASER`` 5G BaseR ``PHY_INTERFACE_MODE_RXAUI`` Reduced XAUI ``PHY_INTERFACE_MODE_XAUI`` 10 Gigabit Attachment Unit Interface ``PHY_INTERFACE_MODE_10GBASER`` 10G BaseR ``PHY_INTERFACE_MODE_25GBASER`` 25G BaseR ``PHY_INTERFACE_MODE_USXGMII`` Universal Serial 10GE MII ``PHY_INTERFACE_MODE_10GKR`` 10GBASE-KR - with Clause 73 AN ``PHY_INTERFACE_MODE_QUSGMII`` Quad Universal SGMII ``PHY_INTERFACE_MODE_1000BASEKX`` 1000Base-KX - with Clause 73 AN ``PHY_INTERFACE_MODE_10G_QXGMII`` 10G-QXGMII - 4 ports over 10G USXGMII ``PHY_INTERFACE_MODE_50GBASER`` 50GBase-R - with Clause 134 FEC ``PHY_INTERFACE_MODE_LAUI`` 50 Gigabit Attachment Unit Interface ``PHY_INTERFACE_MODE_100GBASEP`` 100GBase-P - with Clause 134 FEC ``PHY_INTERFACE_MODE_MIILITE`` MII-Lite - MII without RXER TXER CRS COL ``PHY_INTERFACE_MODE_MAX`` Book keepingh](jX)}(h **Constants**h]j)}(hj5h]h Constants}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKJhj5ubj)}(hhh](j)}(h7``PHY_INTERFACE_MODE_NA`` Not Applicable - don't touch h](j)}(h``PHY_INTERFACE_MODE_NA``h]j)}(hj5h]hPHY_INTERFACE_MODE_NA}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKMhj5ubj)}(hhh]jX)}(hNot Applicable - don't touchh]hNot Applicable - don’t touch}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hKMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hKMhj5ubj)}(hC``PHY_INTERFACE_MODE_INTERNAL`` No interface, MAC and PHY combined h](j)}(h``PHY_INTERFACE_MODE_INTERNAL``h]j)}(hj5h]hPHY_INTERFACE_MODE_INTERNAL}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKPhj5ubj)}(hhh]jX)}(h"No interface, MAC and PHY combinedh]h"No interface, MAC and PHY combined}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 6hKPhj 6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj 6hKPhj5ubj)}(h7``PHY_INTERFACE_MODE_MII`` Media-independent interface h](j)}(h``PHY_INTERFACE_MODE_MII``h]j)}(hj-6h]hPHY_INTERFACE_MODE_MII}(hj/6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKShj'6ubj)}(hhh]jX)}(hMedia-independent interfaceh]hMedia-independent interface}(hjF6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB6hKShjC6ubah}(h]h ]h"]h$]h&]uh1jhj'6ubeh}(h]h ]h"]h$]h&]uh1jhjB6hKShj5ubj)}(h@``PHY_INTERFACE_MODE_GMII`` Gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_GMII``h]j)}(hjf6h]hPHY_INTERFACE_MODE_GMII}(hjh6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKVhj`6ubj)}(hhh]jX)}(h#Gigabit media-independent interfaceh]h#Gigabit media-independent interface}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{6hKVhj|6ubah}(h]h ]h"]h$]h&]uh1jhj`6ubeh}(h]h ]h"]h$]h&]uh1jhj{6hKVhj5ubj)}(hH``PHY_INTERFACE_MODE_SGMII`` Serial gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_SGMII``h]j)}(hj6h]hPHY_INTERFACE_MODE_SGMII}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKYhj6ubj)}(hhh]jX)}(h*Serial gigabit media-independent interfaceh]h*Serial gigabit media-independent interface}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hKYhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hKYhj5ubj)}(h-``PHY_INTERFACE_MODE_TBI`` Ten Bit Interface h](j)}(h``PHY_INTERFACE_MODE_TBI``h]j)}(hj6h]hPHY_INTERFACE_MODE_TBI}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK\hj6ubj)}(hhh]jX)}(hTen Bit Interfaceh]hTen Bit Interface}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hK\hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hK\hj5ubj)}(hB``PHY_INTERFACE_MODE_REVMII`` Reverse Media Independent Interface h](j)}(h``PHY_INTERFACE_MODE_REVMII``h]j)}(hj7h]hPHY_INTERFACE_MODE_REVMII}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK_hj 7ubj)}(hhh]jX)}(h#Reverse Media Independent Interfaceh]h#Reverse Media Independent Interface}(hj*7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&7hK_hj'7ubah}(h]h ]h"]h$]h&]uh1jhj 7ubeh}(h]h ]h"]h$]h&]uh1jhj&7hK_hj5ubj)}(h@``PHY_INTERFACE_MODE_RMII`` Reduced Media Independent Interface h](j)}(h``PHY_INTERFACE_MODE_RMII``h]j)}(hjJ7h]hPHY_INTERFACE_MODE_RMII}(hjL7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKbhjD7ubj)}(hhh]jX)}(h#Reduced Media Independent Interfaceh]h#Reduced Media Independent Interface}(hjc7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_7hKbhj`7ubah}(h]h ]h"]h$]h&]uh1jhjD7ubeh}(h]h ]h"]h$]h&]uh1jhj_7hKbhj5ubj)}(hO``PHY_INTERFACE_MODE_REVRMII`` Reduced Media Independent Interface in PHY role h](j)}(h``PHY_INTERFACE_MODE_REVRMII``h]j)}(hj7h]hPHY_INTERFACE_MODE_REVRMII}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKehj}7ubj)}(hhh]jX)}(h/Reduced Media Independent Interface in PHY roleh]h/Reduced Media Independent Interface in PHY role}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKehj7ubah}(h]h ]h"]h$]h&]uh1jhj}7ubeh}(h]h ]h"]h$]h&]uh1jhj7hKehj5ubj)}(hI``PHY_INTERFACE_MODE_RGMII`` Reduced gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_RGMII``h]j)}(hj7h]hPHY_INTERFACE_MODE_RGMII}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhhj7ubj)}(hhh]jX)}(h+Reduced gigabit media-independent interfaceh]h+Reduced gigabit media-independent interface}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hKhhj5ubj)}(h@``PHY_INTERFACE_MODE_RGMII_ID`` RGMII with Internal RX+TX delay h](j)}(h``PHY_INTERFACE_MODE_RGMII_ID``h]j)}(hj7h]hPHY_INTERFACE_MODE_RGMII_ID}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKkhj7ubj)}(hhh]jX)}(hRGMII with Internal RX+TX delayh]hRGMII with Internal RX+TX delay}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 8hKkhj 8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj 8hKkhj5ubj)}(h?``PHY_INTERFACE_MODE_RGMII_RXID`` RGMII with Internal RX delay h](j)}(h!``PHY_INTERFACE_MODE_RGMII_RXID``h]j)}(hj.8h]hPHY_INTERFACE_MODE_RGMII_RXID}(hj08hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKnhj(8ubj)}(hhh]jX)}(hRGMII with Internal RX delayh]hRGMII with Internal RX delay}(hjG8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjC8hKnhjD8ubah}(h]h ]h"]h$]h&]uh1jhj(8ubeh}(h]h ]h"]h$]h&]uh1jhjC8hKnhj5ubj)}(h?``PHY_INTERFACE_MODE_RGMII_TXID`` RGMII with Internal TX delay h](j)}(h!``PHY_INTERFACE_MODE_RGMII_TXID``h]j)}(hjg8h]hPHY_INTERFACE_MODE_RGMII_TXID}(hji8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKqhja8ubj)}(hhh]jX)}(hRGMII with Internal TX delayh]hRGMII with Internal TX delay}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|8hKqhj}8ubah}(h]h ]h"]h$]h&]uh1jhja8ubeh}(h]h ]h"]h$]h&]uh1jhj|8hKqhj5ubj)}(h(``PHY_INTERFACE_MODE_RTBI`` Reduced TBI h](j)}(h``PHY_INTERFACE_MODE_RTBI``h]j)}(hj8h]hPHY_INTERFACE_MODE_RTBI}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKthj8ubj)}(hhh]jX)}(h Reduced TBIh]h Reduced TBI}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKthj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKthj5ubj)}(h'``PHY_INTERFACE_MODE_SMII`` Serial MII h](j)}(h``PHY_INTERFACE_MODE_SMII``h]j)}(hj8h]hPHY_INTERFACE_MODE_SMII}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKwhj8ubj)}(hhh]jX)}(h Serial MIIh]h Serial MII}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKwhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKwhj5ubj)}(hD``PHY_INTERFACE_MODE_XGMII`` 10 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XGMII``h]j)}(hj9h]hPHY_INTERFACE_MODE_XGMII}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKzhj 9ubj)}(hhh]jX)}(h&10 gigabit media-independent interfaceh]h&10 gigabit media-independent interface}(hj+9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'9hKzhj(9ubah}(h]h ]h"]h$]h&]uh1jhj 9ubeh}(h]h ]h"]h$]h&]uh1jhj'9hKzhj5ubj)}(hE``PHY_INTERFACE_MODE_XLGMII`` 40 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XLGMII``h]j)}(hjK9h]hPHY_INTERFACE_MODE_XLGMII}(hjM9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK}hjE9ubj)}(hhh]jX)}(h&40 gigabit media-independent interfaceh]h&40 gigabit media-independent interface}(hjd9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`9hK}hja9ubah}(h]h ]h"]h$]h&]uh1jhjE9ubeh}(h]h ]h"]h$]h&]uh1jhj`9hK}hj5ubj)}(h1``PHY_INTERFACE_MODE_MOCA`` Multimedia over Coax h](j)}(h``PHY_INTERFACE_MODE_MOCA``h]j)}(hj9h]hPHY_INTERFACE_MODE_MOCA}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj~9ubj)}(hhh]jX)}(hMultimedia over Coaxh]hMultimedia over Coax}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj~9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj5ubj)}(h*``PHY_INTERFACE_MODE_PSGMII`` Penta SGMII h](j)}(h``PHY_INTERFACE_MODE_PSGMII``h]j)}(hj9h]hPHY_INTERFACE_MODE_PSGMII}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj9ubj)}(hhh]jX)}(h Penta SGMIIh]h Penta SGMII}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj5ubj)}(h)``PHY_INTERFACE_MODE_QSGMII`` Quad SGMII h](j)}(h``PHY_INTERFACE_MODE_QSGMII``h]j)}(hj9h]hPHY_INTERFACE_MODE_QSGMII}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj9ubj)}(hhh]jX)}(h Quad SGMIIh]h Quad SGMII}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj :hKhj :ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj :hKhj5ubj)}(h*``PHY_INTERFACE_MODE_TRGMII`` Turbo RGMII h](j)}(h``PHY_INTERFACE_MODE_TRGMII``h]j)}(hj/:h]hPHY_INTERFACE_MODE_TRGMII}(hj1:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj):ubj)}(hhh]jX)}(h Turbo RGMIIh]h Turbo RGMII}(hjH:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjD:hKhjE:ubah}(h]h ]h"]h$]h&]uh1jhj):ubeh}(h]h ]h"]h$]h&]uh1jhjD:hKhj5ubj)}(h*``PHY_INTERFACE_MODE_100BASEX`` 100 BaseX h](j)}(h``PHY_INTERFACE_MODE_100BASEX``h]j)}(hjh:h]hPHY_INTERFACE_MODE_100BASEX}(hjj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjb:ubj)}(hhh]jX)}(h 100 BaseXh]h 100 BaseX}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}:hKhj~:ubah}(h]h ]h"]h$]h&]uh1jhjb:ubeh}(h]h ]h"]h$]h&]uh1jhj}:hKhj5ubj)}(h,``PHY_INTERFACE_MODE_1000BASEX`` 1000 BaseX h](j)}(h ``PHY_INTERFACE_MODE_1000BASEX``h]j)}(hj:h]hPHY_INTERFACE_MODE_1000BASEX}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj:ubj)}(hhh]jX)}(h 1000 BaseXh]h 1000 BaseX}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hKhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hKhj5ubj)}(h,``PHY_INTERFACE_MODE_2500BASEX`` 2500 BaseX h](j)}(h ``PHY_INTERFACE_MODE_2500BASEX``h]j)}(hj:h]hPHY_INTERFACE_MODE_2500BASEX}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj:ubj)}(hhh]jX)}(h 2500 BaseXh]h 2500 BaseX}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hKhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hKhj5ubj)}(h(``PHY_INTERFACE_MODE_5GBASER`` 5G BaseR h](j)}(h``PHY_INTERFACE_MODE_5GBASER``h]j)}(hj;h]hPHY_INTERFACE_MODE_5GBASER}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj ;ubj)}(hhh]jX)}(h5G BaseRh]h5G BaseR}(hj,;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(;hKhj);ubah}(h]h ]h"]h$]h&]uh1jhj ;ubeh}(h]h ]h"]h$]h&]uh1jhj(;hKhj5ubj)}(h*``PHY_INTERFACE_MODE_RXAUI`` Reduced XAUI h](j)}(h``PHY_INTERFACE_MODE_RXAUI``h]j)}(hjL;h]hPHY_INTERFACE_MODE_RXAUI}(hjN;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ;ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjF;ubj)}(hhh]jX)}(h Reduced XAUIh]h Reduced XAUI}(hje;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhja;hKhjb;ubah}(h]h ]h"]h$]h&]uh1jhjF;ubeh}(h]h ]h"]h$]h&]uh1jhja;hKhj5ubj)}(hA``PHY_INTERFACE_MODE_XAUI`` 10 Gigabit Attachment Unit Interface h](j)}(h``PHY_INTERFACE_MODE_XAUI``h]j)}(hj;h]hPHY_INTERFACE_MODE_XAUI}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj;ubj)}(hhh]jX)}(h$10 Gigabit Attachment Unit Interfaceh]h$10 Gigabit Attachment Unit Interface}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hKhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hKhj5ubj)}(h*``PHY_INTERFACE_MODE_10GBASER`` 10G BaseR h](j)}(h``PHY_INTERFACE_MODE_10GBASER``h]j)}(hj;h]hPHY_INTERFACE_MODE_10GBASER}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj;ubj)}(hhh]jX)}(h 10G BaseRh]h 10G BaseR}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hKhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hKhj5ubj)}(h*``PHY_INTERFACE_MODE_25GBASER`` 25G BaseR h](j)}(h``PHY_INTERFACE_MODE_25GBASER``h]j)}(hj;h]hPHY_INTERFACE_MODE_25GBASER}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj;ubj)}(hhh]jX)}(h 25G BaseRh]h 25G BaseR}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj <hKhj <ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj <hKhj5ubj)}(h9``PHY_INTERFACE_MODE_USXGMII`` Universal Serial 10GE MII h](j)}(h``PHY_INTERFACE_MODE_USXGMII``h]j)}(hj0<h]hPHY_INTERFACE_MODE_USXGMII}(hj2<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj*<ubj)}(hhh]jX)}(hUniversal Serial 10GE MIIh]hUniversal Serial 10GE MII}(hjI<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjE<hKhjF<ubah}(h]h ]h"]h$]h&]uh1jhj*<ubeh}(h]h ]h"]h$]h&]uh1jhjE<hKhj5ubj)}(h<``PHY_INTERFACE_MODE_10GKR`` 10GBASE-KR - with Clause 73 AN h](j)}(h``PHY_INTERFACE_MODE_10GKR``h]j)}(hji<h]hPHY_INTERFACE_MODE_10GKR}(hjk<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjc<ubj)}(hhh]jX)}(h10GBASE-KR - with Clause 73 ANh]h10GBASE-KR - with Clause 73 AN}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~<hKhj<ubah}(h]h ]h"]h$]h&]uh1jhjc<ubeh}(h]h ]h"]h$]h&]uh1jhj~<hKhj5ubj)}(h4``PHY_INTERFACE_MODE_QUSGMII`` Quad Universal SGMII h](j)}(h``PHY_INTERFACE_MODE_QUSGMII``h]j)}(hj<h]hPHY_INTERFACE_MODE_QUSGMII}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj<ubj)}(hhh]jX)}(hQuad Universal SGMIIh]hQuad Universal SGMII}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hKhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hKhj5ubj)}(hB``PHY_INTERFACE_MODE_1000BASEKX`` 1000Base-KX - with Clause 73 AN h](j)}(h!``PHY_INTERFACE_MODE_1000BASEKX``h]j)}(hj<h]hPHY_INTERFACE_MODE_1000BASEKX}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj<ubj)}(hhh]jX)}(h1000Base-KX - with Clause 73 ANh]h1000Base-KX - with Clause 73 AN}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hKhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hKhj5ubj)}(hH``PHY_INTERFACE_MODE_10G_QXGMII`` 10G-QXGMII - 4 ports over 10G USXGMII h](j)}(h!``PHY_INTERFACE_MODE_10G_QXGMII``h]j)}(hj=h]hPHY_INTERFACE_MODE_10G_QXGMII}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj=ubj)}(hhh]jX)}(h%10G-QXGMII - 4 ports over 10G USXGMIIh]h%10G-QXGMII - 4 ports over 10G USXGMII}(hj-=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)=hKhj*=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj)=hKhj5ubj)}(h@``PHY_INTERFACE_MODE_50GBASER`` 50GBase-R - with Clause 134 FEC h](j)}(h``PHY_INTERFACE_MODE_50GBASER``h]j)}(hjM=h]hPHY_INTERFACE_MODE_50GBASER}(hjO=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjG=ubj)}(hhh]jX)}(h50GBase-R - with Clause 134 FECh]h50GBase-R - with Clause 134 FEC}(hjf=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb=hKhjc=ubah}(h]h ]h"]h$]h&]uh1jhjG=ubeh}(h]h ]h"]h$]h&]uh1jhjb=hKhj5ubj)}(hA``PHY_INTERFACE_MODE_LAUI`` 50 Gigabit Attachment Unit Interface h](j)}(h``PHY_INTERFACE_MODE_LAUI``h]j)}(hj=h]hPHY_INTERFACE_MODE_LAUI}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj=ubj)}(hhh]jX)}(h$50 Gigabit Attachment Unit Interfaceh]h$50 Gigabit Attachment Unit Interface}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hKhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hKhj5ubj)}(hB``PHY_INTERFACE_MODE_100GBASEP`` 100GBase-P - with Clause 134 FEC h](j)}(h ``PHY_INTERFACE_MODE_100GBASEP``h]j)}(hj=h]hPHY_INTERFACE_MODE_100GBASEP}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj=ubj)}(hhh]jX)}(h 100GBase-P - with Clause 134 FECh]h 100GBase-P - with Clause 134 FEC}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hKhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hKhj5ubj)}(hH``PHY_INTERFACE_MODE_MIILITE`` MII-Lite - MII without RXER TXER CRS COL h](j)}(h``PHY_INTERFACE_MODE_MIILITE``h]j)}(hj=h]hPHY_INTERFACE_MODE_MIILITE}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj=ubj)}(hhh]jX)}(h(MII-Lite - MII without RXER TXER CRS COLh]h(MII-Lite - MII without RXER TXER CRS COL}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj >hKhj>ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj >hKhj5ubj)}(h'``PHY_INTERFACE_MODE_MAX`` Book keepingh](j)}(h``PHY_INTERFACE_MODE_MAX``h]j)}(hj1>h]hPHY_INTERFACE_MODE_MAX}(hj3>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/>ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj+>ubj)}(hhh]jX)}(h Book keepingh]h Book keeping}(hjJ>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjG>ubah}(h]h ]h"]h$]h&]uh1jhj+>ubeh}(h]h ]h"]h$]h&]uh1jhjF>hKhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubjX)}(h**Description**h]j)}(hjt>h]h Description}(hjv>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr>ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjThhubjX)}(h0Describes the interface between the MAC and PHY.h]h0Describes the interface between the MAC and PHY.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKohjThhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modes (C function) c.phy_modeshNtauh1hhjThhhNhNubh)}(hhh](h)}(h2const char * phy_modes (phy_interface_t interface)h]h)}(h0const char *phy_modes(phy_interface_t interface)h](h)}(hjh]hconst}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hKubj)}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhj>hKubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hKubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>hhhj>hKubj)}(h phy_modesh]j%)}(h phy_modesh]h phy_modes}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj>hKubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jj>sb c.phy_modesasbuh1hhj?ubj)}(h h]h }(hj:?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(h interfaceh]h interface}(hjH?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubah}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhj>hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhj>hKubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hKhj>hhubjS)}(hhh]jX)}(h;map phy_interface_t enum to device tree binding of phy-modeh]h;map phy_interface_t enum to device tree binding of phy-mode}(hjr?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjo?hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhj>hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``phy_interface_t interface`` enum phy_interface_t value **Description** maps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj?ubj)}(hhh]j)}(h9``phy_interface_t interface`` enum phy_interface_t value h](j)}(h``phy_interface_t interface``h]j)}(hj?h]hphy_interface_t interface}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj?ubj)}(hhh]jX)}(henum phy_interface_t valueh]henum phy_interface_t value}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hKhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hKhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj?ubjX)}(hmaps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](h maps enum }(hj@hhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hj@h]hphy_interface_t}(hj@hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj @ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj@ubh defined in this file into the device tree binding of ‘phy-mode’, so that Ethernet device driver can get PHY interface from device tree.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj+@hKhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrgmii_clock (C function) c.rgmii_clockhNtauh1hhjThhhNhNubh)}(hhh](h)}(hlong rgmii_clock (int speed)h]h)}(hlong rgmii_clock(int speed)h](j)}(hlongh]hlong}(hjV@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR@hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hje@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR@hhhjd@hMubj)}(h rgmii_clockh]j%)}(h rgmii_clockh]h rgmii_clock}(hjw@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjR@hhhjd@hMubj)}(h (int speed)h]j)}(h int speedh](j)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj%)}(hspeedh]hspeed}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubah}(h]h ]h"]h$]h&]j<j=uh1jhjR@hhhjd@hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjN@hhhjd@hMubah}(h]jI@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjd@hMhjK@hhubjS)}(hhh]jX)}(h map link speed to the clock rateh]h map link speed to the clock rate}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhjK@hhhjd@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjThNhNubj})}(hX`**Parameters** ``int speed`` link speed value **Description** maps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are indentical, but the caller must be aware that errors for unsupported clock rates will not be signalled. **Return** clock rate or negative errnoh](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hj@ubj)}(hhh]j)}(h``int speed`` link speed value h](j)}(h ``int speed``h]j)}(hjAh]h int speed}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjAubj)}(hhh]jX)}(hlink speed valueh]hlink speed value}(hj3AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/AhMhj0Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj/AhMhjAubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjUAh]h Description}(hjWAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSAubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj@ubjX)}(hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are indentical, but the caller must be aware that errors for unsupported clock rates will not be signalled.h]hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are indentical, but the caller must be aware that errors for unsupported clock rates will not be signalled.}(hjkAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj@ubjX)}(h **Return**h]j)}(hj|Ah]hReturn}(hj~AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzAubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hj@ubjX)}(hclock rate or negative errnoh]hclock rate or negative errno}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_stats (C struct)c.mdio_bus_statshNtauh1hhjThhhNhNubh)}(hhh](h)}(hmdio_bus_statsh]h)}(hstruct mdio_bus_statsh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhM*ubj)}(hmdio_bus_statsh]j%)}(hjAh]hmdio_bus_stats}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjAhM*ubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM*hjAhhubjS)}(hhh]jX)}(h#Statistics counters for MDIO bussesh]h#Statistics counters for MDIO busses}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjBhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhM*ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhjThNhNubj})}(hX**Definition**:: struct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; }; **Members** ``transfers`` Total number of transfers, i.e. **writes** + **reads** ``errors`` Number of MDIO transfers that returned an error ``writes`` Number of write transfers ``reads`` Number of read transfers ``syncp`` Synchronisation for incrementing statisticsh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj'BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Bubh:}(hj#BhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjBubjU)}(hstruct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; };h]hstruct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; };}hj@Bsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjBubjX)}(h **Members**h]j)}(hjQBh]hMembers}(hjSBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOBubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjBubj)}(hhh](j)}(hE``transfers`` Total number of transfers, i.e. **writes** + **reads** h](j)}(h ``transfers``h]j)}(hjpBh]h transfers}(hjrBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjjBubj)}(hhh]jX)}(h6Total number of transfers, i.e. **writes** + **reads**h](h Total number of transfers, i.e. }(hjBhhhNhNubj)}(h **writes**h]hwrites}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh + }(hjBhhhNhNubj)}(h **reads**h]hreads}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jWhjBhMGhjBubah}(h]h ]h"]h$]h&]uh1jhjjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMGhjgBubj)}(h;``errors`` Number of MDIO transfers that returned an error h](j)}(h ``errors``h]j)}(hjBh]herrors}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjBubj)}(hhh]jX)}(h/Number of MDIO transfers that returned an errorh]h/Number of MDIO transfers that returned an error}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMHhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMHhjgBubj)}(h%``writes`` Number of write transfers h](j)}(h ``writes``h]j)}(hjCh]hwrites}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjBubj)}(hhh]jX)}(hNumber of write transfersh]hNumber of write transfers}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMIhjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChMIhjgBubj)}(h#``reads`` Number of read transfers h](j)}(h ``reads``h]j)}(hj;Ch]hreads}(hj=ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Cubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhj5Cubj)}(hhh]jX)}(hNumber of read transfersh]hNumber of read transfers}(hjTChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPChMJhjQCubah}(h]h ]h"]h$]h&]uh1jhj5Cubeh}(h]h ]h"]h$]h&]uh1jhjPChMJhjgBubj)}(h5``syncp`` Synchronisation for incrementing statisticsh](j)}(h ``syncp``h]j)}(hjtCh]hsyncp}(hjvChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjnCubj)}(hhh]jX)}(h+Synchronisation for incrementing statisticsh]h+Synchronisation for incrementing statistics}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjCubah}(h]h ]h"]h$]h&]uh1jhjnCubeh}(h]h ]h"]h$]h&]uh1jhjChMJhjgBubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmii_bus (C struct) c.mii_bushNtauh1hhjThhhNhNubh)}(hhh](h)}(hmii_bush]h)}(hstruct mii_bush](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjChhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMQubj)}(hmii_bush]j%)}(hjCh]hmii_bus}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjChMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhjChMQubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChMQhjChhubjS)}(hhh]jX)}(hRepresents an MDIO bush]hRepresents an MDIO bus}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhj Dhhubah}(h]h ]h"]h$]h&]uh1jRhjChhhjChMQubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj(Djxj(Djyjzj{uh1hhhhjThNhNubj})}(hXe **Definition**:: struct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; }; **Members** ``owner`` Who owns this device ``name`` User friendly name for this MDIO device, or driver name ``id`` Unique identifier for this bus, typical from bus hierarchy ``priv`` Driver private data ``read`` Perform a read transfer on the bus ``write`` Perform a write transfer on the bus ``read_c45`` Perform a C45 read transfer on the bus ``write_c45`` Perform a C45 write transfer on the bus ``reset`` Perform a reset of the bus ``stats`` Statistic counters per device on the bus ``mdio_lock`` A lock to ensure that only one thing can read/write the MDIO bus at a time ``parent`` Parent device of this bus ``state`` State of bus structure ``dev`` Kernel device representation ``mdio_map`` list of all MDIO devices on bus ``phy_mask`` PHY addresses to be ignored when probing ``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure ``irq`` An array of interrupts, each PHY's interrupt at the index matching its address ``reset_delay_us`` GPIO reset pulse width in microseconds ``reset_post_delay_us`` GPIO reset deassert delay in microseconds ``reset_gpiod`` Reset GPIO descriptor pointer ``shared_lock`` protect access to the shared element ``shared`` shared state across different PHYsh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj4DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Dubh:}(hj0DhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhj,DubjU)}(hXstruct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; };h]hXstruct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; };}hjMDsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hj,DubjX)}(h **Members**h]j)}(hj^Dh]hMembers}(hj`DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Dubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hj,Dubj)}(hhh](j)}(h``owner`` Who owns this device h](j)}(h ``owner``h]j)}(hj}Dh]howner}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Dubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjwDubj)}(hhh]jX)}(hWho owns this deviceh]hWho owns this device}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMYhjDubah}(h]h ]h"]h$]h&]uh1jhjwDubeh}(h]h ]h"]h$]h&]uh1jhjDhMYhjtDubj)}(hA``name`` User friendly name for this MDIO device, or driver name h](j)}(h``name``h]j)}(hjDh]hname}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhjDubj)}(hhh]jX)}(h7User friendly name for this MDIO device, or driver nameh]h7User friendly name for this MDIO device, or driver name}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMZhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMZhjtDubj)}(hB``id`` Unique identifier for this bus, typical from bus hierarchy h](j)}(h``id``h]j)}(hjDh]hid}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjDubj)}(hhh]jX)}(h:Unique identifier for this bus, typical from bus hierarchyh]h:Unique identifier for this bus, typical from bus hierarchy}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhM[hjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhM[hjtDubj)}(h``priv`` Driver private data h](j)}(h``priv``h]j)}(hj(Eh]hpriv}(hj*EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Eubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hj"Eubj)}(hhh]jX)}(hDriver private datah]hDriver private data}(hjAEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=EhM\hj>Eubah}(h]h ]h"]h$]h&]uh1jhj"Eubeh}(h]h ]h"]h$]h&]uh1jhj=EhM\hjtDubj)}(h,``read`` Perform a read transfer on the bus h](j)}(h``read``h]j)}(hjaEh]hread}(hjcEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Eubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMfhj[Eubj)}(hhh]jX)}(h"Perform a read transfer on the bush]h"Perform a read transfer on the bus}(hjzEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvEhMfhjwEubah}(h]h ]h"]h$]h&]uh1jhj[Eubeh}(h]h ]h"]h$]h&]uh1jhjvEhMfhjtDubj)}(h.``write`` Perform a write transfer on the bus h](j)}(h ``write``h]j)}(hjEh]hwrite}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjEubj)}(hhh]jX)}(h#Perform a write transfer on the bush]h#Perform a write transfer on the bus}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhhjtDubj)}(h4``read_c45`` Perform a C45 read transfer on the bus h](j)}(h ``read_c45``h]j)}(hjEh]hread_c45}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjEubj)}(hhh]jX)}(h&Perform a C45 read transfer on the bush]h&Perform a C45 read transfer on the bus}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMjhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMjhjtDubj)}(h6``write_c45`` Perform a C45 write transfer on the bus h](j)}(h ``write_c45``h]j)}(hj Fh]h write_c45}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Fubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjFubj)}(hhh]jX)}(h'Perform a C45 write transfer on the bush]h'Perform a C45 write transfer on the bus}(hj%FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!FhMlhj"Fubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhj!FhMlhjtDubj)}(h%``reset`` Perform a reset of the bus h](j)}(h ``reset``h]j)}(hjEFh]hreset}(hjGFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohj?Fubj)}(hhh]jX)}(hPerform a reset of the bush]hPerform a reset of the bus}(hj^FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZFhMohj[Fubah}(h]h ]h"]h$]h&]uh1jhj?Fubeh}(h]h ]h"]h$]h&]uh1jhjZFhMohjtDubj)}(h3``stats`` Statistic counters per device on the bus h](j)}(h ``stats``h]j)}(hj~Fh]hstats}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Fubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjxFubj)}(hhh]jX)}(h(Statistic counters per device on the bush]h(Statistic counters per device on the bus}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMrhjFubah}(h]h ]h"]h$]h&]uh1jhjxFubeh}(h]h ]h"]h$]h&]uh1jhjFhMrhjtDubj)}(hY``mdio_lock`` A lock to ensure that only one thing can read/write the MDIO bus at a time h](j)}(h ``mdio_lock``h]j)}(hjFh]h mdio_lock}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjFubj)}(hhh]jX)}(hJA lock to ensure that only one thing can read/write the MDIO bus at a timeh]hJA lock to ensure that only one thing can read/write the MDIO bus at a time}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMwhjtDubj)}(h%``parent`` Parent device of this bus h](j)}(h ``parent``h]j)}(hjFh]hparent}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hjFubj)}(hhh]jX)}(hParent device of this bush]hParent device of this bus}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhM{hjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjGhM{hjtDubj)}(h!``state`` State of bus structure h](j)}(h ``state``h]j)}(hj*Gh]hstate}(hj,GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Gubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hj$Gubj)}(hhh]jX)}(hState of bus structureh]hState of bus structure}(hjCGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?GhM}hj@Gubah}(h]h ]h"]h$]h&]uh1jhj$Gubeh}(h]h ]h"]h$]h&]uh1jhj?GhM}hjtDubj)}(h%``dev`` Kernel device representation h](j)}(h``dev``h]j)}(hjcGh]hdev}(hjeGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]Gubj)}(hhh]jX)}(hKernel device representationh]hKernel device representation}(hj|GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxGhMhjyGubah}(h]h ]h"]h$]h&]uh1jhj]Gubeh}(h]h ]h"]h$]h&]uh1jhjxGhMhjtDubj)}(h-``mdio_map`` list of all MDIO devices on bus h](j)}(h ``mdio_map``h]j)}(hjGh]hmdio_map}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjGubj)}(hhh]jX)}(hlist of all MDIO devices on bush]hlist of all MDIO devices on bus}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjtDubj)}(h6``phy_mask`` PHY addresses to be ignored when probing h](j)}(h ``phy_mask``h]j)}(hjGh]hphy_mask}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjGubj)}(hhh]jX)}(h(PHY addresses to be ignored when probingh]h(PHY addresses to be ignored when probing}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjtDubj)}(hC``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure h](j)}(h``phy_ignore_ta_mask``h]j)}(hjHh]hphy_ignore_ta_mask}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Hubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubj)}(hhh]jX)}(h+PHY addresses to ignore the TA/read failureh]h+PHY addresses to ignore the TA/read failure}(hj'HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#HhMhj$Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj#HhMhjtDubj)}(hW``irq`` An array of interrupts, each PHY's interrupt at the index matching its address h](j)}(h``irq``h]j)}(hjGHh]hirq}(hjIHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEHubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjAHubj)}(hhh]jX)}(hNAn array of interrupts, each PHY's interrupt at the index matching its addressh]hPAn array of interrupts, each PHY’s interrupt at the index matching its address}(hj`HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]Hubah}(h]h ]h"]h$]h&]uh1jhjAHubeh}(h]h ]h"]h$]h&]uh1jhj\HhMhjtDubj)}(h:``reset_delay_us`` GPIO reset pulse width in microseconds h](j)}(h``reset_delay_us``h]j)}(hjHh]hreset_delay_us}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{Hubj)}(hhh]jX)}(h&GPIO reset pulse width in microsecondsh]h&GPIO reset pulse width in microseconds}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhj{Hubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjtDubj)}(hB``reset_post_delay_us`` GPIO reset deassert delay in microseconds h](j)}(h``reset_post_delay_us``h]j)}(hjHh]hreset_post_delay_us}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubj)}(hhh]jX)}(h)GPIO reset deassert delay in microsecondsh]h)GPIO reset deassert delay in microseconds}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjtDubj)}(h.``reset_gpiod`` Reset GPIO descriptor pointer h](j)}(h``reset_gpiod``h]j)}(hjHh]h reset_gpiod}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubj)}(hhh]jX)}(hReset GPIO descriptor pointerh]hReset GPIO descriptor pointer}(hj IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhj Iubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjtDubj)}(h5``shared_lock`` protect access to the shared element h](j)}(h``shared_lock``h]j)}(hj,Ih]h shared_lock}(hj.IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Iubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj&Iubj)}(hhh]jX)}(h$protect access to the shared elementh]h$protect access to the shared element}(hjEIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAIhMhjBIubah}(h]h ]h"]h$]h&]uh1jhj&Iubeh}(h]h ]h"]h$]h&]uh1jhjAIhMhjtDubj)}(h-``shared`` shared state across different PHYsh](j)}(h ``shared``h]j)}(hjeIh]hshared}(hjgIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcIubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj_Iubj)}(hhh]jX)}(h"shared state across different PHYsh]h"shared state across different PHYs}(hj~IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{Iubah}(h]h ]h"]h$]h&]uh1jhj_Iubeh}(h]h ]h"]h$]h&]uh1jhjzIhMhjtDubeh}(h]h ]h"]h$]h&]uh1jhj,Dubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubjX)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjThhubjX)}(hbThe Bus class for PHYs. Devices which provide access to PHYs should register using this structureh]hbThe Bus class for PHYs. Devices which provide access to PHYs should register using this structure}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjThhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_alloc (C function)c.mdiobus_allochNtauh1hhjThhhNhNubh)}(hhh](h)}(h%struct mii_bus * mdiobus_alloc (void)h]h)}(h#struct mii_bus *mdiobus_alloc(void)h](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjIhMubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j')}j mdiobus_allocsbc.mdiobus_allocasbuh1hhjIhhhjIhMubj)}(h h]h }(hj&JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjIhMubj;)}(hj>h]h*}(hj4JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIhhhjIhMubj)}(h mdiobus_alloch]j%)}(hj#Jh]h mdiobus_alloc}(hjEJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhjIhMubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hj`JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\Jubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXJubah}(h]h ]h"]h$]h&]j<j=uh1jhjIhhhjIhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhjIhMubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhMhjIhhubjS)}(hhh]jX)}(hAllocate an MDIO bus structureh]hAllocate an MDIO bus structure}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``void`` no arguments **Description** The internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.h](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjJh]hvoid}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjJubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhKhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhKhjJubah}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjJubjX)}(hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.h]hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state (C enum) c.phy_statehNtauh1hhjThhhNhNubh)}(hhh](h)}(h phy_stateh]h)}(henum phy_stateh](h)}(hhh]henum}(hjKKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGKhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjYKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGKhhhjXKhMubj)}(h phy_stateh]j%)}(hjEKh]h phy_state}(hjkKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGKhhhjXKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjCKhhhjXKhMubah}(h]j>Kah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXKhMhj@KhhubjS)}(hhh]jX)}(hPHY state machine states:h]hPHY state machine states:}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jRhj@KhhhjXKhMubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhjThNhNubj})}(hX**Constants** ``PHY_DOWN`` PHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY** ``PHY_READY`` PHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP ``PHY_HALTED`` PHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP** ``PHY_ERROR`` PHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED** ``PHY_UP`` The PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING** ``PHY_RUNNING`` PHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED** ``PHY_NOLINK`` PHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED** ``PHY_CABLETEST`` PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](jX)}(h **Constants**h]j)}(hjKh]h Constants}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKubj)}(hhh](j)}(h``PHY_DOWN`` PHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY** h](j)}(h ``PHY_DOWN``h]j)}(hjKh]hPHY_DOWN}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKubj)}(hhh]jX)}(hPHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY**h](hPHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to }(hjKhhhNhNubj)}(h **PHY_READY**h]h PHY_READY}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubj)}(h``PHY_READY`` PHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP h](j)}(h ``PHY_READY``h]j)}(hjLh]h PHY_READY}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubj)}(hhh]jX)}(hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UPh]hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP}(hj/LhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj,Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj+LhMhjKubj)}(ha``PHY_HALTED`` PHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP** h](j)}(h``PHY_HALTED``h]j)}(hjPLh]h PHY_HALTED}(hjRLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJLubj)}(hhh]jX)}(hQPHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP**h](hGPHY is up, but no polling or interrupts are done. - phy_start moves to }(hjiLhhhNhNubj)}(h **PHY_UP**h]hPHY_UP}(hjqLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiLubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjfLubah}(h]h ]h"]h$]h&]uh1jhjJLubeh}(h]h ]h"]h$]h&]uh1jhjeLhMhjKubj)}(hV``PHY_ERROR`` PHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED** h](j)}(h ``PHY_ERROR``h]j)}(hjLh]h PHY_ERROR}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubj)}(hhh]jX)}(hGPHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED**h](h9PHY is up, but is in an error state. - phy_stop moves to }(hjLhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubj)}(h``PHY_UP`` The PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING** h](j)}(h ``PHY_UP``h]j)}(hjLh]hPHY_UP}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubj)}(hhh]jX)}(hThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING**h](hfThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to }(hjLhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh or }(hjLhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubj)}(h``PHY_RUNNING`` PHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED** h](j)}(h``PHY_RUNNING``h]j)}(hj:Mh]h PHY_RUNNING}(hjOh]h mmds_present}(hj@OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj``is_c45`` Set to true if this PHY uses clause 45 addressing. h](j)}(h ``is_c45``h]j)}(hjQh]his_c45}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjQubj)}(hhh]jX)}(h2Set to true if this PHY uses clause 45 addressing.h]h2Set to true if this PHY uses clause 45 addressing.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjwPubj)}(h>``is_internal`` Set to true if this PHY is internal to a MAC. h](j)}(h``is_internal``h]j)}(hjRh]h is_internal}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj Rubj)}(hhh]jX)}(h-Set to true if this PHY is internal to a MAC.h]h-Set to true if this PHY is internal to a MAC.}(hj*RhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&RhMhj'Rubah}(h]h ]h"]h$]h&]uh1jhj Rubeh}(h]h ]h"]h$]h&]uh1jhj&RhMhjwPubj)}(hM``is_pseudo_fixed_link`` Set to true if this PHY is an Ethernet switch, etc. h](j)}(h``is_pseudo_fixed_link``h]j)}(hjJRh]his_pseudo_fixed_link}(hjLRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjDRubj)}(hhh]jX)}(h3Set to true if this PHY is an Ethernet switch, etc.h]h3Set to true if this PHY is an Ethernet switch, etc.}(hjcRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_RhMhj`Rubah}(h]h ]h"]h$]h&]uh1jhjDRubeh}(h]h ]h"]h$]h&]uh1jhj_RhMhjwPubj)}(h<``is_gigabit_capable`` Set to true if PHY supports 1000Mbps h](j)}(h``is_gigabit_capable``h]j)}(hjRh]his_gigabit_capable}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj}Rubj)}(hhh]jX)}(h$Set to true if PHY supports 1000Mbpsh]h$Set to true if PHY supports 1000Mbps}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhj}Rubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjwPubj)}(h:``has_fixups`` Set to true if this PHY has fixups/quirks. h](j)}(h``has_fixups``h]j)}(hjRh]h has_fixups}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRubj)}(hhh]jX)}(h*Set to true if this PHY has fixups/quirks.h]h*Set to true if this PHY has fixups/quirks.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjwPubj)}(hG``suspended`` Set to true if this PHY has been suspended successfully. h](j)}(h ``suspended``h]j)}(hjRh]h suspended}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRubj)}(hhh]jX)}(h8Set to true if this PHY has been suspended successfully.h]h8Set to true if this PHY has been suspended successfully.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj ShMhj Subah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj ShMhjwPubj)}(hM``suspended_by_mdio_bus`` Set to true if this PHY was suspended by MDIO bus. h](j)}(h``suspended_by_mdio_bus``h]j)}(hj.Sh]hsuspended_by_mdio_bus}(hj0ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Subah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj(Subj)}(hhh]jX)}(h2Set to true if this PHY was suspended by MDIO bus.h]h2Set to true if this PHY was suspended by MDIO bus.}(hjGShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjCShMhjDSubah}(h]h ]h"]h$]h&]uh1jhj(Subeh}(h]h ]h"]h$]h&]uh1jhjCShMhjwPubj)}(hN``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. h](j)}(h``sysfs_links``h]j)}(hjgSh]h sysfs_links}(hjiShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjaSubj)}(hhh]jX)}(h=Internal boolean tracking sysfs symbolic links setup/removal.h]h=Internal boolean tracking sysfs symbolic links setup/removal.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|ShMhj}Subah}(h]h ]h"]h$]h&]uh1jhjaSubeh}(h]h ]h"]h$]h&]uh1jhj|ShMhjwPubj)}(hL``loopback_enabled`` Set true if this PHY has been loopbacked successfully. h](j)}(h``loopback_enabled``h]j)}(hjSh]hloopback_enabled}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjSubj)}(hhh]jX)}(h6Set true if this PHY has been loopbacked successfully.h]h6Set true if this PHY has been loopbacked successfully.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM hjwPubj)}(hB``downshifted_rate`` Set true if link speed has been downshifted. h](j)}(h``downshifted_rate``h]j)}(hjSh]hdownshifted_rate}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hjSubj)}(hhh]jX)}(h,Set true if link speed has been downshifted.h]h,Set true if link speed has been downshifted.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM!hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM!hjwPubj)}(hB``is_on_sfp_module`` Set true if PHY is located on an SFP module. h](j)}(h``is_on_sfp_module``h]j)}(hjTh]his_on_sfp_module}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM"hj Tubj)}(hhh]jX)}(h,Set true if PHY is located on an SFP module.h]h,Set true if PHY is located on an SFP module.}(hj+ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'ThM"hj(Tubah}(h]h ]h"]h$]h&]uh1jhj Tubeh}(h]h ]h"]h$]h&]uh1jhj'ThM"hjwPubj)}(hK``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY h](j)}(h``mac_managed_pm``h]j)}(hjKTh]hmac_managed_pm}(hjMThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjITubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hjETubj)}(hhh]jX)}(h7Set true if MAC driver takes of suspending/resuming PHYh]h7Set true if MAC driver takes of suspending/resuming PHY}(hjdThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`ThM#hjaTubah}(h]h ]h"]h$]h&]uh1jhjETubeh}(h]h ]h"]h$]h&]uh1jhj`ThM#hjwPubj)}(hU``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. h](j)}(h``wol_enabled``h]j)}(hjTh]h wol_enabled}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hj~Tubj)}(hhh]jX)}(hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.h]hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hjTubah}(h]h ]h"]h$]h&]uh1jhj~Tubeh}(h]h ]h"]h$]h&]uh1jhjThM%hjwPubj)}(hE``is_genphy_driven`` PHY is driven by one of the generic PHY drivers h](j)}(h``is_genphy_driven``h]j)}(hjTh]his_genphy_driven}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&hjTubj)}(hhh]jX)}(h/PHY is driven by one of the generic PHY driversh]h/PHY is driven by one of the generic PHY drivers}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM&hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM&hjwPubj)}(h$``autoneg`` Flag autoneg being used h](j)}(h ``autoneg``h]j)}(hjTh]hautoneg}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjTubj)}(hhh]jX)}(hFlag autoneg being usedh]hFlag autoneg being used}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj UhMIhj Uubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj UhMIhjwPubj)}(h``link`` Current link state h](j)}(h``link``h]j)}(hj0Uh]hlink}(hj2UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Uubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhj*Uubj)}(hhh]jX)}(hCurrent link stateh]hCurrent link state}(hjIUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEUhMKhjFUubah}(h]h ]h"]h$]h&]uh1jhj*Uubeh}(h]h ]h"]h$]h&]uh1jhjEUhMKhjwPubj)}(hE``autoneg_complete`` Flag auto negotiation of the link has completed h](j)}(h``autoneg_complete``h]j)}(hjiUh]hautoneg_complete}(hjkUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgUubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMLhjcUubj)}(hhh]jX)}(h/Flag auto negotiation of the link has completedh]h/Flag auto negotiation of the link has completed}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~UhMLhjUubah}(h]h ]h"]h$]h&]uh1jhjcUubeh}(h]h ]h"]h$]h&]uh1jhj~UhMLhjwPubj)}(h1``interrupts`` Flag interrupts have been enabled h](j)}(h``interrupts``h]j)}(hjUh]h interrupts}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhjUubj)}(hhh]jX)}(h!Flag interrupts have been enabledh]h!Flag interrupts have been enabled}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMPhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMPhjwPubj)}(h}``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed h](j)}(h``irq_suspended``h]j)}(hjUh]h irq_suspended}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjUubj)}(hhh]jX)}(hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumedh]hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMRhjwPubj)}(h``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume h](j)}(h ``irq_rerun``h]j)}(hjVh]h irq_rerun}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjVubj)}(hhh]jX)}(htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resumeh]htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume}(hj.VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj+Vubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhj*VhMThjwPubj)}(h```default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one h](j)}(h``default_timestamp``h]j)}(hjOVh]hdefault_timestamp}(hjQVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjIVubj)}(hhh]jX)}(hIFlag indicating whether we are using the phy timestamp as the default oneh]hIFlag indicating whether we are using the phy timestamp as the default one}(hjhVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjeVubah}(h]h ]h"]h$]h&]uh1jhjIVubeh}(h]h ]h"]h$]h&]uh1jhjdVhMVhjwPubj)}(h-``rate_matching`` Current rate matching mode h](j)}(h``rate_matching``h]j)}(hjVh]h rate_matching}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjVubj)}(hhh]jX)}(hCurrent rate matching modeh]hCurrent rate matching mode}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMJhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMJhjwPubj)}(h3``state`` State of the PHY for management purposes h](j)}(h ``state``h]j)}(hjVh]hstate}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjVubj)}(hhh]jX)}(h(State of the PHY for management purposesh]h(State of the PHY for management purposes}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhM'hjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhM'hjwPubj)}(h<``dev_flags`` Device-specific flags used by the PHY driver. h](j)}(h ``dev_flags``h]j)}(hjVh]h dev_flags}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjVubj)}(hhh]jX)}(h-Device-specific flags used by the PHY driver.h]h-Device-specific flags used by the PHY driver.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM(hjWubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjWhM(hjwPubj)}(h)``interface`` enum phy_interface_t value h](j)}(h ``interface``h]j)}(hj4Wh]h interface}(hj6WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Wubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhj.Wubj)}(hhh]jX)}(henum phy_interface_t valueh]henum phy_interface_t value}(hjMWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIWhMWhjJWubah}(h]h ]h"]h$]h&]uh1jhj.Wubeh}(h]h ]h"]h$]h&]uh1jhjIWhMWhjwPubj)}(hv``possible_interfaces`` bitmap if interface modes that the attached PHY will switch between depending on media speed. h](j)}(h``possible_interfaces``h]j)}(hjmWh]hpossible_interfaces}(hjoWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjgWubj)}(hhh]jX)}(h]bitmap if interface modes that the attached PHY will switch between depending on media speed.h]h]bitmap if interface modes that the attached PHY will switch between depending on media speed.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhjWubah}(h]h ]h"]h$]h&]uh1jhjgWubeh}(h]h ]h"]h$]h&]uh1jhjWhMYhjwPubj)}(h``speed`` Current link speed h](j)}(h ``speed``h]j)}(hjWh]hspeed}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjWubj)}(hhh]jX)}(hCurrent link speedh]hCurrent link speed}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM9hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM9hjwPubj)}(h``duplex`` Current duplex h](j)}(h ``duplex``h]j)}(hjWh]hduplex}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjWubj)}(hhh]jX)}(hCurrent duplexh]hCurrent duplex}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM:hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM:hjwPubj)}(h``port`` Current port h](j)}(h``port``h]j)}(hjXh]hport}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjXubj)}(hhh]jX)}(h Current porth]h Current port}(hj2XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.XhM;hj/Xubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhj.XhM;hjwPubj)}(h``pause`` Current pause h](j)}(h ``pause``h]j)}(hjRXh]hpause}(hjTXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjLXubj)}(hhh]jX)}(h Current pauseh]h Current pause}(hjkXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgXhM<hjhXubah}(h]h ]h"]h$]h&]uh1jhjLXubeh}(h]h ]h"]h$]h&]uh1jhjgXhM<hjwPubj)}(h(``asym_pause`` Current asymmetric pause h](j)}(h``asym_pause``h]j)}(hjXh]h asym_pause}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjXubj)}(hhh]jX)}(hCurrent asymmetric pauseh]hCurrent asymmetric pause}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM=hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM=hjwPubj)}(h8``master_slave_get`` Current master/slave advertisement h](j)}(h``master_slave_get``h]j)}(hjXh]hmaster_slave_get}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchjXubj)}(hhh]jX)}(h"Current master/slave advertisementh]h"Current master/slave advertisement}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMchjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMchjwPubj)}(h?``master_slave_set`` User requested master/slave configuration h](j)}(h``master_slave_set``h]j)}(hjXh]hmaster_slave_set}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjXubj)}(hhh]jX)}(h)User requested master/slave configurationh]h)User requested master/slave configuration}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMbhjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhMbhjwPubj)}(h:``master_slave_state`` Current master/slave configuration h](j)}(h``master_slave_state``h]j)}(hj6Yh]hmaster_slave_state}(hj8YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Yubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhj0Yubj)}(hhh]jX)}(h"Current master/slave configurationh]h"Current master/slave configuration}(hjOYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKYhMdhjLYubah}(h]h ]h"]h$]h&]uh1jhj0Yubeh}(h]h ]h"]h$]h&]uh1jhjKYhMdhjwPubj)}(h3``supported`` Combined MAC/PHY supported linkmodes h](j)}(h ``supported``h]j)}(hjoYh]h supported}(hjqYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjiYubj)}(hhh]jX)}(h$Combined MAC/PHY supported linkmodesh]h$Combined MAC/PHY supported linkmodes}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM>hjYubah}(h]h ]h"]h$]h&]uh1jhjiYubeh}(h]h ]h"]h$]h&]uh1jhjYhM>hjwPubj)}(h/``advertising`` Currently advertised linkmodes h](j)}(h``advertising``h]j)}(hjYh]h advertising}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjYubj)}(hhh]jX)}(hCurrently advertised linkmodesh]hCurrently advertised linkmodes}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM?hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM?hjwPubj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hjYh]hlp_advertising}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjYubj)}(hhh]jX)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMFhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMFhjwPubj)}(h8``adv_old`` Saved advertised while power saving for WoL h](j)}(h ``adv_old``h]j)}(hjZh]hadv_old}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjZubj)}(hhh]jX)}(h+Saved advertised while power saving for WoLh]h+Saved advertised while power saving for WoL}(hj3ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/ZhM@hj0Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj/ZhM@hjwPubj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hjSZh]h supported_eee}(hjUZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjMZubj)}(hhh]jX)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hjlZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhZhMAhjiZubah}(h]h ]h"]h$]h&]uh1jhjMZubeh}(h]h ]h"]h$]h&]uh1jhjhZhMAhjwPubj)}(h7``advertising_eee`` Currently advertised EEE linkmodes h](j)}(h``advertising_eee``h]j)}(hjZh]hadvertising_eee}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMBhjZubj)}(hhh]jX)}(h"Currently advertised EEE linkmodesh]h"Currently advertised EEE linkmodes}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMBhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMBhjwPubj)}(hL``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised h](j)}(h``eee_disabled_modes``h]j)}(hjZh]heee_disabled_modes}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjZubj)}(hhh]jX)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMHhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMHhjwPubj)}(h<``enable_tx_lpi`` When True, MAC should transmit LPI to PHY h](j)}(h``enable_tx_lpi``h]j)}(hjZh]h enable_tx_lpi}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjZubj)}(hhh]jX)}(h)When True, MAC should transmit LPI to PHYh]h)When True, MAC should transmit LPI to PHY}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMChj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj[hMChjwPubj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(hj7[h]h eee_active}(hj9[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhj1[ubj)}(hhh]jX)}(h=phylib private state, indicating that EEE has been negotiatedh]h=phylib private state, indicating that EEE has been negotiated}(hjP[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL[hMDhjM[ubah}(h]h ]h"]h$]h&]uh1jhj1[ubeh}(h]h ]h"]h$]h&]uh1jhjL[hMDhjwPubj)}(h&``eee_cfg`` User configuration of EEE h](j)}(h ``eee_cfg``h]j)}(hjp[h]heee_cfg}(hjr[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjj[ubj)}(hhh]jX)}(hUser configuration of EEEh]hUser configuration of EEE}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMEhj[ubah}(h]h ]h"]h$]h&]uh1jhjj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMEhjwPubj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hj[h]hhost_interfaces}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhj[ubj)}(hhh]jX)}(h%PHY interface modes supported by hosth]h%PHY interface modes supported by host}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMGhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMGhjwPubj)}(h+``phy_led_triggers`` Array of LED triggers h](j)}(h``phy_led_triggers``h]j)}(hj[h]hphy_led_triggers}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hj[ubj)}(hhh]jX)}(hArray of LED triggersh]hArray of LED triggers}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hM]hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM]hjwPubj)}(hD``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** h](j)}(h``phy_num_led_triggers``h]j)}(hj\h]hphy_num_led_triggers}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hj\ubj)}(hhh]jX)}(h*Number of triggers in **phy_led_triggers**h](hNumber of triggers in }(hj4\hhhNhNubj)}(h**phy_led_triggers**h]hphy_led_triggers}(hj<\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4\ubeh}(h]h ]h"]h$]h&]uh1jWhj0\hM^hj1\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj0\hM^hjwPubj)}(h3``last_triggered`` last LED trigger for link speed h](j)}(h``last_triggered``h]j)}(hjb\h]hlast_triggered}(hjd\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hj\\ubj)}(hhh]jX)}(hlast LED trigger for link speedh]hlast LED trigger for link speed}(hj{\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjw\hM`hjx\ubah}(h]h ]h"]h$]h&]uh1jhj\\ubeh}(h]h ]h"]h$]h&]uh1jhjw\hM`hjwPubj)}(h2``led_link_trigger`` LED trigger for link up/down h](j)}(h``led_link_trigger``h]j)}(hj\h]hled_link_trigger}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hj\ubj)}(hhh]jX)}(hLED trigger for link up/downh]hLED trigger for link up/down}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hM_hj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hM_hjwPubj)}(h$``leds`` list of PHY LED structures h](j)}(h``leds``h]j)}(hj\h]hleds}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj\ubj)}(hhh]jX)}(hlist of PHY LED structuresh]hlist of PHY LED structures}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMahj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMahjwPubj)}(h7``irq`` IRQ number of the PHY's interrupt (-1 if none) h](j)}(h``irq``h]j)}(hj ]h]hirq}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hj]ubj)}(hhh]jX)}(h.IRQ number of the PHY's interrupt (-1 if none)h]h0IRQ number of the PHY’s interrupt (-1 if none)}(hj&]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"]hM/hj#]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj"]hM/hjwPubj)}(h(``priv`` Pointer to driver private data h](j)}(h``priv``h]j)}(hjF]h]hpriv}(hjH]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhj@]ubj)}(hhh]jX)}(hPointer to driver private datah]hPointer to driver private data}(hj_]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[]hMkhj\]ubah}(h]h ]h"]h$]h&]uh1jhj@]ubeh}(h]h ]h"]h$]h&]uh1jhj[]hMkhjwPubj)}(hA``shared`` Pointer to private data shared by phys in one package h](j)}(h ``shared``h]j)}(hj]h]hshared}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjy]ubj)}(hhh]jX)}(h5Pointer to private data shared by phys in one packageh]h5Pointer to private data shared by phys in one package}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMjhj]ubah}(h]h ]h"]h$]h&]uh1jhjy]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMjhjwPubj)}(h.``skb`` Netlink message for cable diagnostics h](j)}(h``skb``h]j)}(hj]h]hskb}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhj]ubj)}(hhh]jX)}(h%Netlink message for cable diagnosticsh]h%Netlink message for cable diagnostics}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMZhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMZhjwPubj)}(h.``ehdr`` nNtlink header for cable diagnostics h](j)}(h``ehdr``h]j)}(hj]h]hehdr}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hj]ubj)}(hhh]jX)}(h$nNtlink header for cable diagnosticsh]h$nNtlink header for cable diagnostics}(hj ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hM\hj^ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj^hM\hjwPubj)}(h1``nest`` Netlink nest used for cable diagnostics h](j)}(h``nest``h]j)}(hj*^h]hnest}(hj,^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(^ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hj$^ubj)}(hhh]jX)}(h'Netlink nest used for cable diagnosticsh]h'Netlink nest used for cable diagnostics}(hjC^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?^hM[hj@^ubah}(h]h ]h"]h$]h&]uh1jhj$^ubeh}(h]h ]h"]h$]h&]uh1jhj?^hM[hjwPubj)}(h-``state_queue`` Work queue for state machine h](j)}(h``state_queue``h]j)}(hjc^h]h state_queue}(hje^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja^ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhj]^ubj)}(hhh]jX)}(hWork queue for state machineh]hWork queue for state machine}(hj|^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjx^hMhhjy^ubah}(h]h ]h"]h$]h&]uh1jhj]^ubeh}(h]h ]h"]h$]h&]uh1jhjx^hMhhjwPubj)}(h/``lock`` Mutex for serialization access to PHY h](j)}(h``lock``h]j)}(hj^h]hlock}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghj^ubj)}(hhh]jX)}(h%Mutex for serialization access to PHYh]h%Mutex for serialization access to PHY}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMghj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMghjwPubj)}(hK``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached h](j)}(h``sfp_bus_attached``h]j)}(hj^h]hsfp_bus_attached}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hj^ubj)}(hhh]jX)}(h5Flag indicating whether the SFP bus has been attachedh]h5Flag indicating whether the SFP bus has been attached}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hM1hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM1hjwPubj)}(h6``sfp_bus`` SFP bus attached to this PHY's fiber port h](j)}(h ``sfp_bus``h]j)}(hj_h]hsfp_bus}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj _ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hj_ubj)}(hhh]jX)}(h)SFP bus attached to this PHY's fiber porth]h+SFP bus attached to this PHY’s fiber port}(hj'_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#_hM2hj$_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj#_hM2hjwPubj)}(h5``phylink`` Pointer to phylink instance for this PHY h](j)}(h ``phylink``h]j)}(hjG_h]hphylink}(hjI_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM0hjA_ubj)}(hhh]jX)}(h(Pointer to phylink instance for this PHYh]h(Pointer to phylink instance for this PHY}(hj`_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\_hM0hj]_ubah}(h]h ]h"]h$]h&]uh1jhjA_ubeh}(h]h ]h"]h$]h&]uh1jhj\_hM0hjwPubj)}(h@``attached_dev`` The attached enet driver's device instance ptr h](j)}(h``attached_dev``h]j)}(hj_h]h attached_dev}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjz_ubj)}(hhh]jX)}(h.The attached enet driver's device instance ptrh]h0The attached enet driver’s device instance ptr}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM3hj_ubah}(h]h ]h"]h$]h&]uh1jhjz_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM3hjwPubj)}(h-``mii_ts`` Pointer to time stamper callbacks h](j)}(h ``mii_ts``h]j)}(hj_h]hmii_ts}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehj_ubj)}(hhh]jX)}(h!Pointer to time stamper callbacksh]h!Pointer to time stamper callbacks}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMehj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMehjwPubj)}(h<``psec`` Pointer to Power Sourcing Equipment control struct h](j)}(h``psec``h]j)}(hj_h]hpsec}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMfhj_ubj)}(hhh]jX)}(h2Pointer to Power Sourcing Equipment control structh]h2Pointer to Power Sourcing Equipment control struct}(hj `hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMfhj`ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj`hMfhjwPubj)}(h``mdix`` Current crossover h](j)}(h``mdix``h]j)}(hj+`h]hmdix}(hj-`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhj%`ubj)}(hhh]jX)}(hCurrent crossoverh]hCurrent crossover}(hjD`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@`hMMhjA`ubah}(h]h ]h"]h$]h&]uh1jhj%`ubeh}(h]h ]h"]h$]h&]uh1jhj@`hMMhjwPubj)}(h(``mdix_ctrl`` User setting of crossover h](j)}(h ``mdix_ctrl``h]j)}(hjd`h]h mdix_ctrl}(hjf`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhj^`ubj)}(hhh]jX)}(hUser setting of crossoverh]hUser setting of crossover}(hj}`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjy`hMNhjz`ubah}(h]h ]h"]h$]h&]uh1jhj^`ubeh}(h]h ]h"]h$]h&]uh1jhjy`hMNhjwPubj)}(hD``pma_extable`` Cached value of PMA/PMD Extended Abilities Register h](j)}(h``pma_extable``h]j)}(hj`h]h pma_extable}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhj`ubj)}(hhh]jX)}(h3Cached value of PMA/PMD Extended Abilities Registerh]h3Cached value of PMA/PMD Extended Abilities Register}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMOhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMOhjwPubj)}(h3``link_down_events`` Number of times link was lost h](j)}(h``link_down_events``h]j)}(hj`h]hlink_down_events}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihj`ubj)}(hhh]jX)}(hNumber of times link was losth]hNumber of times link was lost}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMihj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMihjwPubj)}(hI``phy_link_change`` Callback for phylink for notification of link change h](j)}(h``phy_link_change``h]j)}(hjah]hphy_link_change}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hj aubj)}(hhh]jX)}(h4Callback for phylink for notification of link changeh]h4Callback for phylink for notification of link change}(hj(ahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$ahM6hj%aubah}(h]h ]h"]h$]h&]uh1jhj aubeh}(h]h ]h"]h$]h&]uh1jhj$ahM6hjwPubj)}(h[``adjust_link`` Callback for the enet controller to respond to changes: in the link state. h](j)}(h``adjust_link``h]j)}(hjHah]h adjust_link}(hjJahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjBaubj)}(hhh]jX)}(hJCallback for the enet controller to respond to changes: in the link state.h]hJCallback for the enet controller to respond to changes: in the link state.}(hjaahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hj^aubah}(h]h ]h"]h$]h&]uh1jhjBaubeh}(h]h ]h"]h$]h&]uh1jhj]ahM5hjwPubj)}(h%``macsec_ops`` MACsec offloading ops.h](j)}(h``macsec_ops``h]j)}(hjah]h macsec_ops}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hj|aubj)}(hhh]jX)}(hMACsec offloading ops.h]hMACsec offloading ops.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM7hjaubah}(h]h ]h"]h$]h&]uh1jhj|aubeh}(h]h ]h"]h$]h&]uh1jhjahM6hjwPubeh}(h]h ]h"]h$]h&]uh1jhj/Pubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubjX)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjThhubj )}(h- Bits [15:0] are free to use by the PHY driver to communicate driver specific behavior. - Bits [23:16] are currently reserved for future use. - Bits [31:24] are reserved for defining generic PHY driver behavior. h]jD2)}(hhh](jI2)}(hVBits [15:0] are free to use by the PHY driver to communicate driver specific behavior.h]jX)}(hVBits [15:0] are free to use by the PHY driver to communicate driver specific behavior.h]hVBits [15:0] are free to use by the PHY driver to communicate driver specific behavior.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjaubah}(h]h ]h"]h$]h&]uh1jH2hjaubjI2)}(h3Bits [23:16] are currently reserved for future use.h]jX)}(hjah]h3Bits [23:16] are currently reserved for future use.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjaubah}(h]h ]h"]h$]h&]uh1jH2hjaubjI2)}(hDBits [31:24] are reserved for defining generic PHY driver behavior. h]jX)}(hCBits [31:24] are reserved for defining generic PHY driver behavior.h]hCBits [31:24] are reserved for defining generic PHY driver behavior.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hjbubah}(h]h ]h"]h$]h&]uh1jH2hjaubeh}(h]h ]h"]h$]h&]j3juh1jC2hjahM(hjaubah}(h]h ]h"]h$]h&]uh1j hjahM(hjThhubjX)}(hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interruptsh]hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interrupts}(hj8bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM.hjThhubjX)}(hqContains some infrastructure for polling and interrupt handling, as well as handling shifts in PHY hardware stateh]hqContains some infrastructure for polling and interrupt handling, as well as handling shifts in PHY hardware state}(hjGbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjThhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhjThhhNhNubh)}(hhh](h)}(hphy_tdr_configh]h)}(hstruct phy_tdr_configh](h)}(hjh]hstruct}(hjobhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkbhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8ubj)}(h h]h }(hj}bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkbhhhj|bhM8ubj)}(hphy_tdr_configh]j%)}(hjibh]hphy_tdr_config}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkbhhhj|bhM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjgbhhhj|bhM8ubah}(h]jbbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|bhM8hjdbhhubjS)}(hhh]jX)}(hConfiguration of a TDR raw testh]hConfiguration of a TDR raw test}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjdbhhhj|bhM8ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhjThNhNubj})}(hXM**Definition**:: struct phy_tdr_config { u32 first; u32 last; u32 step; s8 pair; }; **Members** ``first`` Distance for first data collection point ``last`` Distance for last data collection point ``step`` Step between data collection points ``pair`` Bitmap of cable pairs to collect data forh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh:}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjbubjU)}(hRstruct phy_tdr_config { u32 first; u32 last; u32 step; s8 pair; };h]hRstruct phy_tdr_config { u32 first; u32 last; u32 step; s8 pair; };}hjbsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjbubjX)}(h **Members**h]j)}(hjbh]hMembers}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjbubj)}(hhh](j)}(h3``first`` Distance for first data collection point h](j)}(h ``first``h]j)}(hjch]hfirst}(hj chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjcubj)}(hhh]jX)}(h(Distance for first data collection pointh]h(Distance for first data collection point}(hj7chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3chM hj4cubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj3chM hjcubj)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hjWch]hlast}(hjYchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjQcubj)}(hhh]jX)}(h'Distance for last data collection pointh]h'Distance for last data collection point}(hjpchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlchM hjmcubah}(h]h ]h"]h$]h&]uh1jhjQcubeh}(h]h ]h"]h$]h&]uh1jhjlchM hjcubj)}(h-``step`` Step between data collection points h](j)}(h``step``h]j)}(hjch]hstep}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjcubj)}(hhh]jX)}(h#Step between data collection pointsh]h#Step between data collection points}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjcubj)}(h2``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hjch]hpair}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjcubj)}(hhh]jX)}(h)Bitmap of cable pairs to collect data forh]h)Bitmap of cable pairs to collect data for}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjcubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubjX)}(h**Description**h]j)}(hj dh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj dubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjThhubjX)}(hA structure containing possible configuration parameters for a TDR cable test. The driver does not need to implement all the parameters, but should report what is actually used. All distances are in centimeters.h]hA structure containing possible configuration parameters for a TDR cable test. The driver does not need to implement all the parameters, but should report what is actually used. All distances are in centimeters.}(hj"dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjThhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhjThhhNhNubh)}(hhh](h)}(hlink_inband_signallingh]h)}(henum link_inband_signallingh](h)}(hhh]henum}(hjJdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFdhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjXdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFdhhhjWdhMubj)}(hlink_inband_signallingh]j%)}(hjDdh]hlink_inband_signalling}(hjjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFdhhhjWdhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBdhhhjWdhMubah}(h]j=dah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWdhMhj?dhhubjS)}(hhh]jX)}(h+in-band signalling modes that are supportedh]h+in-band signalling modes that are supported}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubah}(h]h ]h"]h$]h&]uh1jRhj?dhhhjWdhMubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhjThNhNubj})}(h**Constants** ``LINK_INBAND_DISABLE`` in-band signalling can be disabled ``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass ``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](jX)}(h **Constants**h]j)}(hjdh]h Constants}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdubj)}(hhh](j)}(h;``LINK_INBAND_DISABLE`` in-band signalling can be disabled h](j)}(h``LINK_INBAND_DISABLE``h]j)}(hjdh]hLINK_INBAND_DISABLE}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM"hjdubj)}(hhh]jX)}(h"in-band signalling can be disabledh]h"in-band signalling can be disabled}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhM"hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM"hjdubj)}(hH``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass h](j)}(h``LINK_INBAND_ENABLE``h]j)}(hjeh]hLINK_INBAND_ENABLE}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hjeubj)}(hhh]jX)}(h0in-band signalling can be enabled without bypassh]h0in-band signalling can be enabled without bypass}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM%hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM%hjdubj)}(hD``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](j)}(h``LINK_INBAND_BYPASS``h]j)}(hj?eh]hLINK_INBAND_BYPASS}(hjAehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=eubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hj9eubj)}(hhh]jX)}(h-in-band signalling can be enabled with bypassh]h-in-band signalling can be enabled with bypass}(hjXehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjUeubah}(h]h ]h"]h$]h&]uh1jhj9eubeh}(h]h ]h"]h$]h&]uh1jhjTehM'hjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubjX)}(h**Description**h]j)}(hjeh]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjThhubjX)}(hThe possible and required bits can only be used if the valid bit is set. If possible is clear, that means inband signalling can not be used. Required is only valid when possible is set, and means that inband signalling must be used.h]hThe possible and required bits can only be used if the valid bit is set. If possible is clear, that means inband signalling can not be used. Required is only valid when possible is set, and means that inband signalling must be used.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjThhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhjThhhNhNubh)}(hhh](h)}(h phy_plca_cfgh]h)}(hstruct phy_plca_cfgh](h)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjehhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjehM(ubj)}(h phy_plca_cfgh]j%)}(hjeh]h phy_plca_cfg}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjehM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhjehM(ubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehM(hjehhubjS)}(hhh]jX)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM-hjehhubah}(h]h ]h"]h$]h&]uh1jRhjehhhjehM(ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhjThNhNubj})}(hX**Definition**:: struct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; }; **Members** ``version`` read-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available. ``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. ``node_id`` the PLCA local node identifier. -1 = not available / don't set. Allowed values [0 .. 254]. 255 = node disabled. ``node_cnt`` the PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255]. ``to_tmr`` The value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255]. ``burst_cnt`` controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255]. ``burst_tmr`` controls how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj&fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"fubh:}(hj"fhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjfubjU)}(hstruct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; };h]hstruct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; };}hj?fsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjfubjX)}(h **Members**h]j)}(hjPfh]hMembers}(hjRfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNfubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjfubj)}(hhh](j)}(h``version`` read-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available. h](j)}(h ``version``h]j)}(hjofh]hversion}(hjqfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmfubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjifubj)}(hhh]jX)}(hread-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available.h]hread-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjfubah}(h]h ]h"]h$]h&]uh1jhjifubeh}(h]h ]h"]h$]h&]uh1jhjfhM3hjffubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hjfh]henabled}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjfubj)}(hhh]jX)}(hoPLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled.h]hqPLCA configured mode (enabled/disabled). -1 = not available / don’t set. 0 = disabled, anything else = enabled.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM5hjffubj)}(h|``node_id`` the PLCA local node identifier. -1 = not available / don't set. Allowed values [0 .. 254]. 255 = node disabled. h](j)}(h ``node_id``h]j)}(hjfh]hnode_id}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM7hjfubj)}(hhh]jX)}(hothe PLCA local node identifier. -1 = not available / don't set. Allowed values [0 .. 254]. 255 = node disabled.h]hqthe PLCA local node identifier. -1 = not available / don’t set. Allowed values [0 .. 254]. 255 = node disabled.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM7hjffubj)}(h``node_cnt`` the PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255]. h](j)}(h ``node_cnt``h]j)}(hjgh]hnode_cnt}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjgubj)}(hhh]jX)}(hthe PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255].h]hthe PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don’t set. Allowed values [1 .. 255].}(hj6ghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hj3gubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj2ghM:hjffubj)}(hX ``to_tmr`` The value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255]. h](j)}(h ``to_tmr``h]j)}(hjWgh]hto_tmr}(hjYghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjQgubj)}(hhh]jX)}(hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255].h]hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don’t set. Allowed values [0 .. 255].}(hjpghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjmgubah}(h]h ]h"]h$]h&]uh1jhjQgubeh}(h]h ]h"]h$]h&]uh1jhjlghM>hjffubj)}(hX.``burst_cnt`` controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255]. h](j)}(h ``burst_cnt``h]j)}(hjgh]h burst_cnt}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjgubj)}(hhh]jX)}(hXcontrols how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255].h]hX!controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don’t set. Allowed values [0 .. 255].}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMChjffubj)}(hX``burst_tmr`` controls how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h](j)}(h ``burst_tmr``h]j)}(hjgh]h burst_tmr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjgubj)}(hhh]jX)}(hXcontrols how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h]hXcontrols how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don’t set. Allowed values [0 .. 255].}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMFhjffubeh}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubjX)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj hubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjThhubjX)}(hA structure containing configuration parameters for setting/getting the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.h]hA structure containing configuration parameters for setting/getting the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.}(hj$hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjThhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_status (C struct)c.phy_plca_statushNtauh1hhjThhhNhNubh)}(hhh](h)}(hphy_plca_statush]h)}(hstruct phy_plca_statush](h)}(hjh]hstruct}(hjLhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHhhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNubj)}(h h]h }(hjZhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhhjYhhMNubj)}(hphy_plca_statush]j%)}(hjFhh]hphy_plca_status}(hjlhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhhjYhhMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhhjYhhMNubah}(h]j?hah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhhMNhjAhhhubjS)}(hhh]jX)}(hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhhjYhhMNubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhjThNhNubj})}(h**Definition**:: struct phy_plca_status { bool pst; }; **Members** ``pst`` The PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh:}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjhubjU)}(h)struct phy_plca_status { bool pst; };h]h)struct phy_plca_status { bool pst; };}hjhsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjhubjX)}(h **Members**h]j)}(hjhh]hMembers}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjhubj)}(hhh]j)}(ht``pst`` The PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h](j)}(h``pst``h]j)}(hjhh]hpst}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjhubj)}(hhh]jX)}(hlThe PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h]hlThe PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM[hjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihM[hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubjX)}(h**Description**h]j)}(hj=ih]h Description}(hj?ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;iubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjThhubjX)}(hA structure containing status information of the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.h]hA structure containing status information of the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.}(hjSihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjThhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_led (C struct) c.phy_ledhNtauh1hhjThhhNhNubh)}(hhh](h)}(hphy_ledh]h)}(hstruct phy_ledh](h)}(hjh]hstruct}(hj{ihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwihhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMcubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwihhhjihMcubj)}(hphy_ledh]j%)}(hjuih]hphy_led}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwihhhjihMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjsihhhjihMcubah}(h]jniah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihMchjpihhubjS)}(hhh]jX)}(hAn LED driven by the PHYh]hAn LED driven by the PHY}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMphjihhubah}(h]h ]h"]h$]h&]uh1jRhjpihhhjihMcubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjThNhNubj})}(hX7**Definition**:: struct phy_led { struct list_head list; struct phy_device *phydev; struct led_classdev led_cdev; u8 index; }; **Members** ``list`` List of LEDs ``phydev`` PHY this LED is attached to ``led_cdev`` Standard LED class structure ``index`` Number of the LEDh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh:}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjiubjU)}(h}struct phy_led { struct list_head list; struct phy_device *phydev; struct led_classdev led_cdev; u8 index; };h]h}struct phy_led { struct list_head list; struct phy_device *phydev; struct led_classdev led_cdev; u8 index; };}hjisbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhjiubjX)}(h **Members**h]j)}(hj jh]hMembers}(hj jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj jubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjiubj)}(hhh](j)}(h``list`` List of LEDs h](j)}(h``list``h]j)}(hj*jh]hlist}(hj,jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(jubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshj$jubj)}(hhh]jX)}(h List of LEDsh]h List of LEDs}(hjCjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?jhMshj@jubah}(h]h ]h"]h$]h&]uh1jhj$jubeh}(h]h ]h"]h$]h&]uh1jhj?jhMshj!jubj)}(h'``phydev`` PHY this LED is attached to h](j)}(h ``phydev``h]j)}(hjcjh]hphydev}(hjejhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjajubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthj]jubj)}(hhh]jX)}(hPHY this LED is attached toh]hPHY this LED is attached to}(hj|jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxjhMthjyjubah}(h]h ]h"]h$]h&]uh1jhj]jubeh}(h]h ]h"]h$]h&]uh1jhjxjhMthj!jubj)}(h*``led_cdev`` Standard LED class structure h](j)}(h ``led_cdev``h]j)}(hjjh]hled_cdev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjjubj)}(hhh]jX)}(hStandard LED class structureh]hStandard LED class structure}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMuhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMuhj!jubj)}(h``index`` Number of the LEDh](j)}(h ``index``h]j)}(hjjh]hindex}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjjubj)}(hhh]jX)}(hNumber of the LEDh]hNumber of the LED}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMuhj!jubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_driver (C struct) c.phy_driverhNtauh1hhjThhhNhNubh)}(hhh](h)}(h phy_driverh]h)}(hstruct phy_driverh](h)}(hjh]hstruct}(hj/khhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+khhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM|ubj)}(h h]h }(hj=khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+khhhjsupported. ``inband_caps`` query whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling. ``config_inband`` configure in-band mode for the PHY ``get_rate_matching`` Get the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``. ``suspend`` Suspend the hardware, saving state if needed ``resume`` Resume the hardware, restoring state if needed ``config_aneg`` Configures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off ``aneg_done`` Determines the auto negotiation result ``read_status`` Determines the negotiated speed and duplex ``config_intr`` Enables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them. ``handle_interrupt`` Override default interrupt handling ``remove`` Clears up any memory if needed ``match_phy_device`` Returns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask. ``set_wol`` Some devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function. ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. ``link_change_notify`` Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations. ``read_mmd`` PHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. ``write_mmd`` PHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written. ``read_page`` Return the current PHY register page number ``write_page`` Set the current PHY register page number ``module_info`` Get the size and type of the eeprom contained within a plug-in module ``module_eeprom`` Get the eeprom information from the plug-in module ``cable_test_start`` Start a cable test ``cable_test_tdr_start`` Start a raw TDR cable test ``cable_test_get_status`` Once per second, or on interrupt, request the status of the test. ``get_phy_stats`` Retrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored. Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. ``get_link_stats`` Retrieve link statistics. **dev**: The PHY device for which the statistics are retrieved. **link_stats**: structure where link-specific stats will be stored. Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. ``update_stats`` Trigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered. Periodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces. Return: 0 on success or a negative error code on failure. ``get_sset_count`` Number of statistic counters ``get_strings`` Names of the statistic counters ``get_stats`` Return the statistic counter values ``get_tunable`` Return the value of a tunable ``set_tunable`` Set the value of a tunable ``set_loopback`` Set the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported. ``get_sqi`` Get the signal quality indication ``get_sqi_max`` Get the maximum signal quality indication ``get_plca_cfg`` Return the current PLCA configuration ``set_plca_cfg`` Set the PLCA configuration ``get_plca_status`` Return the current PLCA status info ``led_brightness_set`` Set a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL. ``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. ``led_hw_is_supported`` Can the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rules Return 0 if yes, -EOPNOTSUPP if not, or an error code. ``led_hw_control_set`` Set the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LED Returns 0, or a an error code. ``led_hw_control_get`` Get how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LED Set ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens. ``led_polarity_set`` Set the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modes Configure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF. Returns 0, or an error code. ``get_next_update_time`` Get the time until the next update event **dev**: PHY device Callback to determine the time (in jiffies) until the next update event for the PHY state machine. Allows PHY drivers to dynamically adjust polling intervals based on link state or other conditions. Returns the time in jiffies until the next update event.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh:}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkubjU)}(hXJstruct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; u32 phy_id_mask; const unsigned long * const features; u32 flags; const void *driver_data; int (*soft_reset)(struct phy_device *phydev); int (*config_init)(struct phy_device *phydev); int (*probe)(struct phy_device *phydev); int (*get_features)(struct phy_device *phydev); unsigned int (*inband_caps)(struct phy_device *phydev, phy_interface_t interface); int (*config_inband)(struct phy_device *phydev, unsigned int modes); int (*get_rate_matching)(struct phy_device *phydev, phy_interface_t iface); int (*suspend)(struct phy_device *phydev); int (*resume)(struct phy_device *phydev); int (*config_aneg)(struct phy_device *phydev); int (*aneg_done)(struct phy_device *phydev); int (*read_status)(struct phy_device *phydev); int (*config_intr)(struct phy_device *phydev); irqreturn_t (*handle_interrupt)(struct phy_device *phydev); void (*remove)(struct phy_device *phydev); int (*match_phy_device)(struct phy_device *phydev, const struct phy_driver *phydrv); int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*link_change_notify)(struct phy_device *dev); int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page); int (*module_info)(struct phy_device *dev, struct ethtool_modinfo *modinfo); int (*module_eeprom)(struct phy_device *dev, struct ethtool_eeprom *ee, u8 *data); int (*cable_test_start)(struct phy_device *dev); int (*cable_test_tdr_start)(struct phy_device *dev, const struct phy_tdr_config *config); int (*cable_test_get_status)(struct phy_device *dev, bool *finished); void (*get_phy_stats)(struct phy_device *dev, struct ethtool_eth_phy_stats *eth_stats, struct ethtool_phy_stats *stats); void (*get_link_stats)(struct phy_device *dev, struct ethtool_link_ext_stats *link_stats); int (*update_stats)(struct phy_device *dev); int (*get_sset_count)(struct phy_device *dev); void (*get_strings)(struct phy_device *dev, u8 *data); void (*get_stats)(struct phy_device *dev, struct ethtool_stats *stats, u64 *data); int (*get_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, void *data); int (*set_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, const void *data); int (*set_loopback)(struct phy_device *dev, bool enable, int speed); int (*get_sqi)(struct phy_device *dev); int (*get_sqi_max)(struct phy_device *dev); int (*get_plca_cfg)(struct phy_device *dev, struct phy_plca_cfg *plca_cfg); int (*set_plca_cfg)(struct phy_device *dev, const struct phy_plca_cfg *plca_cfg); int (*get_plca_status)(struct phy_device *dev, struct phy_plca_status *plca_st); int (*led_brightness_set)(struct phy_device *dev, u8 index, enum led_brightness value); int (*led_blink_set)(struct phy_device *dev, u8 index, unsigned long *delay_on, unsigned long *delay_off); int (*led_hw_is_supported)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_set)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_get)(struct phy_device *dev, u8 index, unsigned long *rules); int (*led_polarity_set)(struct phy_device *dev, int index, unsigned long modes); unsigned int (*get_next_update_time)(struct phy_device *dev); };h]hXJstruct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; u32 phy_id_mask; const unsigned long * const features; u32 flags; const void *driver_data; int (*soft_reset)(struct phy_device *phydev); int (*config_init)(struct phy_device *phydev); int (*probe)(struct phy_device *phydev); int (*get_features)(struct phy_device *phydev); unsigned int (*inband_caps)(struct phy_device *phydev, phy_interface_t interface); int (*config_inband)(struct phy_device *phydev, unsigned int modes); int (*get_rate_matching)(struct phy_device *phydev, phy_interface_t iface); int (*suspend)(struct phy_device *phydev); int (*resume)(struct phy_device *phydev); int (*config_aneg)(struct phy_device *phydev); int (*aneg_done)(struct phy_device *phydev); int (*read_status)(struct phy_device *phydev); int (*config_intr)(struct phy_device *phydev); irqreturn_t (*handle_interrupt)(struct phy_device *phydev); void (*remove)(struct phy_device *phydev); int (*match_phy_device)(struct phy_device *phydev, const struct phy_driver *phydrv); int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*link_change_notify)(struct phy_device *dev); int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page); int (*module_info)(struct phy_device *dev, struct ethtool_modinfo *modinfo); int (*module_eeprom)(struct phy_device *dev, struct ethtool_eeprom *ee, u8 *data); int (*cable_test_start)(struct phy_device *dev); int (*cable_test_tdr_start)(struct phy_device *dev, const struct phy_tdr_config *config); int (*cable_test_get_status)(struct phy_device *dev, bool *finished); void (*get_phy_stats)(struct phy_device *dev, struct ethtool_eth_phy_stats *eth_stats, struct ethtool_phy_stats *stats); void (*get_link_stats)(struct phy_device *dev, struct ethtool_link_ext_stats *link_stats); int (*update_stats)(struct phy_device *dev); int (*get_sset_count)(struct phy_device *dev); void (*get_strings)(struct phy_device *dev, u8 *data); void (*get_stats)(struct phy_device *dev, struct ethtool_stats *stats, u64 *data); int (*get_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, void *data); int (*set_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, const void *data); int (*set_loopback)(struct phy_device *dev, bool enable, int speed); int (*get_sqi)(struct phy_device *dev); int (*get_sqi_max)(struct phy_device *dev); int (*get_plca_cfg)(struct phy_device *dev, struct phy_plca_cfg *plca_cfg); int (*set_plca_cfg)(struct phy_device *dev, const struct phy_plca_cfg *plca_cfg); int (*get_plca_status)(struct phy_device *dev, struct phy_plca_status *plca_st); int (*led_brightness_set)(struct phy_device *dev, u8 index, enum led_brightness value); int (*led_blink_set)(struct phy_device *dev, u8 index, unsigned long *delay_on, unsigned long *delay_off); int (*led_hw_is_supported)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_set)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_get)(struct phy_device *dev, u8 index, unsigned long *rules); int (*led_polarity_set)(struct phy_device *dev, int index, unsigned long modes); unsigned int (*get_next_update_time)(struct phy_device *dev); };}hjksbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkubjX)}(h **Members**h]j)}(hjkh]hMembers}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkubj)}(hhh](j)}(h,``mdiodrv`` Data common to all MDIO devices h](j)}(h ``mdiodrv``h]j)}(hjkh]hmdiodrv}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkubj)}(hhh]jX)}(hData common to all MDIO devicesh]hData common to all MDIO devices}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(h``phy_id`` The result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field h](j)}(h ``phy_id``h]j)}(hjlh]hphy_id}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubj)}(hhh]jX)}(hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this fieldh]hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field}(hj0lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj-lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj,lhMhjkubj)}(h,``name`` The friendly name of this PHY type h](j)}(h``name``h]j)}(hjQlh]hname}(hjSlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKlubj)}(hhh]jX)}(h"The friendly name of this PHY typeh]h"The friendly name of this PHY type}(hjjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjflhMhjglubah}(h]h ]h"]h$]h&]uh1jhjKlubeh}(h]h ]h"]h$]h&]uh1jhjflhMhjkubj)}(h9``phy_id_mask`` Defines the important bits of the phy_id h](j)}(h``phy_id_mask``h]j)}(hjlh]h phy_id_mask}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubj)}(hhh]jX)}(h(Defines the important bits of the phy_idh]h(Defines the important bits of the phy_id}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjkubj)}(hU``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY h](j)}(h ``features``h]j)}(hjlh]hfeatures}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubj)}(hhh]jX)}(hGA mandatory list of features (speed, duplex, etc) supported by this PHYh]hGA mandatory list of features (speed, duplex, etc) supported by this PHY}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjkubj)}(hY``flags`` A bitfield defining certain other features this PHY supports (like interrupts) h](j)}(h ``flags``h]j)}(hjlh]hflags}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubj)}(hhh]jX)}(hNA bitfield defining certain other features this PHY supports (like interrupts)h]hNA bitfield defining certain other features this PHY supports (like interrupts)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjkubj)}(h#``driver_data`` Static driver data h](j)}(h``driver_data``h]j)}(hj7mh]h driver_data}(hj9mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5mubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj1mubj)}(hhh]jX)}(hStatic driver datah]hStatic driver data}(hjPmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLmhMhjMmubah}(h]h ]h"]h$]h&]uh1jhj1mubeh}(h]h ]h"]h$]h&]uh1jhjLmhMhjkubj)}(h4``soft_reset`` Called to issue a PHY software reset h](j)}(h``soft_reset``h]j)}(hjpmh]h soft_reset}(hjrmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjmubj)}(hhh]jX)}(h$Called to issue a PHY software reseth]h$Called to issue a PHY software reset}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjkubj)}(hF``config_init`` Called to initialize the PHY, including after a reset h](j)}(h``config_init``h]j)}(hjmh]h config_init}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmubj)}(hhh]jX)}(h5Called to initialize the PHY, including after a reseth]h5Called to initialize the PHY, including after a reset}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjkubj)}(hV``probe`` Called during discovery. Used to set up device-specific structures, if any h](j)}(h ``probe``h]j)}(hjmh]hprobe}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmubj)}(hhh]jX)}(hKCalled during discovery. Used to set up device-specific structures, if anyh]hKCalled during discovery. Used to set up device-specific structures, if any}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjkubj)}(hl``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. h](j)}(h``get_features``h]j)}(hjnh]h get_features}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubj)}(hhh]jX)}(hZProbe the hardware to determine what abilities it has. Should only set phydev->supported.h]hZProbe the hardware to determine what abilities it has. Should only set phydev->supported.}(hj6nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3nubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhj2nhMhjkubj)}(h``inband_caps`` query whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling. h](j)}(h``inband_caps``h]j)}(hjWnh]h inband_caps}(hjYnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjQnubj)}(hhh]jX)}(hquery whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling.h]hquery whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling.}(hjpnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmnubah}(h]h ]h"]h$]h&]uh1jhjQnubeh}(h]h ]h"]h$]h&]uh1jhjlnhMhjkubj)}(h5``config_inband`` configure in-band mode for the PHY h](j)}(h``config_inband``h]j)}(hjnh]h config_inband}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubj)}(hhh]jX)}(h"configure in-band mode for the PHYh]h"configure in-band mode for the PHY}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjkubj)}(hX``get_rate_matching`` Get the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``. h](j)}(h``get_rate_matching``h]j)}(hjnh]hget_rate_matching}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubj)}(hhh]jX)}(hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``.h](hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface’s rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return }(hjnhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjkubj)}(h9``suspend`` Suspend the hardware, saving state if needed h](j)}(h ``suspend``h]j)}(hjoh]hsuspend}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubj)}(hhh]jX)}(h,Suspend the hardware, saving state if neededh]h,Suspend the hardware, saving state if needed}(hj/ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+ohMhj,oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj+ohMhjkubj)}(h:``resume`` Resume the hardware, restoring state if needed h](j)}(h ``resume``h]j)}(hjOoh]hresume}(hjQohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIoubj)}(hhh]jX)}(h.Resume the hardware, restoring state if neededh]h.Resume the hardware, restoring state if needed}(hjhohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdohMhjeoubah}(h]h ]h"]h$]h&]uh1jhjIoubeh}(h]h ]h"]h$]h&]uh1jhjdohMhjkubj)}(h``config_aneg`` Configures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off h](j)}(h``config_aneg``h]j)}(hjoh]h config_aneg}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubj)}(hhh]jX)}(hConfigures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is offh]hConfigures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjkubj)}(h5``aneg_done`` Determines the auto negotiation result h](j)}(h ``aneg_done``h]j)}(hjoh]h aneg_done}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubj)}(hhh]jX)}(h&Determines the auto negotiation resulth]h&Determines the auto negotiation result}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjkubj)}(h;``read_status`` Determines the negotiated speed and duplex h](j)}(h``read_status``h]j)}(hjoh]h read_status}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubj)}(hhh]jX)}(h*Determines the negotiated speed and duplexh]h*Determines the negotiated speed and duplex}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjphMhjkubj)}(h``config_intr`` Enables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them. h](j)}(h``config_intr``h]j)}(hj4ph]h config_intr}(hj6phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2pubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj.pubj)}(hhh]jX)}(hEnables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them.h]hEnables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them.}(hjMphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJpubah}(h]h ]h"]h$]h&]uh1jhj.pubeh}(h]h ]h"]h$]h&]uh1jhjIphMhjkubj)}(h9``handle_interrupt`` Override default interrupt handling h](j)}(h``handle_interrupt``h]j)}(hjnph]hhandle_interrupt}(hjpphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhpubj)}(hhh]jX)}(h#Override default interrupt handlingh]h#Override default interrupt handling}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjhpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjkubj)}(h*``remove`` Clears up any memory if needed h](j)}(h ``remove``h]j)}(hjph]hremove}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjpubj)}(hhh]jX)}(hClears up any memory if neededh]hClears up any memory if needed}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjkubj)}(h``match_phy_device`` Returns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask. h](j)}(h``match_phy_device``h]j)}(hjph]hmatch_phy_device}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjpubj)}(hhh]jX)}(hvReturns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask.h]hvReturns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjkubj)}(h``set_wol`` Some devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function. h](j)}(h ``set_wol``h]j)}(hjqh]hset_wol}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubj)}(hhh]jX)}(hSome devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function.h]hSome devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver’s set_wol function.}(hj3qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj/qhMhjkubj)}(hJ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. h](j)}(h ``get_wol``h]j)}(hjTqh]hget_wol}(hjVqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNqubj)}(hhh]jX)}(h=See set_wol, but for checking whether Wake on LAN is enabled.h]h=See set_wol, but for checking whether Wake on LAN is enabled.}(hjmqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjqubah}(h]h ]h"]h$]h&]uh1jhjNqubeh}(h]h ]h"]h$]h&]uh1jhjiqhMhjkubj)}(hXB``link_change_notify`` Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations. h](j)}(h``link_change_notify``h]j)}(hjqh]hlink_change_notify}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubj)}(hhh]jX)}(hX*Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations.h]hX*Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjkubj)}(hX``read_mmd`` PHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. h](j)}(h ``read_mmd``h]j)}(hjqh]hread_mmd}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubj)}(hhh]jX)}(hXPHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device.h]hXPHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjkubj)}(hX``write_mmd`` PHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written. h](j)}(h ``write_mmd``h]j)}(hjrh]h write_mmd}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&hjqubj)}(hhh]jX)}(hXPHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written.h]hXPHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjrhM&hjkubj)}(h:``read_page`` Return the current PHY register page number h](j)}(h ``read_page``h]j)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:rubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hj6rubj)}(hhh]jX)}(h+Return the current PHY register page numberh]h+Return the current PHY register page number}(hjUrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQrhM+hjRrubah}(h]h ]h"]h$]h&]uh1jhj6rubeh}(h]h ]h"]h$]h&]uh1jhjQrhM+hjkubj)}(h8``write_page`` Set the current PHY register page number h](j)}(h``write_page``h]j)}(hjurh]h write_page}(hjwrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM-hjorubj)}(hhh]jX)}(h(Set the current PHY register page numberh]h(Set the current PHY register page number}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM-hjrubah}(h]h ]h"]h$]h&]uh1jhjorubeh}(h]h ]h"]h$]h&]uh1jhjrhM-hjkubj)}(hV``module_info`` Get the size and type of the eeprom contained within a plug-in module h](j)}(h``module_info``h]j)}(hjrh]h module_info}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjrubj)}(hhh]jX)}(hEGet the size and type of the eeprom contained within a plug-in moduleh]hEGet the size and type of the eeprom contained within a plug-in module}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM2hjkubj)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hjrh]h module_eeprom}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjrubj)}(hhh]jX)}(h2Get the eeprom information from the plug-in moduleh]h2Get the eeprom information from the plug-in module}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM9hjkubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hj"sh]hcable_test_start}(hj$shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj subah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjsubj)}(hhh]jX)}(hStart a cable testh]hStart a cable test}(hj;shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7shM>hj8subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj7shM>hjkubj)}(h4``cable_test_tdr_start`` Start a raw TDR cable test h](j)}(h``cable_test_tdr_start``h]j)}(hj[sh]hcable_test_tdr_start}(hj]shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjUsubj)}(hhh]jX)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjtshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjpshMAhjqsubah}(h]h ]h"]h$]h&]uh1jhjUsubeh}(h]h ]h"]h$]h&]uh1jhjpshMAhjkubj)}(h\``cable_test_get_status`` Once per second, or on interrupt, request the status of the test. h](j)}(h``cable_test_get_status``h]j)}(hjsh]hcable_test_get_status}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjsubj)}(hhh]jX)}(hAOnce per second, or on interrupt, request the status of the test.h]hAOnce per second, or on interrupt, request the status of the test.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMGhjkubj)}(hX>``get_phy_stats`` Retrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored. Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. h](j)}(h``get_phy_stats``h]j)}(hjsh]h get_phy_stats}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjsubj)}(hhh](jX)}(hRetrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored.h](hRetrieve PHY statistics. }(hjshhhNhNubj)}(h**dev**h]hdev}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh9: The PHY device for which the statistics are retrieved. }(hjshhhNhNubj)}(h **eth_stats**h]h eth_stats}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh5: structure where Ethernet PHY stats will be stored. }(hjshhhNhNubj)}(h **stats**h]hstats}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh?: structure where additional PHY-specific stats will be stored.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhjsubjX)}(hXFRetrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](h|Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with }(hj,thhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj4thhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj,tubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hj,thhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjFthhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj,tubh' and will not be returned to userspace.}(hj,thhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjsubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMVhjkubj)}(hX``get_link_stats`` Retrieve link statistics. **dev**: The PHY device for which the statistics are retrieved. **link_stats**: structure where link-specific stats will be stored. Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. h](j)}(h``get_link_stats``h]j)}(hjqth]hget_link_stats}(hjsthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjotubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjktubj)}(hhh](jX)}(hRetrieve link statistics. **dev**: The PHY device for which the statistics are retrieved. **link_stats**: structure where link-specific stats will be stored.h](hRetrieve link statistics. }(hjthhhNhNubj)}(h**dev**h]hdev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh9: The PHY device for which the statistics are retrieved. }(hjthhhNhNubj)}(h**link_stats**h]h link_stats}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh5: structure where link-specific stats will be stored.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjtubjX)}(hX2Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](hhRetrieves link-related statistics for the given PHY device. The input structure is pre-initialized with }(hjthhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjtubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjthhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjtubh' and will not be returned to userspace.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjtubeh}(h]h ]h"]h$]h&]uh1jhjktubeh}(h]h ]h"]h$]h&]uh1jhjthMehjkubj)}(hX``update_stats`` Trigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered. Periodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces. Return: 0 on success or a negative error code on failure. h](j)}(h``update_stats``h]j)}(hjuh]h update_stats}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjtubj)}(hhh](jX)}(hhTrigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered.h](h%Trigger periodic statistics updates. }(hjuhhhNhNubj)}(h**dev**h]hdev}(hj#uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh<: The PHY device for which statistics updates are triggered.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjuubjX)}(hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces.h](hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the }(hj 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported. h](j)}(h``set_loopback``h]j)}(hjvh]h set_loopback}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubj)}(hhh]jX)}(hXSet the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported.h]hXSet the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjkubj)}(h.``get_sqi`` Get the signal quality indication h](j)}(h ``get_sqi``h]j)}(hjvh]hget_sqi}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubj)}(hhh]jX)}(h!Get the signal quality indicationh]h!Get the signal quality indication}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjkubj)}(h:``get_sqi_max`` Get the maximum signal quality indication h](j)}(h``get_sqi_max``h]j)}(hjwh]h get_sqi_max}(hj!whhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(hhh]jX)}(h)Get the maximum signal quality indicationh]h)Get the maximum signal quality indication}(hj8whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4whMhj5wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj4whMhjkubj)}(h7``get_plca_cfg`` Return the current PLCA configuration h](j)}(h``get_plca_cfg``h]j)}(hjXwh]h get_plca_cfg}(hjZwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRwubj)}(hhh]jX)}(h%Return the current PLCA configurationh]h%Return the current PLCA configuration}(hjqwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmwhMhjnwubah}(h]h ]h"]h$]h&]uh1jhjRwubeh}(h]h ]h"]h$]h&]uh1jhjmwhMhjkubj)}(h,``set_plca_cfg`` Set the PLCA configuration h](j)}(h``set_plca_cfg``h]j)}(hjwh]h set_plca_cfg}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(hhh]jX)}(hSet the PLCA configurationh]hSet the PLCA configuration}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjkubj)}(h8``get_plca_status`` Return the current PLCA status info h](j)}(h``get_plca_status``h]j)}(hjwh]hget_plca_status}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(hhh]jX)}(h#Return the current PLCA status infoh]h#Return the current PLCA status info}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjkubj)}(h``led_brightness_set`` Set a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL. h](j)}(h``led_brightness_set``h]j)}(hjxh]hled_brightness_set}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(hhh]jX)}(hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.h]hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjkubj)}(hX/``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. h](j)}(h``led_blink_set``h]j)}(hj=xh]h led_blink_set}(hj?xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;xubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7xubj)}(hhh]jX)}(hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly.h]hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can’t match the values specified exactly.}(hjVxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjSxubah}(h]h ]h"]h$]h&]uh1jhj7xubeh}(h]h ]h"]h$]h&]uh1jhjRxhMhjkubj)}(h``led_hw_is_supported`` Can the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rules Return 0 if yes, -EOPNOTSUPP if not, or an error code. h](j)}(h``led_hw_is_supported``h]j)}(hjwxh]hled_hw_is_supported}(hjyxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqxubj)}(hhh](jX)}(hCan the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rulesh](h$Can the HW support the given rules. }(hjxhhhNhNubj)}(h**dev**h]hdev}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh: PHY device which has the LED }(hjxhhhNhNubj)}(h **index**h]hindex}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh: Which LED of the PHY device }(hjxhhhNhNubj)}(h **rules**h]hrules}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh& The core is interested in these rules}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubjX)}(h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.h]h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubeh}(h]h ]h"]h$]h&]uh1jhjqxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjkubj)}(h``led_hw_control_set`` Set the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LED Returns 0, or a an error code. h](j)}(h``led_hw_control_set``h]j)}(hjxh]hled_hw_control_set}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubj)}(hhh](jX)}(hSet the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LEDh](hSet the HW to control the LED }(hjyhhhNhNubj)}(h**dev**h]hdev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh: PHY device which has the LED }(hjyhhhNhNubj)}(h **index**h]hindex}(hj(yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh: Which LED of the PHY device }(hjyhhhNhNubj)}(h **rules**h]hrules}(hj:yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh" The rules used to control the LED}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj yubjX)}(hReturns 0, or a an error code.h]hReturns 0, or a an error code.}(hjSyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj yhMhj yubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj yhMhjkubj)}(hXq``led_hw_control_get`` Get how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LED Set ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens. h](j)}(h``led_hw_control_get``h]j)}(hjsyh]hled_hw_control_get}(hjuyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmyubj)}(hhh](jX)}(hGet how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LEDh](h&Get how the HW is controlling the LED }(hjyhhhNhNubj)}(h**dev**h]hdev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh: PHY device which has the LED }(hjyhhhNhNubj)}(h **index**h]hindex}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh: Which LED of the PHY device }(hjyhhhNhNubj)}(h **rules**h]hrules}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh- Pointer to the rules used to control the LED}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubjX)}(hSet ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens.h](hSet }(hjyhhhNhNubj)}(h ***rules**h]h*rules}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubeh}(h]h ]h"]h$]h&]uh1jhjmyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjkubj)}(hX)``led_polarity_set`` Set the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modes Configure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF. Returns 0, or an error code. h](j)}(h``led_polarity_set``h]j)}(hjzh]hled_polarity_set}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh](jX)}(hSet the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modesh](hSet the LED polarity modes }(hjzhhhNhNubj)}(h**dev**h]hdev}(hj%zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh: PHY device which has the LED }(hjzhhhNhNubj)}(h **index**h]hindex}(hj7zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh: Which LED of the PHY device }(hjzhhhNhNubj)}(h **modes**h]hmodes}(hjIzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh: bitmap of LED polarity modes}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubjX)}(hdConfigure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF.h](h6Configure LED with all the required polarity modes in }(hjbzhhhNhNubj)}(h **modes**h]hmodes}(hjjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbzubh% to make it correctly turn ON or OFF.}(hjbzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubjX)}(hReturns 0, or an error code.h]hReturns 0, or an error code.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhjzubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjkubj)}(hXX``get_next_update_time`` Get the time until the next update event **dev**: PHY device Callback to determine the time (in jiffies) until the next update event for the PHY state machine. Allows PHY drivers to dynamically adjust polling intervals based on link state or other conditions. Returns the time in jiffies until the next update event.h](j)}(h``get_next_update_time``h]j)}(hjzh]hget_next_update_time}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubj)}(hhh](jX)}(hh]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hphydevh]hphydev}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hu32 idh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j~c.phydev_id_compareasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hidh]hid}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZ~hhhjk~hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjV~hhhjk~hM ubah}(h]jQ~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjk~hM hjS~hhubjS)}(hhh]jX)}(h*compare **id** with the PHY's Clause 22 IDh](hcompare }(hjehhhNhNubj)}(h**id**h]hid}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh with the PHY’s Clause 22 ID}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjbhhubah}(h]h ]h"]h$]h&]uh1jRhjS~hhhjk~hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX2**Parameters** ``struct phy_device *phydev`` the PHY device ``u32 id`` the PHY ID to be matched **Description** Compare the **phydev** clause 22 ID with the provided **id** and return true or false depending whether it matches, using the bound driver mask. The **phydev** must be bound to a driver.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h-``struct phy_device *phydev`` the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jX)}(hthe PHY deviceh]hthe PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h$``u32 id`` the PHY ID to be matched h](j)}(h ``u32 id``h]j)}(hjh]hu32 id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jX)}(hthe PHY ID to be matchedh]hthe PHY ID to be matched}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hCompare the **phydev** clause 22 ID with the provided **id** and return true or false depending whether it matches, using the bound driver mask. The **phydev** must be bound to a driver.h](h Compare the }(hjBhhhNhNubj)}(h **phydev**h]hphydev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh clause 22 ID with the provided }(hjBhhhNhNubj)}(h**id**h]hid}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubhY and return true or false depending whether it matches, using the bound driver mask. The }(hjBhhhNhNubj)}(h **phydev**h]hphydev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh must be bound to a driver.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhjThhhNhNubh)}(hhh](h)}(h/bool phy_is_started (struct phy_device *phydev)h]h)}(h.bool phy_is_started(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_is_startedh]j%)}(hphy_is_startedh]hphy_is_started}(hjǀhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjÀubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj߀ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj߀ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjɀsbc.phy_is_startedasbuh1hhj߀ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj߀ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj߀ubj%)}(hphydevh]hphydev}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj߀ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjۀubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h4Convenience function to check whether PHY is startedh]h4Convenience function to check whether PHY is started}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjchhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` The phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM"hjubj)}(hhh]j)}(h3``struct phy_device *phydev`` The phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_driver_is_genphy (C function)c.phy_driver_is_genphyhNtauh1hhjThhhNhNubh)}(hhh](h)}(h5bool phy_driver_is_genphy (struct phy_device *phydev)h]h)}(h4bool phy_driver_is_genphy(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM'ubj)}(hphy_driver_is_genphyh]j%)}(hphy_driver_is_genphyh]hphy_driver_is_genphy}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM'ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj#sbc.phy_driver_is_genphyasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM'ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hjhhubjS)}(hhh]jX)}(hUConvenience function to check whether PHY is driven by one of the generic PHY driversh]hUConvenience function to check whether PHY is driven by one of the generic PHY drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj؂jxj؂jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true if PHY is driven by one of the genphy driversh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hj܂ubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhj܂ubjX)}(h **Return**h]j)}(hj<h]hReturn}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hj܂ubjX)}(h2true if PHY is driven by one of the genphy driversh]h2true if PHY is driven by one of the genphy drivers}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hj܂ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhjThhhNhNubh)}(hhh](h)}(hDvoid phy_disable_eee_mode (struct phy_device *phydev, u32 link_mode)h]h)}(hCvoid phy_disable_eee_mode(struct phy_device *phydev, u32 link_mode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhM2ubj)}(hphy_disable_eee_modeh]j%)}(hphy_disable_eee_modeh]hphy_disable_eee_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhM2ubj)}(h*(struct phy_device *phydev, u32 link_mode)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj˃hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj܃hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjكubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjރmodnameN classnameNjj!)}j$]j')}jjsbc.phy_disable_eee_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 link_modeh](h)}(hhh]j%)}(hu32h]hu32}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]jc.phy_disable_eee_modeasbuh1hhj,ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(h link_modeh]h link_mode}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhM2ubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM2hjvhhubjS)}(hhh]jX)}(hDon't advertise an EEE mode.h]hDon’t advertise an EEE mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hv**Parameters** ``struct phy_device *phydev`` The phy_device struct ``u32 link_mode`` The EEE mode to be disabledh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjʄh]hstruct phy_device *phydev}(hj̄hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȄubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjĄubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj߄hM3hjubah}(h]h ]h"]h$]h&]uh1jhjĄubeh}(h]h ]h"]h$]h&]uh1jhj߄hM3hjubj)}(h-``u32 link_mode`` The EEE mode to be disabledh](j)}(h``u32 link_mode``h]j)}(hjh]h u32 link_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjubj)}(hhh]jX)}(hThe EEE mode to be disabledh]hThe EEE mode to be disabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhjThhhNhNubh)}(hhh](h)}(h4int phy_read (struct phy_device *phydev, u32 regnum)h]h)}(h3int phy_read(struct phy_device *phydev, u32 regnum)h](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMBubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMBubj)}(hphy_readh]j%)}(hphy_readh]hphy_read}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMBubj)}(h'(struct phy_device *phydev, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.phy_readasbuh1hhjubj)}(h h]h }(hj؅hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jԅ c.phy_readasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjkhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMBubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMBhjRhhubjS)}(hhh]jX)}(h5Convenience function for reading a given PHY registerh]h5Convenience function for reading a given PHY register}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMBhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj߆h]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݆ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhjنubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjنubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhjThhhNhNubh)}(hhh](h)}(h6int __phy_read (struct phy_device *phydev, u32 regnum)h]h)}(h5int __phy_read(struct phy_device *phydev, u32 regnum)h](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhM^ubj)}(h __phy_readh]j%)}(h __phy_readh]h __phy_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjmhM^ubj)}(h'(struct phy_device *phydev, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.__phy_readasbuh1hhjubj)}(h h]h }(hjڇhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jև c.__phy_readasbuh1hhj ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hregnumh]hregnum}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhjmhM^ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhM^ubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhM^hjThhubjS)}(hhh]jX)}(h5convenience function for reading a given PHY registerh]h5convenience function for reading a given PHY register}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjdhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjmhM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߈ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjۈubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjۈubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhjThhhNhNubh)}(hhh](h)}(h>int phy_write (struct phy_device *phydev, u32 regnum, u16 val)h]h)}(h=int phy_write(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohMjubj)}(h phy_writeh]j%)}(h phy_writeh]h phy_write}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhjohMjubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.phy_writeasbuh1hhjubj)}(h h]h }(hj܉hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j؉ c.phy_writeasbuh1hhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hregnumh]hregnum}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j؉ c.phy_writeasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhjohMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjohMjubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohMjhjVhhubjS)}(hhh]jX)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjohMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjɊjxjɊjyjzj{uh1hhhhjThNhNubj})}(hX,**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjӊh]h Parameters}(hjՊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjъubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhj͊ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj+h]h u32 regnum}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhj%ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMlhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMlhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjdh]hu16 val}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhj^ubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj}hhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jWhjyhMmhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMmhjubeh}(h]h ]h"]h$]h&]uh1jhj͊ubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohj͊ubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjËhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohj͊ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhjThhhNhNubh)}(hhh](h)}(h@int __phy_write (struct phy_device *phydev, u32 regnum, u16 val)h]h)}(h?int __phy_write(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMyubj)}(h __phy_writeh]j%)}(h __phy_writeh]h __phy_write}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMyubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjsb c.__phy_writeasbuh1hhj+ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]ji c.__phy_writeasbuh1hhjubj)}(h h]h }(hjŒhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjЌhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]ji c.__phy_writeasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMyubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMyhjhhubjS)}(hhh]jX)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given PHY register}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhj?hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hj^ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhj}ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjzubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjՍhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjэhM{hjҍubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjэhM{hjzubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM|hjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhj hM|hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM|hjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubjX)}(h**Description**h]j)}(hj>h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM~hj^ubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hSint __phy_modify_changed (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]h)}(hRint __phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_modify_changedh]j%)}(h__phy_modify_changedh]h__phy_modify_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj͎hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjގhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjێubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jc.__phy_modify_changedasbuh1hhj.ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hregnumh]hregnum}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_changedasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjŏhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjǏmodnameN classnameNjj!)}j$]jc.__phy_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhjhMubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjxhhubjS)}(hhh]jX)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Unlocked helper function which allows a PHY register to be modified as new register value = (old register value & ~mask) | set Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj\h]hstruct phy_device *phydev}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjuhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjqhMhjuubeh}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjSubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hj͐hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjɐhMhjʐubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɐhMhjSubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjSubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj&h]hu16 set}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7ubjX)}(h~Unlocked helper function which allows a PHY register to be modified as new register value = (old register value & ~mask) | seth]h~Unlocked helper function which allows a PHY register to be modified as new register value = (old register value & ~mask) | set}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7ubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhjThhhNhNubh)}(hhh](h)}(hphy_read_mmd_poll_timeouth]h)}(hphy_read_mmd_poll_timeouth]j)}(hphy_read_mmd_poll_timeouth]j%)}(hjh]hphy_read_mmd_poll_timeout}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj̑hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj̑hMhjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhj̑hMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubjX)}(hk``phy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)``h]j)}(hjh]hgphy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjThhubj )}(hNPeriodically poll a PHY register until a condition is met or a timeout occurs h]jX)}(hMPeriodically poll a PHY register until a condition is met or a timeout occursh]hMPeriodically poll a PHY register until a condition is met or a timeout occurs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjThhubj})}(hX**Parameters** ``phydev`` The phy_device struct ``devaddr`` The MMD to read from ``regnum`` The register on the MMD to read ``val`` Variable to read the register into ``cond`` Break condition (usually involving **val**) ``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. ``timeout_us`` Timeout in us, 0 means never timeout ``sleep_before_read`` if it is true, sleep **sleep_us** before read. **Return** 0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h!``phydev`` The phy_device struct h](j)}(h ``phydev``h]j)}(hj?h]hphydev}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9ubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(h!``devaddr`` The MMD to read from h](j)}(h ``devaddr``h]j)}(hjxh]hdevaddr}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h+``regnum`` The register on the MMD to read h](j)}(h ``regnum``h]j)}(hjh]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjʒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjƒhMhjǒubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƒhMhj6ubj)}(h+``val`` Variable to read the register into h](j)}(h``val``h]j)}(hjh]hval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h"Variable to read the register intoh]h"Variable to read the register into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hj#h]hcond}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h+Break condition (usually involving **val**)h](h#Break condition (usually involving }(hj<hhhNhNubj)}(h**val**h]hval}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh)}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj6ubj)}(h``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. h](j)}(h ``sleep_us``h]j)}(hjnh]hsleep_us}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhubj)}(hhh]jX)}(hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.h]hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h4``timeout_us`` Timeout in us, 0 means never timeout h](j)}(h``timeout_us``h]j)}(hjh]h timeout_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h$Timeout in us, 0 means never timeouth]h$Timeout in us, 0 means never timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hE``sleep_before_read`` if it is true, sleep **sleep_us** before read. h](j)}(h``sleep_before_read``h]j)}(hjh]hsleep_before_read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߓubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjۓubj)}(hhh]jX)}(h.if it is true, sleep **sleep_us** before read.h](hif it is true, sleep }(hjhhhNhNubj)}(h **sleep_us**h]hsleep_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before read.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjۓubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hj.h]hReturn}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](hS0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at }(hjDhhhNhNubj)}(h**args**h]hargs}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh is stored in }(hjDhhhNhNubj)}(h**val**h]hval}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubhL. Must not be called from atomic context if sleep_us or timeout_us are used.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhjThhhNhNubh)}(hhh](h)}(hCint __phy_set_bits (struct phy_device *phydev, u32 regnum, u16 val)h]h)}(hBint __phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_set_bitsh]j%)}(h__phy_set_bitsh]h__phy_set_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjԔhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjДubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjДubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_set_bitsasbuh1hhjДubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjДubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjДubj%)}(hphydevh]hphydev}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjДubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj̔ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]jc.__phy_set_bitsasbuh1hhjBubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hregnumh]hregnum}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj̔ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_set_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj̔ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h7Convenience function for setting bits in a PHY registerh]h7Convenience function for setting bits in a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to set **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj(h]hstruct phy_device *phydev}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj"ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjah]h u32 regnum}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj[ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjՖh]h Description}(hjזhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӖubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhjThhhNhNubh)}(hhh](h)}(hEint __phy_clear_bits (struct phy_device *phydev, u32 regnum, u16 val)h]h)}(hDint __phy_clear_bits(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hMubj)}(h__phy_clear_bitsh]j%)}(h__phy_clear_bitsh]h__phy_clear_bits}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jj=sbc.__phy_clear_bitsasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj̗hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjɗubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjΗmodnameN classnameNjj!)}j$]jc.__phy_clear_bitsasbuh1hhjŗubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjŗubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjŗubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_clear_bitsasbuh1hhj ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hvalh]hval}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMhjhhubjS)}(hhh]jX)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjghhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to clear **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjĘhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjޘubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjޘubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhjThhhNhNubh)}(hhh](h)}(hAint phy_set_bits (struct phy_device *phydev, u32 regnum, u16 val)h]h)}(h@int phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h phy_set_bitsh]j%)}(h phy_set_bitsh]h phy_set_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjڙhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֙ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֙ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_set_bitsasbuh1hhj֙ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֙ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj֙ubj%)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֙ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҙubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jc.phy_set_bitsasbuh1hhjHubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hregnumh]hregnum}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҙubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_set_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjÚhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҙubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h7Convenience function for setting bits in a PHY registerh]h7Convenience function for setting bits in a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to seth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj.h]hstruct phy_device *phydev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj(ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhj%ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjgh]h u32 regnum}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjaubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj%ubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhjThhhNhNubh)}(hhh](h)}(hCint phy_clear_bits (struct phy_device *phydev, u32 regnum, u16 val)h]h)}(hBint phy_clear_bits(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_clear_bitsh]j%)}(hphy_clear_bitsh]hphy_clear_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjsbc.phy_clear_bitsasbuh1hhj3ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jqc.phy_clear_bitsasbuh1hhjubj)}(h h]h }(hjʜhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj؜hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jqc.phy_clear_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjGhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to clearh](jX)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjfubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjĝh]h u32 regnum}(hjƝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjݝhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjٝhM hjڝubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٝhM hjubj)}(h``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hRint __phy_set_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hQint __phy_set_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehMubj)}(h__phy_set_bits_mmdh]j%)}(h__phy_set_bits_mmdh]h__phy_set_bits_mmd}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjehMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjzsbc.__phy_set_bits_mmdasbuh1hhjubj)}(h h]h }(hjҞhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]jΞc.__phy_set_bits_mmdasbuh1hhj7ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(hregnumh]hregnum}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jΞc.__phy_set_bits_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjehMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMhjLhhubjS)}(hhh]jX)}(h:Convenience function for setting bits in a register on MMDh]h:Convenience function for setting bits in a register on MMD}(hjܟhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjٟhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to set **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjVh]h int devad}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjPubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hjȠh]hu16 val}(hjʠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƠubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jX)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjݠhMhjޠubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjݠhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hTint __phy_clear_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hSint __phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhM%ubj)}(h__phy_clear_bits_mmdh]j%)}(h__phy_clear_bits_mmdh]h__phy_clear_bits_mmd}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjVhM%ubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjksbc.__phy_clear_bits_mmdasbuh1hhjubj)}(h h]h }(hjáhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjѡhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjޡhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jc.__phy_clear_bits_mmdasbuh1hhj(ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj%)}(hregnumh]hregnum}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]jc.__phy_clear_bits_mmdasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjVhM%ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjVhM%ubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhM%hj=hhubjS)}(hhh]jX)}(h;Convenience function for clearing bits in a register on MMDh]h;Convenience function for clearing bits in a register on MMD}(hj͢hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hjʢhhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhjVhM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to clear **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM'hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM'hjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjGh]h int devad}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjAubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hM(hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM(hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hjzubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hjңhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjΣhM*hjϣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΣhM*hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM,hjubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hPint phy_set_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hOint phy_set_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhjGhM5ubj)}(hphy_set_bits_mmdh]j%)}(hphy_set_bits_mmdh]hphy_set_bits_mmd}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhjGhM5ubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj\sbc.phy_set_bits_mmdasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hj¤hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hphydevh]hphydev}(hjϤhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]jc.phy_set_bits_mmdasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.phy_set_bits_mmdasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhjGhM5ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhjGhM5ubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhM5hj.hhubjS)}(hhh]jX)}(h:Convenience function for setting bits in a register on MMDh]h:Convenience function for setting bits in a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjhhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhjGhM5ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj֥jxj֥jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to seth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޥubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjڥubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM7hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj8h]h int devad}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hj2ubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhM8hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM8hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjqh]h u32 regnum}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjkubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjubj)}(hhh]jX)}(h bits to seth]h bits to set}(hjæhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubeh}(h]h ]h"]h$]h&]uh1jhjڥubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhjThhhNhNubh)}(hhh](h)}(hRint phy_clear_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hQint phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMCubj)}(hphy_clear_bits_mmdh]j%)}(hphy_clear_bits_mmdh]hphy_clear_bits_mmd}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMCubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj'sbc.phy_clear_bits_mmdasbuh1hhj=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjϧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j{c.phy_clear_bits_mmdasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j{c.phy_clear_bits_mmdasbuh1hhj,ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(hvalh]hval}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMCubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMChjhhubjS)}(hhh]jX)}(h;Convenience function for clearing bits in a register on MMDh]h;Convenience function for clearing bits in a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to clearh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjʨh]hstruct phy_device *phydev}(hj̨hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȨubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjĨubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjߨhMEhjubah}(h]h ]h"]h$]h&]uh1jhjĨubeh}(h]h ]h"]h$]h&]uh1jhjߨhMEhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj<h]h u32 regnum}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhj6ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMGhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMGhjubj)}(h``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjuh]hu16 val}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjoubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhjThhhNhNubh)}(hhh](h)}(h7bool phy_interrupt_is_valid (struct phy_device *phydev)h]h)}(h6bool phy_interrupt_is_valid(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjϩhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˩hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQubj)}(h h]h }(hjݩhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˩hhhjܩhMQubj)}(hphy_interrupt_is_validh]j%)}(hphy_interrupt_is_validh]hphy_interrupt_is_valid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj˩hhhjܩhMQubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]j')}jjsbc.phy_interrupt_is_validasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj˩hhhjܩhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjǩhhhjܩhMQubah}(h]j©ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjܩhMQhjĩhhubjS)}(hhh]jX)}(h0Convenience function for testing a given PHY irqh]h0Convenience function for testing a given PHY irq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjĩhhhjܩhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct **NOTE** must be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPTh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjϪh]hstruct phy_device *phydev}(hjѪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͪubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjɪubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjɪubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjƪubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hj h]hNOTE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubjX)}(hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPTh]hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPT}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhjThhhNhNubh)}(hhh](h)}(h1bool phy_polling_mode (struct phy_device *phydev)h]h)}(h0bool phy_polling_mode(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhj\hM]ubj)}(hphy_polling_modeh]j%)}(hphy_polling_modeh]hphy_polling_mode}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhj\hM]ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjqsbc.phy_polling_modeasbuh1hhjubj)}(h h]h }(hjɫhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj׫hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhj\hM]ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj\hM]ubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hM]hjDhhubjS)}(hhh]jX)}(hUConvenience function for testing whether polling is used to detect PHY status changesh]hUConvenience function for testing whether polling is used to detect PHY status changes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hj hhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhj\hM]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj*ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjOh]hstruct phy_device *phydev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchjIubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMchjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhjThhhNhNubh)}(hhh](h)}(h1bool phy_has_hwtstamp (struct phy_device *phydev)h]h)}(h0bool phy_has_hwtstamp(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMnubj)}(hphy_has_hwtstamph]j%)}(hphy_has_hwtstamph]hphy_has_hwtstamp}(hjɬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjŬubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMnubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjˬsbc.phy_has_hwtstampasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjݬubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMnubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMnubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMnhjhhubjS)}(hhh]jX)}(h-Tests whether a PHY time stamp configuration.h]h-Tests whether a PHY time stamp configuration.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjehhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMnubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj­hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhjThhhNhNubh)}(hhh](h)}(h1bool phy_has_rxtstamp (struct phy_device *phydev)h]h)}(h0bool phy_has_rxtstamp(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMwubj)}(hphy_has_rxtstamph]j%)}(hphy_has_rxtstamph]hphy_has_rxtstamp}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMwubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}jj%sbc.phy_has_rxtstampasbuh1hhj;ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMwubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMwhjhhubjS)}(hhh]jX)}(h3Tests whether a PHY supports receive time stamping.h]h3Tests whether a PHY supports receive time stamping.}(hj®hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjڮjxjڮjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hjޮubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjޮubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhjThhhNhNubh)}(hhh](h)}(h/bool phy_has_tsinfo (struct phy_device *phydev)h]h)}(h.bool phy_has_tsinfo(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjjhMubj)}(hphy_has_tsinfoh]j%)}(hphy_has_tsinfoh]hphy_has_tsinfo}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_has_tsinfoasbuh1hhjubj)}(h h]h }(hjׯhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjjhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMhjRhhubjS)}(hhh]jX)}(hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.h]hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj8ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj]h]hstruct phy_device *phydev}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjWubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhjThhhNhNubh)}(hhh](h)}(h1bool phy_has_txtstamp (struct phy_device *phydev)h]h)}(h0bool phy_has_txtstamp(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjŰhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjİhMubj)}(hphy_has_txtstamph]j%)}(hphy_has_txtstamph]hphy_has_txtstamp}(hjװhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӰubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjİhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjٰsbc.phy_has_txtstampasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjİhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjİhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjİhMhjhhubjS)}(hhh]jX)}(h4Tests whether a PHY supports transmit time stamping.h]h4Tests whether a PHY supports transmit time stamping.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjshhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjİhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjбhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjͱubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̱hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhjThhhNhNubh)}(hhh](h)}(h8bool phy_is_default_hwtstamp (struct phy_device *phydev)h]h)}(h7bool phy_is_default_hwtstamp(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hphy_is_default_hwtstamph]j%)}(hphy_is_default_hwtstamph]hphy_is_default_hwtstamp}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jj3sbc.phy_is_default_hwtstampasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h)Is the PHY hwtstamp the default timestamph]h)Is the PHY hwtstamp the default timestamp}(hjвhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjͲhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hXj**Parameters** ``struct phy_device *phydev`` Pointer to phy_device **Description** This is used to get default timestamping device taking into account the new API choice, which is selecting the timestamping from MAC by default if the phydev does not have default_timestamp flag enabled. **Return** True if phy is the default hw timestamp, false otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to phy_device}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hThis is used to get default timestamping device taking into account the new API choice, which is selecting the timestamping from MAC by default if the phydev does not have default_timestamp flag enabled.h]hThis is used to get default timestamping device taking into account the new API choice, which is selecting the timestamping from MAC by default if the phydev does not have default_timestamp flag enabled.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h **Return**h]j)}(hjsh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h9True if phy is the default hw timestamp, false otherwise.h]h9True if phy is the default hw timestamp, false otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhjThhhNhNubh)}(hhh](h)}(h+bool phy_on_sfp (struct phy_device *phydev)h]h)}(h*bool phy_on_sfp(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjƳhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjųhMubj)}(h phy_on_sfph]j%)}(h phy_on_sfph]h phy_on_sfp}(hjسhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԳubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjųhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjڳsb c.phy_on_sfpasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjųhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjųhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjųhMhjhhubjS)}(hhh]jX)}(h=Convenience function for testing if a PHY is on an SFP moduleh]h=Convenience function for testing if a PHY is on an SFP module}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjthhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjųhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjѴhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjδubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʹhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhjThhhNhNubh)}(hhh](h)}(h7bool phy_interface_mode_is_rgmii (phy_interface_t mode)h]h)}(h6bool phy_interface_mode_is_rgmii(phy_interface_t mode)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_interface_mode_is_rgmiih]j%)}(hphy_interface_mode_is_rgmiih]hphy_interface_mode_is_rgmii}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(phy_interface_t mode)h]j)}(hphy_interface_t modeh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jj4sbc.phy_interface_mode_is_rgmiiasbuh1hhjJubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hPConvenience function for testing if a PHY interface mode is RGMII (all variants)h]hPConvenience function for testing if a PHY interface mode is RGMII (all variants)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hM**Parameters** ``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](jX)}(h**Parameters**h]j)}(hj˵h]h Parameters}(hj͵hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɵubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjŵubj)}(hhh]j)}(h;``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](j)}(h``phy_interface_t mode``h]j)}(hjh]hphy_interface_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h"the :c:type:`phy_interface_t` enumh](hthe }(hjhhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hj h]hphy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubh enum}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj*hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjŵubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhjThhhNhNubh)}(hhh](h)}(h7bool phy_interface_mode_is_8023z (phy_interface_t mode)h]h)}(h6bool phy_interface_mode_is_8023z(phy_interface_t mode)h](j)}(hjTh]hbool}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjthMubj)}(hphy_interface_mode_is_8023zh]j%)}(hphy_interface_mode_is_8023zh]hphy_interface_mode_is_8023z}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjthMubj)}(h(phy_interface_t mode)h]j)}(hphy_interface_t modeh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_interface_mode_is_8023zasbuh1hhjubj)}(h h]h }(hjƶhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmodeh]hmode}(hjԶhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjthMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhjthMubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMhj\hhubjS)}(hhh]jX)}(h2does the PHY interface mode use 802.3z negotiationh]h2does the PHY interface mode use 802.3z negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhjthMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` **Description** Returns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(hQ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` h](j)}(h``phy_interface_t mode``h]j)}(hj?h]hphy_interface_t mode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9ubj)}(hhh]jX)}(h7one of :c:type:`enum phy_interface_t `h](hone of }(hjXhhhNhNubh)}(h0:c:type:`enum phy_interface_t `h]j)}(hjbh]henum phy_interface_t}(hjdhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjThMhjXubeh}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h]hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhjThhhNhNubh)}(hhh](h)}(h7bool phy_interface_is_rgmii (struct phy_device *phydev)h]h)}(h6bool phy_interface_is_rgmii(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj޷hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڷhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڷhhhjhMubj)}(hphy_interface_is_rgmiih]j%)}(hphy_interface_is_rgmiih]hphy_interface_is_rgmii}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjڷhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jjsbc.phy_interface_is_rgmiiasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjڷhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjַhhhjhMubah}(h]jѷah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjӷhhubjS)}(hhh]jX)}(hKConvenience function for testing if a PHY interface is RGMII (all variants)h]hKConvenience function for testing if a PHY interface is RGMII (all variants)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjӷhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj޸h]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܸubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjظubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjظubeh}(h]h ]h"]h$]h&]uh1jhjhMhjոubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhjThhhNhNubh)}(hhh](h)}(h9bool phy_is_pseudo_fixed_link (struct phy_device *phydev)h]h)}(h8bool phy_is_pseudo_fixed_link(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhjEhMubj)}(hphy_is_pseudo_fixed_linkh]j%)}(hphy_is_pseudo_fixed_linkh]hphy_is_pseudo_fixed_link}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhjEhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjZsbc.phy_is_pseudo_fixed_linkasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hphydevh]hphydev}(hj͹hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubah}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhjEhMubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhj-hhubjS)}(hhh]jX)}(hkConvenience function for testing if this PHY is the CPU port facing side of an Ethernet switch, or similar.h]hkConvenience function for testing if this PHY is the CPU port facing side of an Ethernet switch, or similar.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj8h]hstruct phy_device *phydev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhjThhhNhNubh)}(hhh](h)}(hphy_module_driverh]h)}(hphy_module_driverh]j)}(hphy_module_driverh]j%)}(hjh]hphy_module_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<ubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM<ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM<hjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjhM<ubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjºjxjºjyjzj{uh1hhhhjThNhNubjX)}(h.``phy_module_driver (__phy_drivers, __count)``h]j)}(hjȺh]h*phy_module_driver (__phy_drivers, __count)}(hjʺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƺubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjThhubj )}(h)Helper macro for registering PHY drivers h]jX)}(h(Helper macro for registering PHY driversh]h(Helper macro for registering PHY drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hj޺ubah}(h]h ]h"]h$]h&]uh1j hjhM<hjThhubj})}(hX7**Parameters** ``__phy_drivers`` array of PHY drivers to register ``__count`` Numbers of members in array **Description** Helper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjubj)}(hhh](j)}(h3``__phy_drivers`` array of PHY drivers to register h](j)}(h``__phy_drivers``h]j)}(hjh]h __phy_drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjubj)}(hhh]jX)}(h array of PHY drivers to registerh]h array of PHY drivers to register}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM=hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM=hjubj)}(h(``__count`` Numbers of members in array h](j)}(h ``__count``h]j)}(hjUh]h__count}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjOubj)}(hhh]jX)}(hNumbers of members in arrayh]hNumbers of members in array}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM>hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM>hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjubjX)}(hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().h]hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_unregister_fixup (C function)c.phy_unregister_fixuphNtauh1hhjThhhNhNubh)}(hhh](h)}(hLint phy_unregister_fixup (const char *bus_id, u32 phy_uid, u32 phy_uid_mask)h]h)}(hKint phy_unregister_fixup(const char *bus_id, u32 phy_uid, u32 phy_uid_mask)h](j)}(hinth]hint}(hjջhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjѻhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjѻhhhjhMubj)}(hphy_unregister_fixuph]j%)}(hphy_unregister_fixuph]hphy_unregister_fixup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjѻhhhjhMubj)}(h3(const char *bus_id, u32 phy_uid, u32 phy_uid_mask)h](j)}(hconst char *bus_idh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbus_idh]hbus_id}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jjsbc.phy_unregister_fixupasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hphy_uidh]hphy_uid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu32 phy_uid_maskh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_unregister_fixupasbuh1hhjubj)}(h h]h }(hjڼhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h phy_uid_maskh]h phy_uid_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjѻhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjͻhhhjhMubah}(h]jȻah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjʻhhubjS)}(hhh]jX)}(h remove a phy_fixup from the listh]h remove a phy_fixup from the list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjʻhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``const char *bus_id`` A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_list ``u32 phy_uid`` A phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_list ``u32 phy_uid_mask`` Applied to phy_uid and fixup->phy_uid before comparisonh](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj.ubj)}(hhh](j)}(hX``const char *bus_id`` A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_list h](j)}(h``const char *bus_id``h]j)}(hjSh]hconst char *bus_id}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjMubj)}(hhh]jX)}(h@A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_listh]h@A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_list}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubj)}(hR``u32 phy_uid`` A phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_list h](j)}(h``u32 phy_uid``h]j)}(hjh]h u32 phy_uid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hAA phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_listh]hAA phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjJubj)}(hL``u32 phy_uid_mask`` Applied to phy_uid and fixup->phy_uid before comparisonh](j)}(h``u32 phy_uid_mask``h]j)}(hjŽh]hu32 phy_uid_mask}(hjǽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjýubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h7Applied to phy_uid and fixup->phy_uid before comparisonh]h7Applied to phy_uid and fixup->phy_uid before comparison}(hj޽hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj۽ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڽhMhjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhjThhhNhNubh)}(hhh](h)}(hXint genphy_match_phy_device (struct phy_device *phydev, const struct phy_driver *phydrv)h]h)}(hWint genphy_match_phy_device(struct phy_device *phydev, const struct phy_driver *phydrv)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM*ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj-hM*ubj)}(hgenphy_match_phy_deviceh]j%)}(hgenphy_match_phy_deviceh]hgenphy_match_phy_device}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj-hM*ubj)}(h<(struct phy_device *phydev, const struct phy_driver *phydrv)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jjBsbc.genphy_match_phy_deviceasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(hconst struct phy_driver *phydrvh](h)}(hjh]hconst}(hjξhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjʾubj)}(h h]h }(hj۾hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʾubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjʾubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʾubh)}(hhh]j%)}(h phy_driverh]h phy_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.genphy_match_phy_deviceasbuh1hhjʾubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʾubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjʾubj%)}(hphydrvh]hphydrv}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʾubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj-hM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj-hM*ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hM*hjhhubjS)}(hhh]jX)}(h$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM*hjghhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj-hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const struct phy_driver *phydrv`` target phy_driver struct **Description** Checks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver's expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed. **Return** 1 if the PHY device matches the driver, 0 otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM.hjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjĿhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h=``const struct phy_driver *phydrv`` target phy_driver struct h](j)}(h#``const struct phy_driver *phydrv``h]j)}(hjh]hconst struct phy_driver *phydrv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM,hj޿ubj)}(hhh]jX)}(htarget phy_driver structh]htarget phy_driver struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhj޿ubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM.hjubjX)}(hXChecks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver's expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed.h]hXChecks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver’s expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM.hjubjX)}(h **Return**h]j)}(hjFh]hReturn}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM4hjubjX)}(h41 if the PHY device matches the driver, 0 otherwise.h]h41 if the PHY device matches the driver, 0 otherwise.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM4hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhjThhhNhNubh)}(hhh](h)}(hOstruct phy_device * get_phy_device (struct mii_bus *bus, int addr, bool is_c45)!h]h)}(hMstruct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMBubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jget_phy_devicesbc.get_phy_deviceasbuh1hhjhhhjhMBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMBubj)}(hget_phy_deviceh]j%)}(hjh]hget_phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMBubj)}(h,(struct mii_bus *bus, int addr, bool is_c45)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]jc.get_phy_deviceasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool is_c45h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(his_c45h]his_c45}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMBubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMBhjhhubjS)}(hhh]jX)}(hDreads the specified PHY device and returns its **phy_device** structh](h/reads the specified PHY device and returns its }(hjhhhNhNubj)}(h**phy_device**h]h phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh struct}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMBhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``bool is_c45`` If true the PHY uses the 802.3 clause 45 protocol **Description** Probe for a PHY at **addr** on **bus**. When probing for a clause 22 PHY, then read the ID registers. If we find a valid ID, allocate and return a :c:type:`struct phy_device `. When probing for a clause 45 PHY, read the "devices in package" registers. If the "devices in package" appears valid, read the ID registers for each MMD, allocate and return a :c:type:`struct phy_device `. Returns an allocated :c:type:`struct phy_device ` on success, ``-ENODEV`` if there is no PHY present, or ``-EIO`` on bus access error.h](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMFhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjBh]hstruct mii_bus *bus}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMDhj<ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMDhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMDhj9ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj{h]hint addr}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMEhjuubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj9ubj)}(hB``bool is_c45`` If true the PHY uses the 802.3 clause 45 protocol h](j)}(h``bool is_c45``h]j)}(hjh]h bool is_c45}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMFhjubj)}(hhh]jX)}(h1If true the PHY uses the 802.3 clause 45 protocolh]h1If true the PHY uses the 802.3 clause 45 protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMHhjubjX)}(h'Probe for a PHY at **addr** on **bus**.h](hProbe for a PHY at }(hjhhhNhNubj)}(h**addr**h]haddr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on }(hjhhhNhNubj)}(h**bus**h]hbus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMGhjubjX)}(hWhen probing for a clause 22 PHY, then read the ID registers. If we find a valid ID, allocate and return a :c:type:`struct phy_device `.h](hkWhen probing for a clause 22 PHY, then read the ID registers. If we find a valid ID, allocate and return a }(hj8hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjBh]hstruct phy_device}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMIhj8ubh.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj_hMIhjubjX)}(hWhen probing for a clause 45 PHY, read the "devices in package" registers. If the "devices in package" appears valid, read the ID registers for each MMD, allocate and return a :c:type:`struct phy_device `.h](hWhen probing for a clause 45 PHY, read the “devices in package” registers. If the “devices in package” appears valid, read the ID registers for each MMD, allocate and return a }(hjjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjth]hstruct phy_device}(hjvhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMLhjjubh.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMLhjubjX)}(hReturns an allocated :c:type:`struct phy_device ` on success, ``-ENODEV`` if there is no PHY present, or ``-EIO`` on bus access error.h](hReturns an allocated }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMPhjubh on success, }(hjhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if there is no PHY present, or }(hjhhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on bus access error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhjThhhNhNubh)}(hhh](h)}(h3int phy_device_register (struct phy_device *phydev)h]h)}(h2int phy_device_register(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMwubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMwubj)}(hphy_device_registerh]j%)}(hphy_device_registerh]hphy_device_register}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMwubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sbc.phy_device_registerasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMwubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMwhjhhubjS)}(hhh]jX)}(h'Register the phy device on the MDIO bush]h'Register the phy device on the MDIO bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMwhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h`**Parameters** ``struct phy_device *phydev`` phy_device structure to be added to the MDIO bush](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM{hjubj)}(hhh]j)}(hN``struct phy_device *phydev`` phy_device structure to be added to the MDIO bush](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM}hj ubj)}(hhh]jX)}(h0phy_device structure to be added to the MDIO bush]h0phy_device structure to be added to the MDIO bus}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMxhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hM}hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhjThhhNhNubh)}(hhh](h)}(h2void phy_device_remove (struct phy_device *phydev)h]h)}(h1void phy_device_remove(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhj{hMubj)}(hphy_device_removeh]j%)}(hphy_device_removeh]hphy_device_remove}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhj{hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_device_removeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj{hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj{hMubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMhjbhhubjS)}(hhh]jX)}(h;Remove a previously registered phy device from the MDIO bush]h;Remove a previously registered phy device from the MDIO bus}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj*hhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhj{hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` phy_device structure to remove **Description** This doesn't free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.h](jX)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjIubj)}(hhh]j)}(h=``struct phy_device *phydev`` phy_device structure to remove h](j)}(h``struct phy_device *phydev``h]j)}(hjnh]hstruct phy_device *phydev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhubj)}(hhh]jX)}(hphy_device structure to removeh]hphy_device structure to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjIubjX)}(hThis doesn't free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.h]hThis doesn’t free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhjThhhNhNubh)}(hhh](h)}(h/int phy_get_c45_ids (struct phy_device *phydev)h]h)}(h.int phy_get_c45_ids(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_get_c45_idsh]j%)}(hphy_get_c45_idsh]hphy_get_c45_ids}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsbc.phy_get_c45_idsasbuh1hhj'ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h"Read 802.3-c45 IDs for phy device.h]h"Read 802.3-c45 IDs for phy device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs **Description** Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hI``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h*phy_device structure to read 802.3-c45 IDsh]h*phy_device structure to read 802.3-c45 IDs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(hmReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](hReturns zero on success, }(hj@hhhNhNubj)}(h``-EIO``h]h-EIO}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh on bus access error, or }(hj@hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh, if the “devices in package” is invalid.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_first (C function)c.phy_find_firsthNtauh1hhjThhhNhNubh)}(hhh](h)}(h8struct phy_device * phy_find_first (struct mii_bus *bus)h]h)}(h6struct phy_device *phy_find_first(struct mii_bus *bus)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jphy_find_firstsbc.phy_find_firstasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hphy_find_firsth]j%)}(hjh]hphy_find_first}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct mii_bus *bus)h]j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]jc.phy_find_firstasbuh1hhj ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hbush]hbus}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%finds the first PHY device on the bush]h%finds the first PHY device on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h<**Parameters** ``struct mii_bus *bus`` the target MII bush](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h*``struct mii_bus *bus`` the target MII bush](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhjThhhNhNubh)}(hhh](h)}(hint phy_connect_direct (struct net_device *dev, struct phy_device *phydev, void (*handler)(struct net_device *), phy_interface_t interface)h]h)}(hint phy_connect_direct(struct net_device *dev, struct phy_device *phydev, void (*handler)(struct net_device*), phy_interface_t interface)h](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj7hMubj)}(hphy_connect_directh]j%)}(hphy_connect_directh]hphy_connect_direct}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj7hMubj)}(hs(struct net_device *dev, struct phy_device *phydev, void (*handler)(struct net_device*), phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjLsbc.phy_connect_directasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_connect_directasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hjh]h(}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hhandlerh]hhandler}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_connect_directasbuh1hhjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.phy_connect_directasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhj7hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMhjhhubjS)}(hhh]jX)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific phy_device}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct net_device *dev`` the network device to connect ``struct phy_device *phydev`` the pointer to the phy device ``void (*handler)(struct net_device *)`` callback function for state change notifications ``phy_interface_t interface`` PHY device's interfaceh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj|ubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hthe network device to connecth]hthe network device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``struct phy_device *phydev`` the pointer to the phy device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hthe pointer to the phy deviceh]hthe pointer to the phy device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjh]h$void (*handler)(struct net_device *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh]jX)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(h4``phy_interface_t interface`` PHY device's interfaceh](j)}(h``phy_interface_t interface``h]j)}(hjLh]hphy_interface_t interface}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjFubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhjThhhNhNubh)}(hhh](h)}(hstruct phy_device * phy_connect (struct net_device *dev, const char *bus_id, void (*handler)(struct net_device *), phy_interface_t interface)h]h)}(hstruct phy_device *phy_connect(struct net_device *dev, const char *bus_id, void (*handler)(struct net_device*), phy_interface_t interface)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j phy_connectsb c.phy_connectasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h phy_connecth]j%)}(hjh]h phy_connect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hl(struct net_device *dev, const char *bus_id, void (*handler)(struct net_device*), phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j c.phy_connectasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *bus_idh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hjh]h(}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhandlerh]hhandler}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j c.phy_connectasbuh1hhjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_connectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h*connect an ethernet device to a PHY deviceh]h*connect an ethernet device to a PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct net_device *dev`` the network device to connect ``const char *bus_id`` the id string of the PHY device to connect ``void (*handler)(struct net_device *)`` callback function for state change notifications ``phy_interface_t interface`` PHY device's interface **Description** Convenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h](jX)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!ubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hjFh]hstruct net_device *dev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj@ubj)}(hhh]jX)}(hthe network device to connecth]hthe network device to connect}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubj)}(hB``const char *bus_id`` the id string of the PHY device to connect h](j)}(h``const char *bus_id``h]j)}(hjh]hconst char *bus_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjyubj)}(hhh]jX)}(h*the id string of the PHY device to connecth]h*the id string of the PHY device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjh]h$void (*handler)(struct net_device *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjX)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!ubj)}(hhh]j)}(hXkConvenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h](j)}(h,Convenience function for connecting etherneth]h,Convenience function for connecting ethernet}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjEubj)}(hhh]jX)}(hX>devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h]hXBdevices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don’t want, or can’t use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjXubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjWhM hjBubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhjThhhNhNubh)}(hhh](h)}(h/void phy_disconnect (struct phy_device *phydev)h]h)}(h.void phy_disconnect(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM,ubj)}(hphy_disconnecth]j%)}(hphy_disconnecth]hphy_disconnect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM,ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_disconnectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM,ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM,ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM,hjhhubjS)}(hhh]jX)}(h?disable interrupts, stop state machine, and detach a PHY deviceh]h?disable interrupts, stop state machine, and detach a PHY device}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM,hjYhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0hjxubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhjThhhNhNubh)}(hhh](h)}(h@int phy_sfp_connect_phy (void *upstream, struct phy_device *phy)h]h)}(h?int phy_sfp_connect_phy(void *upstream, struct phy_device *phy)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_sfp_connect_phyh]j%)}(hphy_sfp_connect_phyh]hphy_sfp_connect_phy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h((void *upstream, struct phy_device *phy)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hupstreamh]hupstream}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_sfp_connect_phyasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h0Connect the SFP module's PHY to the upstream PHYh]h2Connect the SFP module’s PHY to the upstream PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX]**Parameters** ``void *upstream`` pointer to the upstream phy device ``struct phy_device *phy`` pointer to the SFP module's phy device **Description** This helper allows keeping track of PHY devices on the link. It adds the SFP module's phy to the phy namespace of the upstream phy **Return** 0 on success, otherwise a negative error code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hj:h]hvoid *upstream}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjsh]hstruct phy_device *phy}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjmubj)}(hhh]jX)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(hThis helper allows keeping track of PHY devices on the link. It adds the SFP module's phy to the phy namespace of the upstream phyh]hThis helper allows keeping track of PHY devices on the link. It adds the SFP module’s phy to the phy namespace of the upstream phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(h.0 on success, otherwise a negative error code.h]h.0 on success, otherwise a negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhjThhhNhNubh)}(hhh](h)}(hDvoid phy_sfp_disconnect_phy (void *upstream, struct phy_device *phy)h]h)}(hCvoid phy_sfp_disconnect_phy(void *upstream, struct phy_device *phy)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hMubj)}(hphy_sfp_disconnect_phyh]j%)}(hphy_sfp_disconnect_phyh]hphy_sfp_disconnect_phy}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hMubj)}(h((void *upstream, struct phy_device *phy)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hupstreamh]hupstream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj=sbc.phy_sfp_disconnect_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMhjhhubjS)}(hhh]jX)}(h5Disconnect the SFP module's PHY from the upstream PHYh]h7Disconnect the SFP module’s PHY from the upstream PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``void *upstream`` pointer to the upstream phy device ``struct phy_device *phy`` pointer to the SFP module's phy device **Description** This helper allows keeping track of PHY devices on the link. It removes the SFP module's phy to the phy namespace of the upstream phy. As the module phy will be destroyed, re-inserting the same module will add a new phy with a new index.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj8ubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hj]h]hvoid *upstream}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjWubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjh]hstruct phy_device *phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj8ubjX)}(hThis helper allows keeping track of PHY devices on the link. It removes the SFP module's phy to the phy namespace of the upstream phy. As the module phy will be destroyed, re-inserting the same module will add a new phy with a new index.h]hThis helper allows keeping track of PHY devices on the link. It removes the SFP module’s phy to the phy namespace of the upstream phy. As the module phy will be destroyed, re-inserting the same module will add a new phy with a new index.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhjThhhNhNubh)}(hhh](h)}(h9void phy_sfp_attach (void *upstream, struct sfp_bus *bus)h]h)}(h8void phy_sfp_attach(void *upstream, struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj$hM ubj)}(hphy_sfp_attachh]j%)}(hphy_sfp_attachh]hphy_sfp_attach}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj$hM ubj)}(h%(void *upstream, struct sfp_bus *bus)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hupstreamh]hupstream}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj9sbc.phy_sfp_attachasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj$hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj$hM ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$hM hj hhubjS)}(hhh]jX)}(h5attach the SFP bus to the PHY upstream network deviceh]h5attach the SFP bus to the PHY upstream network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj$hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``void *upstream`` pointer to the phy device ``struct sfp_bus *bus`` sfp bus representing cage being attached **Description** This is used to fill in the sfp_upstream_ops .attach member.h](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjYh]hvoid *upstream}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjSubj)}(hhh]jX)}(hpointer to the phy deviceh]hpointer to the phy device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubjX)}(hh]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hupstreamh]hupstream}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj5sbc.phy_sfp_detachasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(h7detach the SFP bus from the PHY upstream network deviceh]h7detach the SFP bus from the PHY upstream network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``void *upstream`` pointer to the phy device ``struct sfp_bus *bus`` sfp bus representing cage being attached **Description** This is used to fill in the sfp_upstream_ops .detach member.h](jX)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM"hj0ubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjUh]hvoid *upstream}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjOubj)}(hhh]jX)}(hpointer to the phy deviceh]hpointer to the phy device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM"hj0ubjX)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(h"const struct sfp_upstream_ops *opsh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_sfp_probeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopsh]hops}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM/ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM/hjhhubjS)}(hhh]jX)}(h0probe for a SFP cage attached to this PHY deviceh]h0probe for a SFP cage attached to this PHY device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/hjVhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` Pointer to phy_device ``const struct sfp_upstream_ops *ops`` SFP's upstream operationsh](jX)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3hjuubj)}(hhh](j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0hjubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h@``const struct sfp_upstream_ops *ops`` SFP's upstream operationsh](j)}(h&``const struct sfp_upstream_ops *ops``h]j)}(hjh]h"const struct sfp_upstream_ops *ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2hjubj)}(hhh]jX)}(hSFP's upstream operationsh]hSFP’s upstream operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhjThhhNhNubh)}(hhh](h)}(hoint phy_attach_direct (struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h]h)}(hnint phy_attach_direct(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hMMubj)}(hphy_attach_directh]j%)}(hphy_attach_directh]hphy_attach_direct}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hMMubj)}(hY(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjPsbc.phy_attach_directasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_attach_directasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jc.phy_attach_directasbuh1hhjHubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hflagsh]hflags}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_attach_directasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)hhhj;hMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj;hMMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hMMhj"hhubjS)}(hhh]jX)}(h5attach a network device to a given PHY device pointerh]h5attach a network device to a given PHY device pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj;hMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device to attach ``struct phy_device *phydev`` Pointer to phy_device to attach ``u32 flags`` PHY device's dev_flags ``phy_interface_t interface`` PHY device's interface **Description** Called by drivers to attach to a particular PHY device. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMQhj ubj)}(hhh](j)}(h4``struct net_device *dev`` network device to attach h](j)}(h``struct net_device *dev``h]j)}(hj.h]hstruct net_device *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMNhj(ubj)}(hhh]jX)}(hnetwork device to attachh]hnetwork device to attach}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMNhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMNhj%ubj)}(h>``struct phy_device *phydev`` Pointer to phy_device to attach h](j)}(h``struct phy_device *phydev``h]j)}(hjgh]hstruct phy_device *phydev}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMOhjaubj)}(hhh]jX)}(hPointer to phy_device to attachh]hPointer to phy_device to attach}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMOhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMOhj%ubj)}(h%``u32 flags`` PHY device's dev_flags h](j)}(h ``u32 flags``h]j)}(hjh]h u32 flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMPhjubj)}(hhh]jX)}(hPHY device's dev_flagsh]hPHY device’s dev_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhj%ubj)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMQhjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMShj ubj)}(hhh]j)}(hXCalled by drivers to attach to a particular PHY device. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.h](j)}(h/Called by drivers to attach to a particular PHYh]h/Called by drivers to attach to a particular PHY}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMXhj-ubj)}(hhh]jX)}(hXQdevice. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.h]hXQdevice. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMThj@ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj?hMXhj*ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach (C function) c.phy_attachhNtauh1hhjThhhNhNubh)}(hhh](h)}(hfstruct phy_device * phy_attach (struct net_device *dev, const char *bus_id, phy_interface_t interface)h]h)}(hdstruct phy_device *phy_attach(struct net_device *dev, const char *bus_id, phy_interface_t interface)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j phy_attachsb c.phy_attachasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h phy_attachh]j%)}(hjh]h phy_attach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hG(struct net_device *dev, const char *bus_id, phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_attachasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *bus_idh](h)}(hjh]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_attachasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhMubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjyhhubjS)}(hhh]jX)}(h2attach a network device to a particular PHY deviceh]h2attach a network device to a particular PHY device}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhjThNhNubj})}(hX?**Parameters** ``struct net_device *dev`` network device to attach ``const char *bus_id`` Bus ID of PHY device to attach ``phy_interface_t interface`` PHY device's interface **Description** Same as phy_attach_direct() except that a PHY bus_id string is passed instead of a pointer to a struct phy_device.h](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj@ubj)}(hhh](j)}(h4``struct net_device *dev`` network device to attach h](j)}(h``struct net_device *dev``h]j)}(hjeh]hstruct net_device *dev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj_ubj)}(hhh]jX)}(hnetwork device to attachh]hnetwork device to attach}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(h6``const char *bus_id`` Bus ID of PHY device to attach h](j)}(h``const char *bus_id``h]j)}(hjh]hconst char *bus_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hBus ID of PHY device to attachh]hBus ID of PHY device to attach}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubj)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj@ubj)}(hhh]j)}(hrSame as phy_attach_direct() except that a PHY bus_id string is passed instead of a pointer to a struct phy_device.h](j)}(h4Same as phy_attach_direct() except that a PHY bus_idh]h4Same as phy_attach_direct() except that a PHY bus_id}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj+ubj)}(hhh]jX)}(h=string is passed instead of a pointer to a struct phy_device.h]h=string is passed instead of a pointer to a struct phy_device.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj>ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhjThhhNhNubh)}(hhh](h)}(h+void phy_detach (struct phy_device *phydev)h]h)}(h*void phy_detach(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhjhM!ubj)}(h phy_detachh]j%)}(h phy_detachh]h phy_detach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhjhM!ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.phy_detachasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhM!ubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM!hjwhhubjS)}(hhh]jX)}(h+detach a PHY device from its network deviceh]h+detach a PHY device from its network device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!hj?hhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().h](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM%hj^ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM"hj}ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$hj^ubjX)}(hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().h]hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM#hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhjThhhNhNubh)}(hhh](h)}(h:int phy_reset_after_clk_enable (struct phy_device *phydev)h]h)}(h9int phy_reset_after_clk_enable(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_reset_after_clk_enableh]j%)}(hphy_reset_after_clk_enableh]hphy_reset_after_clk_enable}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j')}jj&sbc.phy_reset_after_clk_enableasbuh1hhj<ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hperform a PHY reset if neededh]hperform a PHY reset if needed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX8**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Some PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hSome PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](j)}(h:Some PHYs are known to need a reset after their refclk wash]h:Some PHYs are known to need a reset after their refclk was}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjXubj)}(hhh]jX)}(henabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h]henabled. This function evaluates the flags and perform the reset if it’s needed. Returns < 0 on error, 0 if the phy wasn’t reset and 1 if the phy was reset.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjkubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjUubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhjThhhNhNubh)}(hhh](h)}(h3int genphy_setup_forced (struct phy_device *phydev)h]h)}(h2int genphy_setup_forced(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_setup_forcedh]j%)}(hgenphy_setup_forcedh]hgenphy_setup_forced}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.genphy_setup_forcedasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h.configures/forces speed/duplex from **phydev**h](h$configures/forces speed/duplex from }(hjohhhNhNubj)}(h **phydev**h]hphydev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Configures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hConfigures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h](j)}(h)Configures MII_BMCR to force speed/duplexh]h)Configures MII_BMCR to force speed/duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h]h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h3int genphy_restart_aneg (struct phy_device *phydev)h]h)}(h2int genphy_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM|ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhM|ubj)}(hgenphy_restart_anegh]j%)}(hgenphy_restart_anegh]hgenphy_restart_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjvhM|ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_restart_anegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjvhM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhM|ubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhM|hj]hhubjS)}(hhh]jX)}(h"Enable and Restart Autonegotiationh]h"Enable and Restart Autonegotiation}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM|hj%hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjThNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjDubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjih]hstruct phy_device *phydev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjcubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM}hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(hKint genphy_check_and_restart_aneg (struct phy_device *phydev, bool restart)h]h)}(hJint genphy_check_and_restart_aneg(struct phy_device *phydev, bool restart)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_check_and_restart_anegh]j%)}(hgenphy_check_and_restart_anegh]hgenphy_check_and_restart_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h)(struct phy_device *phydev, bool restart)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.genphy_check_and_restart_anegasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool restarth](j)}(hjTh]hbool}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hrestarth]hrestart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool restart`` whether aneg restart is requested **Description** Check, and restart auto-negotiation if needed.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hj1h]h bool restart}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj+ubj)}(hhh]jX)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(hBint __genphy_config_aneg (struct phy_device *phydev, bool changed)h]h)}(hAint __genphy_config_aneg(struct phy_device *phydev, bool changed)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__genphy_config_anegh]j%)}(h__genphy_config_anegh]h__genphy_config_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h)(struct phy_device *phydev, bool changed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__genphy_config_anegasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool changedh](j)}(hjTh]hbool}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hchangedh]hchanged}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool changed`` whether autoneg is requested **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``bool changed`` whether autoneg is requested h](j)}(h``bool changed``h]j)}(hjh]h bool changed}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjsubj)}(hhh]jX)}(h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h]h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhjThhhNhNubh)}(hhh](h)}(h6int genphy_c37_config_aneg (struct phy_device *phydev)h]h)}(h5int genphy_c37_config_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_c37_config_anegh]j%)}(hgenphy_c37_config_anegh]hgenphy_c37_config_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jjsbc.genphy_c37_config_anegasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX2**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h]hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhjThhhNhNubh)}(hhh](h)}(h0int genphy_aneg_done (struct phy_device *phydev)h]h)}(h/int genphy_aneg_done(struct phy_device *phydev)h](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjhM ubj)}(hgenphy_aneg_doneh]j%)}(hgenphy_aneg_doneh]hgenphy_aneg_done}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_aneg_doneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjhM ubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjjhhubjS)}(hhh]jX)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj2hhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjQubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjvh]hstruct phy_device *phydev}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjpubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM hjmubah}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjQubj)}(hhh]j)}(hReads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](j)}(h1Reads the status register and returns 0 either ifh]h1Reads the status register and returns 0 either if}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h]hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_update_link (C function)c.genphy_update_linkhNtauh1hhjThhhNhNubh)}(hhh](h)}(h2int genphy_update_link (struct phy_device *phydev)h]h)}(h1int genphy_update_link(struct phy_device *phydev)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM ubj)}(hgenphy_update_linkh]j%)}(hgenphy_update_linkh]hgenphy_update_link}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsbc.genphy_update_linkasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj.hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj.hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM hjhhubjS)}(hhh]jX)}(h update link status in **phydev**h](hupdate link status in }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Update the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM# hj ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj/h]hstruct phy_device *phydev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM" hj ubj)}(hhh]j)}(hUpdate the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.h](j)}(h/Update the value in phydev->link to reflect theh]h/Update the value in phydev->link to reflect the}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM# hjubj)}(hhh]jX)}(hncurrent link value. In order to do this, we need to read the status register twice, keeping the second value.h]hncurrent link value. In order to do this, we need to read the status register twice, keeping the second value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM# hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM# hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhjThhhNhNubh)}(hhh](h)}(h8int genphy_read_status_fixed (struct phy_device *phydev)h]h)}(h7int genphy_read_status_fixed(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hgenphy_read_status_fixedh]j%)}(hgenphy_read_status_fixedh]hgenphy_read_status_fixed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jjsbc.genphy_read_status_fixedasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h'read the link parameters for !aneg modeh]h'read the link parameters for !aneg mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the current duplex and speed state for a PHY operating with autonegotiation disabled.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.h]hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhjThhhNhNubh)}(hhh](h)}(h2int genphy_read_status (struct phy_device *phydev)h]h)}(h1int genphy_read_status(struct phy_device *phydev)h](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjhhM ubj)}(hgenphy_read_statush]j%)}(hgenphy_read_statush]hgenphy_read_status}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjhhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj}sbc.genphy_read_statusasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjVhhhjhhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjRhhhjhhM ubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhM hjOhhubjS)}(hhh]jX)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjhhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj6ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj[h]hstruct phy_device *phydev}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjUubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj6ubj)}(hhh]j)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h](j)}(h1Check the link, then figure out the current stateh]h1Check the link, then figure out the current state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h]hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhjThhhNhNubh)}(hhh](h)}(hEint genphy_c37_read_status (struct phy_device *phydev, bool *changed)h]h)}(hDint genphy_c37_read_status(struct phy_device *phydev, bool *changed)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hgenphy_c37_read_statush]j%)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h*(struct phy_device *phydev, bool *changed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jj)sbc.genphy_c37_read_statusasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(h bool *changedh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hchangedh]hchanged}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool *changed`` pointer where to store if link changed **Description** Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](jX)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjHh]hstruct phy_device *phydev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjBubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj?ubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hjh]h bool *changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj{ubj)}(hhh]jX)}(h&pointer where to store if link changedh]h&pointer where to store if link changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM hj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#ubj)}(hhh]j)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](j)}(h1Check the link, then figure out the current stateh]h1Check the link, then figure out the current state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh](jX)}(huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.h]huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hAIf link has changed, **changed** is set to true, false otherwise.h](hIf link has changed, }(hjhhhNhNubj)}(h **changed**h]hchanged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh! is set to true, false otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhjThhhNhNubh)}(hhh](h)}(h1int genphy_soft_reset (struct phy_device *phydev)h]h)}(h0int genphy_soft_reset(struct phy_device *phydev)h](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhj[hM ubj)}(hgenphy_soft_reseth]j%)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhj[hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjpsbc.genphy_soft_resetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjIhhhj[hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhj[hM ubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hM hjBhhubjS)}(hhh]jX)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj hhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhj[hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Perform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared. **Return** 0 on success, < 0 on failureh](jX)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjNh]hstruct phy_device *phydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjHubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubjX)}(hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.h]hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhjThhhNhNubh)}(hhh](h)}(h5int genphy_read_abilities (struct phy_device *phydev)h]h)}(h4int genphy_read_abilities(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMH ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMH ubj)}(hgenphy_read_abilitiesh]j%)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMH ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_read_abilitiesasbuh1hhj.ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMH ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMH ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMH hjhhubjS)}(hhh]jX)}(h+read PHY abilities from Clause 22 registersh]h+read PHY abilities from Clause 22 registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMH hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMH ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the PHY's abilities and populates phydev->supported accordingly. **Return** 0 on success, < 0 on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMI hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMI hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMI hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMK hjubjX)}(hFReads the PHY's abilities and populates phydev->supported accordingly.h]hHReads the PHY’s abilities and populates phydev->supported accordingly.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMK hjubjX)}(h **Return**h]j)}(hjXh]hReturn}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMN hjubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMN hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhjThhhNhNubh)}(hhh](h)}(hDvoid phy_remove_link_mode (struct phy_device *phydev, u32 link_mode)h]h)}(hCvoid phy_remove_link_mode(struct phy_device *phydev, u32 link_mode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_remove_link_modeh]j%)}(hphy_remove_link_modeh]hphy_remove_link_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h*(struct phy_device *phydev, u32 link_mode)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_remove_link_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 link_modeh](h)}(hhh]j%)}(hu32h]hu32}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jc.phy_remove_link_modeasbuh1hhjHubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(h link_modeh]h link_mode}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hRemove a supported link modeh]hRemove a supported link mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX+**Parameters** ``struct phy_device *phydev`` phy_device structure to remove link mode from ``u32 link_mode`` Link mode to be removed **Description** Some MACs don't support all link modes which the PHY does. e.g. a 1G MAC often does not support 1000Half. Add a helper to remove a link mode.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh](j)}(hL``struct phy_device *phydev`` phy_device structure to remove link mode from h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(h-phy_device structure to remove link mode fromh]h-phy_device structure to remove link mode from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``u32 link_mode`` Link mode to be removed h](j)}(h``u32 link_mode``h]j)}(hjh]h u32 link_mode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hLink mode to be removedh]hLink mode to be removed}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hSome MACs don't support all link modes which the PHY does. e.g. a 1G MAC often does not support 1000Half. Add a helper to remove a link mode.h]hSome MACs don’t support all link modes which the PHY does. e.g. a 1G MAC often does not support 1000Half. Add a helper to remove a link mode.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhjThhhNhNubh)}(hhh](h)}(h8void phy_advertise_supported (struct phy_device *phydev)h]h)}(h7void phy_advertise_supported(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_advertise_supportedh]j%)}(hphy_advertise_supportedh]hphy_advertise_supported}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_advertise_supportedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hAdvertise all supported modesh]hAdvertise all supported modes}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj\hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called to advertise all supported modes, doesn't touch pause mode advertising.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj{ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj{ubjX)}(hNCalled to advertise all supported modes, doesn't touch pause mode advertising.h]hPCalled to advertise all supported modes, doesn’t touch pause mode advertising.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhjThhhNhNubh)}(hhh](h)}(h6void phy_advertise_eee_all (struct phy_device *phydev)h]h)}(h5void phy_advertise_eee_all(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM ubj)}(hphy_advertise_eee_allh]j%)}(hphy_advertise_eee_allh]hphy_advertise_eee_all}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsbc.phy_advertise_eee_allasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj.hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj.hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM hjhhubjS)}(hhh]jX)}(h!Advertise all supported EEE modesh]h!Advertise all supported EEE modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Per default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj!h]hstruct phy_device *phydev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj\h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hXFPer default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.h]hXFPer default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhjThhhNhNubh)}(hhh](h)}(h0void phy_support_eee (struct phy_device *phydev)h]h)}(h/void phy_support_eee(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_support_eeeh]j%)}(hphy_support_eeeh]hphy_support_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_support_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj7hhhNhNubaYh}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h$Set initial EEE policy configurationh]h$Set initial EEE policy configuration}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj^hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` Target phy_device struct **Description** This function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC. The function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support. It also sets the expected configuration for Low Power Idle (LPI) in the MAC driver. If the PHY framework determines that both local and remote advertisements support EEE, and the negotiated link mode is compatible with EEE, it will set enable_tx_lpi = true. The MAC driver is expected to act on this setting by enabling the LPI timer if enable_tx_lpi is set.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}ubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hTarget phy_device structh]hTarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj}ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}ubjX)}(hXThis function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC.h]hXThis function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}ubjX)}(hThe function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support.h]hThe function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}ubjX)}(hXfIt also sets the expected configuration for Low Power Idle (LPI) in the MAC driver. If the PHY framework determines that both local and remote advertisements support EEE, and the negotiated link mode is compatible with EEE, it will set enable_tx_lpi = true. The MAC driver is expected to act on this setting by enabling the LPI timer if enable_tx_lpi is set.h]hXfIt also sets the expected configuration for Low Power Idle (LPI) in the MAC driver. If the PHY framework determines that both local and remote advertisements support EEE, and the negotiated link mode is compatible with EEE, it will set enable_tx_lpi = true. The MAC driver is expected to act on this setting by enabling the LPI timer if enable_tx_lpi is set.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disable_eee (C function)c.phy_disable_eeehNtauh1hhjThhhNhNubh)}(hhh](h)}(h0void phy_disable_eee (struct phy_device *phydev)h]h)}(h/void phy_disable_eee(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjNhM ubj)}(hphy_disable_eeeh]j%)}(hphy_disable_eeeh]hphy_disable_eee}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhjNhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjcsbc.phy_disable_eeeasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubah}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhjNhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhjNhM ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhM hj5hhubjS)}(hhh]jX)}(hDisable EEE for the PHYh]hDisable EEE for the PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhjNhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` Target phy_device struct **Description** This function is used by MAC drivers for MAC's which don't support EEE. It disables EEE on the PHY layer.h](jX)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjAh]hstruct phy_device *phydev}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj;ubj)}(hhh]jX)}(hTarget phy_device structh]hTarget phy_device struct}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhM hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM hj8ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hiThis function is used by MAC drivers for MAC's which don't support EEE. It disables EEE on the PHY layer.h]hmThis function is used by MAC drivers for MAC’s which don’t support EEE. It disables EEE on the PHY layer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_support_sym_pause (C function)c.phy_support_sym_pausehNtauh1hhjThhhNhNubh)}(hhh](h)}(h6void phy_support_sym_pause (struct phy_device *phydev)h]h)}(h5void phy_support_sym_pause(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM! ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM! ubj)}(hphy_support_sym_pauseh]j%)}(hphy_support_sym_pauseh]hphy_support_sym_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM! ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_support_sym_pauseasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM! ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM! ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM! hjhhubjS)}(hhh]jX)}(h#Enable support of symmetrical pauseh]h#Enable support of symmetrical pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM! hj~hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM! ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called by the MAC to indicate is supports symmetrical Pause, but not asym pause.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM% hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM" hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM" hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM" hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ hjubjX)}(hPCalled by the MAC to indicate is supports symmetrical Pause, but not asym pause.h]hPCalled by the MAC to indicate is supports symmetrical Pause, but not asym pause.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_support_asym_pause (C function)c.phy_support_asym_pausehNtauh1hhjThhhNhNubh)}(hhh](h)}(h7void phy_support_asym_pause (struct phy_device *phydev)h]h)}(h6void phy_support_asym_pause(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhM/ ubj)}(hphy_support_asym_pauseh]j%)}(hphy_support_asym_pauseh]hphy_support_asym_pause}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjPhM/ ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesbc.phy_support_asym_pauseasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubah}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhjPhM/ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhjPhM/ ubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhM/ hj7hhubjS)}(hhh]jX)}(hEnable support of asym pauseh]hEnable support of asym pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hjhhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhjPhM/ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called by the MAC to indicate is supports Asym Pause.h](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3 hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjCh]hstruct phy_device *phydev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hj=ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM0 hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM0 hj:ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hjubjX)}(h5Called by the MAC to indicate is supports Asym Pause.h]h5Called by the MAC to indicate is supports Asym Pause.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_sym_pause (C function)c.phy_set_sym_pausehNtauh1hhjThhhNhNubh)}(hhh](h)}(hRvoid phy_set_sym_pause (struct phy_device *phydev, bool rx, bool tx, bool autoneg)h]h)}(hQvoid phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM; ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM; ubj)}(hphy_set_sym_pauseh]j%)}(hphy_set_sym_pauseh]hphy_set_sym_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM; ubj)}(h;(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phy_set_sym_pauseasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool rxh](j)}(hjTh]hbool}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hrxh]hrx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool txh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htxh]htx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool autonegh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hautonegh]hautoneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM; ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM; ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM; hjhhubjS)}(hhh]jX)}(hConfigure symmetric Pauseh]hConfigure symmetric Pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM; hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM; ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhjThNhNubj})}(hXn**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool rx`` Receiver Pause is supported ``bool tx`` Transmit Pause is supported ``bool autoneg`` Auto neg should be used **Description** Configure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.h](jX)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM? hj;ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj`h]hstruct phy_device *phydev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM< hjZubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM< hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM< hjWubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjh]hbool rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM= hjubj)}(hhh]jX)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM= hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM= hjWubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjh]hbool tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM> hjubj)}(hhh]jX)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM> hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM> hjWubj)}(h)``bool autoneg`` Auto neg should be used h](j)}(h``bool autoneg``h]j)}(hj h]h bool autoneg}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM? hj ubj)}(hhh]jX)}(hAuto neg should be usedh]hAuto neg should be used}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM? hj! ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM? hjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hjF h]h Description}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMA hj;ubjX)}(hConfigure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.h]hConfigure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMA hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_asym_pause (C function)c.phy_set_asym_pausehNtauh1hhjThhhNhNubh)}(hhh](h)}(hEvoid phy_set_asym_pause (struct phy_device *phydev, bool rx, bool tx)h]h)}(hDvoid phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMS ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMS ubj)}(hphy_set_asym_pauseh]j%)}(hphy_set_asym_pauseh]hphy_set_asym_pause}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMS ubj)}(h-(struct phy_device *phydev, bool rx, bool tx)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.phy_set_asym_pauseasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hj! hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hbool rxh](j)}(hjTh]hbool}(hj: hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6 ubj)}(h h]h }(hjG hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6 ubj%)}(hrxh]hrx}(hjU hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6 ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hbool txh](j)}(hjTh]hbool}(hjn hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj ubj)}(h h]h }(hj{ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj ubj%)}(htxh]htx}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMS ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMS ubah}(h]j~ ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMS hj hhubjS)}(hhh]jX)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and Asym Pause}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMS hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMS ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjThNhNubj})}(hX|**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool rx`` Receiver Pause is supported ``bool tx`` Transmit Pause is supported **Description** Configure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMW hj ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMT hj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMT hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMT hj ubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hj- h]hbool rx}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMU hj' ubj)}(hhh]jX)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB hMU hjC ubah}(h]h ]h"]h$]h&]uh1jhj' ubeh}(h]h ]h"]h$]h&]uh1jhjB hMU hj ubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjf h]hbool tx}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMV hj` ubj)}(hhh]jX)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{ hMV hj| ubah}(h]h ]h"]h$]h&]uh1jhj` ubeh}(h]h ]h"]h$]h&]uh1jhj{ hMV hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hj ubjX)}(hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h]hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhjThhhNhNubh)}(hhh](h)}(hRbool phy_validate_pause (struct phy_device *phydev, struct ethtool_pauseparam *pp)h]h)}(hQbool phy_validate_pause(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j)}(hjTh]hbool}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMk ubj)}(hphy_validate_pauseh]j%)}(hphy_validate_pauseh]hphy_validate_pause}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMk ubj)}(h:(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj" hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj/ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj@ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj= ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjB modnameN classnameNjj!)}j$]j')}jj sbc.phy_validate_pauseasbuh1hhj ubj)}(h h]h }(hj` hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjn hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hj{ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hstruct ethtool_pauseparam *pph](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j\ c.phy_validate_pauseasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hpph]hpp}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMk ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMk ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMk hj hhubjS)}(hhh]jX)}(h3Test if the PHY/MAC support the pause configurationh]h3Test if the PHY/MAC support the pause configuration}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMk ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj- jxj- jyjzj{uh1hhhhjThNhNubj})}(hX!**Parameters** ``struct phy_device *phydev`` phy_device struct ``struct ethtool_pauseparam *pp`` requested pause configuration **Description** Test if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.h](jX)}(h**Parameters**h]j)}(hj7 h]h Parameters}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMo hj1 ubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjV h]hstruct phy_device *phydev}(hjX hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMl hjP ubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjk hMl hjl ubah}(h]h ]h"]h$]h&]uh1jhjP ubeh}(h]h ]h"]h$]h&]uh1jhjk hMl hjM ubj)}(h@``struct ethtool_pauseparam *pp`` requested pause configuration h](j)}(h!``struct ethtool_pauseparam *pp``h]j)}(hj h]hstruct ethtool_pauseparam *pp}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMm hj ubj)}(hhh]jX)}(hrequested pause configurationh]hrequested pause configuration}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMm hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMm hjM ubeh}(h]h ]h"]h$]h&]uh1jhj1 ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMo hj1 ubjX)}(hTest if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.h]hTest if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMo hj1 ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_pause (C function)c.phy_get_pausehNtauh1hhjThhhNhNubh)}(hhh](h)}(hNvoid phy_get_pause (struct phy_device *phydev, bool *tx_pause, bool *rx_pause)h]h)}(hMvoid phy_get_pause(struct phy_device *phydev, bool *tx_pause, bool *rx_pause)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM ubj)}(h phy_get_pauseh]j%)}(h phy_get_pauseh]h phy_get_pause}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM ubj)}(h;(struct phy_device *phydev, bool *tx_pause, bool *rx_pause)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jj2sbc.phy_get_pauseasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hbool *tx_pauseh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hbool *rx_pauseh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrx_pauseh]hrx_pause}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hresolve negotiated pause modesh]hresolve negotiated pause modes}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` phy_device struct ``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. ``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. **Description** Resolve and return the flow control modes according to the negotiation result. This includes checking that we are operating in full duplex mode. See linkmode_resolve_pause() for further details.h](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjmubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hY``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. h](j)}(h``bool *tx_pause``h]j)}(hjh]hbool *tx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hEpointer to bool to indicate whether transmit pause should be enabled.h]hEpointer to bool to indicate whether transmit pause should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hX``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. h](j)}(h``bool *rx_pause``h]j)}(hjh]hbool *rx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hDpointer to bool to indicate whether receive pause should be enabled.h]hDpointer to bool to indicate whether receive pause should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjmubjX)}(hResolve and return the flow control modes according to the negotiation result. This includes checking that we are operating in full duplex mode. See linkmode_resolve_pause() for further details.h]hResolve and return the flow control modes according to the negotiation result. This includes checking that we are operating in full duplex mode. See linkmode_resolve_pause() for further details.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_get_internal_delay (C function)c.phy_get_internal_delayhNtauh1hhjThhhNhNubh)}(hhh](h)}(hes32 phy_get_internal_delay (struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h]h)}(hds32 phy_get_internal_delay(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](h)}(hhh]j%)}(hs32h]hs32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jphy_get_internal_delaysbc.phy_get_internal_delayasbuh1hhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_get_internal_delayh]j%)}(hjh]hphy_get_internal_delay}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(hJ(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_get_internal_delayasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst int *delay_valuesh](h)}(hjh]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hinth]hint}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(h delay_valuesh]h delay_values}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool is_rxh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(his_rxh]his_rx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhjhM ubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj{hhubjS)}(hhh]jX)}(h'returns the index of the internal delayh]h'returns the index of the internal delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` phy_device struct ``const int *delay_values`` array of delays the PHY supports ``int size`` the size of the delay array ``bool is_rx`` boolean to indicate to get the rx internal delay **Description** Returns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h](jX)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj;ubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj`h]hstruct phy_device *phydev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjZubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjWubj)}(h=``const int *delay_values`` array of delays the PHY supports h](j)}(h``const int *delay_values``h]j)}(hjh]hconst int *delay_values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(h array of delays the PHY supportsh]h array of delays the PHY supports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjWubj)}(h)``int size`` the size of the delay array h](j)}(h ``int size``h]j)}(hjh]hint size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hthe size of the delay arrayh]hthe size of the delay array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjWubj)}(h@``bool is_rx`` boolean to indicate to get the rx internal delay h](j)}(h``bool is_rx``h]j)}(hj h]h bool is_rx}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(h0boolean to indicate to get the rx internal delayh]h0boolean to indicate to get the rx internal delay}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj;ubjX)}(hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h]hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_get_tx_amplitude_gain (C function)c.phy_get_tx_amplitude_gainhNtauh1hhjThhhNhNubh)}(hhh](h)}(hint phy_get_tx_amplitude_gain (struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h]h)}(hint phy_get_tx_amplitude_gain(struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_get_tx_amplitude_gainh]j%)}(hphy_get_tx_amplitude_gainh]hphy_get_tx_amplitude_gain}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(hf(struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_get_tx_amplitude_gainasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct device *devh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(hdeviceh]hdevice}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jc.phy_get_tx_amplitude_gainasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h+enum ethtool_link_mode_bit_indices linkmodeh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_link_mode_bit_indicesh]hethtool_link_mode_bit_indices}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_get_tx_amplitude_gainasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlinkmodeh]hlinkmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu32 *valh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_get_tx_amplitude_gainasbuh1hhj ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hvalh]hval}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h#stores tx amplitude gain in **val**h](hstores tx amplitude gain in }(hjshhhNhNubj)}(h**val**h]hval}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX<**Parameters** ``struct phy_device *phydev`` phy_device struct ``struct device *dev`` pointer to the devices device struct ``enum ethtool_link_mode_bit_indices linkmode`` linkmode for which the tx amplitude gain should be retrieved ``u32 *val`` tx amplitude gain **Return** 0 on success, < 0 on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hm``enum ethtool_link_mode_bit_indices linkmode`` linkmode for which the tx amplitude gain should be retrieved Jh](j)}(h/``enum ethtool_link_mode_bit_indices linkmode``h]j)}(hj4h]h+enum ethtool_link_mode_bit_indices linkmode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj.ubj)}(hhh]jX)}(hh]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(hstruct device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jdc.phy_get_mac_terminationasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(hu32 *valh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jdc.phy_get_mac_terminationasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hvalh]hval}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h!stores MAC termination in **val**h](hstores MAC termination in }(hjrhhhNhNubj)}(h**val**h]hval}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjohhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_device *phydev`` phy_device struct ``struct device *dev`` pointer to the devices device struct ``u32 *val`` MAC termination **Return** 0 on success, < 0 on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``u32 *val`` MAC termination h](j)}(h ``u32 *val``h]j)}(hj3h]hu32 *val}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj-ubj)}(hhh]jX)}(hMAC terminationh]hMAC termination}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjnh]hReturn}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$fwnode_mdio_find_device (C function)c.fwnode_mdio_find_devicehNtauh1hhjThhhNhNubh)}(hhh](h)}(hKstruct mdio_device * fwnode_mdio_find_device (struct fwnode_handle *fwnode)h]h)}(hIstruct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jfwnode_mdio_find_devicesbc.fwnode_mdio_find_deviceasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(hfwnode_mdio_find_deviceh]j%)}(hjh]hfwnode_mdio_find_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct fwnode_handle *fwnode)h]j)}(hstruct fwnode_handle *fwnodeh](h)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jc.fwnode_mdio_find_deviceasbuh1hhj)ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h$Given a fwnode, find the mdio_deviceh]h$Given a fwnode, find the mdio_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(hX3**Parameters** ``struct fwnode_handle *fwnode`` pointer to the mdio_device's fwnode **Description** If successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(hE``struct fwnode_handle *fwnode`` pointer to the mdio_device's fwnode h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hjh]hstruct fwnode_handle *fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(h#pointer to the mdio_device's fwnodeh]h%pointer to the mdio_device’s fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.h]hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_phy_find_device (C function)c.fwnode_phy_find_devicehNtauh1hhjThhhNhNubh)}(hhh](h)}(hMstruct phy_device * fwnode_phy_find_device (struct fwnode_handle *phy_fwnode)h]h)}(hKstruct phy_device *fwnode_phy_find_device(struct fwnode_handle *phy_fwnode)h](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj|hM ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jfwnode_phy_find_devicesbc.fwnode_phy_find_deviceasbuh1hhjkhhhj|hM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj|hM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkhhhj|hM ubj)}(hfwnode_phy_find_deviceh]j%)}(hjh]hfwnode_phy_find_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhj|hM ubj)}(h"(struct fwnode_handle *phy_fwnode)h]j)}(h struct fwnode_handle *phy_fwnodeh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.fwnode_phy_find_deviceasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h phy_fwnodeh]h phy_fwnode}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhj|hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhj|hM ubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hM hjdhhubjS)}(hhh]jX)}(h)For provided phy_fwnode, find phy_device.h]h)For provided phy_fwnode, find phy_device.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjghhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhj|hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct fwnode_handle *phy_fwnode`` Pointer to the phy's fwnode. **Description** If successful, returns a pointer to the phy_device with the embedded struct device refcount incremented by one, or NULL on failure.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(hB``struct fwnode_handle *phy_fwnode`` Pointer to the phy's fwnode. h](j)}(h$``struct fwnode_handle *phy_fwnode``h]j)}(hjh]h struct fwnode_handle *phy_fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hPointer to the phy's fwnode.h]hPointer to the phy’s fwnode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hIf successful, returns a pointer to the phy_device with the embedded struct device refcount incremented by one, or NULL on failure.h]hIf successful, returns a pointer to the phy_device with the embedded struct device refcount incremented by one, or NULL on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h fwnode_get_phy_node (C function)c.fwnode_get_phy_nodehNtauh1hhjThhhNhNubh)}(hhh](h)}(hOstruct fwnode_handle * fwnode_get_phy_node (const struct fwnode_handle *fwnode)h]h)}(hMstruct fwnode_handle *fwnode_get_phy_node(const struct fwnode_handle *fwnode)h](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj8hM$ ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jfwnode_get_phy_nodesbc.fwnode_get_phy_nodeasbuh1hhj'hhhj8hM$ ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj8hM$ ubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'hhhj8hM$ ubj)}(hfwnode_get_phy_nodeh]j%)}(hjhh]hfwnode_get_phy_node}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj8hM$ ubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jfc.fwnode_get_phy_nodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj8hM$ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj8hM$ ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hM$ hj hhubjS)}(hhh]jX)}(h+Get the phy_node using the named reference.h]h+Get the phy_node using the named reference.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ hj>hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj8hM$ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhjThNhNubj})}(hXe**Parameters** ``const struct fwnode_handle *fwnode`` Pointer to fwnode from which phy_node has to be obtained. **Description** Refer return conditions of fwnode_find_reference(). For ACPI, only "phy-handle" is supported. Legacy DT properties "phy" and "phy-device" are not supported in ACPI. DT supports all the three named references to the phy node.h](jX)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM( hj]ubj)}(hhh]j)}(ha``const struct fwnode_handle *fwnode`` Pointer to fwnode from which phy_node has to be obtained. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjh]h"const struct fwnode_handle *fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM% hj|ubj)}(hhh]jX)}(h9Pointer to fwnode from which phy_node has to be obtained.h]h9Pointer to fwnode from which phy_node has to be obtained.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM% hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM% hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM' hj]ubjX)}(hRefer return conditions of fwnode_find_reference(). For ACPI, only "phy-handle" is supported. Legacy DT properties "phy" and "phy-device" are not supported in ACPI. DT supports all the three named references to the phy node.h]hRefer return conditions of fwnode_find_reference(). For ACPI, only “phy-handle” is supported. Legacy DT properties “phy” and “phy-device” are not supported in ACPI. DT supports all the three named references to the phy node.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM& hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhjThhhNhNubh)}(hhh](h)}(hMint phy_driver_register (struct phy_driver *new_driver, struct module *owner)h]h)}(hLint phy_driver_register(struct phy_driver *new_driver, struct module *owner)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_driver_registerh]j%)}(hphy_driver_registerh]hphy_driver_register}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h5(struct phy_driver *new_driver, struct module *owner)h](j)}(hstruct phy_driver *new_driverh](h)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(h phy_driverh]h phy_driver}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}jj%sbc.phy_driver_registerasbuh1hhj;ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(h new_driverh]h new_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hstruct module *ownerh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hmoduleh]hmodule}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jyc.phy_driver_registerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hownerh]howner}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h(register a phy_driver with the PHY layerh]h(register a phy_driver with the PHY layer}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj/ hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJ jxjJ jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct phy_driver *new_driver`` new phy_driver to register ``struct module *owner`` module owning this PHYh](jX)}(h**Parameters**h]j)}(hjT h]h Parameters}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjN ubj)}(hhh](j)}(h=``struct phy_driver *new_driver`` new phy_driver to register h](j)}(h!``struct phy_driver *new_driver``h]j)}(hjs h]hstruct phy_driver *new_driver}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjm ubj)}(hhh]jX)}(hnew phy_driver to registerh]hnew phy_driver to register}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjm ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjj ubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hj h]hstruct module *owner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubj)}(hhh]jX)}(hmodule owning this PHYh]hmodule owning this PHY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjj ubeh}(h]h ]h"]h$]h&]uh1jhjN ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_uses_state_machine (C function)c.phy_uses_state_machinehNtauh1hhjThhhNhNubh)}(hhh](h)}(h7bool phy_uses_state_machine (struct phy_device *phydev)h]h)}(h6bool phy_uses_state_machine(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj!hM ubj)}(hphy_uses_state_machineh]j%)}(hphy_uses_state_machineh]hphy_uses_state_machine}(hj&!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj!hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjB!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>!ubj)}(h h]h }(hjO!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>!ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj`!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjb!modnameN classnameNjj!)}j$]j')}jj(!sbc.phy_uses_state_machineasbuh1hhj>!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>!ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>!ubj%)}(hphydevh]hphydev}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:!ubah}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj!hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hM ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hM hj hhubjS)}(hhh]jX)}(h3test whether consumer driver uses PAL state machineh]h3test whether consumer driver uses PAL state machine}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj!hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the target PHY device structure **Description** Ultimately, this aims to indirectly determine whether the PHY is attached to a consumer which uses the state machine by calling phy_start() and phy_stop(). When the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes. When the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional. **Return** true if consumer calls phy_start() and phy_stop(), false otherwise.h](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!ubj)}(hhh]j)}(h>``struct phy_device *phydev`` the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hj"h]hstruct phy_device *phydev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj"ubj)}(hhh]jX)}(hthe target PHY device structureh]hthe target PHY device structure}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM hj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubjX)}(h**Description**h]j)}(hjA"h]h Description}(hjC"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?"ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!ubjX)}(hUltimately, this aims to indirectly determine whether the PHY is attached to a consumer which uses the state machine by calling phy_start() and phy_stop().h]hUltimately, this aims to indirectly determine whether the PHY is attached to a consumer which uses the state machine by calling phy_start() and phy_stop().}(hjW"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!ubjX)}(hWhen the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes.h]hWhen the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes.}(hjf"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!ubjX)}(hWhen the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional.h]hWhen the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional.}(hju"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!ubjX)}(h **Return**h]j)}(hj"h]hReturn}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!ubjX)}(hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.h]hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhjThhhNhNubh)}(hhh](h)}(hkint phy_register_fixup (const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device *))h]h)}(hiint phy_register_fixup(const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device*))h](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj"hMubj)}(hphy_register_fixuph]j%)}(hphy_register_fixuph]hphy_register_fixup}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj"hMubj)}(hS(const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device*))h](j)}(hconst char *bus_idh](h)}(hjh]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(hcharh]hchar}(hj##hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj1#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hj>h]h*}(hj?#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hbus_idh]hbus_id}(hjL#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(h u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hjh#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjj#modnameN classnameNjj!)}j$]j')}jj"sbc.phy_register_fixupasbuh1hhja#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hja#ubj%)}(hphy_uidh]hphy_uid}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(hu32 phy_uid_maskh](h)}(hhh]j%)}(hu32h]hu32}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j#c.phy_register_fixupasbuh1hhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj%)}(h phy_uid_maskh]h phy_uid_mask}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(hint (*run)(struct phy_device*)h](j)}(hinth]hint}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hjh]h(}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj;)}(hj>h]h*}(hj $hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hrunh]hrun}(hj-$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubj;)}(hjh]h)}(hj;$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj;)}(hjh]h(}(hjH$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubh)}(hjh]hstruct}(hjU$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hjb$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjs$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetju$modnameN classnameNjj!)}j$]j#c.phy_register_fixupasbuh1hhj#ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj;)}(hjh]h)}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj"hMubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMhj"hhubjS)}(hhh]jX)}(h/creates a new phy_fixup and adds it to the listh]h/creates a new phy_fixup and adds it to the list}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``const char *bus_id`` A string which matches phydev->mdio.dev.bus_id (or PHY_ANY_ID) ``u32 phy_uid`` Used to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UID ``u32 phy_uid_mask`` Applied to phydev->phy_id and fixup->phy_uid before comparison ``int (*run)(struct phy_device *)`` The actual code to be run when a matching PHY is foundh](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj$ubj)}(hhh](j)}(hV``const char *bus_id`` A string which matches phydev->mdio.dev.bus_id (or PHY_ANY_ID) h](j)}(h``const char *bus_id``h]j)}(hj%h]hconst char *bus_id}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%ubj)}(hhh]jX)}(h>A string which matches phydev->mdio.dev.bus_id (or PHY_ANY_ID)h]h>A string which matches phydev->mdio.dev.bus_id (or PHY_ANY_ID)}(hj!%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubj)}(he``u32 phy_uid`` Used to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UID h](j)}(h``u32 phy_uid``h]j)}(hjA%h]h u32 phy_uid}(hjC%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?%ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj;%ubj)}(hhh]jX)}(hTUsed to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UIDh]hTUsed to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UID}(hjZ%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjW%ubah}(h]h ]h"]h$]h&]uh1jhj;%ubeh}(h]h ]h"]h$]h&]uh1jhjV%hMhj$ubj)}(hT``u32 phy_uid_mask`` Applied to phydev->phy_id and fixup->phy_uid before comparison h](j)}(h``u32 phy_uid_mask``h]j)}(hj{%h]hu32 phy_uid_mask}(hj}%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy%ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhju%ubj)}(hhh]jX)}(h>Applied to phydev->phy_id and fixup->phy_uid before comparisonh]h>Applied to phydev->phy_id and fixup->phy_uid before comparison}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%ubah}(h]h ]h"]h$]h&]uh1jhju%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubj)}(hZ``int (*run)(struct phy_device *)`` The actual code to be run when a matching PHY is foundh](j)}(h#``int (*run)(struct phy_device *)``h]j)}(hj%h]hint (*run)(struct phy_device *)}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%ubj)}(hhh]jX)}(h6The actual code to be run when a matching PHY is foundh]h6The actual code to be run when a matching PHY is found}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhjThhhNhNubh)}(hhh](h)}(hWint get_phy_c45_ids (struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h]h)}(hVint get_phy_c45_ids(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj &hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj &hhhj&hMubj)}(hget_phy_c45_idsh]j%)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hj0&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj &hhhj&hMubj)}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjL&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjH&ubj)}(h h]h }(hjY&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH&ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjl&modnameN classnameNjj!)}j$]j')}jj2&sbc.get_phy_c45_idsasbuh1hhjH&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH&ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjH&ubj%)}(hbush]hbus}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD&ubj)}(hint addrh](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(haddrh]haddr}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD&ubj)}(h"struct phy_c45_device_ids *c45_idsh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hphy_c45_device_idsh]hphy_c45_device_ids}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j&c.get_phy_c45_idsasbuh1hhj&ubj)}(h h]h }(hj/'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj='hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hc45_idsh]hc45_ids}(hjJ'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj &hhhj&hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj&hMubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hMhj&hhubjS)}(hhh]jX)}(h/reads the specified addr for its 802.3-c45 IDs.h]h/reads the specified addr for its 802.3-c45 IDs.}(hjt'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjq'hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``struct phy_c45_device_ids *c45_ids`` where to store the c45 ID information. **Description** Read the PHY "devices in package". If this appears to be valid, read the PHY identifiers for each device. Return the "devices in package" and identifiers in **c45_ids**. Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid or no device responds.h](jX)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hj'h]hstruct mii_bus *bus}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj'ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj'h]hint addr}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj'ubj)}(hN``struct phy_c45_device_ids *c45_ids`` where to store the c45 ID information. h](j)}(h&``struct phy_c45_device_ids *c45_ids``h]j)}(hj'(h]h"struct phy_c45_device_ids *c45_ids}(hj)(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%(ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!(ubj)}(hhh]jX)}(h&where to store the c45 ID information.h]h&where to store the c45 ID information.}(hj@(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<(hMhj=(ubah}(h]h ]h"]h$]h&]uh1jhj!(ubeh}(h]h ]h"]h$]h&]uh1jhj<(hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubjX)}(h**Description**h]j)}(hjb(h]h Description}(hjd(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`(ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj'ubjX)}(hRead the PHY "devices in package". If this appears to be valid, read the PHY identifiers for each device. Return the "devices in package" and identifiers in **c45_ids**.h](hRead the PHY “devices in package”. If this appears to be valid, read the PHY identifiers for each device. Return the “devices in package” and identifiers in }(hjx(hhhNhNubj)}(h **c45_ids**h]hc45_ids}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx(ubh.}(hjx(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj'ubjX)}(hReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid or no device responds.h](hReturns zero on success, }(hj(hhhNhNubj)}(h``-EIO``h]h-EIO}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh on bus access error, or }(hj(hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubhB if the “devices in package” is invalid or no device responds.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c22_id (C function)c.get_phy_c22_idhNtauh1hhjThhhNhNubh)}(hhh](h)}(h?int get_phy_c22_id (struct mii_bus *bus, int addr, u32 *phy_id)h]h)}(h>int get_phy_c22_id(struct mii_bus *bus, int addr, u32 *phy_id)h](j)}(hinth]hint}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(hhhj(hMubj)}(hget_phy_c22_idh]j%)}(hget_phy_c22_idh]hget_phy_c22_id}(hj )hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj )ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj(hMubj)}(h,(struct mii_bus *bus, int addr, u32 *phy_id)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj))hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%)ubj)}(h h]h }(hj6)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%)ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjG)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjI)modnameN classnameNjj!)}j$]j')}jj)sbc.get_phy_c22_idasbuh1hhj%)ubj)}(h h]h }(hjg)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%)ubj;)}(hj>h]h*}(hju)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%)ubj%)}(hbush]hbus}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!)ubj)}(hint addrh](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj%)}(haddrh]haddr}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!)ubj)}(h u32 *phy_idh](h)}(hhh]j%)}(hu32h]hu32}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]jc)c.get_phy_c22_idasbuh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hphy_idh]hphy_id}(hj *hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj(hhhj(hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(hhhj(hMubah}(h]j(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMhj(hhubjS)}(hhh]jX)}(h.reads the specified addr for its clause 22 ID.h]h.reads the specified addr for its clause 22 ID.}(hj6*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj3*hhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhj(hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjN*jxjN*jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``u32 *phy_id`` where to store the ID retrieved. **Description** Read the 802.3 clause 22 PHY ID from the PHY at **addr** on the **bus**, placing it in **phy_id**. Return zero on successful read and the ID is valid, ``-EIO`` on bus access error, or ``-ENODEV`` if no device responds or invalid ID.h](jX)}(h**Parameters**h]j)}(hjX*h]h Parameters}(hjZ*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV*ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjR*ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjw*h]hstruct mii_bus *bus}(hjy*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju*ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjq*ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjq*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjn*ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj*h]hint addr}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj*ubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjn*ubj)}(h1``u32 *phy_id`` where to store the ID retrieved. h](j)}(h``u32 *phy_id``h]j)}(hj*h]h u32 *phy_id}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj*ubj)}(hhh]jX)}(h where to store the ID retrieved.h]h where to store the ID retrieved.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjn*ubeh}(h]h ]h"]h$]h&]uh1jhjR*ubjX)}(h**Description**h]j)}(hj$+h]h Description}(hj&+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"+ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjR*ubjX)}(hRead the 802.3 clause 22 PHY ID from the PHY at **addr** on the **bus**, placing it in **phy_id**. Return zero on successful read and the ID is valid, ``-EIO`` on bus access error, or ``-ENODEV`` if no device responds or invalid ID.h](h0Read the 802.3 clause 22 PHY ID from the PHY at }(hj:+hhhNhNubj)}(h**addr**h]haddr}(hjB+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:+ubh on the }(hj:+hhhNhNubj)}(h**bus**h]hbus}(hjT+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:+ubh, placing it in }(hj:+hhhNhNubj)}(h **phy_id**h]hphy_id}(hjf+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:+ubh6. Return zero on successful read and the ID is valid, }(hj:+hhhNhNubj)}(h``-EIO``h]h-EIO}(hjx+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:+ubh on bus access error, or }(hj:+hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:+ubh% if no device responds or invalid ID.}(hj:+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjR*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhjThhhNhNubh)}(hhh](h)}(hWvoid phy_prepare_link (struct phy_device *phydev, void (*handler)(struct net_device *))h]h)}(hUvoid phy_prepare_link(struct phy_device *phydev, void (*handler)(struct net_device*))h](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj+hMubj)}(hphy_prepare_linkh]j%)}(hphy_prepare_linkh]hphy_prepare_link}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj+hMubj)}(h@(struct phy_device *phydev, void (*handler)(struct net_device*))h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj ,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj ,modnameN classnameNjj!)}j$]j')}jj+sbc.phy_prepare_linkasbuh1hhj+ubj)}(h h]h }(hj>,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hjL,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hphydevh]hphydev}(hjY,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(hjr,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn,ubj;)}(hjh]h(}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn,ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn,ubj%)}(hhandlerh]hhandler}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn,ubj;)}(hjh]h)}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn,ubj;)}(hjh]h(}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn,ubh)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjn,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn,ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j:,c.phy_prepare_linkasbuh1hhjn,ubj;)}(hj>h]h*}(hj -hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn,ubj;)}(hjh]h)}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj+hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj+hMubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hMhj+hhubjS)}(hhh]jX)}(h-prepares the PHY layer to monitor link statush]h-prepares the PHY layer to monitor link status}(hjB-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj?-hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj+hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZ-jxjZ-jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``void (*handler)(struct net_device *)`` callback function for link status change notifications **Description** Tells the PHY infrastructure to handle the gory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h](jX)}(h**Parameters**h]j)}(hjd-h]h Parameters}(hjf-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb-ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj^-ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj-h]hstruct phy_device *phydev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj}-ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj}-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjz-ubj)}(h```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj-h]h$void (*handler)(struct net_device *)}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubj)}(hhh]jX)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjz-ubeh}(h]h ]h"]h$]h&]uh1jhj^-ubjX)}(h**Description**h]j)}(hj-h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj^-ubj)}(hhh]j)}(hXTells the PHY infrastructure to handle the gory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h](j)}(h*Tells the PHY infrastructure to handle theh]h*Tells the PHY infrastructure to handle the}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj.ubj)}(hhh]jX)}(hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h]hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don’t call this function.}(hj&.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj#.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj".hMhj .ubah}(h]h ]h"]h$]h&]uh1jhj^-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhjThhhNhNubh)}(hhh](h)}(h.int phy_poll_reset (struct phy_device *phydev)h]h)}(h-int phy_poll_reset(struct phy_device *phydev)h](j)}(hinth]hint}(hjg.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc.hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM?ubj)}(h h]h }(hjv.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc.hhhju.hM?ubj)}(hphy_poll_reseth]j%)}(hphy_poll_reseth]hphy_poll_reset}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjc.hhhju.hM?ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jj.sbc.phy_poll_resetasbuh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hphydevh]hphydev}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubah}(h]h ]h"]h$]h&]j<j=uh1jhjc.hhhju.hM?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_.hhhju.hM?ubah}(h]jZ.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhju.hM?hj\.hhubjS)}(hhh]jX)}(h4Safely wait until a PHY reset has properly completedh]h4Safely wait until a PHY reset has properly completed}(hj'/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM?hj$/hhubah}(h]h ]h"]h$]h&]uh1jRhj\.hhhju.hM?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?/jxj?/jyjzj{uh1hhhhjThNhNubj})}(hXM**Parameters** ``struct phy_device *phydev`` The PHY device to poll **Description** According to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, as published in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears. Furthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete. Some PHYs (such as the Marvell 88E1111) don't entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even *REQUIRE* a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.h](jX)}(h**Parameters**h]j)}(hjI/h]h Parameters}(hjK/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG/ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMChjC/ubj)}(hhh]j)}(h5``struct phy_device *phydev`` The PHY device to poll h](j)}(h``struct phy_device *phydev``h]j)}(hjh/h]hstruct phy_device *phydev}(hjj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf/ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM@hjb/ubj)}(hhh]jX)}(hThe PHY device to pollh]hThe PHY device to poll}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}/hM@hj~/ubah}(h]h ]h"]h$]h&]uh1jhjb/ubeh}(h]h ]h"]h$]h&]uh1jhj}/hM@hj_/ubah}(h]h ]h"]h$]h&]uh1jhjC/ubjX)}(h**Description**h]j)}(hj/h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMBhjC/ubj)}(hhh]j)}(hXAccording to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, as published in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears. Furthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete. Some PHYs (such as the Marvell 88E1111) don't entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even *REQUIRE* a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.h](j)}(h=According to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, ash]h=According to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, as}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMMhj/ubj)}(hhh](jX)}(hpublished in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears.h]hpublished in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMChj/ubjX)}(hFurthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete.h]hFurthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMFhj/ubjX)}(hXSome PHYs (such as the Marvell 88E1111) don't entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even *REQUIRE* a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.h](hSome PHYs (such as the Marvell 88E1111) don’t entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even }(hj/hhhNhNubju)}(h *REQUIRE*h]hREQUIRE}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1juhj/ubhX a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMIhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMMhj/ubah}(h]h ]h"]h$]h&]uh1jhjC/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_config_advert (C function)c.genphy_config_adverthNtauh1hhjThhhNhNubh)}(hhh](h)}(hQint genphy_config_advert (struct phy_device *phydev, const unsigned long *advert)h]h)}(hPint genphy_config_advert(struct phy_device *phydev, const unsigned long *advert)h](j)}(hinth]hint}(hjC0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?0hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjR0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?0hhhjQ0hMubj)}(hgenphy_config_adverth]j%)}(hgenphy_config_adverth]hgenphy_config_advert}(hjd0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?0hhhjQ0hMubj)}(h8(struct phy_device *phydev, const unsigned long *advert)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|0ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jjf0sbc.genphy_config_advertasbuh1hhj|0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|0ubj%)}(hphydevh]hphydev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx0ubj)}(hconst unsigned long *adverth](h)}(hjh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(hunsignedh]hunsigned}(hj 1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(hlongh]hlong}(hj)1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj71hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjE1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hadverth]hadvert}(hjR1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?0hhhjQ0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;0hhhjQ0hMubah}(h]j60ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQ0hMhj80hhubjS)}(hhh]jX)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hj|1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjy1hhubah}(h]h ]h"]h$]h&]uh1jRhj80hhhjQ0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const unsigned long *advert`` auto-negotiation parameters to advertise **Description** Writes MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj1h]hstruct phy_device *phydev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubj)}(hI``const unsigned long *advert`` auto-negotiation parameters to advertise h](j)}(h``const unsigned long *advert``h]j)}(hj1h]hconst unsigned long *advert}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubj)}(hhh]jX)}(h(auto-negotiation parameters to advertiseh]h(auto-negotiation parameters to advertise}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 2hMhj 2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj 2hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hj12h]h Description}(hj32hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/2ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubj)}(hhh]j)}(hWrites MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.h](j)}(h1Writes MII_ADVERTISE with the appropriate values,h]h1Writes MII_ADVERTISE with the appropriate values,}(hjN2hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjJ2ubj)}(hhh]jX)}(hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.h]hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY’s advertisement hasn’t changed, and > 0 if it has changed.}(hj`2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj]2ubah}(h]h ]h"]h$]h&]uh1jhjJ2ubeh}(h]h ]h"]h$]h&]uh1jhj\2hMhjG2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c37_config_advert (C function)c.genphy_c37_config_adverthNtauh1hhjThhhNhNubh)}(hhh](h)}(h8int genphy_c37_config_advert (struct phy_device *phydev)h]h)}(h7int genphy_c37_config_advert(struct phy_device *phydev)h](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhj2hMubj)}(hgenphy_c37_config_adverth]j%)}(hgenphy_c37_config_adverth]hgenphy_c37_config_advert}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhj2hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jj2sbc.genphy_c37_config_advertasbuh1hhj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj*3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hphydevh]hphydev}(hj73hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhj2hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj2hMubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hMhj2hhubjS)}(hhh]jX)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hja3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj^3hhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhj2hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjy3jxjy3jyjzj{uh1hhhhjThNhNubj})}(hXz**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Writes MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h](jX)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj}3ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj3h]hstruct phy_device *phydev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj3ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj}3ubjX)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj}3ubj)}(hhh]j)}(hXWrites MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h](j)}(h1Writes MII_ADVERTISE with the appropriate values,h]h1Writes MII_ADVERTISE with the appropriate values,}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj3ubj)}(hhh]jX)}(hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h]hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY’s advertisement hasn’t changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj 4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj}3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhjThhhNhNubh)}(hhh](h)}(h"int phy_probe (struct device *dev)h]h)}(h!int phy_probe(struct device *dev)h](j)}(hinth]hint}(hjM4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI4hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM< ubj)}(h h]h }(hj\4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI4hhhj[4hM< ubj)}(h phy_probeh]j%)}(h phy_probeh]h phy_probe}(hjn4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjI4hhhj[4hM< ubj)}(h(struct device *dev)h]j)}(hstruct device *devh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(hdeviceh]hdevice}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjp4sb c.phy_probeasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hdevh]hdev}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubah}(h]h ]h"]h$]h&]j<j=uh1jhjI4hhhj[4hM< ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjE4hhhj[4hM< ubah}(h]j@4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[4hM< hjB4hhubjS)}(hhh]jX)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM< hj 5hhubah}(h]h ]h"]h$]h&]uh1jRhjB4hhhj[4hM< ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%5jxj%5jyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct device *dev`` device to probe and init **Description** Take care of setting up the phy_device structure, set the state to READY.h](jX)}(h**Parameters**h]j)}(hj/5h]h Parameters}(hj15hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-5ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM@ hj)5ubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hjN5h]hstruct device *dev}(hjP5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL5ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM= hjH5ubj)}(hhh]jX)}(hdevice to probe and inith]hdevice to probe and init}(hjg5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjc5hM= hjd5ubah}(h]h ]h"]h$]h&]uh1jhjH5ubeh}(h]h ]h"]h$]h&]uh1jhjc5hM= hjE5ubah}(h]h ]h"]h$]h&]uh1jhj)5ubjX)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM? hj)5ubjX)}(hITake care of setting up the phy_device structure, set the state to READY.h]hITake care of setting up the phy_device structure, set the state to READY.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM> hj)5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_find_bus (C function)c.mdio_find_bushNtauh1hhjThhhNhNubh)}(hhh](h)}(h6struct mii_bus * mdio_find_bus (const char *mdio_name)h]h)}(h4struct mii_bus *mdio_find_bus(const char *mdio_name)h](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMqubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hMqubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}j mdio_find_bussbc.mdio_find_busasbuh1hhj5hhhj5hMqubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hMqubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5hhhj5hMqubj)}(h mdio_find_bush]j%)}(hj 6h]h mdio_find_bus}(hj-6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhj5hMqubj)}(h(const char *mdio_name)h]j)}(hconst char *mdio_nameh](h)}(hjh]hconst}(hjH6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjD6ubj)}(h h]h }(hjU6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD6ubj)}(hcharh]hchar}(hjc6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD6ubj)}(h h]h }(hjq6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjD6ubj%)}(h mdio_nameh]h mdio_name}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhj5hMqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhj5hMqubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMqhj5hhubjS)}(hhh]jX)}(h.Given the name of a mdiobus, find the mii_bus.h]h.Given the name of a mdiobus, find the mii_bus.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMqhj6hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhj5hMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``const char *mdio_name`` The name of a mdiobus. **Description** Returns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put_deviced'ed once the bus is finished with.h](jX)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMuhj6ubj)}(hhh]j)}(h1``const char *mdio_name`` The name of a mdiobus. h](j)}(h``const char *mdio_name``h]j)}(hj6h]hconst char *mdio_name}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhj6ubj)}(hhh]jX)}(hThe name of a mdiobus.h]hThe name of a mdiobus.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 7hMrhj 7ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj 7hMrhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hj27h]h Description}(hj47hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj07ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthj6ubjX)}(hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put_deviced'ed once the bus is finished with.h]hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put_deviced’ed once the bus is finished with.}(hjH7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMshj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hof_mdio_find_bus (C function)c.of_mdio_find_bushNtauh1hhjThhhNhNubh)}(hhh](h)}(hCstruct mii_bus * of_mdio_find_bus (struct device_node *mdio_bus_np)h]h)}(hAstruct mii_bus *of_mdio_find_bus(struct device_node *mdio_bus_np)h](h)}(hjh]hstruct}(hjw7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjs7hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs7hhhj7hMubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jof_mdio_find_bussbc.of_mdio_find_busasbuh1hhjs7hhhj7hMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs7hhhj7hMubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjs7hhhj7hMubj)}(hof_mdio_find_bush]j%)}(hj7h]hof_mdio_find_bus}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjs7hhhj7hMubj)}(h!(struct device_node *mdio_bus_np)h]j)}(hstruct device_node *mdio_bus_nph](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(h device_nodeh]h device_node}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j7c.of_mdio_find_busasbuh1hhj7ubj)}(h h]h }(hj-8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj;8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(h mdio_bus_nph]h mdio_bus_np}(hjH8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubah}(h]h ]h"]h$]h&]j<j=uh1jhjs7hhhj7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjo7hhhj7hMubah}(h]jj7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMhjl7hhubjS)}(hhh]jX)}(h(Given an mii_bus node, find the mii_bus.h]h(Given an mii_bus node, find the mii_bus.}(hjr8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjo8hhubah}(h]h ]h"]h$]h&]uh1jRhjl7hhhj7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct device_node *mdio_bus_np`` Pointer to the mii_bus. **Description** Returns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put once the bus is finished with. Because the association of a device_node and mii_bus is made via of_mdiobus_register(), the mii_bus cannot be found before it is registered with of_mdiobus_register().h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj8ubj)}(hhh]j)}(h<``struct device_node *mdio_bus_np`` Pointer to the mii_bus. h](j)}(h#``struct device_node *mdio_bus_np``h]j)}(hj8h]hstruct device_node *mdio_bus_np}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj8ubj)}(hhh]jX)}(hPointer to the mii_bus.h]hPointer to the mii_bus.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj8ubjX)}(hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put once the bus is finished with.h]hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put once the bus is finished with.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj8ubjX)}(hBecause the association of a device_node and mii_bus is made via of_mdiobus_register(), the mii_bus cannot be found before it is registered with of_mdiobus_register().h]hBecause the association of a device_node and mii_bus is made via of_mdiobus_register(), the mii_bus cannot be found before it is registered with of_mdiobus_register().}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhjThhhNhNubh)}(hhh](h)}(h>int __mdiobus_read (struct mii_bus *bus, int addr, u32 regnum)h]h)}(h=int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hinth]hint}(hjB9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>9hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjQ9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>9hhhjP9hMubj)}(h__mdiobus_readh]j%)}(h__mdiobus_readh]h__mdiobus_read}(hjc9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>9hhhjP9hMubj)}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{9ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jje9sbc.__mdiobus_readasbuh1hhj{9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{9ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{9ubj%)}(hbush]hbus}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw9ubj)}(hint addrh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(haddrh]haddr}(hj :hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw9ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj):hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+:modnameN classnameNjj!)}j$]j9c.__mdiobus_readasbuh1hhj":ubj)}(h h]h }(hjG:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj":ubj%)}(hregnumh]hregnum}(hjU:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj":ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>9hhhjP9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:9hhhjP9hMubah}(h]j59ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjP9hMhj79hhubjS)}(hhh]jX)}(h-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj|:hhubah}(h]h ]h"]h$]h&]uh1jRhj79hhhjP9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhjThNhNubj})}(hX **Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj:h]hstruct mii_bus *bus}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj:ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj:h]hint addr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj:ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj2;h]h u32 regnum}(hj4;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0;ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj,;ubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjK;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjG;hMhjH;ubah}(h]h ]h"]h$]h&]uh1jhj,;ubeh}(h]h ]h"]h$]h&]uh1jhjG;hMhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubjX)}(h**Description**h]j)}(hjm;h]h Description}(hjo;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk;ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:ubjX)}(h=Read a MDIO bus register. Caller must hold the mdio bus lock.h]h=Read a MDIO bus register. Caller must hold the mdio bus lock.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:ubjX)}(h**NOTE**h]j)}(hj;h]hNOTE}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:ubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhjThhhNhNubh)}(hhh](h)}(hHint __mdiobus_write (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]h)}(hGint __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj;hMubj)}(h__mdiobus_writeh]j%)}(h__mdiobus_writeh]h__mdiobus_write}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj#<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj4<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6<modnameN classnameNjj!)}j$]j')}jj;sbc.__mdiobus_writeasbuh1hhj<ubj)}(h h]h }(hjT<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hjb<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hbush]hbus}(hjo<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hint addrh](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(haddrh]haddr}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]jP<c.__mdiobus_writeasbuh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hregnumh]hregnum}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj =modnameN classnameNjj!)}j$]jP<c.__mdiobus_writeasbuh1hhj=ubj)}(h h]h }(hj&=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hvalh]hval}(hj4=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhj;hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj;hMubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hMhj;hhubjS)}(hhh]jX)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hj^=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj[=hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjv=jxjv=jyjzj{uh1hhhhjThNhNubj})}(hX:**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** Write a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~=ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjz=ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj=h]hstruct mii_bus *bus}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj=ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj=h]hint addr}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj=ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj>h]h u32 regnum}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj >ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj*>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&>hMhj'>ubah}(h]h ]h"]h$]h&]uh1jhj >ubeh}(h]h ]h"]h$]h&]uh1jhj&>hMhj=ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjJ>h]hu16 val}(hjL>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH>ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjD>ubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjc>hhhNhNubj)}(h **regnum**h]hregnum}(hjk>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc>ubeh}(h]h ]h"]h$]h&]uh1jWhj_>hMhj`>ubah}(h]h ]h"]h$]h&]uh1jhjD>ubeh}(h]h ]h"]h$]h&]uh1jhj_>hMhj=ubeh}(h]h ]h"]h$]h&]uh1jhjz=ubjX)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjz=ubjX)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjz=ubjX)}(h**NOTE**h]j)}(hj>h]hNOTE}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjz=ubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjz=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhjThhhNhNubh)}(hhh](h)}(h[int __mdiobus_modify_changed (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]h)}(hZint __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj ?hMubj)}(h__mdiobus_modify_changedh]j%)}(h__mdiobus_modify_changedh]h__mdiobus_modify_changed}(hj ?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj ?hMubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjh]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8?ubj%)}(hbush]hbus}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4?ubj)}(hint addrh](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(haddrh]haddr}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4?ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]jv?c.__mdiobus_modify_changedasbuh1hhj?ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hregnumh]hregnum}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4?ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj.@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0@modnameN classnameNjj!)}j$]jv?c.__mdiobus_modify_changedasbuh1hhj'@ubj)}(h h]h }(hjL@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'@ubj%)}(hmaskh]hmask}(hjZ@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4?ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjv@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjx@modnameN classnameNjj!)}j$]jv?c.__mdiobus_modify_changedasbuh1hhjo@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo@ubj%)}(hseth]hset}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4?ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhj ?hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhj ?hMubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj ?hMhj>hhubjS)}(hhh]jX)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhj ?hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Read, modify, and if any change, write the register value back to the device. Any error returns a negative number. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj Ah]hstruct mii_bus *bus}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Aubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjAubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj&AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"AhMhj#Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj"AhMhjAubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjFAh]hint addr}(hjHAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDAubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@Aubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj_AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[AhMhj\Aubah}(h]h ]h"]h$]h&]uh1jhj@Aubeh}(h]h ]h"]h$]h&]uh1jhj[AhMhjAubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjAh]h u32 regnum}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Aubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjyAubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjyAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjAubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjAh]hu16 mask}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjAubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjAubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjAh]hu16 set}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjAubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hj,Bh]h Description}(hj.BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Bubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@ubjX)}(hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.h]hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.}(hjBBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@ubjX)}(h**NOTE**h]j)}(hjSBh]hNOTE}(hjUBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQBubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@ubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjiBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhjThhhNhNubh)}(hhh](h)}(hMint __mdiobus_c45_read (struct mii_bus *bus, int addr, int devad, u32 regnum)h]h)}(hLint __mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjBhMubj)}(h__mdiobus_c45_readh]j%)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjBhMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jjBsbc.__mdiobus_c45_readasbuh1hhjBubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hj!ChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hbush]hbus}(hj.ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hint addrh](j)}(hinth]hint}(hjGChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCCubj)}(h h]h }(hjUChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCCubj%)}(haddrh]haddr}(hjcChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(h int devadh](j)}(hinth]hint}(hj|ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxCubj%)}(hdevadh]hdevad}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jCc.__mdiobus_c45_readasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(hregnumh]hregnum}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjBhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjBhMubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhMhjBhhubjS)}(hhh]jX)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked version of the mdiobus_c45_read function}(hj DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhjBhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"Djxj"Djyjzj{uh1hhhhjThNhNubj})}(hX4**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hj,Dh]h Parameters}(hj.DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Dubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj&Dubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjKDh]hstruct mii_bus *bus}(hjMDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIDubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjEDubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjdDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`DhMhjaDubah}(h]h ]h"]h$]h&]uh1jhjEDubeh}(h]h ]h"]h$]h&]uh1jhj`DhMhjBDubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjDh]hint addr}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj~Dubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhj~Dubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjBDubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjDh]h int devad}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjDubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjBDubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjDh]h u32 regnum}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjDubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj EhMhj Eubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj EhMhjBDubeh}(h]h ]h"]h$]h&]uh1jhj&DubjX)}(h**Description**h]j)}(hj1Eh]h Description}(hj3EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Eubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj&DubjX)}(h=Read a MDIO bus register. Caller must hold the mdio bus lock.h]h=Read a MDIO bus register. Caller must hold the mdio bus lock.}(hjGEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj&DubjX)}(h**NOTE**h]j)}(hjXEh]hNOTE}(hjZEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVEubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj&DubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjnEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj&Dubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhjThhhNhNubh)}(hhh](h)}(hWint __mdiobus_c45_write (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]h)}(hVint __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM0ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjEhM0ubj)}(h__mdiobus_c45_writeh]j%)}(h__mdiobus_c45_writeh]h__mdiobus_c45_write}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjEhM0ubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjEsbc.__mdiobus_c45_writeasbuh1hhjEubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hj&FhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hbush]hbus}(hj3FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hint addrh](j)}(hinth]hint}(hjLFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHFubj)}(h h]h }(hjZFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHFubj%)}(haddrh]haddr}(hjhFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h int devadh](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}Fubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}Fubj%)}(hdevadh]hdevad}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}Fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]jFc.__mdiobus_c45_writeasbuh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hregnumh]hregnum}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]jFc.__mdiobus_c45_writeasbuh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hvalh]hval}(hj-GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjEhM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhjEhM0ubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhM0hjEhhubjS)}(hhh]jX)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjWGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM0hjTGhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhjEhM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjoGjxjoGjyjzj{uh1hhhhjThNhNubj})}(hXb**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** Write a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjyGh]h Parameters}(hj{GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwGubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM4hjsGubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjGh]hstruct mii_bus *bus}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM1hjGubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhM1hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM1hjGubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjGh]hint addr}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM2hjGubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhM2hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM2hjGubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj Hh]h int devad}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM3hjHubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hj#HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM3hj Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM3hjGubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjCHh]h u32 regnum}(hjEHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAHubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM4hj=Hubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj\HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXHhM4hjYHubah}(h]h ]h"]h$]h&]uh1jhj=Hubeh}(h]h ]h"]h$]h&]uh1jhjXHhM4hjGubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj|Hh]hu16 val}(hj~HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzHubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM5hjvHubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjHhhhNhNubj)}(h **regnum**h]hregnum}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jWhjHhM5hjHubah}(h]h ]h"]h$]h&]uh1jhjvHubeh}(h]h ]h"]h$]h&]uh1jhjHhM5hjGubeh}(h]h ]h"]h$]h&]uh1jhjsGubjX)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM7hjsGubjX)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM6hjsGubjX)}(h**NOTE**h]j)}(hjHh]hNOTE}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM8hjsGubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM9hjsGubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hCint mdiobus_read_nested (struct mii_bus *bus, int addr, u32 regnum)h]h)}(hBint mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hinth]hint}(hj1IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-Ihhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMsubj)}(h h]h }(hj@IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Ihhhj?IhMsubj)}(hmdiobus_read_nestedh]j%)}(hmdiobus_read_nestedh]hmdiobus_read_nested}(hjRIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-Ihhhj?IhMsubj)}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjnIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjIubj)}(h h]h }(hj{IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjIubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjTIsbc.mdiobus_read_nestedasbuh1hhjjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjIubj%)}(hbush]hbus}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfIubj)}(hint addrh](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(haddrh]haddr}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfIubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jIc.mdiobus_read_nestedasbuh1hhjJubj)}(h h]h }(hj6JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hregnumh]hregnum}(hjDJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfIubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-Ihhhj?IhMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)Ihhhj?IhMsubah}(h]j$Iah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?IhMshj&IhhubjS)}(hhh]jX)}(h+Nested version of the mdiobus_read functionh]h+Nested version of the mdiobus_read function}(hjnJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMshjkJhhubah}(h]h ]h"]h$]h&]uh1jRhj&Ihhhj?IhMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMwhjJubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjJh]hstruct mii_bus *bus}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjJubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMthjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMthjJubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjJh]hint addr}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMuhjJubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMuhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMuhjJubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj!Kh]h u32 regnum}(hj#KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMvhjKubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hj:KhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6KhMvhj7Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj6KhMvhjJubeh}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hj\Kh]h Description}(hj^KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZKubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMxhjJubjX)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hjrKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMwhjJubjX)}(h**NOTE**h]j)}(hjKh]hNOTE}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMzhjJubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM{hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhjThhhNhNubh)}(hhh](h)}(hh]h*}(hjQLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hbush]hbus}(hj^LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hint addrh](j)}(hinth]hint}(hjwLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsLubj%)}(haddrh]haddr}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j?Lc.mdiobus_readasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hregnumh]hregnum}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhMubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhjKhhubjS)}(hhh]jX)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hj'Mh]h Parameters}(hj)MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Mubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj!Mubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjFMh]hstruct mii_bus *bus}(hjHMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDMubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@Mubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj_MhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[MhMhj\Mubah}(h]h ]h"]h$]h&]uh1jhj@Mubeh}(h]h ]h"]h$]h&]uh1jhj[MhMhj=Mubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjMh]hint addr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Mubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjyMubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjyMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj=Mubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjMh]h u32 regnum}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjMubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj=Mubeh}(h]h ]h"]h$]h&]uh1jhj!MubjX)}(h**NOTE**h]j)}(hjMh]hNOTE}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj!MubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj!Mubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhjThhhNhNubh)}(hhh](h)}(hKint mdiobus_c45_read (struct mii_bus *bus, int addr, int devad, u32 regnum)h]h)}(hJint mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hinth]hint}(hj8NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Nhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjGNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4NhhhjFNhMubj)}(hmdiobus_c45_readh]j%)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hjYNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4NhhhjFNhMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjuNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqNubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j')}jj[Nsbc.mdiobus_c45_readasbuh1hhjqNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqNubj%)}(hbush]hbus}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmNubj)}(hint addrh](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(haddrh]haddr}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmNubj)}(h int devadh](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj*OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(hdevadh]hdevad}(hj8OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmNubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjTOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVOmodnameN classnameNjj!)}j$]jNc.mdiobus_c45_readasbuh1hhjMOubj)}(h h]h }(hjrOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMOubj%)}(hregnumh]hregnum}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmNubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4NhhhjFNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0NhhhjFNhMubah}(h]j+Nah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFNhMhj-NhhubjS)}(hhh]jX)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jRhj-NhhhjFNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjThNhNubj})}(hX>**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjOh]hstruct mii_bus *bus}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj$Ph]hint addr}(hj&PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Pubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjPubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj=PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9PhMhj:Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj9PhMhjOubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj]Ph]h int devad}(hj_PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Pubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjWPubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjvPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrPhMhjsPubah}(h]h ]h"]h$]h&]uh1jhjWPubeh}(h]h ]h"]h$]h&]uh1jhjrPhMhjOubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjPh]h u32 regnum}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjPubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjOubjX)}(h**NOTE**h]j)}(hjPh]hNOTE}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hRint mdiobus_c45_read_nested (struct mii_bus *bus, int addr, int devad, u32 regnum)h]h)}(hQint mdiobus_c45_read_nested(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj%QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhj$QhMubj)}(hmdiobus_c45_read_nestedh]j%)}(hmdiobus_c45_read_nestedh]hmdiobus_c45_read_nested}(hj7QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3Qubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhj$QhMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjSQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOQubj)}(h h]h }(hj`QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOQubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjqQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsQmodnameN classnameNjj!)}j$]j')}jj9Qsbc.mdiobus_c45_read_nestedasbuh1hhjOQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOQubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOQubj%)}(hbush]hbus}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKQubj)}(hint addrh](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(haddrh]haddr}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKQubj)}(h int devadh](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hdevadh]hdevad}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKQubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj2RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Rubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4RmodnameN classnameNjj!)}j$]jQc.mdiobus_c45_read_nestedasbuh1hhj+Rubj)}(h h]h }(hjPRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+Rubj%)}(hregnumh]hregnum}(hj^RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhj$QhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhj$QhMubah}(h]j Qah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$QhMhj QhhubjS)}(hhh]jX)}(h/Nested version of the mdiobus_c45_read functionh]h/Nested version of the mdiobus_c45_read function}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jRhj Qhhhj$QhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjRh]hstruct mii_bus *bus}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjRubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjSh]hint addr}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhjRubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj;Sh]h int devad}(hj=ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Subah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj5Subj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjTShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPShMhjQSubah}(h]h ]h"]h$]h&]uh1jhj5Subeh}(h]h ]h"]h$]h&]uh1jhjPShMhjRubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjtSh]h u32 regnum}(hjvShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrSubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjnSubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjnSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjRubeh}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubjX)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubjX)}(h**NOTE**h]j)}(hjSh]hNOTE}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mdiobus_write_nested (C function)c.mdiobus_write_nestedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hMint mdiobus_write_nested (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]h)}(hLint mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj*ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhj)ThMubj)}(hmdiobus_write_nestedh]j%)}(hmdiobus_write_nestedh]hmdiobus_write_nested}(hjTsbc.mdiobus_write_nestedasbuh1hhjTTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTTubj%)}(hbush]hbus}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPTubj)}(hint addrh](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(haddrh]haddr}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPTubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jTc.mdiobus_write_nestedasbuh1hhjTubj)}(h h]h }(hj UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hregnumh]hregnum}(hj.UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPTubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjJUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLUmodnameN classnameNjj!)}j$]jTc.mdiobus_write_nestedasbuh1hhjCUubj)}(h h]h }(hjhUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCUubj%)}(hvalh]hval}(hjvUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhj)ThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhj)ThMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)ThMhjThhubjS)}(hhh]jX)}(h,Nested version of the mdiobus_write functionh]h,Nested version of the mdiobus_write function}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhj)ThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjUh]hstruct mii_bus *bus}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjUubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjVh]hint addr}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjVubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj3VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/VhMhj0Vubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhj/VhMhjUubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjSVh]h u32 regnum}(hjUVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQVubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjMVubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjlVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhVhMhjiVubah}(h]h ]h"]h$]h&]uh1jhjMVubeh}(h]h ]h"]h$]h&]uh1jhjhVhMhjUubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjVh]hu16 val}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjVubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjVhhhNhNubj)}(h **regnum**h]hregnum}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjUubeh}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUubjX)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUubjX)}(h**NOTE**h]j)}(hjVh]hNOTE}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhjThhhNhNubh)}(hhh](h)}(hFint mdiobus_write (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]h)}(hEint mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hinth]hint}(hjAWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=Whhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjPWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=WhhhjOWhMubj)}(h mdiobus_writeh]j%)}(h mdiobus_writeh]h mdiobus_write}(hjbWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^Wubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=WhhhjOWhMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj~WhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzWubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjdWsbc.mdiobus_writeasbuh1hhjzWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzWubj%)}(hbush]hbus}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvWubj)}(hint addrh](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(haddrh]haddr}(hj XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvWubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj(XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%Xubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*XmodnameN classnameNjj!)}j$]jWc.mdiobus_writeasbuh1hhj!Xubj)}(h h]h }(hjFXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!Xubj%)}(hregnumh]hregnum}(hjTXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!Xubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvWubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjpXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrXmodnameN classnameNjj!)}j$]jWc.mdiobus_writeasbuh1hhjiXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiXubj%)}(hvalh]hval}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvWubeh}(h]h ]h"]h$]h&]j<j=uh1jhj=WhhhjOWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9WhhhjOWhMubah}(h]j4Wah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOWhMhj6WhhubjS)}(hhh]jX)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jRhj6WhhhjOWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhjThNhNubj})}(hXC**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjXubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjYh]hstruct mii_bus *bus}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjXubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj@Yh]hint addr}(hjBYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Yubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:Yubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjYYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUYhMhjVYubah}(h]h ]h"]h$]h&]uh1jhj:Yubeh}(h]h ]h"]h$]h&]uh1jhjUYhMhjXubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjyYh]h u32 regnum}(hj{YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwYubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjsYubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjsYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjXubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjYh]hu16 val}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjYhhhNhNubj)}(h **regnum**h]hregnum}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjXubeh}(h]h ]h"]h$]h&]uh1jhjXubjX)}(h**NOTE**h]j)}(hjYh]hNOTE}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjXubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhjThhhNhNubh)}(hhh](h)}(hUint mdiobus_c45_write (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]h)}(hTint mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hj@ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyZubj%)}(hbush]hbus}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuZubj)}(hint addrh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(haddrh]haddr}(hj [hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuZubj)}(h int devadh](j)}(hinth]hint}(hj$[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj [ubj)}(h h]h }(hj2[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj [ubj%)}(hdevadh]hdevad}(hj@[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj [ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuZubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj\[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^[modnameN classnameNjj!)}j$]jZc.mdiobus_c45_writeasbuh1hhjU[ubj)}(h h]h }(hjz[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU[ubj%)}(hregnumh]hregnum}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuZubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jZc.mdiobus_c45_writeasbuh1hhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hvalh]hval}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuZubeh}(h]h ]h"]h$]h&]j<j=uh1jhjh]h*}(hj6^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hbush]hbus}(hjC^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hint addrh](j)}(hinth]hint}(hj\^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX^ubj)}(h h]h }(hjj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX^ubj%)}(haddrh]haddr}(hjx^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(h int devadh](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hdevadh]hdevad}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j$^c.mdiobus_c45_write_nestedasbuh1hhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hregnumh]hregnum}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j$^c.mdiobus_c45_write_nestedasbuh1hhj _ubj)}(h h]h }(hj/_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj _ubj%)}(hvalh]hval}(hj=_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj _ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhj]hMubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhj]hhubjS)}(hhh]jX)}(h0Nested version of the mdiobus_c45_write functionh]h0Nested version of the mdiobus_c45_write function}(hjg_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjd_hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM"hj_ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj_h]hstruct mii_bus *bus}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj_ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhj_ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj_h]hint addr}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hj_ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM hj_ubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj`h]h int devad}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM!hj`ubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hj3`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/`hM!hj0`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj/`hM!hj_ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjS`h]h u32 regnum}(hjU`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM"hjM`ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjl`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh`hM"hji`ubah}(h]h ]h"]h$]h&]uh1jhjM`ubeh}(h]h ]h"]h$]h&]uh1jhjh`hM"hj_ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj`h]hu16 val}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM#hj`ubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj`hhhNhNubj)}(h **regnum**h]hregnum}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jWhj`hM#hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM#hj_ubeh}(h]h ]h"]h$]h&]uh1jhj_ubjX)}(h**Description**h]j)}(hj`h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM%hj_ubjX)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM$hj_ubjX)}(h**NOTE**h]j)}(hj`h]hNOTE}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM'hj_ubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM(hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhjThhhNhNubh)}(hhh](h)}(hQint mdiobus_modify (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]h)}(hPint mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjAahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ahhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMNubj)}(h h]h }(hjPahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ahhhjOahMNubj)}(hmdiobus_modifyh]j%)}(hmdiobus_modifyh]hmdiobus_modify}(hjbahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^aubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=ahhhjOahMNubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj~ahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzaubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jjdasbc.mdiobus_modifyasbuh1hhjzaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzaubj%)}(hbush]hbus}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvaubj)}(hint addrh](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(haddrh]haddr}(hj bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvaubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj(bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*bmodnameN classnameNjj!)}j$]jac.mdiobus_modifyasbuh1hhj!bubj)}(h h]h }(hjFbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!bubj%)}(hregnumh]hregnum}(hjTbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvaubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjpbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrbmodnameN classnameNjj!)}j$]jac.mdiobus_modifyasbuh1hhjibubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjibubj%)}(hmaskh]hmask}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjibubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvaubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jac.mdiobus_modifyasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hseth]hset}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvaubeh}(h]h ]h"]h$]h&]j<j=uh1jhj=ahhhjOahMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9ahhhjOahMNubah}(h]j4aah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOahMNhj6ahhubjS)}(hhh]jX)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMNhj chhubah}(h]h ]h"]h$]h&]uh1jRhj6ahhhjOahMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&cjxj&cjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to seth](jX)}(h**Parameters**h]j)}(hj0ch]h Parameters}(hj2chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.cubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMRhj*cubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjOch]hstruct mii_bus *bus}(hjQchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMPhjIcubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdchMPhjecubah}(h]h ]h"]h$]h&]uh1jhjIcubeh}(h]h ]h"]h$]h&]uh1jhjdchMPhjFcubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjch]hint addr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMQhjcubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMQhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMQhjFcubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjch]h u32 regnum}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMRhjcubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMRhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMRhjFcubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjch]hu16 mask}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMShjcubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMShjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMShjFcubj)}(h#``u16 set`` bit mask of bits to seth](j)}(h ``u16 set``h]j)}(hj3dh]hu16 set}(hj5dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1dubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMUhj-dubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjLdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMThjIdubah}(h]h ]h"]h$]h&]uh1jhj-dubeh}(h]h ]h"]h$]h&]uh1jhjHdhMUhjFcubeh}(h]h ]h"]h$]h&]uh1jhj*cubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_modify (C function)c.mdiobus_c45_modifyhNtauh1hhjThhhNhNubh)}(hhh](h)}(h`int mdiobus_c45_modify (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h]h)}(h_int mdiobus_c45_modify(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjdhMcubj)}(hmdiobus_c45_modifyh]j%)}(hmdiobus_c45_modifyh]hmdiobus_c45_modify}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjdhMcubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jjdsbc.mdiobus_c45_modifyasbuh1hhjdubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hbush]hbus}(hj#ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(hint addrh](j)}(hinth]hint}(hj(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jjjhsbc.mdiobus_modify_changedasbuh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hbush]hbus}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|hubj)}(hint addrh](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(haddrh]haddr}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|hubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj.ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0imodnameN classnameNjj!)}j$]jhc.mdiobus_modify_changedasbuh1hhj'iubj)}(h h]h }(hjLihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'iubj%)}(hregnumh]hregnum}(hjZihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|hubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjvihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjximodnameN classnameNjj!)}j$]jhc.mdiobus_modify_changedasbuh1hhjoiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoiubj%)}(hmaskh]hmask}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|hubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]jhc.mdiobus_modify_changedasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj%)}(hseth]hset}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|hubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhhjUhhM{ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhhjUhhM{ubah}(h]j:hah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhhM{hjh]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hbush]hbus}(hj)lhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hint addrh](j)}(hinth]hint}(hjBlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>lubj)}(h h]h }(hjPlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>lubj%)}(haddrh]haddr}(hj^lhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>lubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h int devadh](j)}(hinth]hint}(hjwlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjslubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjslubj%)}(hdevadh]hdevad}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjslubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j lc.mdiobus_c45_modify_changedasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hregnumh]hregnum}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j lc.mdiobus_c45_modify_changedasbuh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hmaskh]hmask}(hj#mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hj?mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hj(`h]hd}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubah}(h]h ]h"]h$]h&]j<j=uh1jhjIohhhj[ohKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEohhhj[ohKubah}(h]j@oah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[ohKhjBohhubjS)}(hhh]jX)}(hmii_bus device release callbackh]hmii_bus device release callback}(hj phhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj phhubah}(h]h ]h"]h$]h&]uh1jRhjBohhhj[ohKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$pjxj$pjyjzj{uh1hhhhjThNhNubj})}(h**Parameters** ``struct device *d`` the target struct device that contains the mii_bus **Description** called when the last reference to an mii_bus is dropped, to free the underlying memory.h](jX)}(h**Parameters**h]j)}(hj.ph]h Parameters}(hj0phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,pubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj(pubj)}(hhh]j)}(hH``struct device *d`` the target struct device that contains the mii_bus h](j)}(h``struct device *d``h]j)}(hjMph]hstruct device *d}(hjOphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjGpubj)}(hhh]jX)}(h2the target struct device that contains the mii_bush]h2the target struct device that contains the mii_bus}(hjfphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbphKhjcpubah}(h]h ]h"]h$]h&]uh1jhjGpubeh}(h]h ]h"]h$]h&]uh1jhjbphKhjDpubah}(h]h ]h"]h$]h&]uh1jhj(pubjX)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj(pubjX)}(hWcalled when the last reference to an mii_bus is dropped, to free the underlying memory.h]hWcalled when the last reference to an mii_bus is dropped, to free the underlying memory.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj(pubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhjThhhNhNubh)}(hhh](h)}(hjint __mdiobus_c45_modify_changed (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h]h)}(hiint __mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMRubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjphMRubj)}(h__mdiobus_c45_modify_changedh]j%)}(h__mdiobus_c45_modify_changedh]h__mdiobus_c45_modify_changed}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjphMRubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj qhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj(qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%qubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*qmodnameN classnameNjj!)}j$]j')}jjpsbc.__mdiobus_c45_modify_changedasbuh1hhjqubj)}(h h]h }(hjHqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjVqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hbush]hbus}(hjcqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hint addrh](j)}(hinth]hint}(hj|qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxqubj%)}(haddrh]haddr}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(h int devadh](j)}(hinth]hint}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hdevadh]hdevad}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jDqc.__mdiobus_c45_modify_changedasbuh1hhjqubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hregnumh]hregnum}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj1rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.rubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3rmodnameN classnameNjj!)}j$]jDqc.__mdiobus_c45_modify_changedasbuh1hhj*rubj)}(h h]h }(hjOrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*rubj%)}(hmaskh]hmask}(hj]rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjyrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{rmodnameN classnameNjj!)}j$]jDqc.__mdiobus_c45_modify_changedasbuh1hhjrrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrrubj%)}(hseth]hset}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubeh}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjphMRubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjphMRubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMRhjphhubjS)}(hhh]jX)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMRhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjphMRubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjThNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Read, modify, and if any change, write the register value back to the device. Any error returns a negative number. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMVhjrubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjsh]hstruct mii_bus *bus}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMShj subj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj)shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%shMShj&subah}(h]h ]h"]h$]h&]uh1jhj subeh}(h]h ]h"]h$]h&]uh1jhj%shMShjsubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjIsh]hint addr}(hjKshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMThjCsubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjbshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^shMThj_subah}(h]h ]h"]h$]h&]uh1jhjCsubeh}(h]h ]h"]h$]h&]uh1jhj^shMThjsubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjsh]h int devad}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMUhj|subj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMUhjsubah}(h]h ]h"]h$]h&]uh1jhj|subeh}(h]h ]h"]h$]h&]uh1jhjshMUhjsubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjsh]h u32 regnum}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMVhjsubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMVhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMVhjsubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjsh]hu16 mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMWhjsubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj thhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj thMWhj tubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj thMWhjsubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj-th]hu16 set}(hj/thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+tubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMXhj'tubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjFthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBthMXhjCtubah}(h]h ]h"]h$]h&]uh1jhj'tubeh}(h]h ]h"]h$]h&]uh1jhjBthMXhjsubeh}(h]h ]h"]h$]h&]uh1jhjrubjX)}(h**Description**h]j)}(hjhth]h Description}(hjjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjftubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMZhjrubjX)}(hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.h]hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.}(hj~thhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMYhjrubjX)}(h**NOTE**h]j)}(hjth]hNOTE}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM\hjrubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM]hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_match (C function)c.mdio_bus_matchhNtauh1hhjThhhNhNubh)}(hhh](h)}(hHint mdio_bus_match (struct device *dev, const struct device_driver *drv)h]h)}(hGint mdio_bus_match(struct device *dev, const struct device_driver *drv)h](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjthMubj)}(hmdio_bus_matchh]j%)}(hmdio_bus_matchh]hmdio_bus_match}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjthMubj)}(h5(struct device *dev, const struct device_driver *drv)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj uubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubh)}(hhh]j%)}(hdeviceh]hdevice}(hj/uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,uubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1umodnameN classnameNjj!)}j$]j')}jjtsbc.mdio_bus_matchasbuh1hhj uubj)}(h h]h }(hjOuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubj;)}(hj>h]h*}(hj]uhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj uubj%)}(hdevh]hdev}(hjjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj uubj)}(hconst struct device_driver *drvh](h)}(hjh]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(h device_driverh]h device_driver}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]jKuc.mdio_bus_matchasbuh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hdrvh]hdrv}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj uubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjthMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjthMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMhjthhubjS)}(hhh]jX)}(h=determine if given MDIO driver supports the given MDIO deviceh]h=determine if given MDIO driver supports the given MDIO device}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7vjxj7vjyjzj{uh1hhhhjThNhNubj})}(hXv**Parameters** ``struct device *dev`` target MDIO device ``const struct device_driver *drv`` given MDIO driver **Description** Given a MDIO device, and a MDIO driver, return 1 if the driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.h](jX)}(h**Parameters**h]j)}(hjAvh]h Parameters}(hjCvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?vubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhj;vubj)}(hhh](j)}(h*``struct device *dev`` target MDIO device h](j)}(h``struct device *dev``h]j)}(hj`vh]hstruct device *dev}(hjbvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^vubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjZvubj)}(hhh]jX)}(htarget MDIO deviceh]htarget MDIO device}(hjyvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuvhMhjvvubah}(h]h ]h"]h$]h&]uh1jhjZvubeh}(h]h ]h"]h$]h&]uh1jhjuvhMhjWvubj)}(h6``const struct device_driver *drv`` given MDIO driver h](j)}(h#``const struct device_driver *drv``h]j)}(hjvh]hconst struct device_driver *drv}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjvubj)}(hhh]jX)}(hgiven MDIO driverh]hgiven MDIO driver}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjWvubeh}(h]h ]h"]h$]h&]uh1jhj;vubjX)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhj;vubj)}(hhh]j)}(hGiven a MDIO device, and a MDIO driver, return 1 if the driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.h](j)}(h3Given a MDIO device, and a MDIO driver, return 1 ifh]h3Given a MDIO device, and a MDIO driver, return 1 if}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjvubj)}(hhh]jX)}(hthe driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.h]hthe driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhj;vubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjThhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhjhhhhhKoubh)}(hhh](h)}(hPHYLINKh]hPHYLINK}(hj6whhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3whhhhhKubj )}(hPHYLINK interfaces traditional network drivers with PHYLIB, fixed-links, and SFF modules (eg, hot-pluggable SFP) that may contain PHYs. PHYLINK provides management of the link state and link modes. h]jX)}(hPHYLINK interfaces traditional network drivers with PHYLIB, fixed-links, and SFF modules (eg, hot-pluggable SFP) that may contain PHYs. PHYLINK provides management of the link state and link modes.h]hPHYLINK interfaces traditional network drivers with PHYLIB, fixed-links, and SFF modules (eg, hot-pluggable SFP) that may contain PHYs. PHYLINK provides management of the link state and link modes.}(hjHwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhhhKhjDwubah}(h]h ]h"]h$]h&]uh1j hhhKhj3whhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_link_state (C struct)c.phylink_link_statehNtauh1hhj3whhhNhNubh)}(hhh](h)}(hphylink_link_stateh]h)}(hstruct phylink_link_stateh](h)}(hjh]hstruct}(hjuwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqwhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqwhhhjwhKubj)}(hphylink_link_stateh]j%)}(hjowh]hphylink_link_state}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqwhhhjwhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmwhhhjwhKubah}(h]jhwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhKhjjwhhubjS)}(hhh]jX)}(hlink state structureh]hlink state structure}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjjwhhhjwhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj3whNhNubj})}(hX**Definition**:: struct phylink_link_state { unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; }; **Members** ``advertising`` ethtool bitmask containing advertised link modes ``lp_advertising`` ethtool bitmask containing link partner advertised link modes ``interface`` link :c:type:`typedef phy_interface_t ` mode ``speed`` link speed, one of the SPEED_* constants. ``duplex`` link duplex mode, one of DUPLEX_* constants. ``pause`` link pause state, described by MLO_PAUSE_* constants. ``rate_matching`` rate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (**speed** and **duplex**) and the speed/duplex of the phy interface mode (**interface**) are different. ``link`` true if the link is up. ``an_complete`` true if autonegotiation has completed.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh:}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhjwubjU)}(hXZstruct phylink_link_state { unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; };h]hXZstruct phylink_link_state { unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; };}hjwsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKnhjwubjX)}(h **Members**h]j)}(hjxh]hMembers}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKzhjwubj)}(hhh](j)}(hA``advertising`` ethtool bitmask containing advertised link modes h](j)}(h``advertising``h]j)}(hj$xh]h advertising}(hj&xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"xubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKjhjxubj)}(hhh]jX)}(h0ethtool bitmask containing advertised link modesh]h0ethtool bitmask containing advertised link modes}(hj=xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9xhKjhj:xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj9xhKjhjxubj)}(hQ``lp_advertising`` ethtool bitmask containing link partner advertised link modes h](j)}(h``lp_advertising``h]j)}(hj]xh]hlp_advertising}(hj_xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[xubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhjWxubj)}(hhh]jX)}(h=ethtool bitmask containing link partner advertised link modesh]h=ethtool bitmask containing link partner advertised link modes}(hjvxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKkhjsxubah}(h]h ]h"]h$]h&]uh1jhjWxubeh}(h]h ]h"]h$]h&]uh1jhjrxhKlhjxubj)}(hL``interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h ``interface``h]j)}(hjxh]h interface}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKmhjxubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjxhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjxh]htypedef phy_interface_t}(hjxhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjxhKmhjxubh mode}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjxhKmhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKmhjxubj)}(h4``speed`` link speed, one of the SPEED_* constants. h](j)}(h ``speed``h]j)}(hjxh]hspeed}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKnhjxubj)}(hhh]jX)}(h)link speed, one of the SPEED_* constants.h]h)link speed, one of the SPEED_* constants.}(hj yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhKnhj yubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhKnhjxubj)}(h8``duplex`` link duplex mode, one of DUPLEX_* constants. h](j)}(h ``duplex``h]j)}(hj,yh]hduplex}(hj.yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*yubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKohj&yubj)}(hhh]jX)}(h,link duplex mode, one of DUPLEX_* constants.h]h,link duplex mode, one of DUPLEX_* constants.}(hjEyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAyhKohjByubah}(h]h ]h"]h$]h&]uh1jhj&yubeh}(h]h ]h"]h$]h&]uh1jhjAyhKohjxubj)}(h@``pause`` link pause state, described by MLO_PAUSE_* constants. h](j)}(h ``pause``h]j)}(hjeyh]hpause}(hjgyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcyubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKphj_yubj)}(hhh]jX)}(h5link pause state, described by MLO_PAUSE_* constants.h]h5link pause state, described by MLO_PAUSE_* constants.}(hj~yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzyhKphj{yubah}(h]h ]h"]h$]h&]uh1jhj_yubeh}(h]h ]h"]h$]h&]uh1jhjzyhKphjxubj)}(hX ``rate_matching`` rate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (**speed** and **duplex**) and the speed/duplex of the phy interface mode (**interface**) are different. h](j)}(h``rate_matching``h]j)}(hjyh]h rate_matching}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKthjyubj)}(hhh]jX)}(hrate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (**speed** and **duplex**) and the speed/duplex of the phy interface mode (**interface**) are different.h](hrate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (}(hjyhhhNhNubj)}(h **speed**h]hspeed}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh and }(hjyhhhNhNubj)}(h **duplex**h]hduplex}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh2) and the speed/duplex of the phy interface mode (}(hjyhhhNhNubj)}(h **interface**h]h interface}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh) are different.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKqhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhKthjxubj)}(h!``link`` true if the link is up. h](j)}(h``link``h]j)}(hjzh]hlink}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj zubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKuhjzubj)}(hhh]jX)}(htrue if the link is up.h]htrue if the link is up.}(hj'zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#zhKuhj$zubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj#zhKuhjxubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hjGzh]h an_complete}(hjIzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEzubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKuhjAzubj)}(hhh]jX)}(h&true if autonegotiation has completed.h]h&true if autonegotiation has completed.}(hj`zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKvhj]zubah}(h]h ]h"]h$]h&]uh1jhjAzubeh}(h]h ]h"]h$]h&]uh1jhj\zhKuhjxubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_config (C struct)c.phylink_confighNtauh1hhj3whhhNhNubh)}(hhh](h)}(hphylink_configh]h)}(hstruct phylink_configh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK|ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjzhK|ubj)}(hphylink_configh]j%)}(hjzh]hphylink_config}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjzhK|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjzhK|ubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhK|hjzhhubjS)}(hhh]jX)}(hPHYLINK configuration structureh]hPHYLINK configuration structure}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjzhK|ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhj3whNhNubj})}(hX**Definition**:: struct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; }; **Members** ``dev`` a pointer to a struct device associated with the MAC ``type`` operation type of PHYLINK instance ``poll_fixed_state`` if true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode. ``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. ``mac_requires_rxc`` if true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events. ``default_an_inband`` if true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override. ``eee_rx_clk_stop_enable`` if true, PHY can stop the receive clock during LPI ``get_fixed_state`` callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode. ``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. ``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. ``mac_capabilities`` MAC pause/speed/duplex capabilities. ``lpi_capabilities`` MAC speeds which can support LPI signalling ``lpi_timer_default`` Default EEE LPI timer setting. ``eee_enabled_default`` If set, EEE will be enabled by phylink at creation timeh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh:}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjzubjU)}(hXTstruct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; };h]hXTstruct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; };}hj {sbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjzubjX)}(h **Members**h]j)}(hj1{h]hMembers}(hj3{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/{ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjzubj)}(hhh](j)}(h=``dev`` a pointer to a struct device associated with the MAC h](j)}(h``dev``h]j)}(hjP{h]hdev}(hjR{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN{ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjJ{ubj)}(hhh]jX)}(h4a pointer to a struct device associated with the MACh]h4a pointer to a struct device associated with the MAC}(hji{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhje{hKhjf{ubah}(h]h ]h"]h$]h&]uh1jhjJ{ubeh}(h]h ]h"]h$]h&]uh1jhje{hKhjG{ubj)}(h,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hj{h]htype}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj{ubj)}(hhh]jX)}(h"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjG{ubj)}(hY``poll_fixed_state`` if true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode. h](j)}(h``poll_fixed_state``h]j)}(hj{h]hpoll_fixed_state}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj{ubj)}(hhh]jX)}(hCif true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode.h](h-if true, starts link_poll, if MAC link is at }(hj{hhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh mode.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjG{ubj)}(hO``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. h](j)}(h``mac_managed_pm``h]j)}(hj|h]hmac_managed_pm}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj |ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj|ubj)}(hhh]jX)}(h;if true, indicate the MAC driver is responsible for PHY PM.h]h;if true, indicate the MAC driver is responsible for PHY PM.}(hj'|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#|hKhj$|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj#|hKhjG{ubj)}(h``mac_requires_rxc`` if true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events. h](j)}(h``mac_requires_rxc``h]j)}(hjG|h]hmac_requires_rxc}(hjI|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE|ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjA|ubj)}(hhh]jX)}(hif true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events.h]hif true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events.}(hj`|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj]|ubah}(h]h ]h"]h$]h&]uh1jhjA|ubeh}(h]h ]h"]h$]h&]uh1jhj\|hKhjG{ubj)}(h{``default_an_inband`` if true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override. h](j)}(h``default_an_inband``h]j)}(hj|h]hdefault_an_inband}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj{|ubj)}(hhh]jX)}(hdif true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override.h]hdif true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj|ubah}(h]h ]h"]h$]h&]uh1jhj{|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjG{ubj)}(hN``eee_rx_clk_stop_enable`` if true, PHY can stop the receive clock during LPI h](j)}(h``eee_rx_clk_stop_enable``h]j)}(hj|h]heee_rx_clk_stop_enable}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj|ubj)}(hhh]jX)}(h2if true, PHY can stop the receive clock during LPIh]h2if true, PHY can stop the receive clock during LPI}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjG{ubj)}(ht``get_fixed_state`` callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode. h](j)}(h``get_fixed_state``h]j)}(hj|h]hget_fixed_state}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj|ubj)}(hhh]jX)}(h_callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode.h](hIcallback to execute to determine the fixed link state, if MAC link is at }(hj }hhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj }ubh mode.}(hj }hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj }ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj }hKhjG{ubj)}(hf``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. h](j)}(h``supported_interfaces``h]j)}(hj@}h]hsupported_interfaces}(hjB}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>}ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj:}ubj)}(hhh]jX)}(hLbitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS.h]hLbitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS.}(hjY}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjV}ubah}(h]h ]h"]h$]h&]uh1jhj:}ubeh}(h]h ]h"]h$]h&]uh1jhjU}hKhjG{ubj)}(h[``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. h](j)}(h``lpi_interfaces``h]j)}(hjz}h]hlpi_interfaces}(hj|}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx}ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjt}ubj)}(hhh]jX)}(hGbitmap describing which PHY interface modes can support LPI signalling.h]hGbitmap describing which PHY interface modes can support LPI signalling.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj}ubah}(h]h ]h"]h$]h&]uh1jhjt}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhjG{ubj)}(h:``mac_capabilities`` MAC pause/speed/duplex capabilities. h](j)}(h``mac_capabilities``h]j)}(hj}h]hmac_capabilities}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj}ubj)}(hhh]jX)}(h$MAC pause/speed/duplex capabilities.h]h$MAC pause/speed/duplex capabilities.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhjG{ubj)}(hA``lpi_capabilities`` MAC speeds which can support LPI signalling h](j)}(h``lpi_capabilities``h]j)}(hj}h]hlpi_capabilities}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj}ubj)}(hhh]jX)}(h+MAC speeds which can support LPI signallingh]h+MAC speeds which can support LPI signalling}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hKhjG{ubj)}(h5``lpi_timer_default`` Default EEE LPI timer setting. h](j)}(h``lpi_timer_default``h]j)}(hj&~h]hlpi_timer_default}(hj(~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj ~ubj)}(hhh]jX)}(hDefault EEE LPI timer setting.h]hDefault EEE LPI timer setting.}(hj?~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;~hKhj<~ubah}(h]h ]h"]h$]h&]uh1jhj ~ubeh}(h]h ]h"]h$]h&]uh1jhj;~hKhjG{ubj)}(hO``eee_enabled_default`` If set, EEE will be enabled by phylink at creation timeh](j)}(h``eee_enabled_default``h]j)}(hj_~h]heee_enabled_default}(hja~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjY~ubj)}(hhh]jX)}(h7If set, EEE will be enabled by phylink at creation timeh]h7If set, EEE will be enabled by phylink at creation time}(hjx~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhju~ubah}(h]h ]h"]h$]h&]uh1jhjY~ubeh}(h]h ]h"]h$]h&]uh1jhjt~hKhjG{ubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_ops (C struct)c.phylink_mac_opshNtauh1hhj3whhhNhNubh)}(hhh](h)}(hphylink_mac_opsh]h)}(hstruct phylink_mac_opsh](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hKubj)}(hphylink_mac_opsh]j%)}(hj~h]hphylink_mac_ops}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhj~hKubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hKhj~hhubjS)}(hhh]jX)}(hMAC operations structure.h]hMAC operations structure.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj~hhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhj~hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Definition**:: struct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); }; **Members** ``mac_get_caps`` Get MAC capabilities for interface mode. ``mac_select_pcs`` Select a PCS for the interface mode. ``mac_prepare`` prepare for a major reconfiguration of the interface. ``mac_config`` configure the MAC for the selected mode and state. ``mac_finish`` finish a major reconfiguration of the interface. ``mac_link_down`` take the link down. ``mac_link_up`` allow the link to come up. ``mac_disable_tx_lpi`` disable LPI. ``mac_enable_tx_lpi`` enable and configure LPI.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjU)}(hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); };h]hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); };}hj8sbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjX)}(h **Members**h]j)}(hjIh]hMembers}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(h:``mac_get_caps`` Get MAC capabilities for interface mode. h](j)}(h``mac_get_caps``h]j)}(hjhh]h mac_get_caps}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjbubj)}(hhh]jX)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hKhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj_ubj)}(h8``mac_select_pcs`` Select a PCS for the interface mode. h](j)}(h``mac_select_pcs``h]j)}(hjh]hmac_select_pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(h$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj_ubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjh]h mac_prepare}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(h5prepare for a major reconfiguration of the interface.h]h5prepare for a major reconfiguration of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj_ubj)}(hB``mac_config`` configure the MAC for the selected mode and state. h](j)}(h``mac_config``h]j)}(hjh]h mac_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj ubj)}(hhh]jX)}(h2configure the MAC for the selected mode and state.h]h2configure the MAC for the selected mode and state.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hKhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhj_ubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hjLh]h mac_finish}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjFubj)}(hhh]jX)}(h0finish a major reconfiguration of the interface.h]h0finish a major reconfiguration of the interface.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahKhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahKhj_ubj)}(h&``mac_link_down`` take the link down. h](j)}(h``mac_link_down``h]j)}(hjh]h mac_link_down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(htake the link down.h]htake the link down.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj_ubj)}(h+``mac_link_up`` allow the link to come up. h](j)}(h``mac_link_up``h]j)}(hjh]h mac_link_up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(hallow the link to come up.h]hallow the link to come up.}(hj׀hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjӀhKhjԀubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӀhKhj_ubj)}(h$``mac_disable_tx_lpi`` disable LPI. h](j)}(h``mac_disable_tx_lpi``h]j)}(hjh]hmac_disable_tx_lpi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(h disable LPI.h]h disable LPI.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhj_ubj)}(h/``mac_enable_tx_lpi`` enable and configure LPI.h](j)}(h``mac_enable_tx_lpi``h]j)}(hj0h]hmac_enable_tx_lpi}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj*ubj)}(hhh]jX)}(henable and configure LPI.h]henable and configure LPI.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKhj_ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubjX)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj3whhubjX)}(h6The individual methods are described more fully below.h]h6The individual methods are described more fully below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj3whhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_get_caps (C function)c.mac_get_capshNtauh1hhj3whhhNhNubh)}(hhh](h)}(hUunsigned long mac_get_caps (struct phylink_config *config, phy_interface_t interface)h]h)}(hTunsigned long mac_get_caps(struct phylink_config *config, phy_interface_t interface)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hlongh]hlong}(hj΁hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hj܁hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h mac_get_capsh]j%)}(h mac_get_capsh]h mac_get_caps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h:(struct phylink_config *config, phy_interface_t interface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}jjsbc.mac_get_capsasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jDc.mac_get_capsasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjՂhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj҂hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``phy_interface_t interface`` PHY interface mode. **Description** Optional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj/hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj9h]hstruct phylink_config}(hj;hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj+hKhj/ubh.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj+hKhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hKhj ubj)}(h2``phy_interface_t interface`` PHY interface mode. h](j)}(h``phy_interface_t interface``h]j)}(hjrh]hphy_interface_t interface}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjlubj)}(hhh]jX)}(hPHY interface mode.h]hPHY interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjX)}(hXOptional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)h]hXOptional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)}(hjÃhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_select_pcs (C function)c.mac_select_pcshNtauh1hhj3whhhNhNubh)}(hhh](h)}(h^struct phylink_pcs * mac_select_pcs (struct phylink_config *config, phy_interface_t interface)h]h)}(h\struct phylink_pcs *mac_select_pcs(struct phylink_config *config, phy_interface_t interface)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jmac_select_pcssbc.mac_select_pcsasbuh1hhjhhhjhKubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKubj)}(hmac_select_pcsh]j%)}(hj/h]hmac_select_pcs}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h:(struct phylink_config *config, phy_interface_t interface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j-c.mac_select_pcsasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hconfigh]hconfig}(hjÄhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj߄hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj܄ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j-c.mac_select_pcsasbuh1hhj؄ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj؄ubj%)}(h interfaceh]h interface}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj؄ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj2hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj3whNhNubj})}(hXE**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``phy_interface_t interface`` PHY interface mode for PCS **Description** Return the :c:type:`struct phylink_pcs ` for the specified interface mode, or NULL if none is required, or an error pointer on error. This must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.h](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjQubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjvh]hstruct phylink_config *config}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjpubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKhjmubj)}(h9``phy_interface_t interface`` PHY interface mode for PCS h](j)}(h``phy_interface_t interface``h]j)}(hj҅h]hphy_interface_t interface}(hjԅhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjЅubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj̅ubj)}(hhh]jX)}(hPHY interface mode for PCSh]hPHY interface mode for PCS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj̅ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjQubjX)}(hReturn the :c:type:`struct phylink_pcs ` for the specified interface mode, or NULL if none is required, or an error pointer on error.h](h Return the }(hj#hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj-h]hstruct phylink_pcs}(hj/hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj#ubh] for the specified interface mode, or NULL if none is required, or an error pointer on error.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhKhjQubjX)}(hThis must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.h]hThis must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_prepare (C function) c.mac_preparehNtauh1hhj3whhhNhNubh)}(hhh](h)}(hYint mac_prepare (struct phylink_config *config, unsigned int mode, phy_interface_t iface)h]h)}(hXint mac_prepare(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h mac_prepareh]j%)}(h mac_prepareh]h mac_prepare}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjΆhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hj߆hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj܆ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.mac_prepareasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj%)}(hmodeh]hmode}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.mac_prepareasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhKubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjyhhubjS)}(hhh]jX)}(h(prepare to change the PHY interface modeh]h(prepare to change the PHY interface mode}(hj݇hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjڇhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. ``phy_interface_t iface`` interface mode to switch to **Description** phylink will call this method at the beginning of a full initialisation of the link, which includes changing the interface mode or at initial startup time. It may be called for the current mode. The MAC driver should perform whatever actions are required, e.g. disabling the Serdes PHY. This will be the first call in the sequence: - mac_prepare() - mac_config() - pcs_config() - possible pcs_an_restart() - mac_finish() Returns zero on success, or negative errno on failure which will be reported to the kernel log.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj7hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjAh]hstruct phylink_config}(hjChhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj3hKhj7ubh.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjzh]hunsigned int mode}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjtubj)}(hhh]jX)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(hinterface mode to switch toh]hinterface mode to switch to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjX)}(hXphylink will call this method at the beginning of a full initialisation of the link, which includes changing the interface mode or at initial startup time. It may be called for the current mode. The MAC driver should perform whatever actions are required, e.g. disabling the Serdes PHY.h]hXphylink will call this method at the beginning of a full initialisation of the link, which includes changing the interface mode or at initial startup time. It may be called for the current mode. The MAC driver should perform whatever actions are required, e.g. disabling the Serdes PHY.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjX)}(hThis will be the first call in the sequence: - mac_prepare() - mac_config() - pcs_config() - possible pcs_an_restart() - mac_finish()h]hThis will be the first call in the sequence: - mac_prepare() - mac_config() - pcs_config() - possible pcs_an_restart() - mac_finish()}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.h]h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_config (C function) c.mac_confighNtauh1hhj3whhhNhNubh)}(hhh](h)}(hjvoid mac_config (struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h]h)}(hivoid mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h mac_configh]j%)}(h mac_configh]h mac_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hZ(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjĉhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjщhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj߉ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.mac_configasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hmodeh]hmode}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&const struct phylink_link_state *stateh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjŠmodnameN classnameNjj!)}j$]j c.mac_configasbuh1hhjubj)}(h h]h }(hjފhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj|hhubjS)}(hhh]jX)}(h1configure the MAC for the selected mode and stateh]h1configure the MAC for the selected mode and state}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj3whNhNubj})}(hX **Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. ``const struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. **Description** Note - not all members of **state** are valid. In particular, **state->lp_advertising**, **state->link**, **state->an_complete** are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields. This will only be called to reconfigure the MAC for a "major" change in e.g. interface mode. It will not be called for changes in speed, duplex or pause modes or to change the in-band advertisement. In all negotiation modes, as defined by **mode**, **state->pause** indicates the pause settings which should be applied as follows. If ``MLO_PAUSE_AN`` is not set, ``MLO_PAUSE_TX`` and ``MLO_PAUSE_RX`` indicate whether the MAC should send pause frames and/or act on received pause frames respectively. Otherwise, the results of in-band negotiation/status from the MAC PCS should be used to control the MAC pause mode settings. The action performed depends on the currently selected mode: ``MLO_AN_FIXED``, ``MLO_AN_PHY``: Configure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by **state->interface**. **state->advertising** may be used, but is not required. Older drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up(). Other members of **state** must be ignored. Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause. ``MLO_AN_INBAND``: place the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the **state->interface** mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change(). Interface mode specific details are mentioned below. If in 802.3z mode, the link speed is fixed, dependent on the **state->interface**. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to the **state->an_enabled** and **state->advertising** flags. Beware of MACs which only support full duplex at gigabit and higher speeds. If in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly. Valid state members: interface, an_enabled, pause, advertising. Implementations are expected to update the MAC to reflect the requested settings - i.o.w., if nothing has changed between two calls, no action is expected. If only flow control settings have changed, flow control should be updated *without* taking the link down. This "update" behaviour is critical to avoid bouncing the link up status.h](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj?ubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjdh]hstruct phylink_config *config}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj^ubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj}hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjyhMhj}ubh.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[ubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hj‹hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjًhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjًubh, }(hjًhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjًubh, }hjًsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjًubh.}(hjًhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjՋhMhj֋ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՋhMhj[ubj)}(ht``const struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hj/h]h&const struct phylink_link_state *state}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj)ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjHhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjRh]hstruct phylink_link_state}(hjThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjDhMhjHubh.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj[ubeh}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj?ubjX)}(hNote - not all members of **state** are valid. In particular, **state->lp_advertising**, **state->link**, **state->an_complete** are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.h](hNote - not all members of }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are valid. In particular, }(hjhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->link**h]h state->link}(hjόhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhn are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj?ubjX)}(hThis will only be called to reconfigure the MAC for a "major" change in e.g. interface mode. It will not be called for changes in speed, duplex or pause modes or to change the in-band advertisement.h]hThis will only be called to reconfigure the MAC for a “major” change in e.g. interface mode. It will not be called for changes in speed, duplex or pause modes or to change the in-band advertisement.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj?ubjX)}(hXIn all negotiation modes, as defined by **mode**, **state->pause** indicates the pause settings which should be applied as follows. If ``MLO_PAUSE_AN`` is not set, ``MLO_PAUSE_TX`` and ``MLO_PAUSE_RX`` indicate whether the MAC should send pause frames and/or act on received pause frames respectively. Otherwise, the results of in-band negotiation/status from the MAC PCS should be used to control the MAC pause mode settings.h](h(In all negotiation modes, as defined by }(hj hhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h**state->pause**h]h state->pause}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhE indicates the pause settings which should be applied as follows. If }(hj hhhNhNubj)}(h``MLO_PAUSE_AN``h]h MLO_PAUSE_AN}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh is not set, }(hj hhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh indicate whether the MAC should send pause frames and/or act on received pause frames respectively. Otherwise, the results of in-band negotiation/status from the MAC PCS should be used to control the MAC pause mode settings.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj?ubjX)}(hinterface**. **state->advertising** may be used, but is not required. Older drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up(). Other members of **state** must be ignored. Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause. h](j)}(h!``MLO_AN_FIXED``, ``MLO_AN_PHY``:h](j)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM3hjubj)}(hhh](jX)}(hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by **state->interface**.h](hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM&hjubjX)}(h8**state->advertising** may be used, but is not required.h](j)}(h**state->advertising**h]hstate->advertising}(hjߍhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۍubh" may be used, but is not required.}(hjۍhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM*hjubjX)}(hOlder drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().h](h:Older drivers (prior to the mac_link_up() change) may use }(hjhhhNhNubj)}(h**state->speed**h]h state->speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM,hjubjX)}(h+Other members of **state** must be ignored.h](hOther members of }(hj=hhhNhNubj)}(h **state**h]hstate}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh must be ignored.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM0hjubjX)}(h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.h]h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM2hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(hX``MLO_AN_INBAND``: place the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the **state->interface** mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change(). Interface mode specific details are mentioned below. If in 802.3z mode, the link speed is fixed, dependent on the **state->interface**. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to the **state->an_enabled** and **state->advertising** flags. Beware of MACs which only support full duplex at gigabit and higher speeds. If in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly. Valid state members: interface, an_enabled, pause, advertising. h](j)}(h``MLO_AN_INBAND``:h](j)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh:}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMMhjyubj)}(hhh](jX)}(hXYplace the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the **state->interface** mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change().h](hmplace the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hjubjX)}(h4Interface mode specific details are mentioned below.h]h4Interface mode specific details are mentioned below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM=hjubjX)}(hXPIf in 802.3z mode, the link speed is fixed, dependent on the **state->interface**. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to the **state->an_enabled** and **state->advertising** flags. Beware of MACs which only support full duplex at gigabit and higher speeds.h](h=If in 802.3z mode, the link speed is fixed, dependent on the }(hj͎hhhNhNubj)}(h**state->interface**h]hstate->interface}(hjՎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͎ubh|. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to the }(hj͎hhhNhNubj)}(h**state->an_enabled**h]hstate->an_enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͎ubh and }(hj͎hhhNhNubj)}(h**state->advertising**h]hstate->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͎ubhS flags. Beware of MACs which only support full duplex at gigabit and higher speeds.}(hj͎hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM?hjubjX)}(hXPIf in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly.h]hXPIf in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMFhjubjX)}(h?Valid state members: interface, an_enabled, pause, advertising.h]h?Valid state members: interface, an_enabled, pause, advertising.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubeh}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(hXRImplementations are expected to update the MAC to reflect the requested settings - i.o.w., if nothing has changed between two calls, no action is expected. If only flow control settings have changed, flow control should be updated *without* taking the link down. This "update" behaviour is critical to avoid bouncing the link up status.h](hImplementations are expected to update the MAC to reflect the requested settings - i.o.w., if nothing has changed between two calls, no action is expected. If only flow control settings have changed, flow control should be updated }(hjAhhhNhNubju)}(h *without*h]hwithout}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjAubhe taking the link down. This “update” behaviour is critical to avoid bouncing the link up status.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMOhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_finish (C function) c.mac_finishhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hXint mac_finish (struct phylink_config *config, unsigned int mode, phy_interface_t iface)h]h)}(hWint mac_finish(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhjhM[ubj)}(h mac_finishh]j%)}(h mac_finishh]h mac_finish}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhjhM[ubj)}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj̏hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjݏhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڏubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjߏmodnameN classnameNjj!)}j$]j')}jjsb c.mac_finishasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj%)}(hmodeh]hmode}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.mac_finishasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhM[ubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM[hjwhhubjS)}(hhh]jX)}(h)finish a to change the PHY interface modeh]h)finish a to change the PHY interface mode}(hjېhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hjؐhhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjhM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. ``phy_interface_t iface`` interface mode to switch to **Description** phylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the **mode** and **iface**. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare(). Returns zero on success, or negative errno on failure which will be reported to the kernel log.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM_hjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM\hjubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj5hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj?h]hstruct phylink_config}(hjAhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj1hM\hj5ubh.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj1hM\hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM\hjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjxh]hunsigned int mode}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM]hjrubj)}(hhh]jX)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM^hjubj)}(hhh]jX)}(hinterface mode to switch toh]hinterface mode to switch to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj"h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM`hjubjX)}(hXphylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the **mode** and **iface**. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().h](hphylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the }(hj8hhhNhNubj)}(h**mode**h]hmode}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh and }(hj8hhhNhNubj)}(h **iface**h]hiface}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhm. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM_hjubjX)}(h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.h]h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_down (C function)c.mac_link_downhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h`void mac_link_down (struct phylink_config *config, unsigned int mode, phy_interface_t interface)h]h)}(h_void mac_link_down(struct phylink_config *config, unsigned int mode, phy_interface_t interface)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMlubj)}(h mac_link_downh]j%)}(h mac_link_downh]h mac_link_down}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMlubj)}(hM(struct phylink_config *config, unsigned int mode, phy_interface_t interface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjגhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjӒubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӒubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.mac_link_downasbuh1hhjӒubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӒubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjӒubj%)}(hconfigh]hconfig}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӒubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjϒubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(hinth]hint}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjϒubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.mac_link_downasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjɓhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjϒubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMlubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMlhjhhubjS)}(hhh]jX)}(h(notification that the link has gone downh]h(notification that the link has gone down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMlhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` link autonegotiation mode ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode **Description** Notifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called. The MAC should stop processing packets for transmission and reception. phylink will have called netif_carrier_off() to notify the networking stack that the link has gone down, so MAC drivers should not make this call. If **mode** is ``MLO_AN_INBAND``, then this function must not prevent the link coming up.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj4h]hstruct phylink_config *config}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmhj.ubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjMhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjWh]hstruct phylink_config}(hjYhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjIhMmhjMubh.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjIhMmhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMmhj+ubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMnhjubj)}(hhh]jX)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhj+ubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjɔh]hphy_interface_t interface}(hj˔hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǔubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMohjÔubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjޔhMohjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjޔhMohjߔubah}(h]h ]h"]h$]h&]uh1jhjÔubeh}(h]h ]h"]h$]h&]uh1jhjޔhMohj+ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMqhjubjX)}(hvNotifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called.h]hvNotifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjubjX)}(hThe MAC should stop processing packets for transmission and reception. phylink will have called netif_carrier_off() to notify the networking stack that the link has gone down, so MAC drivers should not make this call.h]hThe MAC should stop processing packets for transmission and reception. phylink will have called netif_carrier_off() to notify the networking stack that the link has gone down, so MAC drivers should not make this call.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMshjubjX)}(hYIf **mode** is ``MLO_AN_INBAND``, then this function must not prevent the link coming up.h](hIf }(hj[hhhNhNubj)}(h**mode**h]hmode}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh is }(hj[hhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh9, then this function must not prevent the link coming up.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_up (C function) c.mac_link_uphNtauh1hhj3whhhNhNubh)}(hhh](h)}(hvoid mac_link_up (struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause)h]h)}(hvoid mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h mac_link_uph]j%)}(h mac_link_uph]h mac_link_up}(hjϕhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˕ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjѕsb c.mac_link_upasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j% c.mac_link_upasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hj͖hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɖubj)}(h h]h }(hjۖhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjɖubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɖubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjɖubj%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjɖubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j% c.mac_link_upasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int speedh](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int duplexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool tx_pauseh](j)}(hjTh]hbool}(hjЗhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̗ubj)}(h h]h }(hjݗhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj̗ubj%)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̗ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool rx_pauseh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrx_pauseh]hrx_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h¬ification that the link has come uph]h¬ification that the link has come up}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjFhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``struct phy_device *phy`` any attached phy (deprecated - please use LPI interfaces) ``unsigned int mode`` link autonegotiation mode ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode ``int speed`` link speed ``int duplex`` link duplex ``bool tx_pause`` link transmit pause enablement status ``bool rx_pause`` link receive pause enablement status **Description** Notifies the MAC that the link has come up, and the parameters of the link as seen from the MACs point of view. If mac_link_up() has been called previously, there will be an intervening call to mac_link_down() before this method will be subsequently called. **speed**, **duplex**, **tx_pause** and **rx_pause** indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(**mode**)) is disabled. Note that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method. Once configured, the MAC may begin to process packets for transmission and reception. Interface type selection must be done in mac_config().h](jX)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``struct phy_device *phy`` any attached phy (deprecated - please use LPI interfaces) h](j)}(h``struct phy_device *phy``h]j)}(hjh]hstruct phy_device *phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h9any attached phy (deprecated - please use LPI interfaces)h]h9any attached phy (deprecated - please use LPI interfaces)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjXh]hphy_interface_t interface}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjRubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjqhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj{h]htypedef phy_interface_t}(hj}hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjmhMhjqubh mode}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h link speedh]h link speed}(hj͙hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjəhMhjʙubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjəhMhjubj)}(h``int duplex`` link duplex h](j)}(h``int duplex``h]j)}(hjh]h int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h link duplexh]h link duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``bool tx_pause`` link transmit pause enablement status h](j)}(h``bool tx_pause``h]j)}(hj&h]h bool tx_pause}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jX)}(h%link transmit pause enablement statush]h%link transmit pause enablement status}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(h7``bool rx_pause`` link receive pause enablement status h](j)}(h``bool rx_pause``h]j)}(hj_h]h bool rx_pause}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjYubj)}(hhh]jX)}(h$link receive pause enablement statush]h$link receive pause enablement status}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubeh}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubjX)}(hXNotifies the MAC that the link has come up, and the parameters of the link as seen from the MACs point of view. If mac_link_up() has been called previously, there will be an intervening call to mac_link_down() before this method will be subsequently called.h]hXNotifies the MAC that the link has come up, and the parameters of the link as seen from the MACs point of view. If mac_link_up() has been called previously, there will be an intervening call to mac_link_down() before this method will be subsequently called.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubjX)}(hX6**speed**, **duplex**, **tx_pause** and **rx_pause** indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(**mode**)) is disabled.h](j)}(h **speed**h]hspeed}(hjÚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hj՚hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **tx_pause**h]htx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **rx_pause**h]hrx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(}(hjhhhNhNubj)}(h**mode**h]hmode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)) is disabled.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubjX)}(hNote that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method.h]hNote that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubjX)}(hUOnce configured, the MAC may begin to process packets for transmission and reception.h]hUOnce configured, the MAC may begin to process packets for transmission and reception.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubjX)}(h6Interface type selection must be done in mac_config().h]h6Interface type selection must be done in mac_config().}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_disable_tx_lpi (C function)c.mac_disable_tx_lpihNtauh1hhj3whhhNhNubh)}(hhh](h)}(h7void mac_disable_tx_lpi (struct phylink_config *config)h]h)}(h6void mac_disable_tx_lpi(struct phylink_config *config)h](j)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjhMubj)}(hmac_disable_tx_lpih]j%)}(hmac_disable_tx_lpih]hmac_disable_tx_lpi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjhMubj)}(h(struct phylink_config *config)h]j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hj̛hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjɛubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjΛmodnameN classnameNjj!)}j$]j')}jjsbc.mac_disable_tx_lpiasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhMubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjfhhubjS)}(hhh]jX)}(h!disable LPI generation at the MACh]h!disable LPI generation at the MAC}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj.hhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. **Description** Disable generation of LPI at the MAC, effectively preventing the MAC from indicating that it is idle.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjMubj)}(hhh]j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjrh]hstruct phylink_config *config}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjlubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjМh]h Description}(hjҜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΜubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjMubjX)}(heDisable generation of LPI at the MAC, effectively preventing the MAC from indicating that it is idle.h]heDisable generation of LPI at the MAC, effectively preventing the MAC from indicating that it is idle.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_enable_tx_lpi (C function)c.mac_enable_tx_lpihNtauh1hhj3whhhNhNubh)}(hhh](h)}(hRint mac_enable_tx_lpi (struct phylink_config *config, u32 timer, bool tx_clk_stop)h]h)}(hQint mac_enable_tx_lpi(struct phylink_config *config, u32 timer, bool tx_clk_stop)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj#hMubj)}(hmac_enable_tx_lpih]j%)}(hmac_enable_tx_lpih]hmac_enable_tx_lpi}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj#hMubj)}(h<(struct phylink_config *config, u32 timer, bool tx_clk_stop)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j')}jj8sbc.mac_enable_tx_lpiasbuh1hhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(h u32 timerh](h)}(hhh]j%)}(hu32h]hu32}(hjǝhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĝubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjɝmodnameN classnameNjj!)}j$]jc.mac_enable_tx_lpiasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htimerh]htimer}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(hbool tx_clk_stoph](j)}(hjTh]hbool}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h tx_clk_stoph]h tx_clk_stop}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj#hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hMhj hhubjS)}(hhh]jX)}(h.configure and enable LPI generation at the MACh]h.configure and enable LPI generation at the MAC}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj3whNhNubj})}(hXj**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``u32 timer`` LPI timeout in microseconds. ``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI **Description** Configure the LPI timeout accordingly. This will only be called when the link is already up, to cater for situations where the hardware needs to be programmed according to the link speed. Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped. **Return** 0 on success. Please consult with rmk before returning an error.h](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``u32 timer`` LPI timeout in microseconds. h](j)}(h ``u32 timer``h]j)}(hjh]h u32 timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hLPI timeout in microseconds.h]hLPI timeout in microseconds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI h](j)}(h``bool tx_clk_stop``h]j)}(hj'h]hbool tx_clk_stop}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubj)}(hhh]jX)}(h2allow xMII transmit clock to be stopped during LPIh]h2allow xMII transmit clock to be stopped during LPI}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmubjX)}(hConfigure the LPI timeout accordingly. This will only be called when the link is already up, to cater for situations where the hardware needs to be programmed according to the link speed.h]hConfigure the LPI timeout accordingly. This will only be called when the link is already up, to cater for situations where the hardware needs to be programmed according to the link speed.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmubjX)}(h_Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped.h]h_Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmubjX)}(h@0 on success. Please consult with rmk before returning an error.h]h@0 on success. Please consult with rmk before returning an error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs (C struct) c.phylink_pcshNtauh1hhj3whhhNhNubh)}(hhh](h)}(h phylink_pcsh]h)}(hstruct phylink_pcsh](h)}(hjh]hstruct}(hjݟhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjٟhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjٟhhhjhMubj)}(h phylink_pcsh]j%)}(hjןh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjٟhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj՟hhhjhMubah}(h]jПah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjҟhhubjS)}(hhh]jX)}(hPHYLINK PCS instanceh]hPHYLINK PCS instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjҟhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj3whNhNubj})}(hX**Definition**:: struct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; }; **Members** ``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. ``ops`` a pointer to the :c:type:`struct phylink_pcs_ops ` structure ``phylink`` pointer to :c:type:`struct phylink_config ` ``poll`` poll the PCS for link changes ``rxc_always_on`` The MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh:}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj;ubjU)}(hstruct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; };h]hstruct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; };}hj\sbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj;ubjX)}(h **Members**h]j)}(hjmh]hMembers}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj;ubj)}(hhh](j)}(h\``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. h](j)}(h``supported_interfaces``h]j)}(hjh]hsupported_interfaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.h]hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``ops`` a pointer to the :c:type:`struct phylink_pcs_ops ` structure h](j)}(h``ops``h]j)}(hjƠh]hops}(hjȠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĠubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hMa pointer to the :c:type:`struct phylink_pcs_ops ` structureh](ha pointer to the }(hjߠhhhNhNubh)}(h2:c:type:`struct phylink_pcs_ops `h]j)}(hjh]hstruct phylink_pcs_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_pcs_opsuh1hhj۠hMhjߠubh structure}(hjߠhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj۠hMhjܠubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۠hMhjubj)}(hH``phylink`` pointer to :c:type:`struct phylink_config ` h](j)}(h ``phylink``h]j)}(hj"h]hphylink}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h;pointer to :c:type:`struct phylink_config `h](h pointer to }(hj;hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjEh]hstruct phylink_config}(hjGhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj7hMhj;ubeh}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h'``poll`` poll the PCS for link changes h](j)}(h``poll``h]j)}(hjzh]hpoll}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjtubj)}(hhh]jX)}(hpoll the PCS for link changesh]hpoll the PCS for link changes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``rxc_always_on`` The MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h](j)}(h``rxc_always_on``h]j)}(hjh]h rxc_always_on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hThe MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h]hThe MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.}(hj̡hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjɡubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȡhMhjubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj3whhubjX)}(hvThis structure is designed to be embedded within the PCS private data, and will be passed between phylink and the PCS.h]hvThis structure is designed to be embedded within the PCS private data, and will be passed between phylink and the PCS.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj3whhubjX)}(hWThe **phylink** member is private to phylink and must not be touched by the PCS driver.h](hThe }(hjhhhNhNubj)}(h **phylink**h]hphylink}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhH member is private to phylink and must not be touched by the PCS driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj3whhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_ops (C struct)c.phylink_pcs_opshNtauh1hhj3whhhNhNubh)}(hhh](h)}(hphylink_pcs_opsh]h)}(hstruct phylink_pcs_opsh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjbhMubj)}(hphylink_pcs_opsh]j%)}(hjOh]hphylink_pcs_ops}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjbhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjbhMubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMhjJhhubjS)}(hhh]jX)}(hMAC PCS operations structure.h]hMAC PCS operations structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjbhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Definition**:: struct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); }; **Members** ``pcs_validate`` validate the link configuration. ``pcs_inband_caps`` query inband support for interface mode. ``pcs_enable`` enable the PCS. ``pcs_disable`` disable the PCS. ``pcs_pre_config`` pre-mac_config method (for errata) ``pcs_post_config`` post-mac_config method (for arrata) ``pcs_get_state`` read the current MAC PCS link state from the hardware. ``pcs_config`` configure the MAC PCS for the selected mode and state. ``pcs_an_restart`` restart 802.3z BaseX autonegotiation. ``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). ``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. ``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. ``pcs_pre_init`` configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjU)}(hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };h]hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };}hjԢsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(h2``pcs_validate`` validate the link configuration. h](j)}(h``pcs_validate``h]j)}(hjh]h pcs_validate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h validate the link configuration.h]h validate the link configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``pcs_inband_caps`` query inband support for interface mode. h](j)}(h``pcs_inband_caps``h]j)}(hj=h]hpcs_inband_caps}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj7ubj)}(hhh]jX)}(h(query inband support for interface mode.h]h(query inband support for interface mode.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubj)}(h``pcs_enable`` enable the PCS. h](j)}(h``pcs_enable``h]j)}(hjvh]h pcs_enable}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjpubj)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``pcs_disable`` disable the PCS. h](j)}(h``pcs_disable``h]j)}(hjh]h pcs_disable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hdisable the PCS.h]hdisable the PCS.}(hjȣhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjģhMhjţubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjģhMhjubj)}(h6``pcs_pre_config`` pre-mac_config method (for errata) h](j)}(h``pcs_pre_config``h]j)}(hjh]hpcs_pre_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h"pre-mac_config method (for errata)h]h"pre-mac_config method (for errata)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``pcs_post_config`` post-mac_config method (for arrata) h](j)}(h``pcs_post_config``h]j)}(hj!h]hpcs_post_config}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h#post-mac_config method (for arrata)h]h#post-mac_config method (for arrata)}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(hI``pcs_get_state`` read the current MAC PCS link state from the hardware. h](j)}(h``pcs_get_state``h]j)}(hjZh]h pcs_get_state}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjTubj)}(hhh]jX)}(h6read the current MAC PCS link state from the hardware.h]h6read the current MAC PCS link state from the hardware.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(hF``pcs_config`` configure the MAC PCS for the selected mode and state. h](j)}(h``pcs_config``h]j)}(hjh]h pcs_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h6configure the MAC PCS for the selected mode and state.h]h6configure the MAC PCS for the selected mode and state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``pcs_an_restart`` restart 802.3z BaseX autonegotiation. h](j)}(h``pcs_an_restart``h]j)}(hj̤h]hpcs_an_restart}(hjΤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʤubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjƤubj)}(hhh]jX)}(h%restart 802.3z BaseX autonegotiation.h]h%restart 802.3z BaseX autonegotiation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjƤubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). h](j)}(h``pcs_link_up``h]j)}(hjh]h pcs_link_up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hFprogram the PCS for the resolved link configuration (where necessary).h]hFprogram the PCS for the resolved link configuration (where necessary).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hX``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. h](j)}(h``pcs_disable_eee``h]j)}(hj?h]hpcs_disable_eee}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj9ubj)}(hhh]jX)}(hCoptional notification to PCS that EEE has been disabled at the MAC.h]hCoptional notification to PCS that EEE has been disabled at the MAC.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(hU``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. h](j)}(h``pcs_enable_eee``h]j)}(hjyh]hpcs_enable_eee}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjsubj)}(hhh]jX)}(hAoptional notification to PCS that EEE will be enabled at the MAC.h]hAoptional notification to PCS that EEE will be enabled at the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hm``pcs_pre_init`` configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h](j)}(h``pcs_pre_init``h]j)}(hjh]h pcs_pre_init}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h\configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h]h\configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.}(hj̥hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjȥhMhjɥubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȥhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_validate (C function)c.pcs_validatehNtauh1hhj3whhhNhNubh)}(hhh](h)}(hlint pcs_validate (struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h]h)}(hkint pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h pcs_validateh]j%)}(h pcs_validateh]h pcs_validate}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h[(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj/sbc.pcs_validateasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjɦhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjצhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(h&const struct phylink_link_state *stateh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jc.pcs_validateasbuh1hhjubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h validate the link configuration.h]h validate the link configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjͧjxjͧjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned long *supported`` ethtool bitmask for supported link modes. ``const struct phylink_link_state *state`` a const pointer to a :c:type:`struct phylink_link_state `. **Description** Validate the interface mode, and advertising's autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the :c:type:`struct phylink_mac_ops ` validate() method. Returns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.h](jX)}(h**Parameters**h]j)}(hjקh]h Parameters}(hj٧hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjէubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjѧubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhj hM hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjRh]hunsigned long *supported}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjLubj)}(hhh]jX)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghM hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM hjubj)}(hz``const struct phylink_link_state *state`` a const pointer to a :c:type:`struct phylink_link_state `. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hjh]h&const struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubj)}(hhh]jX)}(hNa const pointer to a :c:type:`struct phylink_link_state `.h](ha const pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjhM hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjѧubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjѧubjX)}(hX"Validate the interface mode, and advertising's autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the :c:type:`struct phylink_mac_ops ` validate() method.h](hValidate the interface mode, and advertising’s autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the }(hjhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hj h]hstruct phylink_mac_ops}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubh validate() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj&hM hjѧubjX)}(hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.h]hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjѧubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_inband_caps (C function)c.pcs_inband_capshNtauh1hhj3whhhNhNubh)}(hhh](h)}(hQunsigned int pcs_inband_caps (struct phylink_pcs *pcs, phy_interface_t interface)h]h)}(hPunsigned int pcs_inband_caps(struct phylink_pcs *pcs, phy_interface_t interface)h](j)}(hunsignedh]hunsigned}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjnhMubj)}(hinth]hint}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhjnhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjnhMubj)}(hpcs_inband_capsh]j%)}(hpcs_inband_capsh]hpcs_inband_caps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjnhMubj)}(h4(struct phylink_pcs *pcs, phy_interface_t interface)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjƩhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjשhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԩubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj٩modnameN classnameNjj!)}j$]j')}jjsbc.pcs_inband_capsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]jc.pcs_inband_capsasbuh1hhj'ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(h interfaceh]h interface}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjnhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjnhMubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMhjUhhubjS)}(hhh]jX)}(h2query PCS in-band capabilities for interface mode.h]h2query PCS in-band capabilities for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjnhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``phy_interface_t interface`` interface mode to be queried **Description** Returns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported for this interface mode.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjŪh]hstruct phylink_pcs *pcs}(hjǪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjêubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjުhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjڪhMhjުubh.}(hjުhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjڪhMhj۪ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڪhMhjubj)}(h;``phy_interface_t interface`` interface mode to be queried h](j)}(h``phy_interface_t interface``h]j)}(hj!h]hphy_interface_t interface}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hinterface mode to be queriedh]hinterface mode to be queried}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj\h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hXMReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported for this interface mode.h](hReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn’t implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from }(hjrhhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hj|h]henum link_inband_signalling}(hj~hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjlink_inband_signallinguh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjrubhF to describe which inband modes are supported for this interface mode.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable (C function) c.pcs_enablehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h(int pcs_enable (struct phylink_pcs *pcs)h]h)}(h'int pcs_enable(struct phylink_pcs *pcs)h](j)}(hinth]hint}(hjīhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(ubj)}(h h]h }(hjӫhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjҫhM(ubj)}(h pcs_enableh]j%)}(h pcs_enableh]h pcs_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjҫhM(ubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jjsb c.pcs_enableasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjҫhM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjҫhM(ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjҫhM(hjhhubjS)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjҫhM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM,hjubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjŬh]hstruct phylink_pcs *pcs}(hjǬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjìubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.hjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjެhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hjެubh.}(hjެhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM)hj۬ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڬhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable (C function) c.pcs_disablehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h*void pcs_disable (struct phylink_pcs *pcs)h]h)}(h)void pcs_disable(struct phylink_pcs *pcs)h](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhM.ubj)}(h pcs_disableh]j%)}(h pcs_disableh]h pcs_disable}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjPhM.ubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesb c.pcs_disableasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hj˭hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hpcsh]hpcs}(hjحhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubah}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhjPhM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhjPhM.ubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhM.hj7hhubjS)}(hhh]jX)}(hdisable the PCS.h]hdisable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.hjhhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhjPhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM2hjubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjCh]hstruct phylink_pcs *pcs}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM4hj=ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj\hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjfh]hstruct phylink_pcs}(hjhhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM/hj\ubh.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM/hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM4hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_get_state (C function)c.pcs_get_statehNtauh1hhj3whhhNhNubh)}(hhh](h)}(hevoid pcs_get_state (struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h]h)}(hdvoid pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM4ubj)}(h h]h }(hjϮhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjήhM4ubj)}(h pcs_get_stateh]j%)}(h pcs_get_stateh]h pcs_get_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݮubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjήhM4ubj)}(hR(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.pcs_get_stateasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjͯhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjޯhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjۯubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.pcs_get_stateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjήhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjήhM4ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjήhM4hjhhubjS)}(hhh]jX)}(h4Read the current inband link state from the hardwareh]h4Read the current inband link state from the hardware}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM4hj>hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjήhM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) ``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. **Description** Read the current inband link state from the MAC PCS, reporting the current speed in **state->speed**, duplex mode in **state->duplex**, pause mode in **state->pause** using the ``MLO_PAUSE_RX`` and ``MLO_PAUSE_TX`` bits, negotiation completion state in **state->an_complete**, and link up state in **state->link**. If possible, **state->lp_advertising** should also be populated. Note that the **neg_mode** parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.h](jX)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM8hj]ubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM5hj|ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhM5hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjyubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjްh]hunsigned int neg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܰubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hjذubj)}(hhh]jX)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjذubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjyubj)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjh]h struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM7hjubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj0hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj:h]hstruct phylink_link_state}(hj<hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhj,hM7hj0ubh.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj,hM7hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM7hjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM9hj]ubjX)}(hX{Read the current inband link state from the MAC PCS, reporting the current speed in **state->speed**, duplex mode in **state->duplex**, pause mode in **state->pause** using the ``MLO_PAUSE_RX`` and ``MLO_PAUSE_TX`` bits, negotiation completion state in **state->an_complete**, and link up state in **state->link**. If possible, **state->lp_advertising** should also be populated.h](hTRead the current inband link state from the MAC PCS, reporting the current speed in }(hjhhhNhNubj)}(h**state->speed**h]h state->speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, duplex mode in }(hjhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, pause mode in }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh using the }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjɱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hj۱hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' bits, negotiation completion state in }(hjhhhNhNubj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and link up state in }(hjhhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If possible, }(hjhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should also be populated.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM8hj]ubjX)}(h]Note that the **neg_mode** parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.h](hNote that the }(hj*hhhNhNubj)}(h **neg_mode**h]hneg_mode}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhC parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM?hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_config (C function) c.pcs_confighNtauh1hhj3whhhNhNubh)}(hhh](h)}(hint pcs_config (struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac)h]h)}(hint pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac)h](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMGubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjyhMGubj)}(h pcs_configh]j%)}(h pcs_configh]h pcs_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjyhMGubj)}(h(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjƲhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjòubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjȲmodnameN classnameNjj!)}j$]j')}jjsb c.pcs_configasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hneg_modeh]hneg_mode}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j c.pcs_configasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjγhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjܳhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h advertisingh]h advertising}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool permit_pause_to_mach](j)}(hjTh]hbool}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj%)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjyhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjyhMGubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhMGhj`hhubjS)}(hhh]jX)}(h(Configure the PCS mode and advertisementh]h(Configure the PCS mode and advertisement}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMGhjnhhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjyhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (see below) ``phy_interface_t interface`` interface mode to be used ``const unsigned long *advertising`` adertisement ethtool link mode mask ``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC **Description** Configure the PCS for the operating mode, the interface mode, and set the advertisement mask. **permit_pause_to_mac** indicates whether the hardware may forward the pause mode resolution to the MAC. When operating in ``MLO_AN_INBAND``, inband should always be enabled, otherwise inband should be disabled. For SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY. For 1000BASE-X, the advertisement should be programmed into the PCS. For most 10GBASE-R, there is no advertisement. The ``neg_mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions. pcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link. When an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMKhjubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMHhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj˴hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjմh]hstruct phylink_pcs}(hj״hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjӴubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjǴhMHhj˴ubh.}(hj˴hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjǴhMHhjȴubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǴhMHhjubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hjh]hunsigned int neg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMIhjubj)}(hhh]jX)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMIhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMIhjubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hjGh]hphy_interface_t interface}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhjAubj)}(hhh]jX)}(hinterface mode to be usedh]hinterface mode to be used}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMJhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMJhjubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjh]h const unsigned long *advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMKhjzubj)}(hhh]jX)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hG``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC h](j)}(h``bool permit_pause_to_mac``h]j)}(hjh]hbool permit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMLhjubj)}(hhh]jX)}(h)permit forwarding pause resolution to MACh]h)permit forwarding pause resolution to MAC}(hjҵhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjεhMLhjϵubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjεhMLhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMNhjubjX)}(hConfigure the PCS for the operating mode, the interface mode, and set the advertisement mask. **permit_pause_to_mac** indicates whether the hardware may forward the pause mode resolution to the MAC.h](h^Configure the PCS for the operating mode, the interface mode, and set the advertisement mask. }(hj hhhNhNubj)}(h**permit_pause_to_mac**h]hpermit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhQ indicates whether the hardware may forward the pause mode resolution to the MAC.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMMhjubjX)}(hjWhen operating in ``MLO_AN_INBAND``, inband should always be enabled, otherwise inband should be disabled.h](hWhen operating in }(hj+hhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhG, inband should always be enabled, otherwise inband should be disabled.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMQhjubjX)}(hFor SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY.h]hFor SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMThjubjX)}(hDFor 1000BASE-X, the advertisement should be programmed into the PCS.h]hDFor 1000BASE-X, the advertisement should be programmed into the PCS.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMWhjubjX)}(h.For most 10GBASE-R, there is no advertisement.h]h.For most 10GBASE-R, there is no advertisement.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMYhjubjX)}(hThe ``neg_mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](hThe }(hjyhhhNhNubj)}(h ``neg_mode``h]hneg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hjubjX)}(hpcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link.h]hpcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM_hjubjX)}(hWhen an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.h]hWhen an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_an_restart (C function)c.pcs_an_restarthNtauh1hhj3whhhNhNubh)}(hhh](h)}(h-void pcs_an_restart (struct phylink_pcs *pcs)h]h)}(h,void pcs_an_restart(struct phylink_pcs *pcs)h](j)}(hvoidh]hvoid}(hjضhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԶhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԶhhhjhMmubj)}(hpcs_an_restarth]j%)}(hpcs_an_restarth]hpcs_an_restart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjԶhhhjhMmubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jjsbc.pcs_an_restartasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjԶhhhjhMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjжhhhjhMmubah}(h]j˶ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMmhjͶhhubjS)}(hhh]jX)}(h$restart 802.3z BaseX autonegotiationh]h$restart 802.3z BaseX autonegotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmhjhhubah}(h]h ]h"]h$]h&]uh1jRhjͶhhhjhMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. **Description** When PCS ops are present, this overrides mac_an_restart() in :c:type:`struct phylink_mac_ops `.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMqhjubj)}(hhh]j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjٷh]hstruct phylink_pcs *pcs}(hj۷hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj׷ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMnhjӷubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMnhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjӷubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjзubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjubjX)}(hpWhen PCS ops are present, this overrides mac_an_restart() in :c:type:`struct phylink_mac_ops `.h](h=When PCS ops are present, this overrides mac_an_restart() in }(hjMhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjWh]hstruct phylink_mac_ops}(hjYhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMohjMubh.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjthMohjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_link_up (C function) c.pcs_link_uphNtauh1hhj3whhhNhNubh)}(hhh](h)}(hsvoid pcs_link_up (struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h]h)}(hrvoid pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMvubj)}(h pcs_link_uph]j%)}(h pcs_link_uph]h pcs_link_up}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMvubj)}(hb(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjܸhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjظubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjظubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj¸sb c.pcs_link_upasbuh1hhjظubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjظubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjظubj%)}(hpcsh]hpcs}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjظubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjԸubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjԸubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.pcs_link_upasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjιhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjԸubj)}(h int speedh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjԸubj)}(h int duplexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hduplexh]hduplex}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjԸubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMvubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMvhjhhubjS)}(hhh]jX)}(h3program the PCS for the resolved link configurationh]h3program the PCS for the resolved link configuration}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMvhj_hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (see below) ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode ``int speed`` link speed ``int duplex`` link duplex **Description** This call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op. The ``mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMzhj~ubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMwhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjƺh]hstruct phylink_pcs}(hjȺhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjĺubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMwhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hjh]hunsigned int neg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMxhjubj)}(hhh]jX)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hj8h]hphy_interface_t interface}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMyhj2ubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjQhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj[h]htypedef phy_interface_t}(hj]hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjMhMyhjQubh mode}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjMhMyhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMyhjubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMzhjubj)}(hhh]jX)}(h link speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(h``int duplex`` link duplex h](j)}(h``int duplex``h]j)}(hjͻh]h int duplex}(hjϻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˻ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM{hjǻubj)}(hhh]jX)}(h link duplexh]h link duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjǻubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubeh}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM}hj~ubjX)}(hXThis call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op.h]hXThis call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM|hj~ubjX)}(hThe ``mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](hThe }(hj-hhhNhNubj)}(h``mode``h]hmode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable_eee (C function)c.pcs_disable_eeehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h.void pcs_disable_eee (struct phylink_pcs *pcs)h]h)}(h-void pcs_disable_eee(struct phylink_pcs *pcs)h](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj|hMubj)}(hpcs_disable_eeeh]j%)}(hpcs_disable_eeeh]hpcs_disable_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhj|hMubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjɼhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƼubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj˼modnameN classnameNjj!)}j$]j')}jjsbc.pcs_disable_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhj|hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhj|hMubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hMhjchhubjS)}(hhh]jX)}(hDisable EEE at the PCSh]hDisable EEE at the PCS}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj+hhubah}(h]h ]h"]h$]h&]uh1jRhjchhhj|hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` **Description** Optional method informing the PCS that EEE has been disabled at the MAC.h](jX)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjoh]hstruct phylink_pcs *pcs}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjiubj)}(hhh]jX)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hjɽh]h Description}(hj˽hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǽubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubjX)}(hHOptional method informing the PCS that EEE has been disabled at the MAC.h]hHOptional method informing the PCS that EEE has been disabled at the MAC.}(hj߽hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable_eee (C function)c.pcs_enable_eeehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h-void pcs_enable_eee (struct phylink_pcs *pcs)h]h)}(h,void pcs_enable_eee(struct phylink_pcs *pcs)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hpcs_enable_eeeh]j%)}(hpcs_enable_eeeh]hpcs_enable_eee}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jj1sbc.pcs_enable_eeeasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hEnable EEE at the PCSh]hEnable EEE at the PCS}(hjξhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj˾hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` **Description** Optional method informing the PCS that EEE is about to be enabled at the MAC.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jX)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hj(hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj2h]hstruct phylink_pcs}(hj4hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhj$hMhj(ubeh}(h]h ]h"]h$]h&]uh1jWhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hMOptional method informing the PCS that EEE is about to be enabled at the MAC.h]hMOptional method informing the PCS that EEE is about to be enabled at the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_pre_init (C function)c.pcs_pre_inithNtauh1hhj3whhhNhNubh)}(hhh](h)}(h*int pcs_pre_init (struct phylink_pcs *pcs)h]h)}(h)int pcs_pre_init(struct phylink_pcs *pcs)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h pcs_pre_inith]j%)}(h pcs_pre_inith]h pcs_pre_init}(hjϿhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˿ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjѿsbc.pcs_pre_initasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h9Configure PCS components necessary for MAC initializationh]h9Configure PCS components necessary for MAC initialization}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. **Description** This function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link. Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS. By calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization. The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.h]hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.h]hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hBy calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization.h]hBy calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.h]hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_get_link_timer_ns (C function)c.phylink_get_link_timer_nshNtauh1hhj3whhhNhNubh)}(hhh](h)}(h9int phylink_get_link_timer_ns (phy_interface_t interface)h]h)}(h8int phylink_get_link_timer_ns(phy_interface_t interface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhjhMubj)}(hphylink_get_link_timer_nsh]j%)}(hphylink_get_link_timer_nsh]hphylink_get_link_timer_ns}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhjhMubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_get_link_timer_nsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjhMubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjthhubjS)}(hhh]jX)}(hreturn the PCS link timer valueh]hreturn the PCS link timer value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode **Description** Return the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj3ubj)}(hhh]j)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjXh]hphy_interface_t interface}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjRubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjqhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj{h]htypedef phy_interface_t}(hj}hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjmhMhjqubh mode}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj3ubjX)}(hoReturn the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](h=Return the PCS link timer setting in nanoseconds for the PHY }(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% mode, or -EINVAL if not appropriate.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mac_implements_lpi (C function)c.phylink_mac_implements_lpihNtauh1hhj3whhhNhNubh)}(hhh](h)}(hCbool phylink_mac_implements_lpi (const struct phylink_mac_ops *ops)h]h)}(hBbool phylink_mac_implements_lpi(const struct phylink_mac_ops *ops)h](j)}(hjTh]hbool}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM ubj)}(hphylink_mac_implements_lpih]j%)}(hphylink_mac_implements_lpih]hphylink_mac_implements_lpi}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM ubj)}(h#(const struct phylink_mac_ops *ops)h]j)}(h!const struct phylink_mac_ops *opsh](h)}(hjh]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hphylink_mac_opsh]hphylink_mac_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj/sbc.phylink_mac_implements_lpiasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hopsh]hops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h#determine if MAC implements LPI opsh]h#determine if MAC implements LPI ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``const struct phylink_mac_ops *ops`` phylink_mac_ops structure **Description** Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(h@``const struct phylink_mac_ops *ops`` phylink_mac_ops structure h](j)}(h%``const struct phylink_mac_ops *ops``h]j)}(hj(h]h!const struct phylink_mac_ops *ops}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj"ubj)}(hhh]jX)}(hphylink_mac_ops structureh]hphylink_mac_ops structure}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h]h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink (C struct) c.phylinkhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hphylinkh]h)}(hstruct phylinkh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphylinkh]j%)}(hjh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(hinternal data type for phylinkh]hinternal data type for phylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK&hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(h6**Definition**:: struct phylink { }; **Members**h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK*hjubjU)}(hstruct phylink { };h]hstruct phylink { };}hj'sbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK,hjubjX)}(h **Members**h]j)}(hj8h]hMembers}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_port_modes (C function)c.phylink_set_port_modeshNtauh1hhj3whhhNhNubh)}(hhh](h)}(h1void phylink_set_port_modes (unsigned long *mask)h]h)}(h0void phylink_set_port_modes(unsigned long *mask)h](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj|hKubj)}(hphylink_set_port_modesh]j%)}(hphylink_set_port_modesh]hphylink_set_port_modes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhj|hKubj)}(h(unsigned long *mask)h]j)}(hunsigned long *maskh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhj|hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhj|hKubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hKhjchhubjS)}(hhh]jX)}(h+set the port type modes in the ethtool maskh]h+set the port type modes in the ethtool mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjchhhj|hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``unsigned long *mask`` ethtool link mode mask **Description** Sets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj6ubj)}(hhh]j)}(h/``unsigned long *mask`` ethtool link mode mask h](j)}(h``unsigned long *mask``h]j)}(hj[h]hunsigned long *mask}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjUubj)}(hhh]jX)}(hethtool link mode maskh]hethtool link mode mask}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj6ubjX)}(hlSets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h]hpSets all the port type modes in the ethtool mask. MAC drivers should use this in their ‘validate’ callback.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_interface_max_speed (C function)c.phylink_interface_max_speedhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h;int phylink_interface_max_speed (phy_interface_t interface)h]h)}(h:int phylink_interface_max_speed(phy_interface_t interface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphylink_interface_max_speedh]j%)}(hphylink_interface_max_speedh]hphylink_interface_max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_interface_max_speedasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h(get the maximum speed of a phy interfaceh]h(get the maximum speed of a phy interface}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hXe**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` **Description** Determine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching. **Return** The maximum speed of **interface**h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]jX)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjhKhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.h]hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(h **Return**h]j)}(hj5h]hReturn}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(h"The maximum speed of **interface**h](hThe maximum speed of }(hjKhhhNhNubj)}(h **interface**h]h interface}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_link_caps (C function)c.phylink_caps_to_link_capshNtauh1hhj3whhhNhNubh)}(hhh](h)}(hh]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(h linkmodesh]h linkmodes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hunsigned long capsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcapsh]hcaps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMdubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMdhjhhubjS)}(hhh]jX)}(h*Convert capabilities to ethtool link modesh]h*Convert capabilities to ethtool link modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMdhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hXG**Parameters** ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) ``unsigned long caps`` bitmask of MAC capabilities **Description** Set all possible pause, speed and duplex linkmodes in **linkmodes** that are supported by the **caps**. **linkmodes** must have been initialised previously.h](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhhjubj)}(hhh](j)}(hQ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) h](j)}(h``unsigned long *linkmodes``h]j)}(hjBh]hunsigned long *linkmodes}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMehj<ubj)}(hhh]jX)}(h3ethtool linkmode mask (must be already initialised)h]h3ethtool linkmode mask (must be already initialised)}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMehjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMehj9ubj)}(h3``unsigned long caps`` bitmask of MAC capabilities h](j)}(h``unsigned long caps``h]j)}(hj{h]hunsigned long caps}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMfhjuubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhhjubjX)}(hSet all possible pause, speed and duplex linkmodes in **linkmodes** that are supported by the **caps**. **linkmodes** must have been initialised previously.h](h6Set all possible pause, speed and duplex linkmodes in }(hjhhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh that are supported by the }(hjhhhNhNubj)}(h**caps**h]hcaps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' must have been initialised previously.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_limit_mac_speed (C function)c.phylink_limit_mac_speedhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hKvoid phylink_limit_mac_speed (struct phylink_config *config, u32 max_speed)h]h)}(hJvoid phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed)h](j)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMzubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj?hMzubj)}(hphylink_limit_mac_speedh]j%)}(hphylink_limit_mac_speedh]hphylink_limit_mac_speed}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hMzubj)}(h.(struct phylink_config *config, u32 max_speed)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjTsbc.phylink_limit_mac_speedasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h u32 max_speedh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_limit_mac_speedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj?hMzubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj?hMzubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?hMzhj&hhubjS)}(hhh]jX)}(h+limit the phylink_config to a maximum speedh]h+limit the phylink_config to a maximum speed}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMzhj6hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj?hMzubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj3whNhNubj})}(hX=**Parameters** ``struct phylink_config *config`` pointer to a :c:type:`struct phylink_config ` ``u32 max_speed`` maximum speed **Description** Mask off MAC capabilities for speeds higher than the **max_speed** parameter. Any further motifications of config.mac_capabilities will override this.h](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM~hjUubj)}(hhh](j)}(h```struct phylink_config *config`` pointer to a :c:type:`struct phylink_config ` h](j)}(h!``struct phylink_config *config``h]j)}(hjzh]hstruct phylink_config *config}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM{hjtubj)}(hhh]jX)}(h=pointer to a :c:type:`struct phylink_config `h](h pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhM{hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjqubj)}(h ``u32 max_speed`` maximum speed h](j)}(h``u32 max_speed``h]j)}(hjh]h u32 max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM|hjubj)}(hhh]jX)}(h maximum speedh]h maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjqubeh}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM~hjUubjX)}(hMask off MAC capabilities for speeds higher than the **max_speed** parameter. Any further motifications of config.mac_capabilities will override this.h](h5Mask off MAC capabilities for speeds higher than the }(hj#hhhNhNubj)}(h **max_speed**h]h max_speed}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubhT parameter. Any further motifications of config.mac_capabilities will override this.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM}hjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_cap_from_speed_duplex (C function)c.phylink_cap_from_speed_duplexhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hLunsigned long phylink_cap_from_speed_duplex (int speed, unsigned int duplex)h]h)}(hKunsigned long phylink_cap_from_speed_duplex(int speed, unsigned int duplex)h](j)}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjrhMubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhjrhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjrhMubj)}(hphylink_cap_from_speed_duplexh]j%)}(hphylink_cap_from_speed_duplexh]hphylink_cap_from_speed_duplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhjrhMubj)}(h (int speed, unsigned int duplex)h](j)}(h int speedh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int duplexh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hduplexh]hduplex}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhjrhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhjrhMubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMhjYhhubjS)}(hhh]jX)}(h$Get mac capability from speed/duplexh]h$Get mac capability from speed/duplex}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjrhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj3whNhNubj})}(hX!**Parameters** ``int speed`` the speed to search for ``unsigned int duplex`` the duplex to search for **Description** Find the mac capability for a given speed and duplex. **Return** A mask with the mac capability patching **speed** and **duplex**, or 0 if there were no matches.h](jX)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjpubj)}(hhh](j)}(h&``int speed`` the speed to search for h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hthe speed to search forh]hthe speed to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``unsigned int duplex`` the duplex to search for h](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hthe duplex to search forh]hthe duplex to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjpubjX)}(h5Find the mac capability for a given speed and duplex.h]h5Find the mac capability for a given speed and duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjpubjX)}(h **Return**h]j)}(hj0h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjpubjX)}(h`A mask with the mac capability patching **speed** and **duplex**, or 0 if there were no matches.h](h(A mask with the mac capability patching }(hjFhhhNhNubj)}(h **speed**h]hspeed}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh and }(hjFhhhNhNubj)}(h **duplex**h]hduplex}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh , or 0 if there were no matches.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phylink_get_capabilities (C function)c.phylink_get_capabilitieshNtauh1hhj3whhhNhNubh)}(hhh](h)}(huunsigned long phylink_get_capabilities (phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h]h)}(htunsigned long phylink_get_capabilities(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_get_capabilitiesh]j%)}(hphylink_get_capabilitiesh]hphylink_get_capabilities}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hN(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_get_capabilitiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long mac_capabilitiesh](j)}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(hlongh]hlong}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hmac_capabilitiesh]hmac_capabilities}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint rate_matchingh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h rate_matchingh]h rate_matching}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h get capabilities for a given MACh]h get capabilities for a given MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hXt**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` ``unsigned long mac_capabilities`` bitmask of MAC capabilities ``int rate_matching`` type of rate matching being performed **Description** Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hj-hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj7h]htypedef phy_interface_t}(hj9hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhj)hMhj-ubeh}(h]h ]h"]h$]h&]uh1jWhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjlh]hunsigned long mac_capabilities}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjfubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h<``int rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hjh]hint rate_matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h%type of rate matching being performedh]h%type of rate matching being performed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h_Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](h3Get the MAC capabilities that are supported by the }(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mode and }(hjhhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_validate_mask_caps (C function)c.phylink_validate_mask_capshNtauh1hhj3whhhNhNubh)}(hhh](h)}(h|void phylink_validate_mask_caps (unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h]h)}(h{void phylink_validate_mask_caps(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhMubj)}(hphylink_validate_mask_capsh]j%)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhMubj)}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjlsbc.phylink_validate_mask_capsasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hunsigned long mac_capabilitiesh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(hlongh]hlong}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hmac_capabilitiesh]hmac_capabilities}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhMubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMhj>hhubjS)}(hhh]jX)}(h!Restrict link modes based on capsh]h!Restrict link modes based on caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``unsigned long *supported`` ethtool bitmask for supported link modes. ``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. ``unsigned long mac_capabilities`` bitmask of MAC capabilities **Description** Calculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjh]hunsigned long *supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hl``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj2h]h struct phylink_link_state *state}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj,ubj)}(hhh]jX)}(hFpointer to a :c:type:`struct phylink_link_state `.h](h pointer to a }(hjKhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjUh]hstruct phylink_link_state}(hjWhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjGhMhjKubh.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjh]hunsigned long mac_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hCalculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](h,Calculate the supported link modes based on }(hjhhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and restrict }(hjhhhNhNubj)}(h **supported**h]h supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **state**h]hstate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhy based on that. Use this function if your capabiliies aren’t constant, such as if they vary depending on the interface.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phylink_pcs_neg_mode (C function)c.phylink_pcs_neg_modehNtauh1hhj3whhhNhNubh)}(hhh](h)}(hvoid phylink_pcs_neg_mode (struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h]h)}(hvoid phylink_pcs_neg_mode(struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhMubj)}(hphylink_pcs_neg_modeh]j%)}(hphylink_pcs_neg_modeh]hphylink_pcs_neg_mode}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhMubj)}(hj(struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjgsbc.phylink_pcs_neg_modeasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_pcs_neg_modeasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jc.phylink_pcs_neg_modeasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h advertisingh]h advertising}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjRhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMhj9hhubjS)}(hhh]jX)}(h#helper to determine PCS inband modeh]h#helper to determine PCS inband mode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjRhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj3whNhNubj})}(hXt**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct phylink_pcs *pcs`` a pointer to :c:type:`struct phylink_pcs ` ``phy_interface_t interface`` interface mode to be used ``const unsigned long *advertising`` adertisement ethtool link mode mask **Description** Determines the negotiation mode to be used by the PCS, and returns one of: - ``PHYLINK_PCS_NEG_NONE``: interface mode does not support inband - ``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used. - ``PHYLINK_PCS_NEG_INBAND_DISABLED``: inband mode selected but autoneg disabled - ``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabled **Note** this is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.h](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjvh]hstruct phylink *pl}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjpubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(hT``struct phylink_pcs *pcs`` a pointer to :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h7a pointer to :c:type:`struct phylink_pcs `h](h a pointer to }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hj*h]hphy_interface_t interface}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj$ubj)}(hhh]jX)}(hinterface mode to be usedh]hinterface mode to be used}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjmubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjch]h const unsigned long *advertising}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj]ubj)}(hhh]jX)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQubjX)}(hJDetermines the negotiation mode to be used by the PCS, and returns one of:h]hJDetermines the negotiation mode to be used by the PCS, and returns one of:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjQubjD2)}(hhh](jI2)}(h@``PHYLINK_PCS_NEG_NONE``: interface mode does not support inbandh]jX)}(hjh](j)}(h``PHYLINK_PCS_NEG_NONE``h]hPHYLINK_PCS_NEG_NONE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(: interface mode does not support inband}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubah}(h]h ]h"]h$]h&]uh1jH2hjubjI2)}(hU``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used.h]jX)}(hU``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used.h](j)}(h``PHYLINK_PCS_NEG_OUTBAND``h]hPHYLINK_PCS_NEG_OUTBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:: an out of band mode (e.g. reading the PHY) will be used.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubah}(h]h ]h"]h$]h&]uh1jH2hjubjI2)}(hN``PHYLINK_PCS_NEG_INBAND_DISABLED``: inband mode selected but autoneg disabledh]jX)}(hN``PHYLINK_PCS_NEG_INBAND_DISABLED``: inband mode selected but autoneg disabledh](j)}(h#``PHYLINK_PCS_NEG_INBAND_DISABLED``h]hPHYLINK_PCS_NEG_INBAND_DISABLED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh+: inband mode selected but autoneg disabled}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubah}(h]h ]h"]h$]h&]uh1jH2hjubjI2)}(hM``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabled h]jX)}(hL``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabledh](j)}(h"``PHYLINK_PCS_NEG_INBAND_ENABLED``h]hPHYLINK_PCS_NEG_INBAND_ENABLED}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh*: inband mode selected and autoneg enabled}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj:ubah}(h]h ]h"]h$]h&]uh1jH2hjubeh}(h]h ]h"]h$]h&]j3juh1jC2hjhMhjQubjX)}(h**Note**h]j)}(hjih]hNote}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubjX)}(htthis is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.h]htthis is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_fixed_link (C function)c.phylink_set_fixed_linkhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hWint phylink_set_fixed_link (struct phylink *pl, const struct phylink_link_state *state)h]h)}(hVint phylink_set_fixed_link(struct phylink *pl, const struct phylink_link_state *state)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_set_fixed_linkh]j%)}(hphylink_set_fixed_linkh]hphylink_set_fixed_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h<(struct phylink *pl, const struct phylink_link_state *state)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phylink_set_fixed_linkasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&const struct phylink_link_state *stateh](h)}(hjh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j%c.phylink_set_fixed_linkasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hset the fixed linkh]hset the fixed link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. **Description** This function is used when the link parameters are known and do not change, making it suitable for certain types of network connections. **Return** zero on success or negative error code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj:h]hstruct phylink *pl}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjShhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj]h]hstruct phylink}(hj_hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjOhMhjSubh returned from phylink_create()}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubj)}(hU``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hjh]h&const struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hThis function is used when the link parameters are known and do not change, making it suitable for certain types of network connections.h]hThis function is used when the link parameters are known and do not change, making it suitable for certain types of network connections.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_create (C function)c.phylink_createhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hstruct phylink * phylink_create (struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h]h)}(hstruct phylink *phylink_create(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjJhMubh)}(hhh]j%)}(hphylinkh]hphylink}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jphylink_createsbc.phylink_createasbuh1hhj9hhhjJhMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjJhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9hhhjJhMubj)}(hphylink_createh]j%)}(hjzh]hphylink_create}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjJhMubj)}(h(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jxc.phylink_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jxc.phylink_createasbuh1hhj#ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jxc.phylink_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%const struct phylink_mac_ops *mac_opsh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_mac_opsh]hphylink_mac_ops}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]jxc.phylink_createasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmac_opsh]hmac_ops}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhjJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjJhMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMhj2hhubjS)}(hhh]jX)}(hcreate a phylink instanceh]hcreate a phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hXr**Parameters** ``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle ` describing the network interface ``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` ``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. **Description** Create a new phylink instance, and parse the link parameters found in **np**. This will parse in-band modes, fixed-link or SFP configuration. **Note** the rtnl lock must not be held when calling this function. Returns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hk``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hHa pointer to the target :c:type:`struct phylink_config `h](ha pointer to the target }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle ` describing the network interface h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hj/h]h"const struct fwnode_handle *fwnode}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj)ubj)}(hhh]jX)}(h^a pointer to a :c:type:`struct fwnode_handle ` describing the network interfaceh](ha pointer to a }(hjHhhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hjRh]hstruct fwnode_handle}(hjThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj fwnode_handleuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjHubh! describing the network interface}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjohMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(ho``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hTthe desired link mode defined by :c:type:`typedef phy_interface_t `h](h!the desired link mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hy``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. h](j)}(h)``const struct phylink_mac_ops *mac_ops``h]j)}(hjh]h%const struct phylink_mac_ops *mac_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hNa pointer to a :c:type:`struct phylink_mac_ops ` for the MAC.h](ha pointer to a }(hjhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjh]hstruct phylink_mac_ops}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhjhMhjubh for the MAC.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hCreate a new phylink instance, and parse the link parameters found in **np**. This will parse in-band modes, fixed-link or SFP configuration.h](hFCreate a new phylink instance, and parse the link parameters found in }(hjXhhhNhNubj)}(h**np**h]hnp}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h**Note**h]j)}(hj{h]hNote}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hReturns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](hReturns a pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_destroy (C function)c.phylink_destroyhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h)void phylink_destroy (struct phylink *pl)h]h)}(h(void phylink_destroy(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMeubj)}(hphylink_destroyh]j%)}(hphylink_destroyh]hphylink_destroy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMeubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_destroyasbuh1hhj+ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMeubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMehjhhubjS)}(hhh]jX)}(h(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMehjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hXc**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Destroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function. **Note** the rtnl lock must not be held when calling this function.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMihjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMfhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMfhj ubh returned from phylink_create()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMfhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhhjubjX)}(hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.h]hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMghjubjX)}(h**Note**h]j)}(hjxh]hNote}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMjhjubjX)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_expects_phy (C function)c.phylink_expects_phyhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h-bool phylink_expects_phy (struct phylink *pl)h]h)}(h,bool phylink_expects_phy(struct phylink *pl)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMyubj)}(hphylink_expects_phyh]j%)}(hphylink_expects_phyh]hphylink_expects_phy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMyubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_expects_phyasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMyubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMyhjhhubjS)}(hhh]jX)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMyhjyhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed. Returns true if phylink will be expecting a PHY.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM}hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMzhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMzhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM|hjubjX)}(h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.h]h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM{hjubjX)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM~hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_connect_phy (C function)c.phylink_connect_phyhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hDint phylink_connect_phy (struct phylink *pl, struct phy_device *phy)h]h)}(hCint phylink_connect_phy(struct phylink *pl, struct phy_device *phy)h](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj}hMubj)}(hphylink_connect_phyh]j%)}(hphylink_connect_phyh]hphylink_connect_phy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhj}hMubj)}(h,(struct phylink *pl, struct phy_device *phy)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_connect_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]jc.phylink_connect_phyasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhj}hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhj}hMubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hMhjdhhubjS)}(hhh]jX)}(h%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhj}hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hXJ**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. **Description** Connect **phy** to the phylink instance specified by **pl** by calling phy_attach_direct(). Configure the **phy** according to the MAC driver's capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports. This updates the phylink's ethtool supported and advertising link mode masks. Returns 0 on success or a negative errno.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. h](j)}(h``struct phy_device *phy``h]j)}(hj<h]hstruct phy_device *phy}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6ubj)}(hhh]jX)}(h8a pointer to a :c:type:`struct phy_device `.h](ha pointer to a }(hjUhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj_h]hstruct phy_device}(hjahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjQhMhjUubh.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hConnect **phy** to the phylink instance specified by **pl** by calling phy_attach_direct(). Configure the **phy** according to the MAC driver's capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.h](hConnect }(hjhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ by calling phy_attach_direct(). Configure the }(hjhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh~ according to the MAC driver’s capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hMThis updates the phylink's ethtool supported and advertising link mode masks.h]hOThis updates the phylink’s ethtool supported and advertising link mode masks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_of_phy_connect (C function)c.phylink_of_phy_connecthNtauh1hhj3whhhNhNubh)}(hhh](h)}(hRint phylink_of_phy_connect (struct phylink *pl, struct device_node *dn, u32 flags)h]h)}(hQint phylink_of_phy_connect(struct phylink *pl, struct device_node *dn, u32 flags)h](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhMubj)}(hphylink_of_phy_connecth]j%)}(hphylink_of_phy_connecth]hphylink_of_phy_connect}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhMubj)}(h7(struct phylink *pl, struct device_node *dn, u32 flags)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjVsbc.phylink_of_phy_connectasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(hstruct device_node *dnh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h device_nodeh]h device_node}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_of_phy_connectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdnh]hdn}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jc.phylink_of_phy_connectasbuh1hhjNubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhjAhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhjAhMubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMhj(hhubjS)}(hhh]jX)}(h)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified in the device node **dn** to the phylink instance specified by **pl**. Actions specified in phylink_connect_phy() will be performed. Returns 0 on success or a negative errno.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hjHh]hstruct device_node *dn}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjBubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct device_node `.h](ha pointer to a }(hjahhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hjkh]hstruct device_node}(hjmhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj device_nodeuh1hhj]hMhjaubh.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hjh]h u32 flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hConnect the phy specified in the device node **dn** to the phylink instance specified by **pl**. Actions specified in phylink_connect_phy() will be performed.h](h-Connect the phy specified in the device node }(hjhhhNhNubj)}(h**dn**h]hdn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh?. Actions specified in phylink_connect_phy() will be performed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_fwnode_phy_connect (C function)c.phylink_fwnode_phy_connecthNtauh1hhj3whhhNhNubh)}(hhh](h)}(hbint phylink_fwnode_phy_connect (struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h]h)}(haint phylink_fwnode_phy_connect(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehMubj)}(hphylink_fwnode_phy_connecth]j%)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjehMubj)}(hC(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjzsbc.phylink_fwnode_phy_connectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jc.phylink_fwnode_phy_connectasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_fwnode_phy_connectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjehMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMhjLhhubjS)}(hhh]jX)}(h(connect the PHY specified in the fwnode.h]h(connect the PHY specified in the fwnode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified **fwnode** to the phylink instance specified by **pl**. Returns 0 on success or a negative errno.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj+h]hstruct phylink *pl}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj%ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjDhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjNh]hstruct phylink}(hjPhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj@hMhjDubh returned from phylink_create()}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubj)}(hf``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjh]h"const struct fwnode_handle *fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h>a pointer to a :c:type:`struct fwnode_handle `.h](ha pointer to a }(hjhhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hjh]hstruct fwnode_handle}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj fwnode_handleuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hjh]h u32 flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hj4hhhNhNubj)}(h **fwnode**h]hfwnode}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh& to the phylink instance specified by }(hj4hhhNhNubj)}(h**pl**h]hpl}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_disconnect_phy (C function)c.phylink_disconnect_phyhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h0void phylink_disconnect_phy (struct phylink *pl)h]h)}(h/void phylink_disconnect_phy(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_disconnect_phyh]j%)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_disconnect_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached to the phylink instance.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjShhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Disconnect any current PHY from the phylink instance described by **pl**.h](jX)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjrubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjrubjX)}(hIDisconnect any current PHY from the phylink instance described by **pl**.h](hBDisconnect any current PHY from the phylink instance described by }(hj hhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_change (C function)c.phylink_mac_changehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h5void phylink_mac_change (struct phylink *pl, bool up)h]h)}(h4void phylink_mac_change(struct phylink *pl, bool up)h](j)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjZhM ubj)}(hphylink_mac_changeh]j%)}(hphylink_mac_changeh]hphylink_mac_change}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjZhM ubj)}(h(struct phylink *pl, bool up)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjosbc.phylink_mac_changeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool uph](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(huph]hup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjZhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjZhM ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhM hjAhhubjS)}(hhh]jX)}(h'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj=hhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjZhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj3whNhNubj})}(hXB**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool up`` indicates whether the link is currently up. **Description** The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)h](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj{ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjxubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hjh]hbool up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjxubeh}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ubjX)}(h{The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)h]h{The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_change (C function)c.phylink_pcs_changehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h:void phylink_pcs_change (struct phylink_pcs *pcs, bool up)h]h)}(h9void phylink_pcs_change(struct phylink_pcs *pcs, bool up)h](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM) ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhM) ubj)}(hphylink_pcs_changeh]j%)}(hphylink_pcs_changeh]hphylink_pcs_change}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhM) ubj)}(h"(struct phylink_pcs *pcs, bool up)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_pcs_changeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool uph](j)}(hjTh]hbool}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(huph]hup}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjkhM) ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhM) ubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhM) hjRhhubjS)}(hhh]jX)}(h,notify phylink of a change to PCS link stateh]h,notify phylink of a change to PCS link state}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM) hjNhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhM) ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` pointer to :c:type:`struct phylink_pcs ` ``bool up`` indicates whether the link is currently up. **Description** The PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine "up" by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.h](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM- hjmubj)}(hhh](j)}(hR``struct phylink_pcs *pcs`` pointer to :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM* hjubj)}(hhh]jX)}(h5pointer to :c:type:`struct phylink_pcs `h](h pointer to }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhM* hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM* hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM* hjubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hjh]hbool up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ hjubj)}(hhh]jX)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM+ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+ hjubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hj%h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM- hjmubjX)}(hX>The PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine "up" by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.h]hXBThe PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine “up” by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM, hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_start (C function)c.phylink_starthNtauh1hhj3whhhNhNubh)}(hhh](h)}(h'void phylink_start (struct phylink *pl)h]h)}(h&void phylink_start(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMF ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjxhMF ubj)}(h phylink_starth]j%)}(h phylink_starth]h phylink_start}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjxhMF ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_startasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjxhMF ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjxhMF ubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMF hj_hhubjS)}(hhh]jX)}(hstart a phylink instanceh]hstart a phylink instance}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMF hj'hhubah}(h]h ]h"]h$]h&]uh1jRhj_hhhjxhMF ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhj3whNhNubj})}(hX~**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Start the phylink instance specified by **pl**, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jX)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJ hjFubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjkh]hstruct phylink *pl}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMG hjeubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMG hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMG hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMG hjbubah}(h]h ]h"]h$]h&]uh1jhjFubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMI hjFubjX)}(hStart the phylink instance specified by **pl**, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](h(Start the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver’s }(hjhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjh]hstruct net_device_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMH hjubh ndo_open() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMH hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_stop (C function)c.phylink_stophNtauh1hhj3whhhNhNubh)}(hhh](h)}(h&void phylink_stop (struct phylink *pl)h]h)}(h%void phylink_stop(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjQhM ubj)}(h phylink_stoph]j%)}(h phylink_stoph]h phylink_stop}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhjQhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjfsbc.phylink_stopasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubah}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhjQhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjQhM ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhM hj8hhubjS)}(hhh]jX)}(hstop a phylink instanceh]hstop a phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhjQhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Stop the phylink instance specified by **pl**. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method. The network device's carrier state should not be changed prior to calling this function. This will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjDh]hstruct phylink *pl}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj>ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj]hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjgh]hstruct phylink}(hjihhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjYhM hj]ubh returned from phylink_create()}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjYhM hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hXStop the phylink instance specified by **pl**. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method. The network device's carrier state should not be changed prior to calling this function.h](h'Stop the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh;. This should be called from the network device driver’s }(hjhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjh]hstruct net_device_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubho ndo_stop() method. The network device’s carrier state should not be changed prior to calling this function.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubjX)}(hThis will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)h]hThis will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_rx_clk_stop_block (C function)c.phylink_rx_clk_stop_blockhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h3void phylink_rx_clk_stop_block (struct phylink *pl)h]h)}(h2void phylink_rx_clk_stop_block(struct phylink *pl)h](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj9hM ubj)}(hphylink_rx_clk_stop_blockh]j%)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjNsbc.phylink_rx_clk_stop_blockasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubah}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj9hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hM hj hhubjS)}(hhh]jX)}(h.block PHY ability to stop receive clock in LPIh]h.block PHY ability to stop receive clock in LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX\**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Disable the PHY's ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj,h]hstruct phylink *pl}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj&ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjEhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjOh]hstruct phylink}(hjQhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjAhM hjEubh returned from phylink_create()}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjAhM hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM hj#ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hDisable the PHY's ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().h]hDisable the PHY’s ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_rx_clk_stop_unblock (C function)c.phylink_rx_clk_stop_unblockhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h5void phylink_rx_clk_stop_unblock (struct phylink *pl)h]h)}(h4void phylink_rx_clk_stop_unblock(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_rx_clk_stop_unblockh]j%)}(hphylink_rx_clk_stop_unblockh]hphylink_rx_clk_stop_unblock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jjsbc.phylink_rx_clk_stop_unblockasbuh1hhjubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX`**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** All calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hAll calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.h]hAll calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_suspend (C function)c.phylink_suspendhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h7void phylink_suspend (struct phylink *pl, bool mac_wol)h]h)}(h6void phylink_suspend(struct phylink *pl, bool mac_wol)h](j)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhM ubj)}(hphylink_suspendh]j%)}(hphylink_suspendh]hphylink_suspend}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjhM ubj)}(h"(struct phylink *pl, bool mac_wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_suspendasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool mac_wolh](j)}(hjTh]hbool}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_wolh]hmac_wol}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhM ubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhhubjS)}(hhh]jX)}(h%handle a network device suspend eventh]h%handle a network device suspend event}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjdhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan **Description** Handle a network device suspend event. There are several cases: - If Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop(). - If Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY. - If Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hJ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan h](j)}(h``bool mac_wol``h]j)}(hjh]h bool mac_wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(h8true if the MAC needs to receive packets for Wake-on-Lanh]h8true if the MAC needs to receive packets for Wake-on-Lan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjD2)}(hhh](jI2)}(hkIf Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop().h]jX)}(hkIf Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop().h]hkIf Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop().}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjgubah}(h]h ]h"]h$]h&]uh1jH2hjdubjI2)}(huIf Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY.h]jX)}(huIf Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY.h]huIf Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubah}(h]h ]h"]h$]h&]uh1jH2hjdubjI2)}(hIf Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down.h]jX)}(hIf Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down.h]hIf Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubah}(h]h ]h"]h$]h&]uh1jH2hjdubeh}(h]h ]h"]h$]h&]j3juh1jC2hjyhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_prepare_resume (C function)c.phylink_prepare_resumehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h0void phylink_prepare_resume (struct phylink *pl)h]h)}(h/void phylink_prepare_resume(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_prepare_resumeh]j%)}(hphylink_prepare_resumeh]hphylink_prepare_resume}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jjsbc.phylink_prepare_resumeasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h"prepare to resume a network deviceh]h"prepare to resume a network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Optional, but if called must be called prior to phylink_resume(). Prepare to resume a network device, preparing the PHY as necessary.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hAOptional, but if called must be called prior to phylink_resume().h]hAOptional, but if called must be called prior to phylink_resume().}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hCPrepare to resume a network device, preparing the PHY as necessary.h]hCPrepare to resume a network device, preparing the PHY as necessary.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_resume (C function)c.phylink_resumehNtauh1hhj3whhhNhNubh)}(hhh](h)}(h(void phylink_resume (struct phylink *pl)h]h)}(h'void phylink_resume(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM+ ubj)}(hphylink_resumeh]j%)}(hphylink_resumeh]hphylink_resume}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM+ ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_resumeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM+ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM+ ubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM+ hjhhubjS)}(hhh]jX)}(h$handle a network device resume eventh]h$handle a network device resume event}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ hjHhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM+ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Undo the effects of phylink_suspend(), returning the link to an operational state.h](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/ hjgubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM, hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM, hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM, hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM, hjubah}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM. hjgubjX)}(hRUndo the effects of phylink_suspend(), returning the link to an operational state.h]hRUndo the effects of phylink_suspend(), returning the link to an operational state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM- hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_wol (C function)c.phylink_ethtool_get_wolhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hNvoid phylink_ethtool_get_wol (struct phylink *pl, struct ethtool_wolinfo *wol)h]h)}(hMvoid phylink_ethtool_get_wol(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMS ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj=hMS ubj)}(hphylink_ethtool_get_wolh]j%)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj=hMS ubj)}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjRsbc.phylink_ethtool_get_wolasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_ethtool_get_wolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hwolh]hwol}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubeh}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj=hMS ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj=hMS ubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hMS hj$hhubjS)}(hhh]jX)}(h*get the wake on lan parameters for the PHYh]h*get the wake on lan parameters for the PHY}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMS hj\hhubah}(h]h ]h"]h$]h&]uh1jRhj$hhhj=hMS ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parameters **Description** Read the wake on lan parameters from the PHY attached to the phylink instance specified by **pl**. If no PHY is currently attached, report no support for wake on lan.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hj{ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMT hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMT hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMT hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMT hjubj)}(h|``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMU hjubj)}(hhh]jX)}(h[a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parametersh](h a pointer to }(hjhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjh]hstruct ethtool_wolinfo}(hj!hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_wolinfouh1hhjhMU hjubh to hold the read parameters}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMU hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMU hjubeh}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hj{ubjX)}(hRead the wake on lan parameters from the PHY attached to the phylink instance specified by **pl**. If no PHY is currently attached, report no support for wake on lan.h](h[Read the wake on lan parameters from the PHY attached to the phylink instance specified by }(hjphhhNhNubj)}(h**pl**h]hpl}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubhE. If no PHY is currently attached, report no support for wake on lan.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMV hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_wol (C function)c.phylink_ethtool_set_wolhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hMint phylink_ethtool_set_wol (struct phylink *pl, struct ethtool_wolinfo *wol)h]h)}(hLint phylink_ethtool_set_wol(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMh ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMh ubj)}(hphylink_ethtool_set_wolh]j%)}(hphylink_ethtool_set_wolh]hphylink_ethtool_set_wol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMh ubj)}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_ethtool_set_wolasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j(c.phylink_ethtool_set_wolasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(hwolh]hwol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMh ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMh ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMh hjhhubjS)}(hhh]jX)}(hset wake on lan parametersh]hset wake on lan parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMh hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMh ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters **Description** Set the wake on lan parameters for the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, returns ``EOPNOTSUPP`` error. Returns zero on success or negative errno code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMl hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj"h]hstruct phylink *pl}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMi hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj;hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjEh]hstruct phylink}(hjGhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj7hMi hj;ubh returned from phylink_create()}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj7hMi hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMi hjubj)}(h{``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hj~h]hstruct ethtool_wolinfo *wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMj hjxubj)}(hhh]jX)}(hZa pointer to :c:type:`struct ethtool_wolinfo ` for the desired parametersh](h a pointer to }(hjhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjh]hstruct ethtool_wolinfo}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_wolinfouh1hhjhMj hjubh for the desired parameters}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMj hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMj hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMl hjubjX)}(hSet the wake on lan parameters for the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, returns ``EOPNOTSUPP`` error.h](hYSet the wake on lan parameters for the PHY attached to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh!. If no PHY is attached, returns }(hjhhhNhNubj)}(h``EOPNOTSUPP``h]h EOPNOTSUPP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMk hjubjX)}(h/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno code.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMo hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_get (C function)c.phylink_ethtool_ksettings_gethNtauh1hhj3whhhNhNubh)}(hhh](h)}(h[int phylink_ethtool_ksettings_get (struct phylink *pl, struct ethtool_link_ksettings *kset)h]h)}(hZint phylink_ethtool_ksettings_get(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjbhM ubj)}(hphylink_ethtool_ksettings_geth]j%)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjbhM ubj)}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjwsbc.phylink_ethtool_ksettings_getasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#struct ethtool_link_ksettings *kseth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]jc.phylink_ethtool_ksettings_getasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hkseth]hkset}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPhhhjbhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjbhM ubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhM hjIhhubjS)}(hhh]jX)}(hget the current link settingsh]hget the current link settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjbhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settings **Description** Read the current link settings for the phylink instance specified by **pl**. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settings h](j)}(h'``struct ethtool_link_ksettings *kset``h]j)}(hj!h]h#struct ethtool_link_ksettings *kset}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hj:hhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjDh]hstruct ethtool_link_ksettings}(hjFhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhj6hM hj:ubh to hold link settings}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hRead the current link settings for the phylink instance specified by **pl**. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.h](hERead the current link settings for the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhy. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_set (C function)c.phylink_ethtool_ksettings_sethNtauh1hhj3whhhNhNubh)}(hhh](h)}(haint phylink_ethtool_ksettings_set (struct phylink *pl, const struct ethtool_link_ksettings *kset)h]h)}(h`int phylink_ethtool_ksettings_set(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_ethtool_ksettings_seth]j%)}(hphylink_ethtool_ksettings_seth]hphylink_ethtool_ksettings_set}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h?(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj1 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj. ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3 modnameN classnameNjj!)}j$]j')}jjsbc.phylink_ethtool_ksettings_setasbuh1hhj ubj)}(h h]h }(hjQ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj_ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hplh]hpl}(hjl hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h)const struct ethtool_link_ksettings *kseth](h)}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jM c.phylink_ethtool_ksettings_setasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hkseth]hkset}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hset the link settingsh]hset the link settings}(hj! hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9 jxj9 jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](jX)}(h**Parameters**h]j)}(hjC h]h Parameters}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM" hj= ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjb h]hstruct phylink *pl}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\ ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj{ hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj h]hstruct phylink}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjw hM hj{ ubh returned from phylink_create()}(hj{ hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjw hM hjx ubah}(h]h ]h"]h$]h&]uh1jhj\ ubeh}(h]h ]h"]h$]h&]uh1jhjw hM hjY ubj)}(h``const struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](j)}(h-``const struct ethtool_link_ksettings *kset``h]j)}(hj h]h)const struct ethtool_link_ksettings *kset}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM! hj ubj)}(hhh]jX)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](ha pointer to a }(hj hhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hj h]hstruct ethtool_link_ksettings}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj ubh for the desired modes}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM! hjY ubeh}(h]h ]h"]h$]h&]uh1jhj= ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_ethtool_nway_reset (C function)c.phylink_ethtool_nway_resethNtauh1hhj3whhhNhNubh)}(hhh](h)}(h3int phylink_ethtool_nway_reset (struct phylink *pl)h]h)}(h2int phylink_ethtool_nway_reset(struct phylink *pl)h](j)}(hinth]hint}(hj; hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7 hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjJ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7 hhhjI hM ubj)}(hphylink_ethtool_nway_reseth]j%)}(hphylink_ethtool_nway_reseth]hphylink_ethtool_nway_reset}(hj\ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7 hhhjI hM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjx hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjt ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjt ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj^ sbc.phylink_ethtool_nway_resetasbuh1hhjt ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjt ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjt ubj%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjt ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjp ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7 hhhjI hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3 hhhjI hM ubah}(h]j. ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjI hM hj0 hhubjS)}(hhh]jX)}(hrestart negotiationh]hrestart negotiation}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj hhubah}(h]h ]h"]h$]h&]uh1jRhj0 hhhjI hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Restart negotiation for the phylink instance specified by **pl**. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation. Returns zero on success, or negative error code.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj< h]hstruct phylink *pl}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj: ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj6 ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjU hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj_ h]hstruct phylink}(hja hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj] ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjQ hM hjU ubh returned from phylink_create()}(hjU hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjQ hM hjR ubah}(h]h ]h"]h$]h&]uh1jhj6 ubeh}(h]h ]h"]h$]h&]uh1jhjQ hM hj3 ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj ubjX)}(hRestart negotiation for the phylink instance specified by **pl**. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation.h](h:Restart negotiation for the phylink instance specified by }(hj hhhNhNubj)}(h**pl**h]hpl}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj ubjX)}(h0Returns zero on success, or negative error code.h]h0Returns zero on success, or negative error code.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_get_pauseparam (C function) c.phylink_ethtool_get_pauseparamhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hZvoid phylink_ethtool_get_pauseparam (struct phylink *pl, struct ethtool_pauseparam *pause)h]h)}(hYvoid phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hM ubj)}(hphylink_ethtool_get_pauseparamh]j%)}(hphylink_ethtool_get_pauseparamh]hphylink_ethtool_get_pauseparam}(hj! hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hM ubj)}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj= hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9 ubj)}(h h]h }(hjJ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9 ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj[ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj] modnameN classnameNjj!)}j$]j')}jj# sb c.phylink_ethtool_get_pauseparamasbuh1hhj9 ubj)}(h h]h }(hj{ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9 ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9 ubj%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9 ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5 ubj)}(h struct ethtool_pauseparam *pauseh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jw  c.phylink_ethtool_get_pauseparamasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hpauseh]hpause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5 ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hM ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM hj hhubjS)}(hhh]jX)}(h get the current pause parametersh]h get the current pause parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj-hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjqh]hstruct phylink *pl}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjkubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(h jh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM hjhubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjh]h struct ethtool_pauseparam *pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjh]hstruct ethtool_pauseparam}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ]h"]h$]h&]uh1jWhj hM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjhubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_set_pauseparam (C function) c.phylink_ethtool_set_pauseparamhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hYint phylink_ethtool_set_pauseparam (struct phylink *pl, struct ethtool_pauseparam *pause)h]h)}(hXint phylink_ethtool_set_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThM ubj)}(hphylink_ethtool_set_pauseparamh]j%)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_pauseparam}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThM ubj)}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjisb c.phylink_ethtool_set_pauseparamasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(h struct ethtool_pauseparam *pauseh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phylink_ethtool_set_pauseparamasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpauseh]hpause}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjThM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThM ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThM hj;hhubjS)}(hhh]jX)}(h set the current pause parametersh]h set the current pause parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjshhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjh]h struct ethtool_pauseparam *pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj ubj)}(hhh]jX)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hj,hhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hj6h]hstruct ethtool_pauseparam}(hj8hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj,ubeh}(h]h ]h"]h$]h&]uh1jWhjShM hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_get_eee_err (C function)c.phylink_get_eee_errhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h,int phylink_get_eee_err (struct phylink *pl)h]h)}(h+int phylink_get_eee_err(struct phylink *pl)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMG ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMG ubj)}(hphylink_get_eee_errh]j%)}(hphylink_get_eee_errh]hphylink_get_eee_err}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMG ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_get_eee_errasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMG ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMG ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMG hjhhubjS)}(hhh]jX)}(h0read the energy efficient ethernet error counterh]h0read the energy efficient ethernet error counter}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMG hjIhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMG ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhj3whNhNubj})}(hXC**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create(). **Description** Read the Energy Efficient Ethernet error counter from the PHY associated with the phylink instance specified by **pl**. Returns positive error counter value, or negative error code.h](jX)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK hjhubj)}(hhh]j)}(hi``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create(). h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMI hjubj)}(hhh]jX)}(hQa pointer to a :c:type:`struct phylink ` returned from phylink_create().h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMI hjubh returned from phylink_create().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMI hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMI hjubah}(h]h ]h"]h$]h&]uh1jhjhubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK hjhubjX)}(hwRead the Energy Efficient Ethernet error counter from the PHY associated with the phylink instance specified by **pl**.h](hpRead the Energy Efficient Ethernet error counter from the PHY associated with the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJ hjhubjX)}(h=Returns positive error counter value, or negative error code.h]h=Returns positive error counter value, or negative error code.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_eee (C function)c.phylink_ethtool_get_eeehNtauh1hhj3whhhNhNubh)}(hhh](h)}(hJint phylink_ethtool_get_eee (struct phylink *pl, struct ethtool_keee *eee)h]h)}(hIint phylink_ethtool_get_eee(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj_hM^ ubj)}(hphylink_ethtool_get_eeeh]j%)}(hphylink_ethtool_get_eeeh]hphylink_ethtool_get_eee}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hM^ ubj)}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjtsbc.phylink_ethtool_get_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_keee *eeeh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.phylink_ethtool_get_eeeasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(heeeh]heee}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhj_hM^ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hM^ ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hM^ hjFhhubjS)}(hhh]jX)}(h-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ hj~hhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hM^ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMb hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM_ hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM_ hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM_ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_ hjubj)}(hp``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](j)}(h``struct ethtool_keee *eee``h]j)}(hjh]hstruct ethtool_keee *eee}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMa hjubj)}(hhh]jX)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hj7hhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjAh]hstruct ethtool_keee}(hjChhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM` hj7ubh for the read parameters}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^hM` hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMa hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_eee (C function)c.phylink_ethtool_set_eeehNtauh1hhj3whhhNhNubh)}(hhh](h)}(hJint phylink_ethtool_set_eee (struct phylink *pl, struct ethtool_keee *eee)h]h)}(hIint phylink_ethtool_set_eee(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMx ubj)}(hphylink_ethtool_set_eeeh]j%)}(hphylink_ethtool_set_eeeh]hphylink_ethtool_set_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMx ubj)}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_ethtool_set_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_keee *eeeh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.phylink_ethtool_set_eeeasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(heeeh]heee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMx ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMx ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMx hjhhubjS)}(hhh]jX)}(h,set the energy efficient ethernet parametersh]h,set the energy efficient ethernet parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMx ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM| hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj h]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMy hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj%hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj/h]hstruct phylink}(hj1hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj!hMy hj%ubh returned from phylink_create()}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj!hMy hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMy hjubj)}(hs``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](j)}(h``struct ethtool_keee *eee``h]j)}(hjhh]hstruct ethtool_keee *eee}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM{ hjbubj)}(hhh]jX)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hjhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjh]hstruct ethtool_keee}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMz hjubh for the desired parameters}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMz hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM{ hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mii_ioctl (C function)c.phylink_mii_ioctlhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hFint phylink_mii_ioctl (struct phylink *pl, struct ifreq *ifr, int cmd)h]h)}(hEint phylink_mii_ioctl(struct phylink *pl, struct ifreq *ifr, int cmd)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM5 ubj)}(hphylink_mii_ioctlh]j%)}(hphylink_mii_ioctlh]hphylink_mii_ioctl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM5 ubj)}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_mii_ioctlasbuh1hhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hifreqh]hifreq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j\c.phylink_mii_ioctlasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint cmdh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcmdh]hcmd}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM5 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM5 ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM5 hjhhubjS)}(hhh]jX)}(hgeneric mii ioctl interfaceh]hgeneric mii ioctl interface}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5 hjGhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM5 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhj3whNhNubj})}(hX}**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls ``int cmd`` ioctl cmd to execute **Description** Perform the specified MII ioctl on the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, emulate the presence of the PHY. ``SIOCGMIIPHY``: read register from the current PHY. ``SIOCGMIIREG``: read register from the specified PHY. ``SIOCSMIIREG``: set a register on the specified PHY. **Return** zero on success or negative error code.h](jX)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM9 hjfubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM6 hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM6 hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM6 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6 hjubj)}(hV``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls h](j)}(h``struct ifreq *ifr``h]j)}(hjh]hstruct ifreq *ifr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM7 hjubj)}(hhh]jX)}(h?a pointer to a :c:type:`struct ifreq ` for socket ioctlsh](ha pointer to a }(hjhhhNhNubh)}(h:c:type:`struct ifreq `h]j)}(hj h]h struct ifreq}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjhM7 hjubh for socket ioctls}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM7 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7 hjubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjCh]hint cmd}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM8 hj=ubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM8 hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM8 hjubeh}(h]h ]h"]h$]h&]uh1jhjfubjX)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM: hjfubjX)}(hPerform the specified MII ioctl on the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, emulate the presence of the PHY.h](hYPerform the specified MII ioctl on the PHY attached to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9. If no PHY is attached, emulate the presence of the PHY.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM9 hjfubj)}(hhh](j)}(h4``SIOCGMIIPHY``: read register from the current PHY.h](j)}(h``SIOCGMIIPHY``:h](j)}(h``SIOCGMIIPHY``h]h SIOCGMIIPHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM= hjubj)}(hhh]jX)}(h#read register from the current PHY.h]h#read register from the current PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM> hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM= hjubj)}(h6``SIOCGMIIREG``: read register from the specified PHY.h](j)}(h``SIOCGMIIREG``:h](j)}(h``SIOCGMIIREG``h]h SIOCGMIIREG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM? hjubj)}(hhh]jX)}(h%read register from the specified PHY.h]h%read register from the specified PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM@ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM? hjubj)}(h6``SIOCSMIIREG``: set a register on the specified PHY. h](j)}(h``SIOCSMIIREG``:h](j)}(h``SIOCSMIIREG``h]h SIOCSMIIREG}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh:}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMB hj6ubj)}(hhh]jX)}(h$set a register on the specified PHY.h]h$set a register on the specified PHY.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMB hjWubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjVhMB hjubeh}(h]h ]h"]h$]h&]uh1jhjfubjX)}(h **Return**h]j)}(hj|h]hReturn}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMD hjfubjX)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM= hjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_down (C function)c.phylink_speed_downhNtauh1hhj3whhhNhNubh)}(hhh](h)}(h6int phylink_speed_down (struct phylink *pl, bool sync)h]h)}(h5int phylink_speed_down(struct phylink *pl, bool sync)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_speed_downh]j%)}(hphylink_speed_downh]hphylink_speed_down}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl, bool sync)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_speed_downasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool synch](j)}(hjTh]hbool}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hsynch]hsync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hCset the non-SFP PHY to lowest speed supported by both link partnersh]hCset the non-SFP PHY to lowest speed supported by both link partners}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool sync`` perform action synchronously **Description** If we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the **sync** parameter. Returns zero if there is no PHY, otherwise as per phy_speed_down().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj hM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjRh]h bool sync}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubj)}(hhh]jX)}(hperform action synchronouslyh]hperform action synchronously}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghM hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hIf we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the **sync** parameter.h](hIf we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the }(hjhhhNhNubj)}(h**sync**h]hsync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh parameter.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hCReturns zero if there is no PHY, otherwise as per phy_speed_down().h]hCReturns zero if there is no PHY, otherwise as per phy_speed_down().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_up (C function)c.phylink_speed_uphNtauh1hhj3whhhNhNubh)}(hhh](h)}(h)int phylink_speed_up (struct phylink *pl)h]h)}(h(int phylink_speed_up(struct phylink *pl)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_speed_uph]j%)}(hphylink_speed_uph]hphylink_speed_up}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_speed_upasbuh1hhj,ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hGrestore the advertised speeds prior to the call to phylink_speed_down()h]hGrestore the advertised speeds prior to the call to phylink_speed_down()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj3whNhNubj})}(hX4**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** If we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up(). Returns zero if there is no PHY, otherwise as per phy_speed_up().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj hM hj ubh returned from phylink_create()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjRh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(heIf we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up().h]heIf we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up().}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hAReturns zero if there is no PHY, otherwise as per phy_speed_up().h]hAReturns zero if there is no PHY, otherwise as per phy_speed_up().}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_decode_usxgmii_word (C function)c.phylink_decode_usxgmii_wordhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hQvoid phylink_decode_usxgmii_word (struct phylink_link_state *state, uint16_t lpa)h]h)}(hPvoid phylink_decode_usxgmii_word(struct phylink_link_state *state, uint16_t lpa)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMHubj)}(hphylink_decode_usxgmii_wordh]j%)}(hphylink_decode_usxgmii_wordh]hphylink_decode_usxgmii_word}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMHubj)}(h0(struct phylink_link_state *state, uint16_t lpa)h](j)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phylink_decode_usxgmii_wordasbuh1hhjubj)}(h h]h }(hj! hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hj< hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hjX hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZ modnameN classnameNjj!)}j$]j c.phylink_decode_usxgmii_wordasbuh1hhjQ ubj)}(h h]h }(hjv hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ ubj%)}(hlpah]hlpa}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMHubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMHubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMHhjhhubjS)}(hhh]jX)}(h&decode the USXGMII word from a MAC PCSh]h&decode the USXGMII word from a MAC PCS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMHhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMHubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. ``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word **Description** Helper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMLhj ubj)}(hhh](j)}(hO``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj h]h struct phylink_link_state *state}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMIhj ubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMIhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMIhj ubj)}(hO``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hj(!h]h uint16_t lpa}(hj*!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJhj"!ubj)}(hhh]jX)}(h=a 16 bit value which stores the USXGMII auto-negotiation wordh]h=a 16 bit value which stores the USXGMII auto-negotiation word}(hjA!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=!hMJhj>!ubah}(h]h ]h"]h$]h&]uh1jhj"!ubeh}(h]h ]h"]h$]h&]uh1jhj=!hMJhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjc!h]h Description}(hje!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja!ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMLhj ubjX)}(hHelper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.h]hHelper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.}(hjy!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMKhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_decode_usgmii_word (C function)c.phylink_decode_usgmii_wordhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hPvoid phylink_decode_usgmii_word (struct phylink_link_state *state, uint16_t lpa)h]h)}(hOvoid phylink_decode_usgmii_word(struct phylink_link_state *state, uint16_t lpa)h](j)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMsubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj!hMsubj)}(hphylink_decode_usgmii_wordh]j%)}(hphylink_decode_usgmii_wordh]hphylink_decode_usgmii_word}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj!hMsubj)}(h0(struct phylink_link_state *state, uint16_t lpa)h](j)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jj!sbc.phylink_decode_usgmii_wordasbuh1hhj!ubj)}(h h]h }(hj#"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj1"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hstateh]hstate}(hj>"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hjZ"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\"modnameN classnameNjj!)}j$]j"c.phylink_decode_usgmii_wordasbuh1hhjS"ubj)}(h h]h }(hjx"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS"ubj%)}(hlpah]hlpa}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj!hMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhj!hMsubah}(h]j!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMshj!hhubjS)}(hhh]jX)}(h%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMshj"hhubah}(h]h ]h"]h$]h&]uh1jRhj!hhhj!hMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. ``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word **Description** Helper for MAC PCS supporting the USGMII protocol and the auto-negotiation code word. Decode the USGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure. The structure for this word is the same as the USXGMII word, except it only supports speeds up to 1Gbps.h](jX)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMwhj"ubj)}(hhh](j)}(hO``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj"h]h struct phylink_link_state *state}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMthj"ubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMthj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hMthj"ubj)}(hN``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hj*#h]h uint16_t lpa}(hj,#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMuhj$#ubj)}(hhh]jX)}(hh]h*}(hj3$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hstateh]hstate}(hj@$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjY$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU$ubj)}(h h]h }(hjg$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU$ubj)}(hinth]hint}(hju$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU$ubj%)}(hneg_modeh]hneg_mode}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(hu16 bmsrh](h)}(hhh]j%)}(hu16h]hu16}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j!$"c.phylink_mii_c22_pcs_decode_stateasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hbmsrh]hbmsr}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(hu16 lpah](h)}(hhh]j%)}(hu16h]hu16}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j!$"c.phylink_mii_c22_pcs_decode_stateasbuh1hhj$ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hlpah]hlpa}(hj!%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj#hMubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hMhj#hhubjS)}(hhh]jX)}(h'Decode MAC PCS state from MII registersh]h'Decode MAC PCS state from MII registers}(hjK%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjH%hhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjc%jxjc%jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. ``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) ``u16 bmsr`` The value of the ``MII_BMSR`` register ``u16 lpa`` The value of the ``MII_LPA`` register **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control. Parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing **bmsr** and **lpa** cannot be done with MDIO directly.h](jX)}(h**Parameters**h]j)}(hjm%h]h Parameters}(hjo%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk%ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjg%ubj)}(hhh](j)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj%h]h struct phylink_link_state *state}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj%ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj%hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj%h]hstruct phylink_link_state}(hj%hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhj%hMhj%ubh.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hj%h]hunsigned int neg_mode}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj%ubj)}(hhh]jX)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubj)}(h4``u16 bmsr`` The value of the ``MII_BMSR`` register h](j)}(h ``u16 bmsr``h]j)}(hj!&h]hu16 bmsr}(hj#&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj&ubj)}(hhh]jX)}(h&The value of the ``MII_BMSR`` registerh](hThe value of the }(hj:&hhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hjB&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:&ubh register}(hj:&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6&hMhj7&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj6&hMhj%ubj)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hjl&h]hu16 lpa}(hjn&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjf&ubj)}(hhh]jX)}(h%The value of the ``MII_LPA`` registerh](hThe value of the }(hj&hhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh register}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhjf&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhjg%ubjX)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjg%ubjX)}(hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.h]hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjg%ubjX)}(hXParse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing **bmsr** and **lpa** cannot be done with MDIO directly.h](hRParse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink }(hj&hhhNhNubj)}(h **state**h]hstate}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing }(hj&hhhNhNubj)}(h**bmsr**h]hbmsr}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh and }(hj&hhhNhNubj)}(h**lpa**h]hlpa}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh# cannot be done with MDIO directly.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjg%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_mii_c22_pcs_get_state (C function)c.phylink_mii_c22_pcs_get_statehNtauh1hhj3whhhNhNubh)}(hhh](h)}(huvoid phylink_mii_c22_pcs_get_state (struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h]h)}(htvoid phylink_mii_c22_pcs_get_state(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hvoidh]hvoid}(hjC'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?'hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjR'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?'hhhjQ'hMubj)}(hphylink_mii_c22_pcs_get_stateh]j%)}(hphylink_mii_c22_pcs_get_stateh]hphylink_mii_c22_pcs_get_state}(hjd'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?'hhhjQ'hMubj)}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hstruct mdio_device *pcsh](h)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|'ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jjf'sbc.phylink_mii_c22_pcs_get_stateasbuh1hhj|'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|'ubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|'ubj%)}(hpcsh]hpcs}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx'ubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(hinth]hint}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(hneg_modeh]hneg_mode}(hj*(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx'ubj)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hjC(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?(ubj)}(h h]h }(hjP(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?(ubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hja(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjc(modnameN classnameNjj!)}j$]j'c.phylink_mii_c22_pcs_get_stateasbuh1hhj?(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?(ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?(ubj%)}(hstateh]hstate}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx'ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?'hhhjQ'hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;'hhhjQ'hMubah}(h]j6'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQ'hMhj8'hhubjS)}(hhh]jX)}(hread the MAC PCS stateh]hread the MAC PCS state}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jRhj8'hhhjQ'hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. ``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) ``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control. Read the MAC PCS state from the MII device configured in **config** and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(ubj)}(hhh](j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hj)h]hstruct mdio_device *pcs}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj)hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj()h]hstruct mdio_device}(hj*)hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj&)ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhj)hMhj)ubh.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hja)h]hunsigned int neg_mode}(hjc)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj[)ubj)}(hhh]jX)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjz)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjv)hMhjw)ubah}(h]h ]h"]h$]h&]uh1jhj[)ubeh}(h]h ]h"]h$]h&]uh1jhjv)hMhj(ubj)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj)h]h struct phylink_link_state *state}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj)ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj)hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj)h]hstruct phylink_link_state}(hj)hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhj)hMhj)ubh.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubjX)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(ubjX)}(hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.h]hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(ubjX)}(hXRead the MAC PCS state from the MII device configured in **config** and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h](h9Read the MAC PCS state from the MII device configured in }(hj*hhhNhNubj)}(h **config**h]hconfig}(hj%*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhW and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink }(hj*hhhNhNubj)}(h **state**h]hstate}(hj7*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh| structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5phylink_mii_c22_pcs_encode_advertisement (C function)*c.phylink_mii_c22_pcs_encode_advertisementhNtauh1hhj3whhhNhNubh)}(hhh](h)}(hjint phylink_mii_c22_pcs_encode_advertisement (phy_interface_t interface, const unsigned long *advertising)h]h)}(hiint phylink_mii_c22_pcs_encode_advertisement(phy_interface_t interface, const unsigned long *advertising)h](j)}(hinth]hint}(hjp*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl*hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjl*hhhj~*hMubj)}(h(phylink_mii_c22_pcs_encode_advertisementh]j%)}(h(phylink_mii_c22_pcs_encode_advertisementh]h(phylink_mii_c22_pcs_encode_advertisement}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjl*hhhj~*hMubj)}(h=(phy_interface_t interface, const unsigned long *advertising)h](j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}jj*sb*c.phylink_mii_c22_pcs_encode_advertisementasbuh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(h interfaceh]h interface}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj +hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(hlongh]hlong}(hj.+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj<+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hjJ+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(h advertisingh]h advertising}(hjW+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjl*hhhj~*hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjh*hhhj~*hMubah}(h]jc*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~*hMhje*hhubjS)}(hhh]jX)}(h)configure the clause 37 PCS advertisementh]h)configure the clause 37 PCS advertisement}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~+hhubah}(h]h ]h"]h$]h&]uh1jRhje*hhhj~*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``phy_interface_t interface`` the PHY interface mode being configured ``const unsigned long *advertising`` the ethtool advertisement mask **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control. Encode the clause 37 PCS advertisement as specified by **interface** and **advertising**. **Return** The new value for **adv**, or ``-EINVAL`` if it should not be changed.h](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubj)}(hhh](j)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hj+h]hphy_interface_t interface}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubj)}(hhh]jX)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj+ubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj+h]h const unsigned long *advertising}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubj)}(hhh]jX)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hj6,h]h Description}(hj8,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubjX)}(hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.h]hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.}(hjL,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubjX)}(hYEncode the clause 37 PCS advertisement as specified by **interface** and **advertising**.h](h7Encode the clause 37 PCS advertisement as specified by }(hj[,hhhNhNubj)}(h **interface**h]h interface}(hjc,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[,ubh and }(hj[,hhhNhNubj)}(h**advertising**h]h advertising}(hju,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[,ubh.}(hj[,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubjX)}(h **Return**h]j)}(hj,h]hReturn}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubjX)}(hFThe new value for **adv**, or ``-EINVAL`` if it should not be changed.h](hThe new value for }(hj,hhhNhNubj)}(h**adv**h]hadv}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh, or }(hj,hhhNhNubj)}(h ``-EINVAL``h]h-EINVAL}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh if it should not be changed.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mii_c22_pcs_config (C function)c.phylink_mii_c22_pcs_confighNtauh1hhj3whhhNhNubh)}(hhh](h)}(hint phylink_mii_c22_pcs_config (struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h]h)}(hint phylink_mii_c22_pcs_config(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h](j)}(hinth]hint}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj-hMubj)}(hphylink_mii_c22_pcs_configh]j%)}(hphylink_mii_c22_pcs_configh]hphylink_mii_c22_pcs_config}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj-hMubj)}(hm(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h](j)}(hstruct mdio_device *pcsh](h)}(hjh]hstruct}(hj6-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2-ubj)}(h h]h }(hjC-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2-ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hjT-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjV-modnameN classnameNjj!)}j$]j')}jj-sbc.phylink_mii_c22_pcs_configasbuh1hhj2-ubj)}(h h]h }(hjt-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2-ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2-ubj%)}(hpcsh]hpcs}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.-ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]jp-c.phylink_mii_c22_pcs_configasbuh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj%)}(h interfaceh]h interface}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.-ubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(hunsignedh]hunsigned}(hj .hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(hlongh]hlong}(hj'.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj5.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hjC.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(h advertisingh]h advertising}(hjP.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.-ubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hji.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje.ubj)}(h h]h }(hjw.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje.ubj)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje.ubj%)}(hneg_modeh]hneg_mode}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.-ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj-hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhj-hMubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMhj,hhubjS)}(hhh]jX)}(hconfigure clause 22 PCSh]hconfigure clause 22 PCS}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj.hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhj-hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhj3whNhNubj})}(hX=**Parameters** ``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. ``phy_interface_t interface`` the PHY interface mode being configured ``const unsigned long *advertising`` the ethtool advertisement mask ``unsigned int neg_mode`` PCS negotiation mode **Description** Configure a Clause 22 PCS PHY with the appropriate negotiation parameters for the **mode**, **interface** and **advertising** parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.h](jX)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hj.ubj)}(hhh](j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hj /h]hstruct mdio_device *pcs}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj /ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj/ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj%/hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj//h]hstruct mdio_device}(hj1/hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-/ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhj!/hMhj%/ubh.}(hj%/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj!/hMhj"/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj!/hMhj/ubj)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjh/h]hphy_interface_t interface}(hjj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjb/ubj)}(hhh]jX)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}/hM hj~/ubah}(h]h ]h"]h$]h&]uh1jhjb/ubeh}(h]h ]h"]h$]h&]uh1jhj}/hM hj/ubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj/h]h const unsigned long *advertising}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM!hj/ubj)}(hhh]jX)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM!hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM!hj/ubj)}(h/``unsigned int neg_mode`` PCS negotiation mode h](j)}(h``unsigned int neg_mode``h]j)}(hj/h]hunsigned int neg_mode}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hj/ubj)}(hhh]jX)}(hPCS negotiation modeh]hPCS negotiation mode}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM"hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM"hj/ubeh}(h]h ]h"]h$]h&]uh1jhj.ubjX)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$hj.ubjX)}(hXConfigure a Clause 22 PCS PHY with the appropriate negotiation parameters for the **mode**, **interface** and **advertising** parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.h](hRConfigure a Clause 22 PCS PHY with the appropriate negotiation parameters for the }(hj+0hhhNhNubj)}(h**mode**h]hmode}(hj30hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+0ubh, }(hj+0hhhNhNubj)}(h **interface**h]h interface}(hjE0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+0ubh and }(hj+0hhhNhNubj)}(h**advertising**h]h advertising}(hjW0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+0ubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(hj+0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM#hj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_mii_c22_pcs_an_restart (C function) c.phylink_mii_c22_pcs_an_restarthNtauh1hhj3whhhNhNubh)}(hhh](h)}(h=void phylink_mii_c22_pcs_an_restart (struct mdio_device *pcs)h]h)}(hh]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hpcsh]hpcs}(hj&1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj0hMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hMJubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMJhj0hhubjS)}(hhh]jX)}(hrestart 802.3z autonegotiationh]hrestart 802.3z autonegotiation}(hjP1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJhjM1hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjh1jxjh1jyjzj{uh1hhhhj3whNhNubj})}(hX**Parameters** ``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation. Restart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h](jX)}(h**Parameters**h]j)}(hjr1h]h Parameters}(hjt1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMNhjl1ubj)}(hhh]j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hj1h]hstruct mdio_device *pcs}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMKhj1ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj1hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj1h]hstruct mdio_device}(hj1hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhj1hMKhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj1hMKhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMKhj1ubah}(h]h ]h"]h$]h&]uh1jhjl1ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMMhjl1ubjX)}(hYHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation.h]hYHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMLhjl1ubjX)}(hRestart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h]hRestart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMOhjl1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj3whhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hj52hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj22hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhj22hhhNhNubh)}(hhh](h)}(hsfp_bush]h)}(hstruct sfp_bush](h)}(hjh]hstruct}(hj\2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjX2hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj)}(h h]h }(hjj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX2hhhji2hKubj)}(hsfp_bush]j%)}(hjV2h]hsfp_bus}(hj|2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjX2hhhji2hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjT2hhhji2hKubah}(h]jO2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhji2hKhjQ2hhubjS)}(hhh]jX)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj2hhubah}(h]h ]h"]h$]h&]uh1jRhjQ2hhhji2hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhj22hNhNubj})}(h6**Definition**:: struct sfp_bus { }; **Members**h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh:}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj2ubjU)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hj2sbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj2ubjX)}(h **Members**h]j)}(hj2h]hMembers}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhj22hhhNhNubh)}(hhh](h)}(h sfp_eeprom_idh]h)}(hstruct sfp_eeprom_idh](h)}(hjh]hstruct}(hj"3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hj03hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj/3hKubj)}(h sfp_eeprom_idh]j%)}(hj3h]h sfp_eeprom_id}(hjB3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj/3hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj/3hKubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj/3hKhj3hhubjS)}(hhh]jX)}(h)raw SFP module identification informationh]h)raw SFP module identification information}(hjd3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhja3hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj/3hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj|3jxj|3jyjzj{uh1hhhhj22hNhNubj})}(h**Definition**:: struct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; }; **Members** ``base`` base SFP module identification structure ``ext`` extended SFP module identification structureh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh:}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj3ubjU)}(hYstruct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; };h]hYstruct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; };}hj3sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj3ubjX)}(h **Members**h]j)}(hj3h]hMembers}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj3ubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hj3h]hbase}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj3ubj)}(hhh]jX)}(h(base SFP module identification structureh]h(base SFP module identification structure}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hKhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKhj3ubj)}(h4``ext`` extended SFP module identification structureh](j)}(h``ext``h]j)}(hj 4h]hext}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj4ubj)}(hhh]jX)}(h,extended SFP module identification structureh]h,extended SFP module identification structure}(hj#4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj 4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hKhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubjX)}(h**Description**h]j)}(hjM4h]h Description}(hjO4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj22hhubjX)}(hSee the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from https://www.snia.org/technology-communities/sff/specificationsh](h~See the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from }(hjc4hhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hjm4hhhNhNubah}(h]h ]h"]h$]h&]refurijo4uh1jk4hjc4ubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj22hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhj22hhhNhNubh)}(hhh](h)}(hsfp_upstream_opsh]h)}(hstruct sfp_upstream_opsh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hKubj)}(hsfp_upstream_opsh]j%)}(hj4h]hsfp_upstream_ops}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhj4hKubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hKhj4hhubjS)}(hhh]jX)}(hupstream operations structureh]hupstream operations structure}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hj4hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj4hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj22hNhNubj})}(hXD**Definition**:: struct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); }; **Members** ``attach`` called when the sfp socket driver is bound to the upstream (mandatory). ``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). ``module_insert`` called after a module has been detected to determine whether the module is supported for the upstream device. ``module_remove`` called after the module has been removed. ``module_start`` called after the PHY probe step ``module_stop`` called before the PHY is removed ``link_down`` called when the link is non-operational for whatever reason. ``link_up`` called when the link is operational. ``connect_phy`` called when an I2C accessible PHY has been detected on the module. ``disconnect_phy`` called when a module with an I2C accessible PHY has been removed.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh:}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj4ubjU)}(hXstruct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); };h]hXstruct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); };}hj5sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj4ubjX)}(h **Members**h]j)}(hj,5h]hMembers}(hj.5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*5ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hj4ubj)}(hhh](j)}(hS``attach`` called when the sfp socket driver is bound to the upstream (mandatory). h](j)}(h ``attach``h]j)}(hjK5h]hattach}(hjM5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjE5ubj)}(hhh]jX)}(hGcalled when the sfp socket driver is bound to the upstream (mandatory).h]hGcalled when the sfp socket driver is bound to the upstream (mandatory).}(hjd5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhja5ubah}(h]h ]h"]h$]h&]uh1jhjE5ubeh}(h]h ]h"]h$]h&]uh1jhj`5hMhjB5ubj)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hj5h]hdetach}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5ubj)}(hhh]jX)}(hKcalled when the sfp socket driver is unbound from the upstream (mandatory).h]hKcalled when the sfp socket driver is unbound from the upstream (mandatory).}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjB5ubj)}(h``module_insert`` called after a module has been detected to determine whether the module is supported for the upstream device. h](j)}(h``module_insert``h]j)}(hj5h]h module_insert}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5ubj)}(hhh]jX)}(hmcalled after a module has been detected to determine whether the module is supported for the upstream device.h]hmcalled after a module has been detected to determine whether the module is supported for the upstream device.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjB5ubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hj5h]h module_remove}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5ubj)}(hhh]jX)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjB5ubj)}(h1``module_start`` called after the PHY probe step h](j)}(h``module_start``h]j)}(hj26h]h module_start}(hj46hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj06ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj,6ubj)}(hhh]jX)}(hcalled after the PHY probe steph]hcalled after the PHY probe step}(hjK6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjG6hMhjH6ubah}(h]h ]h"]h$]h&]uh1jhj,6ubeh}(h]h ]h"]h$]h&]uh1jhjG6hMhjB5ubj)}(h1``module_stop`` called before the PHY is removed h](j)}(h``module_stop``h]j)}(hjk6h]h module_stop}(hjm6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhje6ubj)}(hhh]jX)}(h called before the PHY is removedh]h called before the PHY is removed}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhje6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjB5ubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hj6h]h link_down}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj6ubj)}(hhh]jX)}(hh]h*}(hj38hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hbush]hbus}(hj@8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hconst struct sfp_eeprom_id *idh](h)}(hjh]hconst}(hjY8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjU8ubj)}(h h]h }(hjf8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU8ubh)}(hjh]hstruct}(hjt8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjU8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU8ubh)}(hhh]j%)}(h sfp_eeprom_idh]h sfp_eeprom_id}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j!8c.sfp_parse_portasbuh1hhjU8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjU8ubj%)}(hidh]hid}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hunsigned long *supporth](j)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(hlongh]hlong}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hsupporth]hsupport}(hj)9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hK$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hK$ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hK$hj7hhubjS)}(hhh]jX)}(h/Parse the EEPROM base ID, setting the port typeh]h/Parse the EEPROM base ID, setting the port type}(hjS9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK$hjP9hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hK$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjk9jxjk9jyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const struct sfp_eeprom_id *id`` a pointer to the module's :c:type:`struct sfp_eeprom_id ` ``unsigned long *support`` optional pointer to an array of unsigned long for the ethtool support mask **Description** Parse the EEPROM identification given in **id**, and return one of ``PORT_TP``, ``PORT_FIBRE`` or ``PORT_OTHER``. If **support** is non-``NULL``, also set the ethtool ``ETHTOOL_LINK_MODE_xxx_BIT`` corresponding with the connector type. If the port type is not known, returns ``PORT_OTHER``.h](jX)}(h**Parameters**h]j)}(hju9h]h Parameters}(hjw9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK(hjo9ubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj9h]hstruct sfp_bus *bus}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK%hj9ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj9hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj9h]hstruct sfp_bus}(hj9hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj9hK%hj9ubh structure for the sfp module}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj9hK%hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hK%hj9ubj)}(hl``const struct sfp_eeprom_id *id`` a pointer to the module's :c:type:`struct sfp_eeprom_id ` h](j)}(h"``const struct sfp_eeprom_id *id``h]j)}(hj9h]hconst struct sfp_eeprom_id *id}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK&hj9ubj)}(hhh]jX)}(hHa pointer to the module's :c:type:`struct sfp_eeprom_id `h](ha pointer to the module’s }(hj :hhhNhNubh)}(h.:c:type:`struct sfp_eeprom_id `h]j)}(hj:h]hstruct sfp_eeprom_id}(hj:hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj sfp_eeprom_iduh1hhj:hK&hj :ubeh}(h]h ]h"]h$]h&]uh1jWhj:hK&hj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hK&hj9ubj)}(hf``unsigned long *support`` optional pointer to an array of unsigned long for the ethtool support mask h](j)}(h``unsigned long *support``h]j)}(hjH:h]hunsigned long *support}(hjJ:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK(hjB:ubj)}(hhh]jX)}(hJoptional pointer to an array of unsigned long for the ethtool support maskh]hJoptional pointer to an array of unsigned long for the ethtool support mask}(hja:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK'hj^:ubah}(h]h ]h"]h$]h&]uh1jhjB:ubeh}(h]h ]h"]h$]h&]uh1jhj]:hK(hj9ubeh}(h]h ]h"]h$]h&]uh1jhjo9ubjX)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK*hjo9ubjX)}(hParse the EEPROM identification given in **id**, and return one of ``PORT_TP``, ``PORT_FIBRE`` or ``PORT_OTHER``. If **support** is non-``NULL``, also set the ethtool ``ETHTOOL_LINK_MODE_xxx_BIT`` corresponding with the connector type.h](h)Parse the EEPROM identification given in }(hj:hhhNhNubj)}(h**id**h]hid}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh, and return one of }(hj:hhhNhNubj)}(h ``PORT_TP``h]hPORT_TP}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh, }(hj:hhhNhNubj)}(h``PORT_FIBRE``h]h PORT_FIBRE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh or }(hj:hhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh. If }(hj:hhhNhNubj)}(h **support**h]hsupport}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh is non-}(hj:hhhNhNubj)}(h``NULL``h]hNULL}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh, also set the ethtool }(hj:hhhNhNubj)}(h``ETHTOOL_LINK_MODE_xxx_BIT``h]hETHTOOL_LINK_MODE_xxx_BIT}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh' corresponding with the connector type.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK)hjo9ubjX)}(h6If the port type is not known, returns ``PORT_OTHER``.h](h'If the port type is not known, returns }(hj';hhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hj/;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj';ubh.}(hj';hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK.hjo9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_may_have_phy (C function)c.sfp_may_have_phyhNtauh1hhj22hhhNhNubh)}(hhh](h)}(hKbool sfp_may_have_phy (struct sfp_bus *bus, const struct sfp_eeprom_id *id)h]h)}(hJbool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id)h](j)}(hjTh]hbool}(hjh;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKoubj)}(h h]h }(hjv;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd;hhhju;hKoubj)}(hsfp_may_have_phyh]j%)}(hsfp_may_have_phyh]hsfp_may_have_phy}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjd;hhhju;hKoubj)}(h5(struct sfp_bus *bus, const struct sfp_eeprom_id *id)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jj;sbc.sfp_may_have_phyasbuh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(hbush]hbus}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hconst struct sfp_eeprom_id *idh](h)}(hjh]hconst}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj#<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hjh]hstruct}(hj1<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj><hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(h sfp_eeprom_idh]h sfp_eeprom_id}(hjO<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQ<modnameN classnameNjj!)}j$]j;c.sfp_may_have_phyasbuh1hhj<ubj)}(h h]h }(hjm<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hj{<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hidh]hid}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjd;hhhju;hKoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`;hhhju;hKoubah}(h]j[;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhju;hKohj];hhubjS)}(hhh]jX)}(h*indicate whether the module may have a PHYh]h*indicate whether the module may have a PHY}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKohj<hhubah}(h]h ]h"]h$]h&]uh1jRhj];hhhju;hKoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj22hNhNubj})}(hX[**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const struct sfp_eeprom_id *id`` a pointer to the module's :c:type:`struct sfp_eeprom_id ` **Description** Parse the EEPROM identification given in **id**, and return whether this module may have a PHY.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKshj<ubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj<h]hstruct sfp_bus *bus}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKphj<ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj =hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj=h]hstruct sfp_bus}(hj=hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj=hKphj =ubh structure for the sfp module}(hj =hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj=hKphj =ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hKphj<ubj)}(hl``const struct sfp_eeprom_id *id`` a pointer to the module's :c:type:`struct sfp_eeprom_id ` h](j)}(h"``const struct sfp_eeprom_id *id``h]j)}(hjO=h]hconst struct sfp_eeprom_id *id}(hjQ=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKqhjI=ubj)}(hhh]jX)}(hHa pointer to the module's :c:type:`struct sfp_eeprom_id `h](ha pointer to the module’s }(hjh=hhhNhNubh)}(h.:c:type:`struct sfp_eeprom_id `h]j)}(hjr=h]hstruct sfp_eeprom_id}(hjt=hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjp=ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj sfp_eeprom_iduh1hhjd=hKqhjh=ubeh}(h]h ]h"]h$]h&]uh1jWhjd=hKqhje=ubah}(h]h ]h"]h$]h&]uh1jhjI=ubeh}(h]h ]h"]h$]h&]uh1jhjd=hKqhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKshj<ubjX)}(h_Parse the EEPROM identification given in **id**, and return whether this module may have a PHY.h](h)Parse the EEPROM identification given in }(hj=hhhNhNubj)}(h**id**h]hid}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh0, and return whether this module may have a PHY.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKrhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_parse_support (C function)c.sfp_parse_supporthNtauh1hhj22hhhNhNubh)}(hhh](h)}(hvoid sfp_parse_support (struct sfp_bus *bus, const struct sfp_eeprom_id *id, unsigned long *support, unsigned long *interfaces)h]h)}(h~void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, unsigned long *support, unsigned long *interfaces)h](j)}(hvoidh]hvoid}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhj>hKubj)}(hsfp_parse_supporth]j%)}(hsfp_parse_supporth]hsfp_parse_support}(hj!>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhj>hKubj)}(hh(struct sfp_bus *bus, const struct sfp_eeprom_id *id, unsigned long *support, unsigned long *interfaces)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj=>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9>ubj)}(h h]h }(hjJ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9>ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj[>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]>modnameN classnameNjj!)}j$]j')}jj#>sbc.sfp_parse_supportasbuh1hhj9>ubj)}(h h]h }(hj{>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9>ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9>ubj%)}(hbush]hbus}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5>ubj)}(hconst struct sfp_eeprom_id *idh](h)}(hjh]hconst}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hhh]j%)}(h sfp_eeprom_idh]h sfp_eeprom_id}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]jw>c.sfp_parse_supportasbuh1hhj>ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>ubj%)}(hidh]hid}(hj!?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5>ubj)}(hunsigned long *supporth](j)}(hunsignedh]hunsigned}(hj:?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6?ubj)}(h h]h }(hjH?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6?ubj)}(hlongh]hlong}(hjV?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6?ubj)}(h h]h }(hjd?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6?ubj;)}(hj>h]h*}(hjr?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6?ubj%)}(hsupporth]hsupport}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5>ubj)}(hunsigned long *interfacesh](j)}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(hlongh]hlong}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(h interfacesh]h interfaces}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhj>hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhj>hKubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hKhj=hhubjS)}(hhh]jX)}(h,Parse the eeprom id for supported link modesh]h,Parse the eeprom id for supported link modes}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj>hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhj22hNhNubj})}(hX(**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const struct sfp_eeprom_id *id`` a pointer to the module's :c:type:`struct sfp_eeprom_id ` ``unsigned long *support`` pointer to an array of unsigned long for the ethtool support mask ``unsigned long *interfaces`` pointer to an array of unsigned long for phy interface modes mask **Description** Parse the EEPROM identification information and derive the supported ethtool link modes for the module.h](jX)}(h**Parameters**h]j)}(hj)@h]h Parameters}(hj+@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'@ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj#@ubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjH@h]hstruct sfp_bus *bus}(hjJ@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhjB@ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hja@hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjk@h]hstruct sfp_bus}(hjm@hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhji@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj]@hKhja@ubh structure for the sfp module}(hja@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj]@hKhj^@ubah}(h]h ]h"]h$]h&]uh1jhjB@ubeh}(h]h ]h"]h$]h&]uh1jhj]@hKhj?@ubj)}(hl``const struct sfp_eeprom_id *id`` a pointer to the module's :c:type:`struct sfp_eeprom_id ` h](j)}(h"``const struct sfp_eeprom_id *id``h]j)}(hj@h]hconst struct sfp_eeprom_id *id}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj@ubj)}(hhh]jX)}(hHa pointer to the module's :c:type:`struct sfp_eeprom_id `h](ha pointer to the module’s }(hj@hhhNhNubh)}(h.:c:type:`struct sfp_eeprom_id `h]j)}(hj@h]hstruct sfp_eeprom_id}(hj@hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj sfp_eeprom_iduh1hhj@hKhj@ubeh}(h]h ]h"]h$]h&]uh1jWhj@hKhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhj?@ubj)}(h]``unsigned long *support`` pointer to an array of unsigned long for the ethtool support mask h](j)}(h``unsigned long *support``h]j)}(hj@h]hunsigned long *support}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj@ubj)}(hhh]jX)}(hApointer to an array of unsigned long for the ethtool support maskh]hApointer to an array of unsigned long for the ethtool support mask}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhKhjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjAhKhj?@ubj)}(h```unsigned long *interfaces`` pointer to an array of unsigned long for phy interface modes mask h](j)}(h``unsigned long *interfaces``h]j)}(hj5Ah]hunsigned long *interfaces}(hj7AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Aubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj/Aubj)}(hhh]jX)}(hApointer to an array of unsigned long for phy interface modes maskh]hApointer to an array of unsigned long for phy interface modes mask}(hjNAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhjKAubah}(h]h ]h"]h$]h&]uh1jhj/Aubeh}(h]h ]h"]h$]h&]uh1jhjJAhKhj?@ubeh}(h]h ]h"]h$]h&]uh1jhj#@ubjX)}(h**Description**h]j)}(hjqAh]h Description}(hjsAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoAubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj#@ubjX)}(hgParse the EEPROM identification information and derive the supported ethtool link modes for the module.h]hgParse the EEPROM identification information and derive the supported ethtool link modes for the module.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj#@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_select_interface (C function)c.sfp_select_interfacehNtauh1hhj22hhhNhNubh)}(hhh](h)}(h[phy_interface_t sfp_select_interface (struct sfp_bus *bus, const unsigned long *link_modes)h]h)}(hZphy_interface_t sfp_select_interface(struct sfp_bus *bus, const unsigned long *link_modes)h](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jsfp_select_interfacesbc.sfp_select_interfaceasbuh1hhjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM^ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhM^ubj)}(hsfp_select_interfaceh]j%)}(hjAh]hsfp_select_interface}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhM^ubj)}(h6(struct sfp_bus *bus, const unsigned long *link_modes)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj&BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#Bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(BmodnameN classnameNjj!)}j$]jAc.sfp_select_interfaceasbuh1hhjBubj)}(h h]h }(hjDBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjRBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hbush]hbus}(hj_BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hconst unsigned long *link_modesh](h)}(hjh]hconst}(hjxBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtBubj)}(hunsignedh]hunsigned}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtBubj)}(hlongh]hlong}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtBubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtBubj%)}(h link_modesh]h link_modes}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjAhM^ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjAhM^ubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM^hjAhhubjS)}(hhh]jX)}(h'Select appropriate phy_interface_t modeh]h'Select appropriate phy_interface_t mode}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM^hjBhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const unsigned long *link_modes`` ethtool link modes mask **Description** Derive the phy_interface_t mode for the SFP module from the link modes mask.h](jX)}(h**Parameters**h]j)}(hj$Ch]h Parameters}(hj&ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Cubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbhjCubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjCCh]hstruct sfp_bus *bus}(hjEChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjACubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM_hj=Cubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj\ChhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjfCh]hstruct sfp_bus}(hjhChhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjdCubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjXChM_hj\Cubh structure for the sfp module}(hj\ChhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjXChM_hjYCubah}(h]h ]h"]h$]h&]uh1jhj=Cubeh}(h]h ]h"]h$]h&]uh1jhjXChM_hj:Cubj)}(h<``const unsigned long *link_modes`` ethtool link modes mask h](j)}(h#``const unsigned long *link_modes``h]j)}(hjCh]hconst unsigned long *link_modes}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM`hjCubj)}(hhh]jX)}(hethtool link modes maskh]hethtool link modes mask}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM`hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM`hj:Cubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbhjCubjX)}(hLDerive the phy_interface_t mode for the SFP module from the link modes mask.h]hLDerive the phy_interface_t mode for the SFP module from the link modes mask.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMahjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhj22hhhNhNubh)}(hhh](h)}(h&void sfp_bus_put (struct sfp_bus *bus)h]h)}(h%void sfp_bus_put(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj.DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhj-DhMubj)}(h sfp_bus_puth]j%)}(h sfp_bus_puth]h sfp_bus_put}(hj@DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXDubj%)}(hbush]hbus}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTDubah}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhj-DhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhj-DhMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-DhMhjDhhubjS)}(hhh]jX)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on the }(hjDhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjDh]hstruct sfp_bus}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jD c.sfp_bus_putasbjsfp_busuh1hhj7hK$hjDubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhj-DhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhj22hNhNubj})}(h**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() **Description** Put a reference on the :c:type:`struct sfp_bus ` and free the underlying structure if this was the last reference.h](jX)}(h**Parameters**h]j)}(hj%Eh]h Parameters}(hj'EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Eubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjEubj)}(hhh]j)}(h_``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() h](j)}(h``struct sfp_bus *bus``h]j)}(hjDEh]hstruct sfp_bus *bus}(hjFEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj>Eubj)}(hhh]jX)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hj]EhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjgEh]hstruct sfp_bus}(hjiEhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjeEubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjYEhMhj]Eubh found via sfp_bus_find_fwnode()}(hj]EhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjYEhMhjZEubah}(h]h ]h"]h$]h&]uh1jhj>Eubeh}(h]h ]h"]h$]h&]uh1jhjYEhMhj;Eubah}(h]h ]h"]h$]h&]uh1jhjEubjX)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjEubjX)}(h{Put a reference on the :c:type:`struct sfp_bus ` and free the underlying structure if this was the last reference.h](hPut a reference on the }(hjEhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjEh]hstruct sfp_bus}(hjEhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjEubhB and free the underlying structure if this was the last reference.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjEhMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhj22hhhNhNubh)}(hhh](h)}(hNint sfp_get_module_info (struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h]h)}(hMint sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](j)}(hinth]hint}(hj FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhMubj)}(hsfp_get_module_infoh]j%)}(hsfp_get_module_infoh]hsfp_get_module_info}(hj+FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Fubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjFhMubj)}(h6(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjGFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCFubj)}(h h]h }(hjTFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCFubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjeFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgFmodnameN classnameNjj!)}j$]j')}jj-Fsbc.sfp_get_module_infoasbuh1hhjCFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCFubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCFubj%)}(hbush]hbus}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?Fubj)}(hstruct ethtool_modinfo *modinfoh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hethtool_modinfoh]hethtool_modinfo}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]jFc.sfp_get_module_infoasbuh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hmodinfoh]hmodinfo}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?Fubeh}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjFhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhjFhMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhMhjEhhubjS)}(hhh]jX)}(h(Get the ethtool_modinfo for a SFP moduleh]h(Get the ethtool_modinfo for a SFP module}(hj:GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj7Ghhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhjFhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRGjxjRGjyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` **Description** Fill in the type and eeprom_len parameters in **modinfo** for a module on the sfp bus specified by **bus**. Returns 0 on success or a negative errno number.h](jX)}(h**Parameters**h]j)}(hj\Gh]h Parameters}(hj^GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZGubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjVGubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj{Gh]hstruct sfp_bus *bus}(hj}GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjuGubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjGhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjGh]hstruct sfp_bus}(hjGhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjGhMhjGubh structure for the sfp module}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjuGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjrGubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hjGh]hstruct ethtool_modinfo *modinfo}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjGubj)}(hhh]jX)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hjGhhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hjGh]hstruct ethtool_modinfo}(hjGhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_modinfouh1hhjGhMhjGubeh}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjrGubeh}(h]h ]h"]h$]h&]uh1jhjVGubjX)}(h**Description**h]j)}(hj1Hh]h Description}(hj3HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Hubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjVGubjX)}(hkFill in the type and eeprom_len parameters in **modinfo** for a module on the sfp bus specified by **bus**.h](h.Fill in the type and eeprom_len parameters in }(hjGHhhhNhNubj)}(h **modinfo**h]hmodinfo}(hjOHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGHubh* for a module on the sfp bus specified by }(hjGHhhhNhNubj)}(h**bus**h]hbus}(hjaHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGHubh.}(hjGHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjVGubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjzHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjVGubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhj22hhhNhNubh)}(hhh](h)}(hTint sfp_get_module_eeprom (struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h]h)}(hSint sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjHhMubj)}(hsfp_get_module_eepromh]j%)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjHhMubj)}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjHsbc.sfp_get_module_eepromasbuh1hhjHubj)}(h h]h }(hj$IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hj2IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hbush]hbus}(hj?IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hstruct ethtool_eeprom *eeh](h)}(hjh]hstruct}(hjXIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTIubj)}(h h]h }(hjeIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTIubh)}(hhh]j%)}(hethtool_eepromh]hethtool_eeprom}(hjvIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxImodnameN classnameNjj!)}j$]j Ic.sfp_get_module_eepromasbuh1hhjTIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTIubj%)}(heeh]hee}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hu8 *datah](h)}(hhh]j%)}(hu8h]hu8}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j Ic.sfp_get_module_eepromasbuh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hdatah]hdata}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjHhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhjHhMubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMhjHhhubjS)}(hhh]jX)}(hRead the SFP module EEPROMh]hRead the SFP module EEPROM}(hj.JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj+Jhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjHhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFJjxjFJjyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` ``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) **Description** Read the EEPROM as specified by the supplied **ee**. See the documentation for :c:type:`struct ethtool_eeprom ` for the region to be read. Returns 0 on success or a negative errno number.h](jX)}(h**Parameters**h]j)}(hjPJh]h Parameters}(hjRJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNJubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjJJubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjoJh]hstruct sfp_bus *bus}(hjqJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjiJubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjJhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjJh]hstruct sfp_bus}(hjJhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjJhMhjJubh structure for the sfp module}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjiJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjfJubj)}(hQ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` h](j)}(h``struct ethtool_eeprom *ee``h]j)}(hjJh]hstruct ethtool_eeprom *ee}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjJubj)}(hhh]jX)}(h2a :c:type:`struct ethtool_eeprom `h](ha }(hjJhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjJh]hstruct ethtool_eeprom}(hjJhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhjJhMhjJubeh}(h]h ]h"]h$]h&]uh1jWhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjfJubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hj#Kh]hu8 *data}(hj%KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Kubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKubj)}(hhh]jX)}(hFbuffer to contain the EEPROM data (must be at least **ee->len** bytes)h](h4buffer to contain the EEPROM data (must be at least }(hjlen**h]hee->len}(hjDKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj` for the region to be read.h](h-Read the EEPROM as specified by the supplied }(hjKhhhNhNubj)}(h**ee**h]hee}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh. See the documentation for }(hjKhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjKh]hstruct ethtool_eeprom}(hjKhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKubh for the region to be read.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjKhMhjJJubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjJJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhj22hhhNhNubh)}(hhh](h)}(hint sfp_get_module_eeprom_by_page (struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h]h)}(hint sfp_get_module_eeprom_by_page(struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjLhMubj)}(hsfp_get_module_eeprom_by_pageh]j%)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhjLhMubj)}(h_(struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj6LhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2Lubj)}(h h]h }(hjCLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2Lubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjTLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVLmodnameN classnameNjj!)}j$]j')}jjLsbc.sfp_get_module_eeprom_by_pageasbuh1hhj2Lubj)}(h h]h }(hjtLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2Lubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2Lubj%)}(hbush]hbus}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2Lubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.Lubj)}(h(const struct ethtool_module_eeprom *pageh](h)}(hjh]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hethtool_module_eepromh]hethtool_module_eeprom}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jpLc.sfp_get_module_eeprom_by_pageasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hj MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hpageh]hpage}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.Lubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj3MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/Mubj)}(h h]h }(hj@MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Mubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjQMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSMmodnameN classnameNjj!)}j$]jpLc.sfp_get_module_eeprom_by_pageasbuh1hhj/Mubj)}(h h]h }(hjoMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Mubj;)}(hj>h]h*}(hj}MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Mubj%)}(hextackh]hextack}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.Lubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhjLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjLhMubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMhjKhhubjS)}(hhh]jX)}(h&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj22hNhNubj})}(hXT**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const struct ethtool_module_eeprom *page`` a :c:type:`struct ethtool_module_eeprom ` ``struct netlink_ext_ack *extack`` extack for reporting problems **Description** Read an EEPROM page as specified by the supplied **page**. See the documentation for :c:type:`struct ethtool_module_eeprom ` for the page to be read. Returns 0 on success or a negative errno number. More error information might be provided via extackh](jX)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjMubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjMh]hstruct sfp_bus *bus}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjMubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjNhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjNh]hstruct sfp_bus}(hjNhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj NhMhjNubh structure for the sfp module}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj NhMhj Nubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj NhMhjMubj)}(hn``const struct ethtool_module_eeprom *page`` a :c:type:`struct ethtool_module_eeprom ` h](j)}(h,``const struct ethtool_module_eeprom *page``h]j)}(hjQNh]h(const struct ethtool_module_eeprom *page}(hjSNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjONubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKNubj)}(hhh]jX)}(h@a :c:type:`struct ethtool_module_eeprom `h](ha }(hjjNhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjtNh]hstruct ethtool_module_eeprom}(hjvNhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjrNubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhjfNhMhjjNubeh}(h]h ]h"]h$]h&]uh1jWhjfNhMhjgNubah}(h]h ]h"]h$]h&]uh1jhjKNubeh}(h]h ]h"]h$]h&]uh1jhjfNhMhjMubj)}(hA``struct netlink_ext_ack *extack`` extack for reporting problems h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjNh]hstruct netlink_ext_ack *extack}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjNubj)}(hhh]jX)}(hextack for reporting problemsh]hextack for reporting problems}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjMubjX)}(hRead an EEPROM page as specified by the supplied **page**. See the documentation for :c:type:`struct ethtool_module_eeprom ` for the page to be read.h](h1Read an EEPROM page as specified by the supplied }(hjNhhhNhNubj)}(h**page**h]hpage}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh. See the documentation for }(hjNhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjOh]hstruct ethtool_module_eeprom}(hjOhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjNubh for the page to be read.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj3OhMhjMubjX)}(hdReturns 0 on success or a negative errno number. More error information might be provided via extackh]hdReturns 0 on success or a negative errno number. More error information might be provided via extack}(hj>OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhj22hhhNhNubh)}(hhh](h)}(h-void sfp_upstream_start (struct sfp_bus *bus)h]h)}(h,void sfp_upstream_start(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjmOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiOhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&ubj)}(h h]h }(hj|OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiOhhhj{OhM&ubj)}(hsfp_upstream_starth]j%)}(hsfp_upstream_starth]hsfp_upstream_start}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjiOhhhj{OhM&ubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjOsbc.sfp_upstream_startasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hbush]hbus}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhjiOhhhj{OhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjeOhhhj{OhM&ubah}(h]j`Oah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{OhM&hjbOhhubjS)}(hhh]jX)}(h,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hj-PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&hj*Phhubah}(h]h ]h"]h$]h&]uh1jRhjbOhhhj{OhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEPjxjEPjyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jX)}(h**Parameters**h]j)}(hjOPh]h Parameters}(hjQPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM*hjIPubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjnPh]hstruct sfp_bus *bus}(hjpPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM'hjhPubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjPhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjPh]hstruct sfp_bus}(hjPhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjPhM'hjPubh structure for the sfp module}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjPhM'hjPubah}(h]h ]h"]h$]h&]uh1jhjhPubeh}(h]h ]h"]h$]h&]uh1jhjPhM'hjePubah}(h]h ]h"]h$]h&]uh1jhjIPubjX)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM)hjIPubjX)}(hInform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](hInform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver’s }(hjPhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjPh]hstruct net_device_ops}(hjPhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM(hjPubh ndo_open() method.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj QhM(hjIPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhj22hhhNhNubh)}(hhh](h)}(h,void sfp_upstream_stop (struct sfp_bus *bus)h]h)}(h+void sfp_upstream_stop(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hj4QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0QhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM7ubj)}(h h]h }(hjCQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0QhhhjBQhM7ubj)}(hsfp_upstream_stoph]j%)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hjUQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0QhhhjBQhM7ubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjqQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmQubj)}(h h]h }(hj~QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmQubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjWQsbc.sfp_upstream_stopasbuh1hhjmQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmQubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmQubj%)}(hbush]hbus}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiQubah}(h]h ]h"]h$]h&]j<j=uh1jhj0QhhhjBQhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,QhhhjBQhM7ubah}(h]j'Qah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBQhM7hj)QhhubjS)}(hhh]jX)}(h.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM7hjQhhubah}(h]h ]h"]h$]h&]uh1jRhj)QhhhjBQhM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj Rjxj Rjyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method.h](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM;hjRubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj5Rh]hstruct sfp_bus *bus}(hj7RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Rubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM8hj/Rubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjNRhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjXRh]hstruct sfp_bus}(hjZRhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjVRubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjJRhM8hjNRubh structure for the sfp module}(hjNRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJRhM8hjKRubah}(h]h ]h"]h$]h&]uh1jhj/Rubeh}(h]h ]h"]h$]h&]uh1jhjJRhM8hj,Rubah}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM:hjRubjX)}(hXInform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method.h](hInform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver’s }(hjRhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjRh]hstruct net_device_ops}(hjRhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM9hjRubh ndo_stop() method.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjRhM9hjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhj22hhhNhNubh)}(hhh](h)}(hNvoid sfp_upstream_set_signal_rate (struct sfp_bus *bus, unsigned int rate_kbd)h]h)}(hMvoid sfp_upstream_set_signal_rate(struct sfp_bus *bus, unsigned int rate_kbd)h](j)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNubj)}(h h]h }(hj ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhj ShMNubj)}(hsfp_upstream_set_signal_rateh]j%)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRhhhj ShMNubj)}(h,(struct sfp_bus *bus, unsigned int rate_kbd)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj8ShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4Subj)}(h h]h }(hjEShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Subh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjVShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXSmodnameN classnameNjj!)}j$]j')}jjSsbc.sfp_upstream_set_signal_rateasbuh1hhj4Subj)}(h h]h }(hjvShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Subj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4Subj%)}(hbush]hbus}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4Subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0Subj)}(hunsigned int rate_kbdh](j)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(hinth]hint}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj%)}(hrate_kbdh]hrate_kbd}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0Subeh}(h]h ]h"]h$]h&]j<j=uh1jhjRhhhj ShMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjRhhhj ShMNubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj ShMNhjRhhubjS)}(hhh]jX)}(hset data signalling rateh]hset data signalling rate}(hj ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNhj Thhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhj ShMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$Tjxj$Tjyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``unsigned int rate_kbd`` signalling rate in units of 1000 baud **Description** Configure the rate select settings on the SFP module for the signalling rate (not the same as the data rate). Locks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](jX)}(h**Parameters**h]j)}(hj.Th]h Parameters}(hj0ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Tubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhj(Tubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjMTh]hstruct sfp_bus *bus}(hjOThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhjGTubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjfThhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjpTh]hstruct sfp_bus}(hjrThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjnTubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjbThMOhjfTubh structure for the sfp module}(hjfThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjbThMOhjcTubah}(h]h ]h"]h$]h&]uh1jhjGTubeh}(h]h ]h"]h$]h&]uh1jhjbThMOhjDTubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(hjTh]hunsigned int rate_kbd}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMPhjTubj)}(hhh]jX)}(h%signalling rate in units of 1000 baudh]h%signalling rate in units of 1000 baud}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMPhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMPhjDTubeh}(h]h ]h"]h$]h&]uh1jhj(TubjX)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhj(TubjX)}(hmConfigure the rate select settings on the SFP module for the signalling rate (not the same as the data rate).h]hmConfigure the rate select settings on the SFP module for the signalling rate (not the same as the data rate).}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj(Tubj)}(hhh]j)}(hFLocks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](j)}(hLocks that may be held:h]hLocks that may be held:}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMVhj Uubj)}(hhh]jX)}(h.Phylink's state_mutex rtnl lock SFP's sm_mutexh]h2Phylink’s state_mutex rtnl lock SFP’s sm_mutex}(hj"UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMUhjUubah}(h]h ]h"]h$]h&]uh1jhj Uubeh}(h]h ]h"]h$]h&]uh1jhjUhMVhj Uubah}(h]h ]h"]h$]h&]uh1jhj(Tubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_bus_find_fwnode (C function)c.sfp_bus_find_fwnodehNtauh1hhj22hhhNhNubh)}(hhh](h)}(hIstruct sfp_bus * sfp_bus_find_fwnode (const struct fwnode_handle *fwnode)h]h)}(hGstruct sfp_bus *sfp_bus_find_fwnode(const struct fwnode_handle *fwnode)h](h)}(hjh]hstruct}(hjcUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_UhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbubj)}(h h]h }(hjqUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_UhhhjpUhMbubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jsfp_bus_find_fwnodesbc.sfp_bus_find_fwnodeasbuh1hhj_UhhhjpUhMbubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_UhhhjpUhMbubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_UhhhjpUhMbubj)}(hsfp_bus_find_fwnodeh]j%)}(hjUh]hsfp_bus_find_fwnode}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_UhhhjpUhMbubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jUc.sfp_bus_find_fwnodeasbuh1hhjUubj)}(h h]h }(hj4VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjBVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hfwnodeh]hfwnode}(hjOVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubah}(h]h ]h"]h$]h&]j<j=uh1jhj_UhhhjpUhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[UhhhjpUhMbubah}(h]jVUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjpUhMbhjXUhhubjS)}(hhh]jX)}(h(parse and locate the SFP bus from fwnodeh]h(parse and locate the SFP bus from fwnode}(hjyVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbhjvVhhubah}(h]h ]h"]h$]h&]uh1jRhjXUhhhjpUhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj22hNhNubj})}(hX{**Parameters** ``const struct fwnode_handle *fwnode`` firmware node for the parent device (MAC or PHY) **Description** Parse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jX)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMfhjVubj)}(hhh]j)}(hX``const struct fwnode_handle *fwnode`` firmware node for the parent device (MAC or PHY) h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjVh]h"const struct fwnode_handle *fwnode}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMchjVubj)}(hhh]jX)}(h0firmware node for the parent device (MAC or PHY)h]h0firmware node for the parent device (MAC or PHY)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMchjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMchjVubah}(h]h ]h"]h$]h&]uh1jhjVubjX)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMehjVubjX)}(hParse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done.h]hParse the parent device’s firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done.}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMdhjVubj )}(h- corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. h]jD2)}(hhh](jI2)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]jX)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]hNcorresponding to the errors detailed for fwnode_property_get_reference_args().}(hj%WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMihj!Wubah}(h]h ]h"]h$]h&]uh1jH2hjWubjI2)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jX)}(hjWubh" if we failed to allocate the bus.}(hj>WhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMkhj:Wubah}(h]h ]h"]h$]h&]uh1jH2hjWubjI2)}(h3an error from the upstream's connect_phy() method. h]jX)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hjdWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMlhj`Wubah}(h]h ]h"]h$]h&]uh1jH2hjWubeh}(h]h ]h"]h$]h&]j3juh1jC2hj3WhMihjWubah}(h]h ]h"]h$]h&]uh1j hj3WhMihjVubjX)}(h **Return**h]j)}(hjWh]hReturn}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMnhjVubjD2)}(hhh](jI2)}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hjWh]h/on success, a pointer to the sfp_bus structure,}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMihjWubah}(h]h ]h"]h$]h&]uh1jH2hjWubjI2)}(h ``NULL`` if no SFP is specified,h]jX)}(hjWh](j)}(h``NULL``h]hNULL}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh if no SFP is specified,}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMjhjWubah}(h]h ]h"]h$]h&]uh1jH2hjWubjI2)}(h#on failure, an error pointer value:h]jX)}(hjWh]h#on failure, an error pointer value:}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMkhjWubah}(h]h ]h"]h$]h&]uh1jH2hjWubeh}(h]h ]h"]h$]h&]j3juh1jC2hjWhMihjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhj22hhhNhNubh)}(hhh](h)}(hbint sfp_bus_add_upstream (struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h]h)}(haint sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj+XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhj*XhMubj)}(hsfp_bus_add_upstreamh]j%)}(hsfp_bus_add_upstreamh]hsfp_bus_add_upstream}(hj=XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9Xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhj*XhMubj)}(hI(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjYXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUXubj)}(h h]h }(hjfXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUXubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjwXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjyXmodnameN classnameNjj!)}j$]j')}jj?Xsbc.sfp_bus_add_upstreamasbuh1hhjUXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUXubj%)}(hbush]hbus}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQXubj)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hupstreamh]hupstream}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQXubj)}(h"const struct sfp_upstream_ops *opsh](h)}(hjh]hconst}(hj YhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj Yubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Yubh)}(hjh]hstruct}(hj(YhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj Yubj)}(h h]h }(hj5YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Yubh)}(hhh]j%)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hjFYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHYmodnameN classnameNjj!)}j$]jXc.sfp_bus_add_upstreamasbuh1hhj Yubj)}(h h]h }(hjdYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Yubj;)}(hj>h]h*}(hjrYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj Yubj%)}(hopsh]hops}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhj*XhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhj*XhMubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*XhMhjXhhubjS)}(hhh]jX)}(h*parse and register the neighbouring deviceh]h*parse and register the neighbouring device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhj*XhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj22hNhNubj})}(hX=**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() ``void *upstream`` the upstream private data ``const struct sfp_upstream_ops *ops`` the upstream's :c:type:`struct sfp_upstream_ops ` **Description** Add upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjYubj)}(hhh](j)}(h_``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() h](j)}(h``struct sfp_bus *bus``h]j)}(hjYh]hstruct sfp_bus *bus}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjYubj)}(hhh]jX)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hjZhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj Zh]hstruct sfp_bus}(hjZhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj Zubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjYhMhjZubh found via sfp_bus_find_fwnode()}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYubj)}(h-``void *upstream`` the upstream private data h](j)}(h``void *upstream``h]j)}(hjFZh]hvoid *upstream}(hjHZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj@Zubj)}(hhh]jX)}(hthe upstream private datah]hthe upstream private data}(hj_ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[ZhMhj\Zubah}(h]h ]h"]h$]h&]uh1jhj@Zubeh}(h]h ]h"]h$]h&]uh1jhj[ZhMhjYubj)}(hk``const struct sfp_upstream_ops *ops`` the upstream's :c:type:`struct sfp_upstream_ops ` h](j)}(h&``const struct sfp_upstream_ops *ops``h]j)}(hjZh]h"const struct sfp_upstream_ops *ops}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Zubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjyZubj)}(hhh]jX)}(hCthe upstream's :c:type:`struct sfp_upstream_ops `h](hthe upstream’s }(hjZhhhNhNubh)}(h4:c:type:`struct sfp_upstream_ops `h]j)}(hjZh]hstruct sfp_upstream_ops}(hjZhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_upstream_opsuh1hhjZhMhjZubeh}(h]h ]h"]h$]h&]uh1jWhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjyZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjYubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjYubjX)}(hAdd upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call.h]hAdd upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjYubj )}(h- corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. h]jD2)}(hhh](jI2)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]jX)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]hNcorresponding to the errors detailed for fwnode_property_get_reference_args().}(hj [hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj[ubah}(h]h ]h"]h$]h&]uh1jH2hj[ubjI2)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jX)}(hj [h](j)}(h ``-ENOMEM``h]h-ENOMEM}(hj%[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"[ubh" if we failed to allocate the bus.}(hj"[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj[ubah}(h]h ]h"]h$]h&]uh1jH2hj[ubjI2)}(h3an error from the upstream's connect_phy() method. h]jX)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hjH[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjD[ubah}(h]h ]h"]h$]h&]uh1jH2hj[ubeh}(h]h ]h"]h$]h&]j3juh1jC2hj[hMhjZubah}(h]h ]h"]h$]h&]uh1j hj[hMhjYubjX)}(h **Return**h]j)}(hjk[h]hReturn}(hjm[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji[ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjYubjD2)}(hhh](jI2)}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hj[h]h/on success, a pointer to the sfp_bus structure,}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj[ubah}(h]h ]h"]h$]h&]uh1jH2hj[ubjI2)}(h ``NULL`` if no SFP is specified,h]jX)}(hj[h](j)}(h``NULL``h]hNULL}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh if no SFP is specified,}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj[ubah}(h]h ]h"]h$]h&]uh1jH2hj[ubjI2)}(h#on failure, an error pointer value:h]jX)}(hj[h]h#on failure, an error pointer value:}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj[ubah}(h]h ]h"]h$]h&]uh1jH2hj[ubeh}(h]h ]h"]h$]h&]j3juh1jC2hj[hMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhj22hhhNhNubh)}(hhh](h)}(h/void sfp_bus_del_upstream (struct sfp_bus *bus)h]h)}(h.void sfp_bus_del_upstream(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhj\hMubj)}(hsfp_bus_del_upstreamh]j%)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hj!\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhj\hMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj=\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9\ubj)}(h h]h }(hjJ\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9\ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj[\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]\modnameN classnameNjj!)}j$]j')}jj#\sbc.sfp_bus_del_upstreamasbuh1hhj9\ubj)}(h h]h }(hj{\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9\ubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9\ubj%)}(hbush]hbus}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5\ubah}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhj\hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhj\hMubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMhj[hhubjS)}(hhh]jX)}(hDelete a sfp bush]hDelete a sfp bus}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj\hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhj\hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhj22hNhNubj})}(hX **Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Delete a previously registered upstream connection for the SFP module. **bus** should have been added by sfp_bus_add_upstream().h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj\ubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj]h]hstruct sfp_bus *bus}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj\ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj]hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj$]h]hstruct sfp_bus}(hj&]hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj"]ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj]hMhj]ubh structure for the sfp module}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hj_]h]h Description}(hja]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]]ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj\ubjX)}(hDelete a previously registered upstream connection for the SFP module. **bus** should have been added by sfp_bus_add_upstream().h](hGDelete a previously registered upstream connection for the SFP module. }(hju]hhhNhNubj)}(h**bus**h]hbus}(hj}]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju]ubh2 should have been added by sfp_bus_add_upstream().}(hju]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhj22hhhNhNubh)}(hhh](h)}(h/const char * sfp_get_name (struct sfp_bus *bus)h]h)}(h-const char *sfp_get_name(struct sfp_bus *bus)h](h)}(hjh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj]hMubj)}(hcharh]hchar}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhj]hMubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj]hMubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]hhhj]hMubj)}(h sfp_get_nameh]j%)}(h sfp_get_nameh]h sfp_get_name}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhj]hMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hj(^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj9^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;^modnameN classnameNjj!)}j$]j')}jj^sbc.sfp_get_nameasbuh1hhj^ubj)}(h h]h }(hjY^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hjg^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hbush]hbus}(hjt^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubah}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhj]hMubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhj]hhubjS)}(hhh]jX)}(hGet the SFP device nameh]hGet the SFP device name}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj^hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhj22hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Gets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released. **Return** - The name of the SFP device registered with sfp_register_socket() - ``NULL`` if no device was registered on **bus**h](jX)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj^ubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj^h]hstruct sfp_bus *bus}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj^ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj^hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj_h]hstruct sfp_bus}(hj_hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj^hMhj^ubh structure for the sfp module}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubjX)}(h**Description**h]j)}(hj=_h]h Description}(hj?_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;_ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj^ubjX)}(hGets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.h](h!Gets the SFP device’s name, if }(hjS_hhhNhNubj)}(h**bus**h]hbus}(hj[_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS_ubhm has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.}(hjS_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj^ubjX)}(h **Return**h]j)}(hjv_h]hReturn}(hjx_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt_ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj^ubjD2)}(hhh](jI2)}(h@The name of the SFP device registered with sfp_register_socket()h]jX)}(hj_h]h@The name of the SFP device registered with sfp_register_socket()}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj_ubah}(h]h ]h"]h$]h&]uh1jH2hj_ubjI2)}(h/``NULL`` if no device was registered on **bus**h]jX)}(hj_h](j)}(h``NULL``h]hNULL}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh if no device was registered on }(hj_hhhNhNubj)}(h**bus**h]hbus}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj_ubah}(h]h ]h"]h$]h&]uh1jH2hj_ubeh}(h]h ]h"]h$]h&]j3juh1jC2hj_hMhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj22hhhNhNubeh}(h] sfp-supportah ]h"] sfp supportah$]h&]uh1hhjhhhhhKubeh}(h]network-device-supportah ]h"]network device supportah$]h&]uh1hhhhhhhhKWubeh}(h])linux-networking-and-network-devices-apisah ]h"])linux networking and network devices apisah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj#`error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j_j_jjjXjUjKjKj WjWj<j9jjj_j_jTjTj0wj-wj/2j,2j_j_u nametypes}(j_jjXjKj Wj<jj_jTj0wj/2j_uh}(j_hjhjUhhhjxj}jjjKj[jxj}j j j j j j jEjJjjjj$jj jB-jG-j.j.j0j0j2j2j4j4jW6j\6j7j7ji9jn9j:j:j<j<jA?jF?j_AjdAjgCjlCj EjEjFjFj+Ij0IjKjKjnNjsNj7Qj9jC9jS;jX;j<j<jM>jR>j@j@jDjDjGjGjKjKjOjOjQSjVSj3Vj8VjYjYjd[ji[j\j\jb_jg_jZaj_aj;dj@djogjtgjijijkjlj!nj&njojojqjqjDsjIsjujujxjxjzjzjS~jX~jdjijуjփj\jajPjUjۉjjfjkjjjzjjjjSjXj?jDjjjtjyjjjjj!j&jj j(j-jJjOjljqjjjjjDjIj{jjxj}jjjjjjjjjtjyjjjj"jjjjjjjdjijjjPjUjjjjjjj#j(j8j=jjjjj\jajjjjjjjjjjjjjjj j j j j3j8jjj-j2jjjjjjjj jjjg!jl!j$j $j&j&jd)ji)j+j+j-j-j<3jA3j'6j,6j9j9j<j<j?j?j#Bj(BjDjDj$Hj)Hj Jj%JjWjKjLjLjOjOjQjQjTjTj9j Wj*Wj/WjlXjqXjYjYjZjZj\j\j^j$^jbjbjOfjTfj jjjjmjmj!pj&pjsjsj vjvjwjwj}j}j~j~jjjj?j\jaj7j<j܊jjjjjjjjjj5j:jǙj̙jRjWjVj[jjj;j@jjj֧jۧjjjjjj#jXj]jjjjjjjajfjjjjjwj|j3j8jjj/j4j:j?jjjmjrjjjijnjjjEjJjjjjjjjPjUjjjjj-j2jjj jjPjUjjjZj_jjjjj)j.jjjjj j j j j<jAjjjjjzjjjj{jjjj1j6jjjjjjjf!jk!j"j"jh$jm$jW&j\&j'j'jY)j^)j*j*jJ,jO,j-j-j/j/jY1j^1j2j2jJ4jO4j5j5j7j7j%:j*:j<j<j3@j8@jAjAjCjCjEjEjVHj[HjKjKjOjOjcQjhQj.Sj3SjTjTj'Wj,Wj$Zj)Zj]j]jajajdjdjfjfj(ij-ijljljpjpjasjfsjujujoxjtxjzj zj{j{j}j }jb~jg~jjjj j_jjTjjщj։jjjKjPjj jjjjjPjUjjj1j6jwj|jjŸjjjjjjjjjjj0j5jկjگjvj{jj jjj϶jԶjj jj"jjj+j0j@jEjjjjjjj8j=j`jejjjbjgjj"jjjjjnjsjj jjjSjXjjjjjQjVjjjkjpjjjyj~jj jkjpjjjkjpjjjjj=jBjjjkjpjjjjj7j<jjjjjTjYj j" jGjLjqjvjUjZjjjjj|jj<jAjjj j!j"j"j$j$ja&jf&j'j'j)j)j!,j&,j.j.j0j0jY2j^2j7j 7j8j8j:j :j:;j?;j}=j=j)?j.?j@j@jqCjvCjGjGjJjJjLjLjNjNjQjQjTjTj1Vj6VjXj XjYjYj[j[jf]jk]j `j`j5bj:bjOdjTdj%fj*fjOhjThjijijQkjVkjljljynj~nj pj%pjqjqj sj%sjtjtjGvjLvjwjxj|yjyjzjzjH|jM|j}j}j/j4jÀjȀj҂jׂjjj&j+j^jcjjjݍjjjjCjHjj jDjIjjj2j7jjjjjjjj jjjjjgjlj jjjjjj<jAjjjjj jjjjjjjjjjjj jjjj j%jjjOjTjljqjjjnjsjjjjj j jB jG j9j>jjjjjjjjjjjjjjjjj!j!j"$j'$j&j&j)j)j+j+j -j-j.j.j 0j0j1j1j73j<3j4j4jS6jX6j7j7jd9ji9j:j;j<j<j5>j:>j?j?j DjDjFjFjOKjTKj>NjDNjPjPj-wjTj4Tj9TjUjUj6Xj;XjYjYj\[ja[j]j]j[`j``jbjbjejejfjgjhjhjBjjGjjljljnjnjqjqjtjtj\vjavjxj xjyjyj{j{j2}j7}j~j~j_jdj jjjjjjj†j>jCjjƊjBjGjWj\jEjJjƑjˑjjj,j1j0j5j4j9jjjjjIjNjjjj#j˦jЦjjjjjjjׯjܯjŲjʲjjjݷjj^jcj jjdjij8j=jjj;j@jjjZj_jjjjjGjLjjjjjjjCjHjjj4j9jjjjjjjjjjjjjvj{jj jjjj jjjjjjj)j.j9j>jjj[j`jjj j jl jq j j jW j\ jjjwj|jtjyjj jjjjjsjxjjj)j.jjjjj`jej j jb"jg"j#j#j%j%j'j'j)j*jk,jp,j.j.j0j0j3j3j+5j05j>j>jI@jN@jAjAjCjCjIjIj>KjCKjINjNNjOjOjbbjgbj=djBdjejej?hjDhjnijsij"kj'kjG{jL{jQ~jV~jjjjjtjyjPjUjRjWjTjYjjjvj{jjjjj jjjjjjJjOj;j@j,j1jjj©jǩjBjGjjjjjPjUjjjj jjjj jZj_jѷjַj+j0jjjȻjͻjjj~jjj j`jejjjjjj!jjjjjjj jj jjj jjj j%jwj|jujzjjjjj[j`jjjjjjjhjmjjjjjMjRjjj@jEjjjjjjjjjjj3j8jjj5j:jjj~ j j j jjjyj~j~jjjjjjbjgjj#jjj j j"j"j&j&j(j(j+j+jZ.j_.j60j;0j2j2j@4jE4j5j5jj7jo7j59j:9j;j;j>j>jBjBjEjEj$Ij)IjKjKj+Nj0Nj QjQjTjTj4Wj9Wj3Zj8Zj]j]j4aj9ajdjdj:hj?hjkjkj@ojEojpjpjtjtj,2j3wjhwjmwjzjzj~j~jjjjjwj|jzjjujzjjjjjdjijj jПj՟jHjMjjjSjXjjj5j:jjj^jcj˶jжjjjajfjjjjjrjwjjjjjajfjjj{jjjj$j)jWj\jjj<jAj7j<jjj0j5jjjjjbjgj&j+jJjOjjj?jDjPjUj]jbj6j;jj#jjjfjkjjj~jj"j'jjjGjLjjj. j3 j j j9j>jjjDjIjjjjjjjjjjj!j!j#j#j6'j;'jc*jh*j,j,j0j0j_j22jO2jT2j3j3j4j4j7j7j[;j`;j=j=jAjAjDjDjEjFjHjHjKjKj`OjeOj'Qj,QjRjRjVUj[UjXjXj[j[j]j]u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]hsystem_message)}(hhh]jX)}(h:Enumerated list start value not ordinal-1: "8" (ordinal 8)h]h>Enumerated list start value not ordinal-1: “8” (ordinal 8)}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1j`hj2ubatransform_messages] transformerN include_log] decorationNhhub.