xsphinx.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.hhKBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKBubj)}(hsock_shutdown_cmdh]j%)}(hjh]hsock_shutdown_cmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhKBubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKBhjzhhubjS)}(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&]uh1jRhjzhhhjhKBubeh}(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})}(hX'**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. 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. A fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%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&]uh1hhjhhhV/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_shared_hwtstampsh]j%)}(hjh]hskb_shared_hwtstamps}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hhardware time stampsh]hhardware time stamps}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjejxjejyjzj{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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh:}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjiubjU)}(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.hhMhjiubjX)}(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.hhMhjiubj)}(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&]uh1jhjhMhjubj)}(hg``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](j)}(h``netdev_data``h]j)}(hj-h]h netdev_data}(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)}(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}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(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.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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hsk_buffh]j%)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h socket bufferh]h socket buffer}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjNjxjNjyjzj{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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh:}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRubjU)}(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; };}hjssbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRubjX)}(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.hhMhjRubj)}(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)}(hjh]hnext}(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)}(hNext buffer in listh]hNext buffer in list}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(h!``prev`` Previous buffer in list h](j)}(h``prev``h]j)}(hjNh]hprev}(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)}(hPrevious buffer in listh]hPrevious buffer in list}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(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 }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) alternate use of }(hjhhhNhNubj)}(h**dev**h]hdev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh when }(hjhhhNhNubj)}(h**dev**h]hdev}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh would be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``rbnode`` RB tree node, alternative to next/prev for netem/tcp h](j)}(h ``rbnode``h]j)}(hjvh]hrbnode}(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)}(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&]uh1jhjpubeh}(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)}(hjh]hll_node}(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)anchor in an llist (eg socket defer_list)h]h)anchor in an llist (eg socket defer_list)}(hjhhhNhNubah}(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)}(hj!h]hsk}(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)}(hSocket we are owned byh]hSocket we are owned by}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjZh]h{unnamed_union}}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjTubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohKhjubj)}(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)}(hjh]hcb}(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)}(hBControl buffer. Free for use by every layer. Put private vars hereh]hBControl buffer. Free for use by every layer. Put private vars here}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjQh]h{unnamed_union}}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjKubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhKhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(hG``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) h](j)}(h``tcp_tsorted_anchor``h]j)}(hj5h]htcp_tsorted_anchor}(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.hhM/hj/ubj)}(hhh]jX)}(h/list structure for TCP (tp->tsorted_sent_queue)h]h/list structure for TCP (tp->tsorted_sent_queue)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM/hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM/hjubj)}(h7``_sk_redir`` socket redirection information for skmsg h](j)}(h ``_sk_redir``h]j)}(hjnh]h _sk_redir}(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.hhM0hjhubj)}(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&]uh1jhjhubeh}(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)}(hjh]hdata_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 Data lengthh]h Data length}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h(``mac_len`` Length of link layer header h](j)}(h ``mac_len``h]j)}(hjRh]hmac_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)}(hLength of link layer headerh]hLength of link layer header}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(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}(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,Head may be cloned (check refcnt to be sure)h]h,Head may be cloned (check refcnt to be sure)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``nohdr`` Payload reference only, must not modify header h](j)}(h ``nohdr``h]j)}(hj6h]hnohdr}(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)}(h.Payload reference only, must not modify headerh]h.Payload reference only, must not modify header}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(h``fclone`` skbuff clone status h](j)}(h ``fclone``h]j)}(hjoh]hfclone}(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)}(hskbuff clone statush]hskbuff clone status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(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)}(hjh]h pfmemalloc}(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.hhM8hjubj)}(hhh]jX)}(h-skbuff was allocated from PFMEMALLOC reservesh]h-skbuff was allocated from PFMEMALLOC reserves}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM8hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM8hjubj)}(hf``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) h](j)}(h``pp_recycle``h]j)}(hjUh]h pp_recycle}(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)}(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)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM: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)}(hjh]h ignore_df}(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)}(hallow local fragmentationh]hallow local fragmentation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhj4ubj)}(hhh]jX)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMNhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMNhjubj)}(h+``ip_summed`` Driver fed us an IP checksum h](j)}(h ``ip_summed``h]j)}(hjsh]h ip_summed}(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)}(hDriver fed us an IP checksumh]hDriver fed us an IP checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(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)}(hjh]h tc_at_ingress}(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)}(h0used within tc_classify to distinguish in/egressh]h0used within tc_classify to distinguish in/egress}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM&hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM&hjubj)}(h?``tc_skip_classify`` do not classify packet. set by IFB device h](j)}(h``tc_skip_classify``h]j)}(hjXh]htc_skip_classify}(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.hhM%hjRubj)}(hhh]jX)}(h)do not classify packet. set by IFB deviceh]h)do not classify packet. set by IFB device}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM%hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM%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)}(hjh]h csum_level}(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.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)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(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!hj7ubj)}(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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM!hjubj)}(hL``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. h](j)}(h ``l4_hash``h]j)}(hjwh]hl4_hash}(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.hhM?hjqubj)}(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&]uh1jhjqubeh}(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)}(hjh]hwifi_acked_valid}(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.hhMAhjubj)}(hhh]jX)}(hwifi_acked was seth]hwifi_acked was set}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h6``wifi_acked`` whether frame was acked on wifi or not h](j)}(h``wifi_acked``h]j)}(hj# h]h wifi_acked}(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)}(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&]uh1jWhj8 hMBhj9 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj8 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&]uh1jhjZ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChjV ubj)}(hhh]jX)}(h1Request NIC to treat last 4 bytes as Ethernet FCSh]h1Request NIC to treat last 4 bytes as Ethernet FCS}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjq hMChjr ubah}(h]h ]h"]h$]h&]uh1jhjV ubeh}(h]h ]h"]h$]h&]uh1jhjq 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}(hj !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)}(hj@!h]hndisc_nodetype}(hjB!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)}(hjY!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjU!hM<hjV!ubah}(h]h ]h"]h$]h&]uh1jhj:!ubeh}(h]h ]h"]h$]h&]uh1jhjU!hM<hjubj)}(h*``ipvs_property`` skbuff is owned by ipvs h](j)}(h``ipvs_property``h]j)}(hjy!h]h ipvs_property}(hj{!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjs!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&]uh1jhjs!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)}(hj$"h]hoffload_l3_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 L3-forwarded in hardwareh]h#Packet was L3-forwarded in hardware}(hj="hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9"hM$hj:"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj9"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'hjW"ubj)}(hhh]jX)}(h*packet was redirected by packet classifierh]h*packet was redirected by packet classifier}(hjv"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjr"hM'hjs"ubah}(h]h ]h"]h$]h&]uh1jhjW"ubeh}(h]h ]h"]h$]h&]uh1jhjr"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}(hj!#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)}(hjA#h]hslow_gro}(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.hhMPhj;#ubj)}(hhh]jX)}(h7state present at GRO time, slower prepare step requiredh]h7state present at GRO time, slower prepare step required}(hjZ#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjV#hMPhjW#ubah}(h]h ]h"]h$]h&]uh1jhj;#ubeh}(h]h ]h"]h$]h&]uh1jhjV#hMPhjubj)}(h9``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL h](j)}(h``csum_not_inet``h]j)}(hjz#h]h csum_not_inet}(hj|#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjt#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&]uh1jhjt#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)}(hj&$h]h alloc_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.hhMUhj $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&]uh1jhj $ubeh}(h]h ]h"]h$]h&]uh1jhj;$hMUhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj_$h]h{unnamed_union}}(hja$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.hhKhjY$ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjx$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjt$hKhju$ubah}(h]h ]h"]h$]h&]uh1jhjY$ubeh}(h]h ]h"]h$]h&]uh1jhjt$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}(hj#%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj %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)}(hjC%h]h csum_offset}(hjE%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA%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&]uh1jWhjX%hMhjY%ubah}(h]h ]h"]h$]h&]uh1jhj=%ubeh}(h]h ]h"]h$]h&]uh1jhjX%hMhjubj)}(h&``priority`` Packet queueing priority h](j)}(h ``priority``h]j)}(hj|%h]hpriority}(hj~%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjv%ubj)}(hhh]jX)}(hPacket queueing priorityh]hPacket queueing priority}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhjv%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)}(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}(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_all`` vlan fields (proto & tci) h](j)}(h ``vlan_all``h]j)}(hj`&h]hvlan_all}(hjb&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.hhMZhjZ&ubj)}(hhh]jX)}(hvlan fields (proto & tci)h]hvlan fields (proto & tci)}(hjy&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhju&hMZhjv&ubah}(h]h ]h"]h$]h&]uh1jhjZ&ubeh}(h]h ]h"]h$]h&]uh1jhju&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}(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``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjD'h]h{unnamed_union}}(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.hhKhj>'ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj]'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjY'hKhjZ'ubah}(h]h ]h"]h$]h&]uh1jhj>'ubeh}(h]h ]h"]h$]h&]uh1jhjY'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.hhMShjw'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&]uh1jhjw'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&]uh1jWhj(hMVhj(ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj(hMVhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj:(h]h{unnamed_union}}(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.hhKhj4(ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjS(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjO(hKhjP(ubah}(h]h ]h"]h$]h&]uh1jhj4(ubeh}(h]h ]h"]h$]h&]uh1jhjO(hKhjubj)}(h``mark`` Generic packet mark h](j)}(h``mark``h]j)}(hjs(h]hmark}(hju(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhjm(ubj)}(hhh]jX)}(hGeneric packet markh]hGeneric packet mark}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMWhj(ubah}(h]h ]h"]h$]h&]uh1jhjm(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}(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,``inner_protocol`` Protocol (encapsulation) h](j)}(h``inner_protocol``h]j)}(hj1)h]hinner_protocol}(hj3)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)}(hProtocol (encapsulation)h]hProtocol (encapsulation)}(hjJ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjF)hM]hjG)ubah}(h]h ]h"]h$]h&]uh1jhj+)ubeh}(h]h ]h"]h$]h&]uh1jhjF)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)}(hjj)h]h inner_ipproto}(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.hhM_hjd)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&]uh1jhjd)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)}(hj(*h]hinner_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.hhMbhj"*ubj)}(hhh]jX)}(h!Link layer header (encapsulation)h]h!Link layer header (encapsulation)}(hjA*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=*hMbhj>*ubah}(h]h ]h"]h$]h&]uh1jhj"*ubeh}(h]h ]h"]h$]h&]uh1jhj=*hMbhjubj)}(h)``protocol`` Packet protocol from driver h](j)}(h ``protocol``h]j)}(hja*h]hprotocol}(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)}(hPacket protocol from driverh]hPacket protocol from driver}(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,``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}(hj%+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!+hMehj"+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj!+hMehjubj)}(hB``kcov_handle`` KCOV remote handle for remote coverage collection h](j)}(h``kcov_handle``h]j)}(hjE+h]h kcov_handle}(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.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&]uh1jWhjZ+hMfhj[+ubah}(h]h ]h"]h$]h&]uh1jhj?+ubeh}(h]h ]h"]h$]h&]uh1jhjZ+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.hhMghjx+ubj)}(hhh]jX)}(h Tail pointerh]h Tail pointer}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMghj+ubah}(h]h ]h"]h$]h&]uh1jhjx+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)}(hj),h]hdata}(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.hhMjhj#,ubj)}(hhh]jX)}(hData head pointerh]hData head pointer}(hjB,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>,hMjhj?,ubah}(h]h ]h"]h$]h&]uh1jhj#,ubeh}(h]h ]h"]h$]h&]uh1jhj>,hMjhjubj)}(h``truesize`` Buffer size h](j)}(h ``truesize``h]j)}(hjb,h]htruesize}(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.hhMkhj\,ubj)}(hhh]jX)}(h Buffer sizeh]h Buffer size}(hj{,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjw,hMkhjx,ubah}(h]h ]h"]h$]h&]uh1jhj\,ubeh}(h]h ]h"]h$]h&]uh1jhjw,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&]uh1jhjRubeh}(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}(hj.-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*-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 hj*-hhhj;-hMjubj)}(hskb_pfmemalloch]j%)}(hskb_pfmemalloch]hskb_pfmemalloc}(hjN-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*-hhhj;-hMjubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjf-ubj)}(h h]h }(hjw-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf-ubh)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjf-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf-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')}jjP-sbc.skb_pfmemallocasbuh1hhjf-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf-ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjf-ubj%)}(hskbh]hskb}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjb-ubah}(h]h ]h"]h$]h&]j<j=uh1jhj*-hhhj;-hMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&-hhhj;-hMjubah}(h]j!-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;-hMjhj#-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&]uh1jRhj#-hhhj;-hMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj .jxj .jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](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.hhMnhj$.ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hjI.h]hconst struct sk_buff *skb}(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.hhMphjC.ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjb.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&]uh1jhjC.ubeh}(h]h ]h"]h$]h&]uh1jhj^.hMphj@.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_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 }(hj*/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hjh]hstruct}(hj8/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hjE/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjV/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjX/modnameN classnameNjj!)}j$]j. c.skb_dstasbuh1hhj/ubj)}(h h]h }(hjt/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=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)}(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.hhM{hj/ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM{hj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hM{hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h **Return**h]j)}(hj50h]hReturn}(hj70hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj30ubah}(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.}(hjK0hhhNhNubah}(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*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hskbh]hskb}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hstruct dst_entry *dsth](h)}(hjh]hstruct}(hj)1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%1ubj)}(h h]h }(hj61hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%1ubh)}(hhh]j%)}(h dst_entryh]h dst_entry}(hjG1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjI1modnameN classnameNjj!)}j$]j0 c.skb_dst_setasbuh1hhj%1ubj)}(h h]h }(hje1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%1ubj;)}(hj>h]h*}(hjs1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%1ubj%)}(hdsth]hdst}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjv0hhhj0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjr0hhhj0hMubah}(h]jm0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhjo0hhubjS)}(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&]uh1jRhjo0hhhj0hMubeh}(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)}(hj1h]hstruct sk_buff *skb}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj1ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hj$2h]hstruct dst_entry *dst}(hj&2hhhNhNubah}(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)}(h dst entryh]h dst entry}(hj=2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj92hMhj:2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj92hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hj_2h]h Description}(hja2hhhNhNubah}(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()}(hju2hhhNhNubah}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jj2sbc.skb_dst_set_norefasbuh1hhj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj-3hhhNhNubah}(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}(hjS3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjO3ubj)}(h h]h }(hj`3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO3ubh)}(hhh]j%)}(h dst_entryh]h dst_entry}(hjq3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjs3modnameN classnameNjj!)}j$]j3c.skb_dst_set_norefasbuh1hhjO3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjO3ubj%)}(hdsth]hdst}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO3ubeh}(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&]jvjqjwj3jxj3jyjzj{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)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj4h]hstruct sk_buff *skb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj.4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*4hMhj+4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj*4hMhj 4ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hjN4h]hstruct dst_entry *dst}(hjP4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjH4ubj)}(hhh]jX)}(h dst entryh]h dst entry}(hjg4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjc4hMhjd4ubah}(h]h ]h"]h$]h&]uh1jhjH4ubeh}(h]h ]h"]h$]h&]uh1jhjc4hMhj 4ubeh}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(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.hhMhj3ubjX)}(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.hhMhj3ubeh}(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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(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&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hjh]hstruct}(hj%5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj25hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjC5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjE5modnameN classnameNjj!)}j$]j')}jj4sbc.skb_dst_is_norefasbuh1hhj5ubj)}(h h]h }(hjc5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjq5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hskbh]hskb}(hj~5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(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)}(hj5h]hconst struct sk_buff *skb}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubah}(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}(hjC6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?6hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjR6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?6hhhjQ6hMubj)}(hinth]hint}(hj`6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?6hhhjQ6hMubj)}(h h]h }(hjn6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?6hhhjQ6hMubj)}(h skb_napi_idh]j%)}(h skb_napi_idh]h skb_napi_id}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?6hhhjQ6hMubj)}(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 }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hskbh]hskb}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj?6hhhjQ6hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;6hhhjQ6hMubah}(h]j66ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQ6hMhj86hhubjS)}(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.hhMhj77hhubah}(h]h ]h"]h$]h&]uh1jRhj86hhhjQ6hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjR7jxjR7jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jX)}(h**Parameters**h]j)}(hj\7h]h Parameters}(hj^7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ7ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjV7ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hj{7h]hconst struct sk_buff *skb}(hj}7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhju7ubj)}(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&]uh1jhju7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjr7ubah}(h]h ]h"]h$]h&]uh1jhjV7ubeh}(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 }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hMubj)}(h skb_unrefh]j%)}(h skb_unrefh]h skb_unref}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj 8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 8ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj/8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj18modnameN classnameNjj!)}j$]j')}jj7sb c.skb_unrefasbuh1hhj 8ubj)}(h h]h }(hjO8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 8ubj;)}(hj>h]h*}(hj]8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj 8ubj%)}(hskbh]hskb}(hjj8hhhNhNubah}(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)}(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&]uh1jRhj7hhhj7hMubeh}(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}(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 **Return**h]j)}(hj9h]hReturn}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(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.}(hj&9hhhNhNubah}(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}(hjU9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ9hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjd9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ9hhhjc9hMubj)}(h kfree_skbh]j%)}(h kfree_skbh]h kfree_skb}(hjv9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQ9hhhjc9hMubj)}(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')}jjx9sb 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}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhjQ9hhhjc9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjM9hhhjc9hMubah}(h]jH9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjc9hMhjJ9hhubjS)}(hhh]jX)}(h+free an sk_buff with 'NOT_SPECIFIED' reasonh]h/free an sk_buff with ‘NOT_SPECIFIED’ reason}(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&]uh1jRhjJ9hhhjc9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-:jxj-:jyjzj{uh1hhhhj[hNhNubj})}(h8**Parameters** ``struct sk_buff *skb`` buffer to freeh](jX)}(h**Parameters**h]j)}(hj7:h]h Parameters}(hj9:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5:ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1:ubj)}(hhh]j)}(h&``struct sk_buff *skb`` buffer to freeh](j)}(h``struct sk_buff *skb``h]j)}(hjV:h]hstruct sk_buff *skb}(hjX:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT:ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjP:ubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hjo:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjl:ubah}(h]h ]h"]h$]h&]uh1jhjP:ubeh}(h]h ]h"]h$]h&]uh1jhjk:hMhjM:ubah}(h]h ]h"]h$]h&]uh1jhj1: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}(hj;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}(hj*;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&;ubj)}(h h]h }(hj8;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&;ubj)}(hinth]hint}(hjF;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&;ubj)}(h h]h }(hjT;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&;ubj%)}(hsizeh]hsize}(hjb;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_skbasbuh1hhjw;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw;ubj%)}(hpriorityh]hpriority}(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: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)}(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.hhM0hj<ubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hj.<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*<hM0hj+<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj*<hM0hj <ubj)}(h#``gfp_t priority`` allocation mask h](j)}(h``gfp_t priority``h]j)}(hjN<h]hgfp_t priority}(hjP<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL<ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjH<ubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hjg<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjc<hM1hjd<ubah}(h]h ]h"]h$]h&]uh1jhjH<ubeh}(h]h ]h"]h$]h&]uh1jhjc<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.hhM3hj;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 }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hjh]hstruct}(hj%=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj2=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hsockh]hsock}(hjC=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjE=modnameN classnameNjj!)}j$]j')}jj<sbc.skb_fclone_busyasbuh1hhj=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%)}(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}(hj3>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLhj0>hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjK>jxjK>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)}(hjU>h]h Parameters}(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.hhMPhjO>ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjt>h]hconst struct sock *sk}(hjv>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhjn>ubj)}(hhh]jX)}(hsocketh]hsocket}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMMhj>ubah}(h]h ]h"]h$]h&]uh1jhjn>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMMhjk>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>hMNhjk>ubeh}(h]h ]h"]h$]h&]uh1jhjO>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.hhMPhjO>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.hhMPhjO>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}(hj-?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)?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 hj)?hhhj:?hMaubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjL?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjN?modnameN classnameNjj!)}j$]j')}jalloc_skb_fclonesbc.alloc_skb_fcloneasbuh1hhj)?hhhj:?hMaubj)}(h h]h }(hjm?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)?hhhj:?hMaubj;)}(hj>h]h*}(hj{?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)?hhhj:?hMaubj)}(halloc_skb_fcloneh]j%)}(hjj?h]halloc_skb_fclone}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)?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$]jh?c.alloc_skb_fcloneasbuh1hhj?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=uh1jhj?ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)?hhhj:?hMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%?hhhj:?hMaubah}(h]j ?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:?hMahj"?hhubjS)}(hhh]jX)}(h+allocate a network buffer from fclone cacheh]h+allocate a network buffer from fclone cache}(hjQ@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahjN@hhubah}(h]h ]h"]h$]h&]uh1jRhj"?hhhj:?hMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwji@jxji@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)}(hjs@h]h Parameters}(hju@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq@ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehjm@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}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMchj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMchj@ubeh}(h]h ]h"]h$]h&]uh1jhjm@ubjX)}(h**Description**h]j)}(hjAh]h Description}(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.hhMehjm@ubjX)}(h;This function is a convenient wrapper around __alloc_skb().h]h;This function is a convenient wrapper around __alloc_skb().}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehjm@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}(hjKAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGAhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjZAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGAhhhjYAhMubj)}(hskb_padh]j%)}(hskb_padh]hskb_pad}(hjlAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGAhhhjYAhMubj)}(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')}jjnAsb 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}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hint padh](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj%)}(hpadh]hpad}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGAhhhjYAhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjCAhhhjYAhMubah}(h]j>Aah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYAhMhj@AhhubjS)}(hhh]jX)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hj@BhhhNhNubah}(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&]uh1jRhj@AhhhjYAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXBjxjXBjyjzj{uh1hhhhj[hNhNubj})}(hXE**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad 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)}(hjbBh]h Parameters}(hjdBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Bubah}(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.hhMhj{Bubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhj{Bubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjxBubj)}(hX``int pad`` space to pad 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](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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubjX)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubjX)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjxBubeh}(h]h ]h"]h$]h&]uh1jhj\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}(hj2ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ChhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPubj)}(h h]h }(hjAChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Chhhj@ChMPubj)}(hskb_queue_emptyh]j%)}(hskb_queue_emptyh]hskb_queue_empty}(hjSChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.Chhhj@ChMPubj)}(h!(const struct sk_buff_head *list)h]j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjoChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkCubj)}(h h]h }(hj|ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkCubh)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkCubh)}(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')}jjUCsbc.skb_queue_emptyasbuh1hhjkCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkCubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkCubj%)}(hlisth]hlist}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgCubah}(h]h ]h"]h$]h&]j<j=uh1jhj.Chhhj@ChMPubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*Chhhj@ChMPubah}(h]j%Cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@ChMPhj'ChhubjS)}(hhh]jX)}(hcheck if a queue is emptyh]hcheck if a queue is empty}(hj DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhj Dhhubah}(h]h ]h"]h$]h&]uh1jRhj'Chhhj@ChMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%Djxj%Djyjzj{uh1hhhhj[hNhNubj})}(hx**Parameters** ``const struct sk_buff_head *list`` queue head Returns true if the queue is empty, false otherwise.h](jX)}(h**Parameters**h]j)}(hj/Dh]h Parameters}(hj1DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Dubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThj)Dubj)}(hhh]j)}(hd``const struct sk_buff_head *list`` queue head Returns true if the queue is empty, false otherwise.h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjNDh]hconst struct sk_buff_head *list}(hjPDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLDubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhjHDubj)}(hhh](jX)}(h queue headh]h queue head}(hjgDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQhjdDubjX)}(h4Returns true if the queue is empty, false otherwise.h]h4Returns true if the queue is empty, false otherwise.}(hjvDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShjdDubeh}(h]h ]h"]h$]h&]uh1jhjHDubeh}(h]h ]h"]h$]h&]uh1jhjcDhMRhjEDubah}(h]h ]h"]h$]h&]uh1jhj)Dubeh}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjDhM[ubj)}(hskb_queue_empty_locklessh]j%)}(hskb_queue_empty_locklessh]hskb_queue_empty_lockless}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjDhM[ubj)}(h!(const struct sk_buff_head *list)h]j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj,EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.EmodnameN classnameNjj!)}j$]j')}jjDsbc.skb_queue_empty_locklessasbuh1hhjDubj)}(h h]h }(hjLEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjZEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hlisth]hlist}(hjgEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubah}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjDhM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhM[ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhM[hjDhhubjS)}(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&]uh1jRhjDhhhjDhM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head Returns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hjEubj)}(hhh]j)}(h``const struct sk_buff_head *list`` queue head Returns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjEh]hconst struct sk_buff_head *list}(hjEhhhNhNubah}(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^hjEubj)}(hhh](jX)}(h queue headh]h queue head}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hjEubjX)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhM^hjEubeh}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM^hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(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}(hj:FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6FhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhubj)}(h h]h }(hjHFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6FhhhjGFhMhubj)}(hskb_queue_is_lasth]j%)}(hskb_queue_is_lasth]hskb_queue_is_last}(hjZFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6FhhhjGFhMhubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjvFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrFubh)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrFubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj\Fsbc.skb_queue_is_lastasbuh1hhjrFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrFubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrFubj%)}(hlisth]hlist}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnFubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjGhhhNhNubah}(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%)}(hsk_buffh]hsk_buff}(hjGmodnameN classnameNjj!)}j$]jFc.skb_queue_is_lastasbuh1hhjFubj)}(h h]h }(hjZGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hskbh]hskb}(hjuGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnFubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6FhhhjGFhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2FhhhjGFhMhubah}(h]j-Fah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGFhMhhj/FhhubjS)}(hhh]jX)}(h+check if skb is the last entry in the queueh]h+check if skb is the last entry in the queue}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjGhhubah}(h]h ]h"]h$]h&]uh1jRhj/FhhhjGFhMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer Returns true if **skb** is the last buffer on the list.h](jX)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhjGubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjGh]hconst struct sk_buff_head *list}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihjGubj)}(hhh]jX)}(h queue headh]h queue head}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMihjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMihjGubj)}(h]``const struct sk_buff *skb`` buffer Returns true if **skb** is the last buffer on the list.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.hhMkhjHubj)}(hhh](jX)}(hbufferh]hbuffer}(hj2HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhj/HubjX)}(h7Returns true if **skb** is the last buffer on the list.h](hReturns true if }(hjAHhhhNhNubj)}(h**skb**h]hskb}(hjIHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAHubh is the last buffer on the list.}(hjAHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj/Hubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj.HhMkhjGubeh}(h]h ]h"]h$]h&]uh1jhjGubeh}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjHhMuubj)}(hskb_queue_is_firsth]j%)}(hskb_queue_is_firsth]hskb_queue_is_first}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjHhMuubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj ImodnameN classnameNjj!)}j$]j')}jjHsbc.skb_queue_is_firstasbuh1hhjHubj)}(h h]h }(hj)IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hj7IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hlisth]hlist}(hjDIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj]IhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYIubj)}(h h]h }(hjjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYIubh)}(hjh]hstruct}(hjxIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYIubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j%Ic.skb_queue_is_firstasbuh1hhjYIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYIubj%)}(hskbh]hskb}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjHhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhjHhMuubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMuhjHhhubjS)}(hhh]jX)}(h,check if skb is the first entry in the queueh]h,check if skb is the first entry in the queue}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMuhjIhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjHhMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer 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)}(hj:Jh]hconst struct sk_buff_head *list}(hjh]h*}(hjh]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdKubj%)}(hlisth]hlist}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Kubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj,LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Lubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.LmodnameN classnameNjj!)}j$]j)Kc.skb_queue_nextasbuh1hhjKubj)}(h h]h }(hjJLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjXLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hskbh]hskb}(hjeLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Kubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhjJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhjJhMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMhjJhhubjS)}(hhh]jX)}(h#return the next packet in the queueh]h#return the next packet in the queue}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer 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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjLh]hconst struct sk_buff_head *list}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hhh]jX)}(h queue headh]h queue head}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjLubj)}(h``const struct sk_buff *skb`` current buffer Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](j)}(h``const struct sk_buff *skb``h]j)}(hj Mh]hconst struct sk_buff *skb}(hj MhhhNhNubah}(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}(hj"MhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjMubjX)}(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 }(hj1MhhhNhNubj)}(h**list**h]hlist}(hj9MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Mubh after }(hj1MhhhNhNubj)}(h**skb**h]hskb}(hjKMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1MubhK. It is only valid to call this if skb_queue_is_last() evaluates to false.}(hj1MhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjMhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjLubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_prev (C function)c.skb_queue_prevhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\struct sk_buff * skb_queue_prev (const struct sk_buff_head *list, const struct sk_buff *skb)h]h)}(hZstruct sk_buff *skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb)h](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhjMhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jskb_queue_prevsbc.skb_queue_prevasbuh1hhjMhhhjMhMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhjMhMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMhhhjMhMubj)}(hskb_queue_prevh]j%)}(hjMh]hskb_queue_prev}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhjMhMubj)}(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&]uh1hhj Nubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Nubh)}(hjh]hstruct}(hj*NhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj Nubj)}(h h]h }(hj7NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Nubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjHNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjENubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJNmodnameN classnameNjj!)}j$]jMc.skb_queue_prevasbuh1hhj Nubj)}(h h]h }(hjfNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Nubj;)}(hj>h]h*}(hjtNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj Nubj%)}(hlisth]hlist}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jMc.skb_queue_prevasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hskbh]hskb}(hj OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhjMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjMhMubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMhjMhhubjS)}(hhh]jX)}(h#return the prev packet in the queueh]h#return the prev packet in the queue}(hj6OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3Ohhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNOjxjNOjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer 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)}(hjXOh]h Parameters}(hjZOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVOubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjROubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjwOh]hconst struct sk_buff_head *list}(hjyOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqOubj)}(hhh]jX)}(h queue headh]h queue head}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjqOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjnOubj)}(h``const struct sk_buff *skb`` current buffer Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](j)}(h``const struct sk_buff *skb``h]j)}(hjOh]hconst struct sk_buff *skb}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjOubj)}(hhh](jX)}(hcurrent bufferh]hcurrent buffer}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjOubjX)}(h}Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](hReturn the prev packet in }(hjOhhhNhNubj)}(h**list**h]hlist}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh before }(hjOhhhNhNubj)}(h**skb**h]hskb}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhL. It is only valid to call this if skb_queue_is_first() evaluates to false.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjnOubeh}(h]h ]h"]h$]h&]uh1jhjROubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_get (C function) c.skb_gethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h.struct sk_buff * skb_get (struct sk_buff *skb)h]h)}(h,struct sk_buff *skb_get(struct sk_buff *skb)h](h)}(hjh]hstruct}(hjh]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8PhhhjIPhMubj)}(hskb_geth]j%)}(hjyPh]hskb_get}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8PhhhjIPhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jwP c.skb_getasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hskbh]hskb}(hj QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubah}(h]h ]h"]h$]h&]j<j=uh1jhj8PhhhjIPhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4PhhhjIPhMubah}(h]j/Pah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIPhMhj1PhhubjS)}(hhh]jX)}(hreference bufferh]hreference buffer}(hj7QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4Qhhubah}(h]h ]h"]h$]h&]uh1jRhj1PhhhjIPhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOQjxjOQjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to reference Makes another reference to a socket buffer and returns a pointer to the buffer.h](jX)}(h**Parameters**h]j)}(hjYQh]h Parameters}(hj[QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWQubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSQubj)}(hhh]j)}(h|``struct sk_buff *skb`` buffer to reference Makes another reference to a socket buffer and returns a pointer to the buffer.h](j)}(h``struct sk_buff *skb``h]j)}(hjxQh]hstruct sk_buff *skb}(hjzQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrQubj)}(hhh](jX)}(hbuffer to referenceh]hbuffer to reference}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubjX)}(hOMakes another reference to a socket buffer and returns a pointer to the buffer.h]hOMakes another reference to a socket buffer and returns a pointer to the buffer.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubeh}(h]h ]h"]h$]h&]uh1jhjrQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjoQubah}(h]h ]h"]h$]h&]uh1jhjSQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cloned (C function) c.skb_clonedhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h*int skb_cloned (const struct sk_buff *skb)h]h)}(h)int skb_cloned(const struct sk_buff *skb)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhMubj)}(h skb_clonedh]j%)}(h skb_clonedh]h skb_cloned}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hj*RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hjh]hstruct}(hj8RhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjERhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjVRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXRmodnameN classnameNjj!)}j$]j')}jjRsb c.skb_clonedasbuh1hhjRubj)}(h h]h }(hjvRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hskbh]hskb}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubah}(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)}(his the buffer a cloneh]his the buffer a clone}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjQhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhj[hNhNubj})}(hX **Parameters** ``const struct sk_buff *skb`` buffer to check 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)}(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.hhMhjRubj)}(hhh]j)}(h``const struct sk_buff *skb`` buffer to check 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](j)}(h``const struct sk_buff *skb``h]j)}(hjRh]hconst struct sk_buff *skb}(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.hhMhjRubj)}(hhh](jX)}(hbuffer to checkh]hbuffer to check}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubjX)}(hReturns 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]hReturns 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.}(hj$ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubeh}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_header_cloned (C function)c.skb_header_clonedhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h1int skb_header_cloned (const struct sk_buff *skb)h]h)}(h0int skb_header_cloned(const struct sk_buff *skb)h](j)}(hinth]hint}(hjeShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaShhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjtShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaShhhjsShMubj)}(hskb_header_clonedh]j%)}(hskb_header_clonedh]hskb_header_cloned}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjaShhhjsShMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjSsbc.skb_header_clonedasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hj ThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hskbh]hskb}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubah}(h]h ]h"]h$]h&]j<j=uh1jhjaShhhjsShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]ShhhjsShMubah}(h]jXSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjsShMhjZShhubjS)}(hhh]jX)}(his the header a cloneh]his the header a clone}(hj@ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj=Thhubah}(h]h ]h"]h$]h&]uh1jRhjZShhhjsShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXTjxjXTjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check Returns true if modifying the header part of the buffer requires the data to be copied.h](jX)}(h**Parameters**h]j)}(hjbTh]h Parameters}(hjdThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Tubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj\Tubj)}(hhh]j)}(h``const struct sk_buff *skb`` buffer to check Returns true if modifying the header part of the buffer requires the data to be copied.h](j)}(h``const struct sk_buff *skb``h]j)}(hjTh]hconst struct sk_buff *skb}(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.hhMhj{Tubj)}(hhh](jX)}(hbuffer to checkh]hbuffer to check}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubjX)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjTubeh}(h]h ]h"]h$]h&]uh1jhj{Tubeh}(h]h ]h"]h$]h&]uh1jhjThMhjxTubah}(h]h ]h"]h$]h&]uh1jhj\Tubeh}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjThMubj)}(h__skb_header_releaseh]j%)}(h__skb_header_releaseh]h__skb_header_release}(hj UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjThMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj&UhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"Uubj)}(h h]h }(hj3UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"Uubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjDUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFUmodnameN classnameNjj!)}j$]j')}jj Usbc.__skb_header_releaseasbuh1hhj"Uubj)}(h h]h }(hjdUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"Uubj;)}(hj>h]h*}(hjrUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"Uubj%)}(hskbh]hskb}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubah}(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 allow clones to use the headroomh]h allow clones to use the headroom}(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})}(hx**Parameters** ``struct sk_buff *skb`` buffer to operate on **Description** See "DOC: dataref and headerless skbs".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-``struct sk_buff *skb`` buffer to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjUh]hstruct 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 operate onh]hbuffer to operate on}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hj%Vh]h Description}(hj'VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Vubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUubjX)}(h'See "DOC: dataref and headerless skbs".h]h+See “DOC: dataref and headerless skbs”.}(hj;VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUubeh}(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}(hjjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfVhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjyVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfVhhhjxVhM ubj)}(h skb_sharedh]j%)}(h skb_sharedh]h skb_shared}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfVhhhjxVhM ubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(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')}jjVsb c.skb_sharedasbuh1hhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hskbh]hskb}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubah}(h]h ]h"]h$]h&]j<j=uh1jhjfVhhhjxVhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbVhhhjxVhM ubah}(h]j]Vah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxVhM hj_VhhubjS)}(hhh]jX)}(his the buffer sharedh]his the buffer shared}(hjEWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjBWhhubah}(h]h ]h"]h$]h&]uh1jRhj_VhhhjxVhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]Wjxj]Wjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check Returns true if more than one person has a reference to this buffer.h](jX)}(h**Parameters**h]j)}(hjgWh]h Parameters}(hjiWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeWubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjaWubj)}(hhh]j)}(hs``const struct sk_buff *skb`` buffer to check Returns true if more than one person has a reference to this buffer.h](j)}(h``const struct sk_buff *skb``h]j)}(hjWh]hconst struct sk_buff *skb}(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)}(hbuffer to checkh]hbuffer to check}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjWubjX)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM hjWubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM hj}Wubah}(h]h ]h"]h$]h&]uh1jhjaWubeh}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Xubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jskb_share_checksbc.skb_share_checkasbuh1hhjWhhhjWhMubj)}(h h]h }(hj.XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhMubj;)}(hj>h]h*}(hjh]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdXubj%)}(hskbh]hskb}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Xubj)}(h gfp_t prih](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j)Xc.skb_share_checkasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hprih]hpri}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Xubeh}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjWhMubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMhjWhhubjS)}(hhh]jX)}(h,check if buffer is shared and if so clone ith]h,check if buffer is shared and if so clone it}(hj1YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj.Yhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIYjxjIYjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation 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)}(hjSYh]h Parameters}(hjUYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQYubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjMYubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjrYh]hstruct sk_buff *skb}(hjtYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlYubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjlYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjiYubj)}(hXu``gfp_t pri`` priority for memory allocation 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](j)}(h ``gfp_t pri``h]j)}(hjYh]h gfp_t pri}(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.hhMhjYubj)}(hhh](jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubjX)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubjX)}(h0NULL is returned on a memory allocation failure.h]h0NULL is returned on a memory allocation failure.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjiYubeh}(h]h ]h"]h$]h&]uh1jhjMYubeh}(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#ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8ubj)}(h h]h }(hj1ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhj0ZhM8ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjBZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?Zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDZmodnameN classnameNjj!)}j$]j')}j skb_unsharesb c.skb_unshareasbuh1hhjZhhhj0ZhM8ubj)}(h h]h }(hjcZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhj0ZhM8ubj;)}(hj>h]h*}(hjqZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZhhhj0ZhM8ubj)}(h skb_unshareh]j%)}(hj`Zh]h skb_unshare}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~Zubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhj0ZhM8ubj)}(h (struct sk_buff *skb, gfp_t pri)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]j^Z c.skb_unshareasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hskbh]hskb}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(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^Z 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=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhj0ZhM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhj0ZhM8ubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0ZhM8hjZhhubjS)}(hhh]jX)}(hmake a copy of a shared bufferh]hmake a copy of a shared buffer}(hjf[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hjc[hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhj0ZhM8ubeh}(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 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)}(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 check 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.hhM9hj[ubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hM9hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM9hj[ubj)}(hX``gfp_t pri`` priority for memory allocation 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](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.hhMAhj[ubj)}(hhh](jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hj[ubjX)}(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&]uh1jhj7\ubh, is returned on a memory allocation failure.}(hj7\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMAhj[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_peek (C function) c.skb_peekhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\hhhj\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=uh1jhj\hhhj\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}(hj9]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;]modnameN classnameNjj!)}j$]j\ c.skb_peekasbuh1hhj\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%)}(hlist_h]hlist_}(hjr]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\hMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~\hhhj\hMVubah}(h]jy\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMVhj{\hhubjS)}(hhh]jX)}(h-peek at the head of an :c:type:`sk_buff_head`h](hpeek at the head of an }(hj]hhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hj]h]h sk_buff_head}(hj]hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j\ c.skb_peekasbj sk_buff_headuh1hhjhMphj]ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMVhj]hhubah}(h]h ]h"]h$]h&]uh1jRhj{\hhhj\hMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff_head *list_`` list to peek at 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)}(hX``const struct sk_buff_head *list_`` list to peek at 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](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.hhM_hj]ubj)}(hhh](jX)}(hlist to peek ath]hlist to peek at}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhj^ubjX)}(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)}(hj3^h]hsk_buff}(hj5^hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj1^ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhj)^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&]uh1jWhjP^hMYhj^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 }(hj[^hhhNhNubj)}(h``NULL``h]hNULL}(hjc^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[^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.}(hj[^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&]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__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}(hj(_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$_ubj)}(h h]h }(hj5_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$_ubh)}(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 sk_buff_headh]h sk_buff_head}(hja_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjc_modnameN classnameNjj!)}j$]j^ c.__skb_peekasbuh1hhj$_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%)}(hlist_h]hlist_}(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^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 }(hj_hhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hj_h]h sk_buff_head}(hj_hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j^ c.__skb_peekasbj sk_buff_headuh1hhjhMphj_ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj_hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhj^hMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to peek at Like skb_peek(), but the caller knows that the list is not 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.hhMphj`ubj)}(hhh]j)}(hw``const struct sk_buff_head *list_`` list to peek at Like skb_peek(), but the caller knows that the list is not empty.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.hhMnhj#`ubj)}(hhh](jX)}(hlist to peek ath]hlist to peek at}(hjB`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMmhj?`ubjX)}(hALike skb_peek(), but the caller knows that the list is not empty.h]hALike skb_peek(), but the caller knows that the list is not empty.}(hjQ`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMohj?`ubeh}(h]h ]h"]h$]h&]uh1jhj#`ubeh}(h]h ]h"]h$]h&]uh1jhj>`hMnhj `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_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}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhj`hMwubh)}(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_peek_nextsbc.skb_peek_nextasbuh1hhj`hhhj`hMwubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhj`hMwubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`hhhj`hMwubj)}(h skb_peek_nexth]j%)}(hj`h]h skb_peek_next}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhj`hMwubj)}(h7(struct sk_buff *skb, const struct sk_buff_head *list_)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj ahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj*ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'aubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,amodnameN classnameNjj!)}j$]j`c.skb_peek_nextasbuh1hhjaubj)}(h h]h }(hjHahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjVahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hskbh]hskb}(hjcahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubj)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hj|ahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxaubh)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxaubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j`c.skb_peek_nextasbuh1hhjxaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxaubj%)}(hlist_h]hlist_}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhj`hMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhj`hMwubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMwhj`hhubjS)}(hhh]jX)}(h-peek skb following the given one from a queueh]h-peek skb following the given one from a queue}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhjbhhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhj`hMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0bjxj0bjyjzj{uh1hhhhj[hNhNubj})}(hX/**Parameters** ``struct sk_buff *skb`` skb to start from ``const struct sk_buff_head *list_`` list to peek at 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)}(hj:bh]h Parameters}(hjh]h*}(hj[chhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj chhhjchMubj)}(h skb_peek_tailh]j%)}(hjJch]h skb_peek_tail}(hjlchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj chhhjchMubj)}(h"(const struct sk_buff_head *list_)h]j)}(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$]jHcc.skb_peek_tailasbuh1hhjcubj)}(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_}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubah}(h]h ]h"]h$]h&]j<j=uh1jhj chhhjchMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjchMubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchMhjchhubjS)}(hhh]jX)}(h-peek at the tail of an :c:type:`sk_buff_head`h](hpeek at the tail of an }(hj#dhhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hj-dh]h sk_buff_head}(hj/dhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj+dubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jHcc.skb_peek_tailasbj sk_buff_headuh1hhjhMphj#dubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj dhhubah}(h]h ]h"]h$]h&]uh1jRhjchhhjchMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_djxj_djyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff_head *list_`` list to peek at 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 tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(h**Parameters**h]j)}(hjidh]h Parameters}(hjkdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgdubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcdubj)}(hhh]j)}(hX``const struct sk_buff_head *list_`` list to peek at 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 tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.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.hhMhjdubj)}(hhh](jX)}(hlist to peek ath]hlist to peek at}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjdubjX)}(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 }(hjdhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjdh]hsk_buff}(hjdhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjdubh. 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.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubjX)}(hReturns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](hReturns }(hjdhhhNhNubj)}(h``NULL``h]hNULL}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh for an empty list or a pointer to the tail 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.hhMhjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjcdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_len (C function)c.skb_queue_lenhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6__u32 skb_queue_len (const struct sk_buff_head *list_)h]h)}(h5__u32 skb_queue_len(const struct sk_buff_head *list_)h](h)}(hhh]j%)}(h__u32h]h__u32}(hj8ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:emodnameN classnameNjj!)}j$]j')}j skb_queue_lensbc.skb_queue_lenasbuh1hhj1ehhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjZehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ehhhjYehMubj)}(h skb_queue_lenh]j%)}(hjVeh]h skb_queue_len}(hjlehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjheubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1ehhhjYehMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(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$]jTec.skb_queue_lenasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hlist_h]hlist_}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubah}(h]h ]h"]h$]h&]j<j=uh1jhj1ehhhjYehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-ehhhjYehMubah}(h]j(eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYehMhj*ehhubjS)}(hhh]jX)}(hget queue lengthh]hget queue length}(hj#fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj fhhubah}(h]h ]h"]h$]h&]uh1jRhj*ehhhjYehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;fjxj;fjyjzj{uh1hhhhj[hNhNubj})}(hz**Parameters** ``const struct sk_buff_head *list_`` list to measure Return the length of an :c:type:`sk_buff` queue.h](jX)}(h**Parameters**h]j)}(hjEfh]h Parameters}(hjGfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCfubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj?fubj)}(hhh]j)}(hf``const struct sk_buff_head *list_`` list to measure Return the length of an :c:type:`sk_buff` queue.h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjdfh]h const struct sk_buff_head *list_}(hjffhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^fubj)}(hhh](jX)}(hlist to measureh]hlist to measure}(hj}fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzfubjX)}(h0Return the length of an :c:type:`sk_buff` queue.h](hReturn the length of an }(hjfhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjfh]hsk_buff}(hjfhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjfubh queue.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjfhMhjzfubeh}(h]h ]h"]h$]h&]uh1jhj^fubeh}(h]h ]h"]h$]h&]uh1jhjyfhMhj[fubah}(h]h ]h"]h$]h&]uh1jhj?fubeh}(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}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jskb_queue_len_locklesssbc.skb_queue_len_locklessasbuh1hhjfhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjghMubj)}(hskb_queue_len_locklessh]j%)}(hjgh]hskb_queue_len_lockless}(hj'ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#gubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjghMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjBghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>gubj)}(h h]h }(hjOghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>gubh)}(hjh]hstruct}(hj]ghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>gubj)}(h h]h }(hjjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>gubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj{ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}gmodnameN classnameNjj!)}j$]jgc.skb_queue_len_locklessasbuh1hhj>gubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>gubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>gubj%)}(hlist_h]hlist_}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>gubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:gubah}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjghMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhjghMubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghMhjfhhubjS)}(hhh]jX)}(hget queue lengthh]hget queue length}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjghhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjghMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](jX)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjgubj)}(hhh]j)}(h``const struct sk_buff_head *list_`` list to measure Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjhh]h const struct sk_buff_head *list_}(hj!hhhhNhNubah}(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}(hj8hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5hubjX)}(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 }(hjGhhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjQhh]hsk_buff}(hjShhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjOhubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhj4hhMhjGhubh6 queue. This variant can be used in lockless contexts.}(hjGhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hhMhj5hubeh}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj4hhMhjhubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjhhMubj)}(h__skb_queue_head_inith]j%)}(h__skb_queue_head_inith]h__skb_queue_head_init}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjhhMubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(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')}jjhsbc.__skb_queue_head_initasbuh1hhjhubj)}(h h]h }(hj%ihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hj3ihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hlisth]hlist}(hj@ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubah}(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)}(h0initialize non-spinlock portions of sk_buff_headh]h0initialize non-spinlock portions of sk_buff_head}(hjjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjgihhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj[hNhNubj})}(hXt**Parameters** ``struct sk_buff_head *list`` queue to initialize This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h](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:17: ./include/linux/skbuff.hhMhjiubj)}(hhh]j)}(hXX``struct sk_buff_head *list`` queue to initialize This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h](j)}(h``struct sk_buff_head *list``h]j)}(hjih]hstruct sk_buff_head *list}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjiubj)}(hhh](jX)}(hqueue to initializeh]hqueue to initialize}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjiubjX)}(hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h]hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_splice (C function)c.skb_queue_splicehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hRvoid skb_queue_splice (const struct sk_buff_head *list, struct sk_buff_head *head)h]h)}(hQvoid skb_queue_splice(const struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj#jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj"jhMubj)}(hskb_queue_spliceh]j%)}(hskb_queue_spliceh]hskb_queue_splice}(hj5jhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1jubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhj"jhMubj)}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjQjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMjubj)}(h h]h }(hj^jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMjubh)}(hjh]hstruct}(hjljhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMjubj)}(h h]h }(hjyjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj7jsbc.skb_queue_spliceasbuh1hhjMjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMjubj%)}(hlisth]hlist}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIjubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jjc.skb_queue_spliceasbuh1hhjjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hj(khhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hheadh]hhead}(hj5khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhj"jhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj jhhhj"jhMubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"jhMhj jhhubjS)}(hhh]jX)}(h/join two skb lists, this is designed for stacksh]h/join two skb lists, this is designed for stacks}(hj_khhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj\khhubah}(h]h ]h"]h$]h&]uh1jRhj jhhhj"jhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwkjxjwkjyjzj{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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj{kubj)}(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)}(hjkh]hconst struct sk_buff_head *list}(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.hhM hjkubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhM hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjkubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjkh]hstruct sk_buff_head *head}(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.hhM hjkubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjkhhhNhNubah}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjkubeh}(h]h ]h"]h$]h&]uh1jhj{kubeh}(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}(hj3lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/lhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjBlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/lhhhjAlhM ubj)}(hskb_queue_splice_inith]j%)}(hskb_queue_splice_inith]hskb_queue_splice_init}(hjTlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/lhhhjAlhM ubj)}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjplhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjllubj)}(h h]h }(hj}lhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjllubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jjVlsbc.skb_queue_splice_initasbuh1hhjllubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjllubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjllubj%)}(hlisth]hlist}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjllubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhlubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jlc.skb_queue_splice_initasbuh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hj,mhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hheadh]hhead}(hj9mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhlubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/lhhhjAlhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+lhhhjAlhM ubah}(h]j&lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAlhM hj(lhhubjS)}(hhh]jX)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hjcmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj`mhhubah}(h]h ]h"]h$]h&]uh1jRhj(lhhhjAlhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{mjxj{mjyjzj{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 The list at **list** is reinitialisedh](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(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 hjmubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjmh]hstruct 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.hhM hjmubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjmubj)}(hj``struct sk_buff_head *head`` the place to add it in the first list The list at **list** is reinitialisedh](j)}(h``struct sk_buff_head *head``h]j)}(hjmh]hstruct sk_buff_head *head}(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.hhM hjmubj)}(hhh](jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjmubjX)}(h%The list at **list** is reinitialisedh](h The list at }(hjnhhhNhNubj)}(h**list**h]hlist}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh is reinitialised}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjmubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjmubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(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}(hjXnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTnhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjgnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTnhhhjfnhM ubj)}(hskb_queue_splice_tailh]j%)}(hskb_queue_splice_tailh]hskb_queue_splice_tail}(hjynhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjunubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjTnhhhjfnhM ubj)}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jj{nsbc.skb_queue_splice_tailasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hlisth]hlist}(hj ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(hstruct sk_buff_head *headh](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 sk_buff_headh]h sk_buff_head}(hj@ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=oubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBomodnameN classnameNjj!)}j$]jnc.skb_queue_splice_tailasbuh1hhjoubj)}(h h]h }(hj^ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjlohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hheadh]hhead}(hjyohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhjTnhhhjfnhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPnhhhjfnhM ubah}(h]jKnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfnhM hjMnhhubjS)}(hhh]jX)}(h+join two skb lists, each list being a queueh]h+join two skb lists, each list being a queue}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjohhubah}(h]h ]h"]h$]h&]uh1jRhjMnhhhjfnhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{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)}(hjoh]h Parameters}(hjohhhNhNubah}(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" hjoubj)}(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)}(hjoh]hconst struct sk_buff_head *list}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjoubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohM hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM hjoubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](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}(hj6phhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj3pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj2phM! hjoubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(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}(hjwphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsphhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM, ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsphhhjphM, ubj)}(hskb_queue_splice_tail_inith]j%)}(hskb_queue_splice_tail_inith]hskb_queue_splice_tail_init}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjsphhhjphM, ubj)}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjpsbc.skb_queue_splice_tail_initasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hlisth]hlist}(hj qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hj&qhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"qubj)}(h h]h }(hj3qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"qubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjDqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFqmodnameN classnameNjj!)}j$]jpc.skb_queue_splice_tail_initasbuh1hhj"qubj)}(h h]h }(hjbqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"qubj;)}(hj>h]h*}(hjpqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"qubj%)}(hheadh]hhead}(hj}qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"qubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjsphhhjphM, ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjophhhjphM, ubah}(h]jjpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphM, hjlphhubjS)}(hhh]jX)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hjqhhhNhNubah}(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&]uh1jRhjlphhhjphM, ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{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 Each of the lists is a queue. The list at **list** is reinitialisedh](jX)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hjqubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjqh]hstruct sk_buff_head *list}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM- hjqubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhM- hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM- hjqubj)}(h``struct sk_buff_head *head`` the place to add it in the first list Each of the lists is a queue. The list at **list** is reinitialisedh](j)}(h``struct sk_buff_head *head``h]j)}(hj!rh]hstruct sk_buff_head *head}(hj#rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hjrubj)}(hhh](jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hj:rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM. hj7rubjX)}(hCEach of the lists is a queue. The list at **list** is reinitialisedh](h*Each of the lists is a queue. The list at }(hjIrhhhNhNubj)}(h**list**h]hlist}(hjQrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIrubh is reinitialised}(hjIrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6rhM0 hj7rubeh}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj6rhM0 hjqubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjrhM> ubj)}(h__skb_queue_afterh]j%)}(h__skb_queue_afterh]h__skb_queue_after}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjrhM> 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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(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$]j')}jjrsbc.__skb_queue_afterasbuh1hhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hj$shhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hlisth]hlist}(hj1shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hstruct sk_buff *prevh](h)}(hjh]hstruct}(hjJshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFsubj)}(h h]h }(hjWshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFsubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjesubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjsmodnameN classnameNjj!)}j$]jsc.__skb_queue_afterasbuh1hhjFsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFsubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFsubj%)}(hprevh]hprev}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jsc.__skb_queue_afterasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hnewskh]hnewsk}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjrhM> ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjrhM> ubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhM> hjrhhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hj;thhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hj8thhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjrhM> ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjStjxjStjyjzj{uh1hhhhj[hNhNubj})}(hXa**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *prev`` place after this buffer ``struct sk_buff *newsk`` buffer to queue 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)}(hj]th]h Parameters}(hj_thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[tubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMB hjWtubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj|th]hstruct sk_buff_head *list}(hj~thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjztubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hjvtubj)}(hhh]jX)}(h list to useh]h list to use}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM? hjtubah}(h]h ]h"]h$]h&]uh1jhjvtubeh}(h]h ]h"]h$]h&]uh1jhjthM? hjstubj)}(h1``struct sk_buff *prev`` place after this buffer h](j)}(h``struct sk_buff *prev``h]j)}(hjth]hstruct sk_buff *prev}(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)}(hplace after this bufferh]hplace after this buffer}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM@ hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM@ hjstubj)}(h``struct sk_buff *newsk`` buffer to queue 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](j)}(h``struct sk_buff *newsk``h]j)}(hjth]hstruct sk_buff *newsk}(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.hhME hjtubj)}(hhh](jX)}(hbuffer to queueh]hbuffer to queue}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hjuubjX)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMC hjuubjX)}(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%uhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMF hjuubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhME hjstubeh}(h]h ]h"]h$]h&]uh1jhjWtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_head (C function)c.__skb_queue_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hHvoid __skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk)h]h)}(hGvoid __skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hvoidh]hvoid}(hjfuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbuhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZ ubj)}(h h]h }(hjuuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbuhhhjtuhMZ ubj)}(h__skb_queue_headh]j%)}(h__skb_queue_headh]h__skb_queue_head}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbuhhhjtuhMZ ubj)}(h2(struct sk_buff_head *list, 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_headasbuh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hlisth]hlist}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(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 }(hj"vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj3vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0vubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5vmodnameN classnameNjj!)}j$]juc.__skb_queue_headasbuh1hhjvubj)}(h h]h }(hjQvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hj_vhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hnewskh]hnewsk}(hjlvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbuhhhjtuhMZ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^uhhhjtuhMZ ubah}(h]jYuah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjtuhMZ hj[uhhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZ hjvhhubah}(h]h ]h"]h$]h&]uh1jRhj[uhhhjtuhMZ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhj[hNhNubj})}(hX+**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue 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)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hjvubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjvh]hstruct sk_buff_head *list}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ hjvubj)}(hhh]jX)}(h list to useh]h list to use}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhM[ hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM[ hjvubj)}(h``struct sk_buff *newsk`` buffer to queue 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](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.hhM` hj wubj)}(hhh](jX)}(hbuffer to queueh]hbuffer to queue}(hj)whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hj&wubjX)}(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.}(hj8whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hj&wubjX)}(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.}(hjGwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMa hj&wubeh}(h]h ]h"]h$]h&]uh1jhj wubeh}(h]h ]h"]h$]h&]uh1jhj%whM` hjvubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMk ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjwhMk ubj)}(h__skb_queue_tailh]j%)}(h__skb_queue_tailh]h__skb_queue_tail}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjwhMk ubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jjwsbc.__skb_queue_tailasbuh1hhjwubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hlisth]hlist}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hj7xhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3xubj)}(h h]h }(hjDxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3xubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjUxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWxmodnameN classnameNjj!)}j$]jwc.__skb_queue_tailasbuh1hhj3xubj)}(h h]h }(hjsxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3xubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3xubj%)}(hnewskh]hnewsk}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3xubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubeh}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjwhMk ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjwhMk ubah}(h]j{wah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMk hj}whhubjS)}(hhh]jX)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMk hjxhhubah}(h]h ]h"]h$]h&]uh1jRhj}whhhjwhMk ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj[hNhNubj})}(hX)**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue 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)}(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.hhMo hjxubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjxh]hstruct sk_buff_head *list}(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.hhMl hjxubj)}(hhh]jX)}(h list to useh]h list to use}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMl hjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhMl hjxubj)}(h``struct sk_buff *newsk`` buffer to queue 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](j)}(h``struct sk_buff *newsk``h]j)}(hj2yh]hstruct sk_buff *newsk}(hj4yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0yubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMq hj,yubj)}(hhh](jX)}(hbuffer to queueh]hbuffer to queue}(hjKyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMm hjHyubjX)}(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.}(hjZyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hjHyubjX)}(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.}(hjiyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hjHyubeh}(h]h ]h"]h$]h&]uh1jhj,yubeh}(h]h ]h"]h$]h&]uh1jhjGyhMq hjxubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhM ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}j __skb_dequeuesbc.__skb_dequeueasbuh1hhjyhhhjyhM ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhM ubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyhhhjyhM ubj)}(h __skb_dequeueh]j%)}(hjyh]h __skb_dequeue}(hj zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjyhM ubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj$zhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj zubj)}(h h]h }(hj1zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj zubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjBzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDzmodnameN classnameNjj!)}j$]jyc.__skb_dequeueasbuh1hhj zubj)}(h h]h }(hj`zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj zubj;)}(hj>h]h*}(hjnzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj zubj%)}(hlisth]hlist}(hj{zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj zubeh}(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)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjzhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjyhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff_head *list`` list to dequeue from 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)}(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.hhM hjzubj)}(hhh]j)}(h``struct sk_buff_head *list`` list to dequeue from 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](j)}(h``struct sk_buff_head *list``h]j)}(hjzh]hstruct sk_buff_head *list}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjzubj)}(hhh](jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjzubjX)}(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 hjzubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(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}(hja{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 }(hjo{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]{hhhjn{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]{hhhjn{hM ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]{hhhjn{hM ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]{hhhjn{hM ubj)}(h__skb_dequeue_tailh]j%)}(hj{h]h__skb_dequeue_tail}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]{hhhjn{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$]j{c.__skb_dequeue_tailasbuh1hhj{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}(hj2|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]{hhhjn{hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjY{hhhjn{hM ubah}(h]jT{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjn{hM hjV{hhubjS)}(hhh]jX)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hj\|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjY|hhubah}(h]h ]h"]h$]h&]uh1jRhjV{hhhjn{hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjt|jxjt|jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff_head *list`` list to dequeue from 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)}(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 hjx|ubj)}(hhh]j)}(h``struct sk_buff_head *list`` list to dequeue from 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](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&]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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj|ubjX)}(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 }(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|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM hj|ubah}(h]h ]h"]h$]h&]uh1jhjx|ubeh}(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}(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_len_addh]j%)}(h skb_len_addh]h skb_len_add}(hj9}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj&}hM ubj)}(h (struct sk_buff *skb, int delta)h](j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjs}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetju}modnameN classnameNjj!)}j$]j')}jj;}sb c.skb_len_addasbuh1hhjQ}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%)}(hskbh]hskb}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjM}ubj)}(h int deltah](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%)}(hdeltah]hdelta}(hj}hhhNhNubah}(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&}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"adds a number to len fields of skbh]h"adds a number to len fields of 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&]uh1jRhj }hhhj&}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}(hj1~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)}(hjN~h]hstruct sk_buff *skb}(hjP~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjH~ubj)}(hhh]jX)}(hbuffer to add len toh]hbuffer to add len to}(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 hjE~ubj)}(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 hj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hM hjE~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_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}(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_fill_netmem_desch]j%)}(h__skb_fill_netmem_desch]h__skb_fill_netmem_desc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hM 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$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jjsbc.__skb_fill_netmem_descasbuh1hhjubj)}(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=uh1jhjubj)}(hint ih](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hih]hi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hnetmem_ref netmemh](h)}(hhh]j%)}(h netmem_refh]h netmem_ref}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jXc.__skb_fill_netmem_descasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnetmemh]hnetmem}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint offh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hoffh]hoff}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint sizeh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjPhhhNhNubah}(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=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)}(hinitialise a fragment in an skbh]hinitialise a fragment in an 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&]uh1jRhj~hhhj~hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised 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)}(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&]uh1jhjÀubeh}(h]h ]h"]h$]h&]uh1jhjހhM hjubj)}(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 hjubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj5ubj)}(hhh]jX)}(h#the netmem to use for this fragmenth]h#the netmem to use for this fragment}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhM hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjth]hint off}(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)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjh]hint size}(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)}(hthe length of the datah]hthe length of the data}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(hpInitialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**.h](hInitialises the }(hj hhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh’th fragment of }(hj hhhNhNubj)}(h**skb**h]hskb}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh to point to }(hj hhhNhNubh)}(h:c:type:`size`h]j)}(hj:h]hsize}(hj<hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsizeuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj ubh bytes at offset }(hj hhhNhNubj)}(h**off**h]hoff}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh within }(hj hhhNhNubj)}(h**page**h]hpage}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjWhM hjubjX)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hjhhhNhNubah}(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](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}(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)}(hskb_fill_page_desch]j%)}(hskb_fill_page_desch]hskb_fill_page_desc}(hjւhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj҂ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjÂhM& 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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj؂sbc.skb_fill_page_descasbuh1hhjubj)}(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=uh1jhjubj)}(hint ih](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hjh]hi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page *pageh](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.skb_fill_page_descasbuh1hhjubj)}(h h]h }(hjԃhhhNhNubah}(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=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&]uh1jhj9ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hsizeh]hsize}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(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%initialise a paged fragment in an skbh]h%initialise a paged fragment in an 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&]jvjqjwjjxjjyjzj{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)}(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)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised 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)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(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 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( hjubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hj6h]hstruct page *page}(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.hhM) hj0ubj)}(hhh]jX)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhM) hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM) hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjoh]hint off}(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.hhM* hjiubj)}(hhh]jX)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM* hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM* hjubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjh]hint size}(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)}(hthe length of the datah]hthe length of the data}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM- hjubjX)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to point to }(hjhhhNhNubj)}(h**size**h]hsize}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes at offset }(hjhhhNhNubj)}(h**off**h]hoff}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh within }(hjhhhNhNubj)}(h**page**h]hpage}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. In addition updates }(hjhhhNhNubj)}(h**skb**h]hskb}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh such that }(hjhhhNhNubj)}(h**i**h]hi}(hj{hhhNhNubah}(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- hjubjX)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1 hjubeh}(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}(hjÆhhhNhNubah}(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)}(hskb_fill_page_desc_noacch]j%)}(hskb_fill_page_desc_noacch]hskb_fill_page_desc_noacc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjцhM: 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 }(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 reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.skb_fill_page_desc_noaccasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint ih](j)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hjh]hi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page *pageh](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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjƇmodnameN classnameNjj!)}j$]j:c.skb_fill_page_desc_noaccasbuh1hhjubj)}(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=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}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint sizeh](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hsizeh]hsize}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(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%initialise a paged fragment in an skbh]h%initialise a paged fragment in an 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&]jvjqjwjjxjjyjzj{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)}(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)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised 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)}(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&]uh1jhj̈ubeh}(h]h ]h"]h$]h&]uh1jhjhM; hjɈubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hj h]hint i}(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"paged fragment index to initialiseh]h"paged fragment index to initialise}(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Ɉubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjDh]hstruct page *page}(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.hhM= hj>ubj)}(hhh]jX)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM= hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM= hjɈubj)}(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> hjwubj)}(hhh]jX)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM> hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM> hjɈubj)}(h$``int size`` the length of the data 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hjubj)}(hhh]jX)}(hthe length of the datah]hthe length of the data}(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)}(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 hjubjX)}(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.hhMA hjubeh}(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}(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 }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhM ubj)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhjRhM ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhM ubj)}(h skb_headroomh]j%)}(h skb_headroomh]h skb_headroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhM 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$hjӊubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj؊modnameN classnameNjj!)}j$]j')}jjsbc.skb_headroomasbuh1hhjubj)}(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=uh1jhj@hhhjRhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhM ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhM hj9hhubjS)}(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 hj8hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjRhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check Return the number of bytes of free space at the head of an :c:type:`sk_buff`.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 hjWubj)}(hhh]j)}(h|``const struct sk_buff *skb`` buffer to check Return the number of bytes of free space at the head of an :c:type:`sk_buff`.h](j)}(h``const struct sk_buff *skb``h]j)}(hj|h]hconst struct 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.hhM hjvubj)}(hhh](jX)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(hMReturn the number of bytes of free space at the head of an :c:type:`sk_buff`.h](h;Return the number of bytes of free space at the head of 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_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjˋhM hjubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(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}(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_tailroomh]j%)}(h skb_tailroomh]h skb_tailroom}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj+sbc.skb_tailroomasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(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)}(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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check Return the number of bytes of free space at the tail of an sk_buffh](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)}(hq``const struct sk_buff *skb`` buffer to check Return the number of bytes of free space at the tail of an sk_buffh](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.hhM hjubj)}(hhh](jX)}(hbuffer to checkh]hbuffer to check}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj:ubjX)}(hBReturn the number of bytes of free space at the tail of an sk_buffh]hBReturn the number of bytes of free space at the tail of an sk_buff}(hjLhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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_availroomh]j%)}(h skb_availroomh]h skb_availroom}(hjhhhNhNubah}(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&]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%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_availroomasbuh1hhjƍubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƍubj;)}(hj>h]h*}(hj1hhhNhNubah}(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=uh1jhjhhhjhM( ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM( ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM( hjhhubjS)}(hhh]jX)}(hbytes at buffer endh]hbytes at buffer end}(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&]uh1jRhjhhhjhM( ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check 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)}(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 Return the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()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}(hjŽhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hjubjX)}(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&]uh1jWhjhM+ hjubeh}(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|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 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 Increase the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.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.hhM; hjzubj)}(hhh](jX)}(h bytes to moveh]h bytes to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9 hjubjX)}(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 }(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_buffuh1hhjhM; hjubhE by reducing the tail room. This is only allowed for an empty buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM; hjubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM; 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_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&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhME ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhME ubj)}(hskb_tailroom_reserveh]j%)}(hskb_tailroom_reserveh]hskb_tailroom_reserve}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhME ubj)}(hE(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](j)}(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}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sbc.skb_tailroom_reserveasbuh1hhjDubj)}(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=uh1jhj@ubj)}(hunsigned int mtuh](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%)}(hmtuh]hmtu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hunsigned int needed_tailroomh](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%)}(hneeded_tailroomh]hneeded_tailroom}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhME ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhME ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhME hjhhubjS)}(hhh]jX)}(hadjust reserved_tailroomh]hadjust reserved_tailroom}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhME hjjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhME 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 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)}(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.hhMF hjubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjǒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjÒhMF hjĒubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÒhMF hjubj)}(h9``unsigned int mtu`` maximum amount of headlen permitted h](j)}(h``unsigned int mtu``h]j)}(hjh]hunsigned int mtu}(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.hhMG hjubj)}(hhh]jX)}(h#maximum amount of headlen permittedh]h#maximum amount of headlen permitted}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMG hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMG hjubj)}(hX(``unsigned int needed_tailroom`` minimum amount of reserved_tailroom 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](j)}(h ``unsigned int needed_tailroom``h]j)}(hj h]hunsigned int needed_tailroom}(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.hhMM hjubj)}(hhh](jX)}(h#minimum amount of reserved_tailroomh]h#minimum amount of reserved_tailroom}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMH hj6ubjX)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJ hj6ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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:hj“ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj“ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](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%)}(hlenh]hlen}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(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)}(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&]uh1jRhj~hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length 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 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Ҕubj)}(h``unsigned int len`` new length 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](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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj*ubjX)}(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.}(hj<hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM hjҔubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhM 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=uh1jhjyhhhjhM 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 }(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')}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=uh1jhjyhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhM ubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjrhhubjS)}(hhh]jX)}(horphan a bufferh]horphan 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&]uh1jRhjrhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to orphan 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)}(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)}(h``struct sk_buff *skb`` buffer to orphan 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](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.hhM hjxubj)}(hhh](jX)}(hbuffer to orphanh]hbuffer to orphan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(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 }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhU unowned. The buffer continues to exist but is no longer charged to its former owner.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(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}(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_orphan_fragsh]j%)}(hskb_orphan_fragsh]hskb_orphan_frags}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjsbc.skb_orphan_fragsasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(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$]jpc.skb_orphan_fragsasbuh1hhjubj)}(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=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&orphan the frags contained in a bufferh]h&orphan the frags contained in a 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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX"**Parameters** ``struct sk_buff *skb`` buffer to orphan frags from ``gfp_t gfp_mask`` allocation mask for replacement pages 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)}(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 hjubj)}(hhh](j)}(h4``struct sk_buff *skb`` buffer to orphan frags from 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)}(hbuffer to orphan frags fromh]hbuffer to orphan frags from}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM hj9ubj)}(h``gfp_t gfp_mask`` allocation mask for replacement pages 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](j)}(h``gfp_t gfp_mask``h]j)}(hj{h]hgfp_t gfp_mask}(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.hhM hjuubj)}(hhh](jX)}(h%allocation mask for replacement pagesh]h%allocation mask for replacement pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(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 hjubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM hj9ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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_queue_purge_reasonh]j%)}(h__skb_queue_purge_reasonh]h__skb_queue_purge_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j)}(hstruct sk_buff_head *listh](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 sk_buff_headh]h sk_buff_head}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jjsbc.__skb_queue_purge_reasonasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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$]j[c.__skb_queue_purge_reasonasbuh1hhjubj)}(h h]h }(hjϙhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreasonh]hreason}(hjݙhhhNhNubah}(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]jטah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj٘hhubjS)}(hhh]jX)}(h empty a listh]h empty a list}(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٘hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXE**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason 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)}(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_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjHh]hstruct sk_buff_head *list}(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.hhM hjBubj)}(hhh]jX)}(h list to emptyh]h list to empty}(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)}(h``enum skb_drop_reason reason`` drop reason 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](j)}(h``enum skb_drop_reason reason``h]j)}(hjh]henum skb_drop_reason reason}(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 drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(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 }(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_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjКhM hjubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM 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](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&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM1 ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhjhM1 ubj)}(hnetdev_alloc_fragh]j%)}(hnetdev_alloc_fragh]hnetdev_alloc_frag}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM1 ubj)}(h(unsigned int fragsz)h]j)}(hunsigned int fragszh](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%)}(hfragszh]hfragsz}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM1 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM1 ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM1 hjhhubjS)}(hhh]jX)}(hallocate a page fragmenth]hallocate a page fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM1 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)}(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.hhM5 hj՛ubj)}(hhh]j)}(h&``unsigned int fragsz`` fragment size h](j)}(h``unsigned int fragsz``h]j)}(hjh]hunsigned int fragsz}(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.hhM2 hjubj)}(hhh]jX)}(h fragment sizeh]h fragment size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM2 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2 hjubah}(h]h ]h"]h$]h&]uh1jhj՛ubjX)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4 hj՛ubjX)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4 hj՛ubeh}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMG ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMG 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')}jnetdev_alloc_skbsbc.netdev_alloc_skbasbuh1hhjvhhhjhMG ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMG ubj;)}(hj>h]h*}(hjȜhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvhhhjhMG ubj)}(hnetdev_alloc_skbh]j%)}(hjh]hnetdev_alloc_skb}(hjٜhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj՜ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjhMG ubj)}(h-(struct net_device *dev, unsigned int length)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_alloc_skbasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjhMG ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMG ubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMG hjohhubjS)}(hhh]jX)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjƝhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMG hjÝhhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjhMG ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjޝjxjޝjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int length`` length to allocate 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)}(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.hhMK hjubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(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.hhMH hjubj)}(hhh]jX)}(hnetwork device to receive onh]hnetwork device to receive on}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMH hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMH hjubj)}(hX``unsigned int length`` length to allocate 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](j)}(h``unsigned int length``h]j)}(hj@h]hunsigned int length}(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.hhMP hj:ubj)}(hhh](jX)}(hlength to allocateh]hlength to allocate}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMI hjVubjX)}(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 }(hjhhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjrh]hsk_buff}(hjthhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMK hjhubh 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.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMK hjVubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubht is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjUhMP hjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMP hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}j__dev_alloc_pagessbc.__dev_alloc_pagesasbuh1hhjhhhjhM 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)}(h__dev_alloc_pagesh]j%)}(hj%h]h__dev_alloc_pages}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h$(gfp_t gfp_mask, unsigned int order)h](j)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j#c.__dev_alloc_pagesasbuh1hhj^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=uh1jhjZubj)}(hunsigned int orderh](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%)}(horderh]horder}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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)}(hallocate page for network Rxh]hallocate page 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&]uh1jRhjݞhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{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)}(hj.h]h Parameters}(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 hj(ubj)}(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)}(hjMh]hgfp_t gfp_mask}(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.hhM hjGubj)}(hhh]jX)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhM hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjDubj)}(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}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj(ubjX)}(hAllocate a new page.h]hAllocate a new page.}(hjנhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj(ubjX)}(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&]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](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}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hM ubh)}(hhh]j%)}(hpageh]hpage}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}j__dev_alloc_pagesbc.__dev_alloc_pageasbuh1hhjhhhj0hM ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hM ubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj0hM ubj)}(h__dev_alloc_pageh]j%)}(hj`h]h__dev_alloc_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hM ubj)}(h(gfp_t gfp_mask)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$]j^c.__dev_alloc_pageasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj0hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj0hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hM 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&]uh1jRhjhhhj0hM 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)}(hj7h]hgfp_t gfp_mask}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj1ubj)}(hhh]jX)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhM hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM hj.ubah}(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&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjТhhhjhM 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ТhhhjhM ubj)}(h(const struct page *page)h]j)}(hconst struct page *pageh](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}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hpageh]hpage}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsbc.dev_page_is_reusableasbuh1hhj 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%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(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=jDuh1hjEjFhj̢hhhjhM ubah}(h]jǢah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjɢhhubjS)}(hhh]jX)}(h1check whether a page can be reused for network Rxh]h1check whether a page can be reused 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&]uh1jRhjɢhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjƣjxjƣjyjzj{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}(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 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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hthe page to testh]hthe page to test}(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)}(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ʣubjX)}(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 hjʣubjX)}(h **Return**h]j)}(hjQh]hReturn}(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 hjʣubjX)}(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.}(hjghhhNhNubah}(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](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}(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_propagate_pfmemalloch]j%)}(hskb_propagate_pfmemalloch]hskb_propagate_pfmemalloc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h.(const struct page *page, struct sk_buff *skb)h](j)}(hconst struct page *pageh](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%)}(hpageh]hpage}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_propagate_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%)}(hpageh]hpage}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϤubeh}(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 }(hjmhhhNhNubah}(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 reftargetjmodnameN classnameNjj!)}j$]j(c.skb_propagate_pfmemallocasbuh1hhj\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ˤ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)}(h6Propagate pfmemalloc if skb is allocated after RX pageh]h6Propagate pfmemalloc if skb is allocated after RX page}(hjhhhNhNubah}(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&]uh1jRhjhhhjhM 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)}(hj"h]hconst struct 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 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&]uh1jWhj7hM hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM hjubj)}(h<``struct sk_buff *skb`` The skb that may need pfmemalloc seth](j)}(h``struct sk_buff *skb``h]j)}(hj[h]hstruct sk_buff *skb}(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.hhM hjUubj)}(hhh]jX)}(h$The skb that may need pfmemalloc seth]h$The skb that may need pfmemalloc set}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM 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}(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)}(hinth]hint}(hjҦhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjæhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjæhM ubj)}(h skb_frag_offh]j%)}(h skb_frag_offh]h skb_frag_off}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjæhM ubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](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%)}(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_offasbuh1hhj 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%)}(hfragh]hfrag}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(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$Returns the offset of a skb fragmenth]h$Returns the offset of a skb fragment}(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 skb_frag_t *frag`` the paged 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.hhM hjubj)}(hhh]j)}(h-``const skb_frag_t *frag`` the paged fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjҧh]hconst skb_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.hhM hj̧ubj)}(hhh]jX)}(hthe paged fragmenth]hthe paged 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&]uh1jhj̧ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjɧubah}(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_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}(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)}(hskb_frag_off_addh]j%)}(hskb_frag_off_addh]hskb_frag_off_add}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj:hM ubj)}(h(skb_frag_t *frag, int delta)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jjOsbc.skb_frag_off_addasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubj)}(h int deltah](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjΨhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdeltah]hdelta}(hjܨhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubeh}(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 hj!hhubjS)}(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.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj!hhhj:hM ubeh}(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)}(hj6h]h Parameters}(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.hhM hj0ubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjUh]hskb_frag_t *frag}(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)}(h skb fragmenth]h skb fragment}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjLubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hjh]h int delta}(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 value to addh]h value to add}(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 hjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(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*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hfragh]hfrag}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(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=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!Sets the offset of a skb fragmenth]h!Sets 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 hj۪hhubah}(h]h ]h"]h$]h&]uh1jRhjݩhhhjhM 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.hhM hjubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjh]hskb_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.hhM hjubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjubj)}(h*``unsigned int offset`` offset of fragmenth](j)}(h``unsigned int offset``h]j)}(hjXh]hunsigned int offset}(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.hhM hjRubj)}(hhh]jX)}(hoffset of fragmenth]hoffset of fragment}(hjqhhhNhNubah}(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&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM 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_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}(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_frag_off_copyh]j%)}(hskb_frag_off_copyh]hskb_frag_off_copy}(hjӫhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϫubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(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')}jjիsbc.skb_frag_off_copyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragtoh]hfragto}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst skb_frag_t *fragfromh](h)}(hjh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]jc.skb_frag_off_copyasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(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)}(h7Sets the offset of a skb fragment from another fragmenth]h7Sets the offset of a skb fragment from another 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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj߬jxj߬jyjzj{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)}(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)}(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}(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 skb fragment where offset is seth]h skb fragment where offset is set}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hA``const skb_frag_t *fragfrom`` skb fragment offset is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjAh]hconst skb_frag_t *fragfrom}(hjChhhNhNubah}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(hnet_iovh]hnet_iov}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_frag_net_iovsbc.skb_frag_net_iovasbuh1hhjhhhjhMubj)}(h h]h }(hjۭhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hskb_frag_net_iovh]j%)}(hjحh]hskb_frag_net_iov}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j֭c.skb_frag_net_iovasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjlhhhNhNubah}(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,retrieve the net_iov referred to by fragmenth]h,retrieve the net_iov referred to by fragment}(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})}(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)}(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(``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&]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 the fragmenth]h the fragment}(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)}(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.hhMhjubjX)}(huthe :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](hthe }(hj(hhhNhNubh)}(h":c:type:`struct net_iov `h]j)}(hj2h]hstruct net_iov}(hj4hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_iovuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj(ubh associated with }(hj(hhhNhNubj)}(h**frag**h]hfrag}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh6. Returns NULL if this frag has no associated net_iov.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjOhMhjubeh}(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.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j skb_frag_pagesbc.skb_frag_pageasbuh1hhjhhhjhMubj)}(h h]h }(hj̯hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjگhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h skb_frag_pageh]j%)}(hjɯh]h skb_frag_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]jǯc.skb_frag_pageasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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 skb_frag_t *frag`` the paged 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&]uh1jhjưubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj°ubj)}(hhh]jX)}(hthe paged fragmenth]hthe paged fragment}(hjhhhNhNubah}(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 **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!hjubjX)}(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)}(hj#h]h struct page}(hj%hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjpageuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3. Returns NULL if this frag has no associated page.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj@hM!hjubeh}(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_netmemasbuh1hhjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhM-ubj)}(hskb_frag_netmemh]j%)}(hjh]hskb_frag_netmem}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhM-ubj)}(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 }(hjܱhhhNhNubah}(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_netmemasbuh1hhj˱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%)}(hfragh]hfrag}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˱ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDZubah}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjhM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhM-ubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM-hjrhhubjS)}(hhh]jX)}(h-retrieve the netmem referred to by a fragmenth]h-retrieve the netmem referred to by a fragment}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjMhhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjlubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment 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.hhM.hjubj)}(hhh]jX)}(h the fragmenth]h the fragment}(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&]uh1jhjlubjX)}(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.hhM0hjlubjX)}(h2the :c:type:`netmem_ref` associated with **frag**.h](hthe }(hjhhhNhNubh)}(h:c:type:`netmem_ref`h]j)}(hjh]h netmem_ref}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj netmem_refuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM0hjlubeh}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThM=ubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBhhhjThM=ubj)}(hskb_frag_addressh]j%)}(hskb_frag_addressh]hskb_frag_address}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThM=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')}jjvsbc.skb_frag_addressasbuh1hhjubj)}(h h]h }(hjγhhhNhNubah}(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=uh1jhjBhhhjThM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThM=ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThM=hj;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.hhM=hjhhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThM=ubeh}(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**. The page must already be mapped.h](jX)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhj/ubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjTh]hconst skb_frag_t *frag}(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 paged fragment bufferh]hthe paged fragment buffer}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM>hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM>hjKubah}(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.hhM@hj/ubjX)}(hIthe address of the data within **frag**. The page must already be mapped.h](hthe address of the data within }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh". The page must already be mapped.}(hjhhhNhNubeh}(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](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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMLubj)}(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=uh1jhjhhhjhMLubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_address_safeasbuh1hhj,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%)}(hfragh]hfrag}(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=uh1jhjhhhjhMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj޴hhhjhMLubah}(h]jٴah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMLhj۴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.hhMLhjhhubah}(h]h ]h"]h$]h&]uh1jRhj۴hhhjhMLubeh}(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)}(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.hhMPhjϵ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.hhMMhjubj)}(hhh]jX)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMMhjubah}(h]h ]h"]h$]h&]uh1jhjϵubjX)}(h **Return**h]j)}(hj/h]hReturn}(hj1hhhNhNubah}(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.hhMOhjϵ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 }(hjEhhhNhNubj)}(h**frag**h]hfrag}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh-. Checks that the page is mapped and returns }(hjEhhhNhNubj)}(h``NULL``h]hNULL}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh otherwise.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhjϵ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}(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_frag_page_copyh]j%)}(hskb_frag_page_copyh]hskb_frag_page_copy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM\ubj)}(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}(hjضhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjնubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjڶmodnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_page_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=uh1jhjͶubj)}(hconst skb_frag_t *fragfromh](h)}(hjh]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jc.skb_frag_page_copyasbuh1hhj(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%)}(hfragfromh]hfragfrom}(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=uh1jhjhhhjhM\ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM\ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM\hjhhubjS)}(hhh]jX)}(h1sets the page in a fragment from another fragmenth]h1sets the page in a fragment from another fragment}(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&]jvjqjwjŷjxjŷjyjzj{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}(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)}(h6``skb_frag_t *fragto`` skb fragment where page 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.hhM]hjubj)}(hhh]jX)}(hskb fragment where page is seth]hskb fragment where page is set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h?``const skb_frag_t *fragfrom`` skb fragment page 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.hhM_hj!ubj)}(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&]uh1jhj!ubeh}(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_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.hhMiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMiubj)}(h__skb_frag_dma_maph]j%)}(hjh]h__skb_frag_dma_map}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMiubj)}(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}(hjӸhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjϸubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϸubh)}(hhh]j%)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__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}(hj*hhhNhNubah}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jc.__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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__skb_frag_dma_mapasbuh1hhjubj)}(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)}(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$]jc.__skb_frag_dma_mapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj˸ubj)}(henum dma_data_direction dirh](h)}(hhh]henum}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hdma_data_directionh]hdma_data_direction}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jc.__skb_frag_dma_mapasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hdirh]hdir}(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=uh1jhj}hhhjhMiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMiubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMihjvhhubjS)}(hhh]jX)}(h%maps a paged fragment via the DMA APIh]h%maps a paged fragment via the DMA API}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihjhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhMiubeh}(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)}(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.hhMmhjӺubj)}(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.hhMjhjubj)}(hhh]jX)}(h!the device to map the fragment toh]h!the device to map the fragment to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMjhjubj)}(h5``const skb_frag_t *frag`` the paged fragment to map h](j)}(h``const skb_frag_t *frag``h]j)}(hj1h]hconst skb_frag_t *frag}(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.hhMkhj+ubj)}(hhh]jX)}(hthe paged fragment to maph]hthe paged fragment to map}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMkhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMkhjubj)}(hY``size_t offset`` the offset within the fragment (starting at the fragment's own offset) h](j)}(h``size_t offset``h]j)}(hjjh]h size_t offset}(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.hhMmhjdubj)}(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.hhMlhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h+``size_t size`` the number of bytes to map h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(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.hhMnhjubj)}(hhh]jX)}(hthe number of bytes to maph]hthe number of bytes to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(hM``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) h](j)}(h``enum dma_data_direction dir``h]j)}(hjݻh]henum dma_data_direction dir}(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,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&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhj׻ubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(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.hhMqhjӺubjX)}(h5Maps the page associated with **frag** to **device**.h](hMaps the page associated with }(hj@hhhNhNubj)}(h**frag**h]hfrag}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh to }(hj@hhhNhNubj)}(h **device**h]hdevice}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhjӺubeh}(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}(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_clone_writableh]j%)}(hskb_clone_writableh]hskb_clone_writable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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 }(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%)}(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.skb_clone_writableasbuh1hhj̼ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj̼ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj̼ubj%)}(hskbh]hskb}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̼ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjȼubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(hinth]hint}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(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!is the header of a clone writableh]h!is the header of a clone 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj׽jxj׽jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check ``unsigned int len`` length up to which to write 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)}(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:17: ./include/linux/skbuff.hhMhj۽ubj)}(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)}(h``unsigned int len`` length up to which to write Returns true if modifying the header part of the cloned buffer does not requires the data to be copied.h](j)}(h``unsigned int len``h]j)}(hj9h]hunsigned int len}(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)}(hlength up to which to writeh]hlength up to which to write}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjOubjX)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubeh}(h]h ]h"]h$]h&]uh1jhj۽ubeh}(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}(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_cowh]j%)}(hskb_cowh]hskb_cow}(hj¾hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h,(struct sk_buff *skb, unsigned int headroom)h](j)}(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$]j')}jjľsb c.skb_cowasbuh1hhjھ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}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjھubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj־ubj)}(hunsigned int headroomh](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%)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(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© header of skb when it is requiredh]h© header of skb when it is required}(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&]jvjqjwjʿjxjʿjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom 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)}(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`` 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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hX<``unsigned int headroom`` needed headroom 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](j)}(h``unsigned int headroom``h]j)}(hj,h]hunsigned int headroom}(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)}(hneeded headroomh]hneeded headroom}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubjX)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBubjX)}(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 }(hjchhhNhNubj)}(h **headroom**h]hheadroom}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh of space at head.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubeh}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubeh}(h]h ]h"]h$]h&]uh1jhjοubeh}(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*}(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=uh1jhjubj)}(hunsigned int headroomh](j)}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(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%)}(hheadroomh]hheadroom}(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)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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX6**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom 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}(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 buffer to cowh]h buffer to cow}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``unsigned int headroom`` needed headroom 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](j)}(h``unsigned int headroom``h]j)}(hj@h]hunsigned int headroom}(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.hhMhj:ubj)}(hhh](jX)}(hneeded headroomh]hneeded headroom}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubjX)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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 }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(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 lenh](j)}(hunsignedh]hunsigned}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hlenh]hlen}(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)}(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})}(hX:**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``unsigned int len`` minimal length 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](j)}(h``unsigned int len``h]j)}(hj4h]hunsigned int len}(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)}(hminimal lengthh]hminimal length}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjJubjX)}(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.hhMhjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__skb_put_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}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(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 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)}(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.hhMhjubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubj)}(hhh]jX)}(hminimal lengthh]hminimal length}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(hX``bool free_on_error`` free buffer on error 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](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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.hhMhjubeh}(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_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}(hjhhhNhNubah}(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)}(h skb_put_padtoh]j%)}(h skb_put_padtoh]h skb_put_padto}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h'(struct sk_buff *skb, unsigned int len)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}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jj3sbc.skb_put_padtoasbuh1hhjIubj)}(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)}(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=uh1jhjEubeh}(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)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hj!hhhNhNubah}(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&]jvjqjwj9jxj9jyjzj{uh1hhhhj[hNhNubj})}(hX:**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length 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)}(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.hhMhj=ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad 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.hhMhj\ubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(h``unsigned int len`` minimal length 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](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)}(hminimal lengthh]hminimal length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM8ubj)}(h skb_linearizeh]j%)}(h skb_linearizeh]h skb_linearize}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM8ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj'sbc.skb_linearizeasbuh1hhj=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=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM8ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM8hjhhubjS)}(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.hhM8hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to linarize 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)}(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 linarize If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.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 linarizeh]hbuffer to linarize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjubjX)}(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.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM;hjubeh}(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|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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhjzhMDubj)}(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=uh1jhjihhhjzhMDubj)}(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 }(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_has_shared_fragasbuh1hhjubj)}(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=uh1jhjihhhjzhMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhjzhMDubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMDhjbhhubjS)}(hhh]jX)}(hcan any frag be overwrittenh]hcan any frag be overwritten}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjzhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{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)}(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.hhMHhjcubj)}(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.hhMEhjubj)}(hhh]jX)}(hbuffer to testh]hbuffer to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjcubjX)}(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.hhMGhjcubjX)}(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())}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjcubeh}(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&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMQubj)}(hskb_linearize_cowh]j%)}(hskb_linearize_cowh]hskb_linearize_cow}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMQubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(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+sbc.skb_linearize_cowasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubah}(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)}(h$make sure skb is linear and writableh]h$make sure skb is linear and writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to process 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)}(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.hhMUhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer to process If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(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.hhMThjubj)}(hhh](jX)}(hbuffer to processh]hbuffer to process}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhjubjX)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMThjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjhMjubj)}(hskb_postpull_rcsumh]j%)}(hskb_postpull_rcsumh]hskb_postpull_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjhMjubj)}(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_postpull_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)}(hconst void *starth](h)}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstarth]hstart}(hjdhhhNhNubah}(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&]uh1jhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjhMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhMjubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMjhjfhhubjS)}(hhh]jX)}(h+update checksum for received skb after pullh]h+update checksum for received skb after pull}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjhMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXX**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data before pull ``unsigned int len`` length of data pulled 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.hhMnhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(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.hhMkhjubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMkhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMkhjubj)}(h0``const void *start`` start of data before pull h](j)}(h``const void *start``h]j)}(hjYh]hconst void *start}(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.hhMlhjSubj)}(hhh]jX)}(hstart of data before pullh]hstart of data before pull}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMlhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMlhjubj)}(h``unsigned int len`` length of data pulled 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](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.hhMphjubj)}(hhh](jX)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMmhjubjX)}(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.hhMohjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(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=uh1jhjhhhj hMubj)}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjsbc.skb_postpush_rcsumasbuh1hhj4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(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=uh1jhj0ubj)}(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 }(hj1hhhNhNubah}(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=uh1jhj0ubeh}(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+update checksum for received skb after pushh]h+update checksum for received skb after push}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjfhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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 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)}(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/``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&]uh1jhjhMhjubj)}(h``unsigned int len`` length of data pushed After doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2ubjX)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(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=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.skb_push_rcsumasbuh1hhjubj)}(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}(hj'hhhNhNubah}(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&]uh1jhj<ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hlenh]hlen}(hjxhhhNhNubah}(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]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjyhhubjS)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled 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)}(hXH``unsigned int len`` length of data pulled 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](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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2ubjX)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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 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 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](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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj&ubjX)}(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.}(hj8hhhNhNubah}(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&]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_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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMubj)}(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=uh1jhjuhhhjhMubj)}(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*}(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)}(hnetdev_features_t featuresh](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$]jc.skb_needs_linearizeasbuh1hhj#ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj%)}(hfeaturesh]hfeatures}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjnhhubjS)}(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.hhMhj}hhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhMubeh}(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 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)}(h``netdev_features_t features`` net device features 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](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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(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_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}(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)}(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=uh1jhj_hhhjqhMubj)}(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 }(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_get_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=uh1jhjubj)}(h"struct __kernel_old_timeval *stamph](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__kernel_old_timevalh]h__kernel_old_timeval}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jc.skb_get_timestampasbuh1hhj)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%)}(hstamph]hstamp}(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_hhhjqhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjqhMubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMhjXhhubjS)}(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&]uh1jRhjXhhhjqhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXC**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 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.hhMhjubj)}(hhh](j)}(h4``const struct sk_buff *skb`` skb to get stamp from 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)}(hskb to get stamp fromh]hskb to get stamp from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in 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](j)}(h&``struct __kernel_old_timeval *stamp``h]j)}(hj(h]h"struct __kernel_old_timeval *stamp}(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)}(h8pointer to struct __kernel_old_timeval to store stamp inh]h8pointer to struct __kernel_old_timeval to store stamp in}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubjX)}(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.}(hjPhhhNhNubah}(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&]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_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}(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_complete_tx_timestampasbuh1hhjubj)}(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}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&struct skb_shared_hwtstamps *hwtstampsh](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%)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]jc.skb_complete_tx_timestampasbuh1hhj<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 hwtstampsh]h hwtstamps}(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%deliver cloned skb with tx timestampsh]h%deliver cloned skb with tx timestamps}(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})}(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)}(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`` clone of the original outgoing 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h%clone of the original outgoing packeth]h%clone of the 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 h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hj;h]h&struct skb_shared_hwtstamps *hwtstamps}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh]jX)}(hhardware time stampsh]hhardware time stamps}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubeh}(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.hhMhjubjX)}(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.hhMhjubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_tstamp_txh]j%)}(h skb_tstamp_txh]h skb_tstamp_tx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hstruct sk_buff *orig_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_tstamp_txasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(horig_skbh]horig_skb}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&struct skb_shared_hwtstamps *hwtstampsh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(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$]j2c.skb_tstamp_txasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(h hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(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(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(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 *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)}(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:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h:``struct sk_buff *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hj,h]hstruct sk_buff *orig_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.hhMhj&ubj)}(hhh]jX)}(hthe original outgoing packeth]hthe original outgoing packet}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubj)}(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)}(hjeh]h&struct skb_shared_hwtstamps *hwtstamps}(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)}(h2hardware time stamps, may be NULL if not availableh]h2hardware time stamps, may be NULL if not available}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.hhMhjubeh}(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}(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_tx_timestamph]j%)}(hskb_tx_timestamph]hskb_tx_timestamp}(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}(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}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jjsbc.skb_tx_timestampasbuh1hhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjnhhhNhNubah}(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=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%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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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`` A socket 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hA socket buffer.h]hA socket buffer.}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(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*}(hjhhhNhNubah}(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 bool ackedh](j)}(hjTh]hbool}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hackedh]hacked}(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=uh1jhjqhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjhMubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjjhhubjS)}(hhh]jX)}(hdeliver skb with wifi statush]hdeliver skb with wifi status}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjfhhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjhMubeh}(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)}(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)}(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``bool acked`` ack statush](j)}(h``bool acked``h]j)}(hjh]h bool acked}(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 ack statush]h ack status}(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[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}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jskb_checksum_completesbc.skb_checksum_completeasbuh1hhj9hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjahMubj)}(hskb_checksum_completeh]j%)}(hj^h]hskb_checksum_complete}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjahMubj)}(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\c.skb_checksum_completeasbuh1hhjubj)}(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=uh1jhj9hhhjahMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjahMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahMhj2hhubjS)}(hhh]jX)}(h&Calculate checksum of an entire packeth]h&Calculate checksum of an entire packet}(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&]uh1jRhj2hhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` packet to process 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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,ubj)}(hhh]j)}(hX{``struct sk_buff *skb`` packet to process 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](j)}(h``struct sk_buff *skb``h]j)}(hjQh]hstruct sk_buff *skb}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubj)}(hhh](jX)}(hpacket to processh]hpacket to process}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjgubjX)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjgubjX)}(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.hhMhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/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_exth]j%)}(hjh]hskb_ext}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hsk_buff extensionsh]hsk_buff extensions}(hj hhhNhNubah}(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 ](jqstructeh"]h$]h&]jvjqjwj#jxj#jyjzj{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}(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:17: ./include/linux/skbuff.hhMhj'ubjU)}(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[] ; };}hjHsbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj'ubjX)}(h **Members**h]j)}(hjYh]hMembers}(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.hhMhj'ubj)}(hhh](j)}(h-``refcnt`` 1 on allocation, deallocated on 0 h](j)}(h ``refcnt``h]j)}(hjxh]hrefcnt}(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.hhMhjrubj)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(hA``offset`` offset to add to **data** to obtain extension address h](j)}(h ``offset``h]j)}(hjh]hoffset}(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)}(h5offset to add to **data** to obtain extension addressh](hoffset to add to }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to obtain extension address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(h0``data`` start of extension data, variable sizedh](j)}(h``data``h]j)}(hj5h]hdata}(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)}(h'start of extension data, variable sizedh]h'start of extension data, variable sized}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjoubeh}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(h**Note**h]j)}(hjxh]hNote}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[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*}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h(make sure skb ip_summed is CHECKSUM_NONEh]h(make sure skb ip_summed is CHECKSUM_NONE}(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})}(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)}(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`` 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.hhMhjubj)}(hhh]jX)}(h skb to checkh]h skb to check}(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)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(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.}(hjNhhhNhNubah}(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](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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMubj)}(hskb_head_is_lockedh]j%)}(hskb_head_is_lockedh]hskb_head_is_locked}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhMubj)}(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 }(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_head_is_lockedasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhMubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjrhhubjS)}(hhh]jX)}(h)Determine if the skb->head is locked downh]h)Determine if the skb->head is locked down}(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&]uh1jRhjrhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{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)}(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)}(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.hhMhjubj)}(hhh]jX)}(h skb to checkh]h skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubeh}(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 }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hKubj)}(h sock_commonh]j%)}(hjh]h sock_common}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj%hKubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hKhj hhubjS)}(hhh]jX)}(h/minimal network layer representation of socketsh]h/minimal network layer representation of sockets}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKjhjWhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj%hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjrjxjrjyjzj{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 count This is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh:}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKnhjvubjU)}(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.hhKphjvubjX)}(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.hhKhjvubj)}(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&]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)}(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.hhKnhjubj)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**skc_rcv_saddr**h]h skc_rcv_saddr}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjYh]h{unnamed_struct}}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjSubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhKhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKlhjubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hjh]h skc_rcv_saddr}(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.hhKmhjubj)}(hhh]jX)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKmhjubj)}(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)}(hA``skc_hash`` hash value used with various protocol lookup tables h](j)}(h ``skc_hash``h]j)}(hj=h]hskc_hash}(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.hhKohj7ubj)}(hhh]jX)}(h3hash value used with various protocol lookup tablesh]h3hash value used with various protocol lookup tables}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhKohjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKohjubj)}(h@``skc_u16hashes`` two u16 hash values used by UDP lookup tables h](j)}(h``skc_u16hashes``h]j)}(hjvh]h skc_u16hashes}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKphjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKphjubj)}(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<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hjh]h skc_portpair}(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.hhKshjubj)}(hhh]jX)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hjhhhNhNubj)}(h **skc_dport**h]h skc_dport}(hj hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjAh]h{unnamed_struct}}(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.hhKhj;ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjubj)}(h2``skc_dport`` placeholder for inet_dport/tw_dport h](j)}(h ``skc_dport``h]j)}(hjzh]h skc_dport}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKqhjtubj)}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKqhjubj)}(h,``skc_num`` placeholder for inet_num/tw_num h](j)}(h ``skc_num``h]j)}(hjh]hskc_num}(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.hhKrhjubj)}(hhh]jX)}(hplaceholder for inet_num/tw_numh]hplaceholder for inet_num/tw_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKrhjubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hjh]h skc_family}(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.hhKthjubj)}(hhh]jX)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKthjubj)}(h``skc_state`` Connection state h](j)}(h ``skc_state``h]j)}(hj%h]h skc_state}(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.hhKuhjubj)}(hhh]jX)}(hConnection stateh]hConnection state}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hKuhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKuhjubj)}(h'``skc_reuse`` ``SO_REUSEADDR`` setting h](j)}(h ``skc_reuse``h]j)}(hj^h]h skc_reuse}(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.hhKvhjXubj)}(hhh]jX)}(h``SO_REUSEADDR`` settingh](j)}(h``SO_REUSEADDR``h]h SO_REUSEADDR}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh setting}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjshKvhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKvhjubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hjh]h skc_reuseport}(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.hhKwhjubj)}(hhh]jX)}(h``SO_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKwhjubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hjh]h skc_ipv6only}(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.hhKxhjubj)}(hhh]jX)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKxhjubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hj%h]hskc_net_refcnt}(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.hhKyhjubj)}(hhh]jX)}(h socket is using net ref countingh]h socket is using net ref counting}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hKyhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKyhjubj)}(h0``skc_bound_dev_if`` bound device index if != 0 h](j)}(h``skc_bound_dev_if``h]j)}(hj^h]hskc_bound_dev_if}(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.hhKzhjXubj)}(hhh]jX)}(hbound device index if != 0h]hbound device index if != 0}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshKzhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKzhjubj)}(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)}(hG``skc_bind_node`` bind hash linkage for various protocol lookup tables h](j)}(h``skc_bind_node``h]j)}(hjh]h skc_bind_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)}(h4bind hash linkage for various protocol lookup tablesh]h4bind hash linkage for various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK{hjubj)}(hD``skc_portaddr_node`` second hash linkage for UDP/UDP-Lite protocol h](j)}(h``skc_portaddr_node``h]j)}(hj h]hskc_portaddr_node}(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.hhK|hjubj)}(hhh]jX)}(h-second hash linkage for UDP/UDP-Lite protocolh]h-second hash linkage for UDP/UDP-Lite protocol}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK|hjubj)}(h7``skc_prot`` protocol handlers inside a network family h](j)}(h ``skc_prot``h]j)}(hjBh]hskc_prot}(hjDhhhNhNubah}(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.hhK}hj<ubj)}(hhh]jX)}(h)protocol handlers inside a network familyh]h)protocol handlers inside a network family}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhK}hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhK}hjubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hj{h]hskc_net}(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.hhK~hjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhK~hjubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hjh]h skc_v6_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.hhKhjubj)}(hhh]jX)}(hIPV6 destination addressh]hIPV6 destination address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h)``skc_v6_rcv_saddr`` IPV6 source address h](j)}(h``skc_v6_rcv_saddr``h]j)}(hjh]hskc_v6_rcv_saddr}(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)}(hIPV6 source addressh]hIPV6 source address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h%``skc_cookie`` socket's cookie value h](j)}(h``skc_cookie``h]j)}(hj&h]h skc_cookie}(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)}(hsocket's cookie valueh]hsocket’s cookie value}(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``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj_h]h{unnamed_union}}(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.hhKhjYubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKhjubj)}(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 }(hjhhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (l_onoff), }(hjhhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings, }(hjhhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings}(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&]uh1jhjhKhjubj)}(hb``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] h](j)}(h``skc_listener``h]j)}(hj,h]h skc_listener}(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)}(hPconnection request listener socket (aka rsk_listener) [union with **skc_flags**]h](hBconnection request listener socket (aka rsk_listener) [union with }(hjEhhhNhNubj)}(h **skc_flags**h]h skc_flags}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh]}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhKhjubj)}(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)}(hjxh]h skc_tw_dr}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjrubj)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(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)}(hB``skc_node`` main hash linkage for various protocol lookup tables h](j)}(h ``skc_node``h]j)}(hj h]hskc_node}(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.hhKhjubj)}(hhh]jX)}(h4main hash linkage for various protocol lookup tablesh]h4main hash linkage for various protocol lookup tables}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hKhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hKhjubj)}(hC``skc_nulls_node`` main hash linkage for TCP/UDP/UDP-Lite protocol h](j)}(h``skc_nulls_node``h]j)}(hjYh]hskc_nulls_node}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjSubj)}(hhh]jX)}(h/main hash linkage for TCP/UDP/UDP-Lite protocolh]h/main hash linkage for TCP/UDP/UDP-Lite protocol}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhKhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``skc_rx_queue_mapping`` rx queue number for this connection h](j)}(h``skc_rx_queue_mapping``h]j)}(hjh]hskc_rx_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#rx queue number for this connectionh]h#rx queue number for this connection}(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)}(hB``skc_incoming_cpu`` record/match cpu processing incoming packets h](j)}(h``skc_incoming_cpu``h]j)}(hj=h]hskc_incoming_cpu}(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.hhKhj7ubj)}(hhh]jX)}(h,record/match cpu processing incoming packetsh]h,record/match cpu processing incoming packets}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhjubj)}(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)}(hjvh]h skc_rcv_wnd}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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)}(hjh]hskc_tw_rcv_nxt}(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)}(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 }(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&]uh1jhjhKhjubj)}(h``skc_refcnt`` reference count This is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h](j)}(h``skc_refcnt``h]j)}(hjh]h skc_refcnt}(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.hhKhjubj)}(hhh](jX)}(hreference counth]hreference count}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj$ubjX)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hKhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKhjubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock (C struct)c.sockhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hsockh]h)}(h struct sockh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhKubj)}(hsockh]j%)}(hjph]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhKubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjkhhubjS)}(hhh]jX)}(h'network layer representation of socketsh]h'network layer representation of sockets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX=2**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.hhKhjubjU)}(hX\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; };h]hX\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; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubjX)}(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.hhMhjubj)}(hhh](j)}(h6``__sk_common`` shared layout with inet_timewait_sock h](j)}(h``__sk_common``h]j)}(hj%h]h __sk_common}(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%shared layout with inet_timewait_sockh]h%shared layout with inet_timewait_sock}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hKhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjubj)}(h#``sk_drops`` raw/udp drops counter h](j)}(h ``sk_drops``h]j)}(hj^h]hsk_drops}(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.hhMhjXubj)}(hhh]jX)}(hraw/udp drops counterh]hraw/udp drops counter}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(h*``sk_peek_off`` current peek_offset value h](j)}(h``sk_peek_off``h]j)}(hjh]h sk_peek_off}(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)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h``sk_error_queue`` rarely used h](j)}(h``sk_error_queue``h]j)}(hjh]hsk_error_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)}(h rarely usedh]h rarely used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``sk_receive_queue`` incoming packets h](j)}(h``sk_receive_queue``h]j)}(hj h]hsk_receive_queue}(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.hhKhjubj)}(hhh]jX)}(hincoming packetsh]hincoming packets}(hj"hhhNhNubah}(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)}(hjBh]h sk_backlog}(hjDhhhNhNubah}(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-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjuubj)}(hhh]jX)}(h'receive input route used by early demuxh]h'receive input route used by early demux}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hjh]hsk_rx_dst_ifindex}(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)}(hifindex for **sk_rx_dst**h](h ifindex 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)}(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)}(hjBh]h sk_ll_usec}(hjDhhhNhNubah}(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'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjuubj)}(hhh]jX)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hjh]hsk_busy_poll_budget}(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'napi processing budget when busypollingh]h'napi processing budget when busypolling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"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)}(hj&h]h sk_userlocks}(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(``SO_SNDBUF`` and ``SO_RCVBUF`` settingsh](j)}(h ``SO_SNDBUF``h]h SO_SNDBUF}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh and }(hj?hhhNhNubj)}(h ``SO_RCVBUF``h]h SO_RCVBUF}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh settings}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj;hKhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hKhjubj)}(h.``sk_rcvbuf`` size of receive buffer in bytes h](j)}(h ``sk_rcvbuf``h]j)}(hjh]h sk_rcvbuf}(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.hhKhjyubj)}(hhh]jX)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``sk_filter`` socket filtering instructions h](j)}(h ``sk_filter``h]j)}(hjh]h sk_filter}(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)}(hsocket filtering instructionsh]hsocket filtering instructions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.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}(hj hhhNhNubah}(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)}(hj*h]hsk_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.hhKhj$ubj)}(hhh]jX)}(hsock wait queue and async headh]hsock wait queue and async head}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hKhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hKhjubj)}(hE``sk_data_ready`` callback to indicate there is data to be processed h](j)}(h``sk_data_ready``h]j)}(hjch]h sk_data_ready}(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.hhMHhj]ubj)}(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&]uh1jWhjxhMHhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMHhjubj)}(h(``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting h](j)}(h``sk_rcvtimeo``h]j)}(hjh]h sk_rcvtimeo}(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_RCVTIMEO`` settingh](j)}(h``SO_RCVTIMEO``h]h SO_RCVTIMEO}(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_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)}(hj*h]hsk_err}(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 last errorh]h last error}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h.``sk_socket`` Identd and reporting IO signals h](j)}(h ``sk_socket``h]j)}(hjch]h sk_socket}(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)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM;hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM;hjubj)}(h5``sk_memcg`` this socket's memory cgroup association h](j)}(h ``sk_memcg``h]j)}(hjh]hsk_memcg}(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.hhMDhjubj)}(hhh]jX)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h``sk_policy`` flow policy h](j)}(h ``sk_policy``h]j)}(hjh]h sk_policy}(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 flow policyh]h flow policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhj ubah}(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}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hKhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKhjubj)}(hF``sk_reserved_mem`` space reserved and non-reclaimable for the socket h](j)}(h``sk_reserved_mem``h]j)}(hjGh]hsk_reserved_mem}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjAubj)}(hhh]jX)}(h1space reserved and non-reclaimable for the socketh]h1space reserved and non-reclaimable for the socket}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h-``sk_forward_alloc`` space allocated forward h](j)}(h``sk_forward_alloc``h]j)}(hjh]hsk_forward_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.hhMhjzubj)}(hhh]jX)}(hspace allocated forwardh]hspace allocated forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``sk_tsflags`` SO_TIMESTAMPING flags h](j)}(h``sk_tsflags``h]j)}(hjh]h sk_tsflags}(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.hhM2hjubj)}(hhh]jX)}(hSO_TIMESTAMPING flagsh]hSO_TIMESTAMPING flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(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}(hj hhhNhNubah}(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)}(hj+h]h sk_omem_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)}(h"o" is "option" or "other"h]h&“o” is “option” or “other”}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hjdh]h sk_sndbuf}(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.hhM hj^ubj)}(hhh]jX)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhM hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM hjubj)}(h)``sk_wmem_queued`` persistent queue size h](j)}(h``sk_wmem_queued``h]j)}(hjh]hsk_wmem_queued}(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)}(hpersistent queue sizeh]hpersistent queue size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``sk_wmem_alloc`` transmit queue bytes committed h](j)}(h``sk_wmem_alloc``h]j)}(hjh]h sk_wmem_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.hhKhjubj)}(hhh]jX)}(htransmit queue bytes committedh]htransmit queue bytes committed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(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``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjHh]h{unnamed_union}}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjBubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhjubj)}(h,``sk_send_head`` front of stuff to transmit h](j)}(h``sk_send_head``h]j)}(hjh]h sk_send_head}(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?hj{ubj)}(hhh]jX)}(hfront of stuff to transmith]hfront of stuff to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(hF``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] h](j)}(h``tcp_rtx_queue``h]j)}(hjh]h tcp_rtx_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.hhM@hjubj)}(hhh]jX)}(h3TCP re-transmit queue [union with **sk_send_head**]h](h"TCP re-transmit queue [union with }(hjhhhNhNubj)}(h**sk_send_head**h]h sk_send_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@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)}(hj>h]hsk_dst_pending_confirm}(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.hhKhj8ubj)}(hhh]jX)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShKhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShKhjubj)}(hB``sk_pacing_status`` Pacing status (requested, handled by sch_fq) h](j)}(h``sk_pacing_status``h]j)}(hjwh]hsk_pacing_status}(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)}(h,Pacing status (requested, handled by sch_fq)h]h,Pacing status (requested, handled by sch_fq)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``sk_frag`` cached page frag h](j)}(h ``sk_frag``h]j)}(hjh]hsk_frag}(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)}(hcached page fragh]hcached page frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=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)}(hj"h]hsk_pacing_rate}(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)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h9``sk_zckey`` counter to order MSG_ZEROCOPY notifications h](j)}(h ``sk_zckey``h]j)}(hj[h]hsk_zckey}(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+counter to order MSG_ZEROCOPY notificationsh]h+counter to order MSG_ZEROCOPY notifications}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM:hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM:hjubj)}(h@``sk_tskey`` counter to disambiguate concurrent tstamp requests h](j)}(h ``sk_tskey``h]j)}(hjh]hsk_tskey}(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.hhM9hjubj)}(hhh]jX)}(h2counter to disambiguate concurrent tstamp requestsh]h2counter to disambiguate concurrent tstamp requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(hD``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) h](j)}(h``sk_max_pacing_rate``h]j)}(hjh]hsk_max_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.hhM hjubj)}(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&]uh1jhjubeh}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh setting}(hj1hhhNhNubeh}(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_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hj_h]h sk_priority}(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)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh setting}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjthM#hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM#hjubj)}(h ``sk_mark`` generic packet mark h](j)}(h ``sk_mark``h]j)}(hjh]hsk_mark}(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.hhMBhjubj)}(hhh]jX)}(hgeneric packet markh]hgeneric packet mark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h#``sk_dst_cache`` destination cache h](j)}(h``sk_dst_cache``h]j)}(hjh]h sk_dst_cache}(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)}(hdestination cacheh]hdestination cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h<``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) h](j)}(h``sk_route_caps``h]j)}(hjh]h sk_route_caps}(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)route capabilities (e.g. ``NETIF_F_TSO``)h](hroute capabilities (e.g. }(hj1hhhNhNubj)}(h``NETIF_F_TSO``h]h NETIF_F_TSO}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh)}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hjch]hsk_validate_xmit_skb}(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.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&]uh1jWhjxhMLhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMLhjubj)}(h2``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) h](j)}(h``sk_gso_type``h]j)}(hjh]h sk_gso_type}(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!GSO type (e.g. ``SKB_GSO_TCPV4``)h](hGSO type (e.g. }(hjhhhNhNubj)}(h``SKB_GSO_TCPV4``h]h SKB_GSO_TCPV4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``sk_gso_max_segs`` Maximum number of GSO segments h](j)}(h``sk_gso_max_segs``h]j)}(hjh]hsk_gso_max_segs}(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)}(hMaximum number of GSO segmentsh]hMaximum number of GSO segments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h!Maximum GSO segment size to buildh]h!Maximum GSO segment size to build}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(h"``sk_allocation`` allocation mode h](j)}(h``sk_allocation``h]j)}(hjYh]h sk_allocation}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjSubj)}(hhh]jX)}(hallocation modeh]hallocation mode}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hjh]h sk_txhash}(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&computed flow hash for use on transmith]h&computed flow hash for use on transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(h8``sk_pacing_shift`` scaling factor for TCP Small Queues h](j)}(h``sk_pacing_shift``h]j)}(hjh]hsk_pacing_shift}(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#scaling factor for TCP Small Queuesh]h#scaling factor for TCP Small Queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]hsk_use_task_frag}(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.hhM6hjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.hhMhj8ubj)}(hhh]jX)}(h&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h;``sk_kern_sock`` True if sock is using kernel lock classes h](j)}(h``sk_kern_sock``h]j)}(hjwh]h sk_kern_sock}(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.hhKhjqubj)}(hhh]jX)}(h)True if sock is using kernel lock classesh]h)True if sock is using kernel lock classes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hG``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets h](j)}(h``sk_no_check_tx``h]j)}(hjh]hsk_no_check_tx}(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)}(h3``SO_NO_CHECK`` setting, set checksum in TX packetsh](j)}(h``SO_NO_CHECK``h]h SO_NO_CHECK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ setting, set checksum in TX packets}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h5``sk_no_check_rx`` allow zero checksum in RX packets h](j)}(h``sk_no_check_rx``h]j)}(hjh]hsk_no_check_rx}(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!allow zero checksum in RX packetsh]h!allow zero checksum in RX packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj0h]h sk_shutdown}(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)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hjIhhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh and/or }(hjIhhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jWhjEhKhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKhjubj)}(h/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hjh]hsk_type}(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"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&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(hJ``sk_protocol`` which protocol this socket belongs in this network family h](j)}(h``sk_protocol``h]j)}(hjh]h sk_protocol}(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)}(h9which protocol this socket belongs in this network familyh]h9which protocol this socket belongs in this network family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h1``sk_lingertime`` ``SO_LINGER`` l_linger setting h](j)}(h``sk_lingertime``h]j)}(hj h]h sk_lingertime}(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.hhMhjubj)}(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&]uh1jhjubeh}(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)}(hjTh]hsk_prot_creator}(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.hhMhjNubj)}(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)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(hG``sk_callback_lock`` used with the callbacks in the end of this struct h](j)}(h``sk_callback_lock``h]j)}(hjh]hsk_callback_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.hhMhjubj)}(hhh]jX)}(h1used with the callbacks in the end of this structh]h1used with the callbacks in the end of this struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]h sk_err_soft}(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^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&]uh1jhjubeh}(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)}(hj:h]hsk_max_ack_backlog}(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.hhMhj4ubj)}(hhh]jX)}(hlisten backlog set in listen()h]hlisten backlog set in listen()}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h``sk_uid`` user id of owner h](j)}(h ``sk_uid``h]j)}(hjsh]hsk_uid}(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)}(huser id of ownerh]huser id of owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hF``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** h](j)}(h``sk_peer_lock``h]j)}(hjh]h sk_peer_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.hhM&hjubj)}(hhh]jX)}(h4lock protecting **sk_peer_pid** and **sk_peer_cred**h](hlock protecting }(hjhhhNhNubj)}(h**sk_peer_pid**h]h sk_peer_pid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**sk_peer_cred**h]h sk_peer_cred}(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)}(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)}(hj?h]h sk_peer_pid}(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'hj9ubj)}(hhh]jX)}(h1:c:type:`struct pid ` for this socket's peerh](h)}(h:c:type:`struct pid `h]j)}(hj^h]h struct pid}(hj`hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjpiduh1hhjThM'hjXubh for this socket’s peer}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjThM'hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM'hjubj)}(h)``sk_peer_cred`` ``SO_PEERCRED`` setting h](j)}(h``sk_peer_cred``h]j)}(hjh]h sk_peer_cred}(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_PEERCRED`` settingh](j)}(h``SO_PEERCRED``h]h SO_PEERCRED}(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)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM1hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM1hjubj)}(hJ``sk_disconnects`` number of disconnect operations performed on this sock h](j)}(h``sk_disconnects``h]j)}(hjPh]hsk_disconnects}(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.hhMFhjJubj)}(hhh]jX)}(h6number of disconnect operations performed on this sockh]h6number of disconnect operations performed on this sock}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMFhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMFhjubj)}(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_txrehash`` enable TX hash rethink h](j)}(h``sk_txrehash``h]j)}(hjh]h sk_txrehash}(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)}(henable TX hash rethinkh]henable TX hash rethink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-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()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMUhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMUhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj4 h]h{unnamed_struct}}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 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}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjI hKhjJ ubah}(h]h ]h"]h$]h&]uh1jhj. ubeh}(h]h ]h"]h$]h&]uh1jhjI hKhjubj)}(hF``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS h](j)}(h``sk_scm_credentials``h]j)}(hjm h]hsk_scm_credentials}(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.hhMVhjg ubj)}(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&]uh1jhjg ubeh}(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)}(hj h]hsk_scm_security}(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.hhMWhj ubj)}(hhh]jX)}(h*flagged by SO_PASSSEC to recv SCM_SECURITYh]h*flagged by SO_PASSSEC to recv SCM_SECURITY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMWhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMWhjubj)}(h;``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD h](j)}(h``sk_scm_pidfd``h]j)}(hj h]h sk_scm_pidfd}(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.hhMXhj ubj)}(hhh]jX)}(h)flagged by SO_PASSPIDFD to recv SCM_PIDFDh]h)flagged by SO_PASSPIDFD to recv SCM_PIDFD}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMXhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMXhjubj)}(h>``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS h](j)}(h``sk_scm_rights``h]j)}(hj h]h sk_scm_rights}(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.hhMYhj ubj)}(hhh]jX)}(h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTSh]h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTS}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj- hMYhj. ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj- hMYhjubj)}(h.``sk_scm_unused`` unused flags for scm_recv() h](j)}(h``sk_scm_unused``h]j)}(hjQ h]h sk_scm_unused}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMZhjK ubj)}(hhh]jX)}(hunused flags for scm_recv()h]hunused flags for scm_recv()}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjf hMZhjg ubah}(h]h ]h"]h$]h&]uh1jhjK ubeh}(h]h ]h"]h$]h&]uh1jhjf hMZhjubj)}(hA``sk_clockid`` clockid used by time-based scheduling (SO_TXTIME) h](j)}(h``sk_clockid``h]j)}(hj h]h sk_clockid}(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.hhMQhj ubj)}(hhh]jX)}(h1clockid used by time-based scheduling (SO_TXTIME)h]h1clockid used by time-based scheduling (SO_TXTIME)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMQhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMQhjubj)}(h<``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME h](j)}(h``sk_txtime_deadline_mode``h]j)}(hj h]hsk_txtime_deadline_mode}(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.hhMRhj ubj)}(hhh]jX)}(hset deadline mode for SO_TXTIMEh]hset deadline mode for SO_TXTIME}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMRhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMRhjubj)}(hA``sk_txtime_report_errors`` set report errors mode for SO_TXTIME h](j)}(h``sk_txtime_report_errors``h]j)}(hj h]hsk_txtime_report_errors}(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.hhMShj ubj)}(hhh]jX)}(h$set report errors mode for SO_TXTIMEh]h$set report errors mode for SO_TXTIME}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMShj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMShjubj)}(h)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hj5 h]hsk_txtime_unused}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMThj/ ubj)}(hhh]jX)}(hunused txtime flagsh]hunused txtime flags}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJ hMThjK ubah}(h]h ]h"]h$]h&]uh1jhj/ ubeh}(h]h ]h"]h$]h&]uh1jhjJ hMThjubj)}(h-``sk_bpf_cb_flags`` used in bpf_setsockopt() h](j)}(h``sk_bpf_cb_flags``h]j)}(hjn h]hsk_bpf_cb_flags}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3hjh ubj)}(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&]uh1jhjh ubeh}(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)}(hj h]h sk_user_data}(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@RPC layer private data. Write-protected by **sk_callback_lock**.h](h+RPC layer private data. Write-protected by }(hj hhhNhNubj)}(h**sk_callback_lock**h]hsk_callback_lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(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_security`` used by security modules h](j)}(h``sk_security``h]j)}(hj h]h sk_security}(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.hhMAhj ubj)}(hhh]jX)}(hused by security modulesh]hused by security modules}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMAhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMAhjubj)}(h-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hj+ h]h sk_cgrp_data}(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.hhMChj% ubj)}(hhh]jX)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@ hMChjA ubah}(h]h ]h"]h$]h&]uh1jhj% ubeh}(h]h ]h"]h$]h&]uh1jhj@ hMChjubj)}(hI``sk_state_change`` callback to indicate change in the state of the sock h](j)}(h``sk_state_change``h]j)}(hjd h]hsk_state_change}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMGhj^ ubj)}(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&]uh1jWhjy hMGhjz ubah}(h]h ]h"]h$]h&]uh1jhj^ ubeh}(h]h ]h"]h$]h&]uh1jhjy hMGhjubj)}(hL``sk_write_space`` callback to indicate there is bf sending space available h](j)}(h``sk_write_space``h]j)}(hj h]hsk_write_space}(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.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&]uh1jWhj hMIhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMIhjubj)}(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}(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.hhMJhj ubj)}(hhh]jX)}(h3callback to indicate errors (e.g. ``MSG_ERRQUEUE``)h](h"callback to indicate errors (e.g. }(hj hhhNhNubj)}(h``MSG_ERRQUEUE``h]h MSG_ERRQUEUE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hMJhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMJhjubj)}(h3``sk_backlog_rcv`` callback to process the backlog h](j)}(h``sk_backlog_rcv``h]j)}(hj! h]hsk_backlog_rcv}(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.hhMKhj ubj)}(hhh]jX)}(hcallback to process the backlogh]hcallback to process the backlog}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6 hMKhj7 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj6 hMKhjubj)}(hG``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 h](j)}(h``sk_destruct``h]j)}(hjZ h]h sk_destruct}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMMhjT ubj)}(hhh]jX)}(h6called at sock freeing time, i.e. when all refcnt == 0h]h6called at sock freeing time, i.e. when all refcnt == 0}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjo hMMhjp ubah}(h]h ]h"]h$]h&]uh1jhjT ubeh}(h]h ]h"]h$]h&]uh1jhjo hMMhjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMNhj ubj)}(hhh]jX)}(hreuseport group containerh]hreuseport group container}(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?``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage h](j)}(h``sk_bpf_storage``h]j)}(hj h]hsk_bpf_storage}(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.hhMOhj ubj)}(hhh]jX)}(h+ptr to cache and control for bpf_sk_storageh]h+ptr to cache and control for bpf_sk_storage}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMOhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMOhjubj)}(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.hhMPhj ubj)}(hhh]jX)}(hused during RCU grace periodh]hused during RCU grace period}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h+``ns_tracker`` tracker for netns reference h](j)}(h``ns_tracker``h]j)}(hj>h]h ns_tracker}(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)}(htracker for netns referenceh]htracker for netns reference}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM[hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM[hjubj)}(hF``sk_user_frags`` xarray of pages the user is holding a reference on. h](j)}(h``sk_user_frags``h]j)}(hjwh]h sk_user_frags}(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)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM\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)}(hjh]hsk_owner}(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)}(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().}(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&]uh1jhjubeh}(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}(hj hhhNhNubah}(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}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM_ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hsockh]hsock}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj+sbc.sk_user_data_is_nocopyasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(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/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)}(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.hhMehjubj)}(hhh]jX)}(hsocketh]hsocket}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM`hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMehjubah}(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&]uh1jhjzhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjhMjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzhhhjhMjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjhMjubj)}(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.__locked_read_sk_user_data_with_flagsasbuh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(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}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]j'c.__locked_read_sk_user_data_with_flagsasbuh1hhjQubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhjhMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjhMjubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMjhjshhubjS)}(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.hhMjhjhhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjhMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.hhMnhjubj)}(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)}(hj(h]huintptr_t flags}(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.hhMohj"ubj)}(hhh]jX)}(h flag bitsh]h flag bits}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMohj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMohjubeh}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMqhjubjX)}(h0The caller must be holding sk->sk_callback_lock.h]h0The caller must be holding sk->sk_callback_lock.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMqhjubeh}(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)}(h(Yvoid * __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}(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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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}(hj hhhNhNubah}(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')}jjsb+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhjubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjfhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jG+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hflagsh]hflags}(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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h``uintptr_t flags`` flag bitsh](j)}(h``uintptr_t flags``h]j)}(hjRh]huintptr_t flags}(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)}(h flag bitsh]h flag bits}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(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%)}(hjh]hsk_for_each_entry_offset_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.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)}(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 hj hMhj[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)}(hj6h]htpos}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0ubj)}(hhh]jX)}(h#the type * to use as a loop cursor.h]h#the type * to use as a loop cursor.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj-ubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hjoh]hpos}(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.hhMhjiubj)}(hhh]jX)}(hEthe :c:type:`struct hlist_node ` to use as a loop cursor.h](hthe }(hjhhhNhNubh)}(h(:c:type:`struct hlist_node `h]j)}(hjh]hstruct hlist_node}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj hlist_nodeuh1hhjhMhjubh to use as a loop cursor.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhj-ubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hjh]hhead}(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)}(hthe head for your list.h]hthe head for your list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj-ubj)}(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&]uh1jhjhMhj-ubeh}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjkhMubj)}(hlock_sock_fasth]j%)}(hlock_sock_fasth]hlock_sock_fast}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjkhMubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(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')}jjsbc.lock_sock_fastasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjkhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjShhubjS)}(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&]uh1jRhjShhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{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)}(hj?h]h Parameters}(hjAhhhNhNubah}(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.hhMhj9ubj)}(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.hhMhjXubj)}(hhh]jX)}(hsocketh]hsocket}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubah}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj9ubjX)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj9ubj )}(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}(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 hjhMhj9ubjX)}(h"return true if slow path is taken:h]h"return true if slow path is taken:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj9ubj )}(h-sk_lock.slock unlocked, owned = 1, BH enabledh]jX)}(hjh]h-sk_lock.slock unlocked, owned = 1, BH enabled}(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 hjhMhj9ubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj,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=uh1jhjhhhj,hMubj)}(h(struct sock *sk, bool slow)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hsockh]hsock}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j')}jjAsbc.unlock_sock_fastasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(h bool slowh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hslowh]hslow}(hjhhhNhNubah}(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)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(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&]uh1jRhjhhhj,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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hjSh]hstruct sock *sk}(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.hhMhjMubj)}(hhh]jX)}(hsocketh]hsocket}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubj)}(h``bool slow`` slow mode h](j)}(h ``bool slow``h]j)}(hjh]h bool slow}(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 slow modeh]h slow mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjJubeh}(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&]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()}(hjhhhNhNubah}(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&]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)}(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=uh1jhjhhhjhMubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](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%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj/sbc.sk_wmem_alloc_getasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubah}(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)}(hreturns write allocationsh]hreturns write allocations}(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})}(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&]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)}(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}(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 **Return**h]j)}(hjch]hReturn}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubjX)}(h)sk_wmem_alloc minus initial offset of oneh]h)sk_wmem_alloc minus initial offset of one}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubeh}(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}(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)}(hsk_rmem_alloc_geth]j%)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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 }(hj hhhNhNubah}(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 reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.sk_rmem_alloc_getasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(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)}(hreturns read allocationsh]hreturns read allocations}(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})}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjh]hReturn}(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.hhMhjubjX)}(h sk_rmem_alloch]h sk_rmem_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubeh}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjQhMubj)}(hsk_has_allocationsh]j%)}(hsk_has_allocationsh]hsk_has_allocations}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjQhMubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](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%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjfsbc.sk_has_allocationsasbuh1hhj|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=uh1jhjxubah}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjQhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjQhMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMhj9hhubjS)}(hhh]jX)}(h$check if allocations are outstandingh]h$check if allocations are outstanding}(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&]uh1jRhj9hhhjQhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{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}(hjBhhhNhNubah}(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}(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)}(hsocketh]hsocket}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjVubah}(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&]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}(hjhhhNhNubah}(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}(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)}(hskwq_has_sleeperh]j%)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct socket_wq *wq)h]j)}(hstruct socket_wq *wqh](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 socket_wqh]h socket_wq}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjsbc.skwq_has_sleeperasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hwqh]hwq}(hjthhhNhNubah}(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(check if there are any waiting processesh]h(check if there are any waiting processes}(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})}(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)}(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.hhM hjubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hjh]hstruct socket_wq *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.hhM hjubj)}(hhh]jX)}(hstruct socket_wqh]hstruct socket_wq}(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 **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 hjubjX)}(h'true if socket_wq has waiting processesh]h'true if socket_wq has waiting processes}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubjX)}(h**Description**h]j)}(hjA h]h Description}(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 hjubjX)}(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.}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubjX)}(h#Consider following tcp code paths::h]h"Consider following tcp code paths:}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubjU)}(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) ... }}hju sbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubjX)}(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" hjubeh}(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}(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)}(hsock_poll_waith]j%)}(hsock_poll_waith]hsock_poll_wait}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hM. 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*}(hjh]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 poll_table *ph](h)}(hhh]j%)}(h poll_tableh]h poll_table}(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 }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hjGh]hp}(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)}(hwrapper for the poll_wait call.h]hwrapper for the poll_wait call.}(hj7"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM. hj4"hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM. ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjO"jxjO"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)}(hjY"h]h Parameters}(hj["hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW"ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM2 hjS"ubj)}(hhh](j)}(h``struct file *filp`` file h](j)}(h``struct file *filp``h]j)}(hjx"h]hstruct file *filp}(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.hhM/ hjr"ubj)}(hhh]jX)}(hfileh]hfile}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM/ hj"ubah}(h]h ]h"]h$]h&]uh1jhjr"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM/ hjo"ubj)}(h*``struct socket *sock`` socket to wait on 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0 hj"ubj)}(hhh]jX)}(hsocket to wait onh]hsocket to wait on}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM0 hj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM0 hjo"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.hhM1 hj"ubj)}(hhh]jX)}(h poll_tableh]h poll_table}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM1 hj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM1 hjo"ubeh}(h]h ]h"]h$]h&]uh1jhjS"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.hhM3 hjS"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.hhM3 hjS"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}(hjj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjf#hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hjx#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf#hhhjw#hM 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')}j sk_page_fragsbc.sk_page_fragasbuh1hhjf#hhhjw#hM ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf#hhhjw#hM ubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjf#hhhjw#hM ubj)}(h sk_page_fragh]j%)}(hj#h]h sk_page_frag}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjf#hhhjw#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$]j#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=uh1jhjf#hhhjw#hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjb#hhhjw#hM ubah}(h]j]#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjw#hM hj_#hhubjS)}(hhh]jX)}(hreturn an appropriate page_fragh]hreturn an appropriate page_frag}(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_#hhhjw#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}(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``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.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**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}(hjn%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj%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 hjj%hhhj|%hM ubj)}(h_sock_tx_timestamph]j%)}(h_sock_tx_timestamph]h_sock_tx_timestamp}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjj%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}(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._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%)}(hskh]hsk}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%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}(hj8&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hjE&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(h sockcm_cookieh]h sockcm_cookie}(hjV&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjX&modnameN classnameNjj!)}j$]j%c._sock_tx_timestampasbuh1hhj&ubj)}(h h]h }(hjt&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hsockch]hsockc}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(h__u8 *tx_flagsh](h)}(hhh]j%)}(h__u8h]h__u8}(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%)}(htx_flagsh]htx_flags}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%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}(hj9'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|%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)}(h8checks whether the outgoing packet is to be time stampedh]h8checks whether the outgoing packet is to be time stamped}(hjc'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&]uh1jRhjc%hhhj|%hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{'jxj{'jyjzj{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'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/``struct sock *sk`` socket sending this packet 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.hhM hj'ubj)}(hhh]jX)}(hsocket sending this packeth]hsocket sending this packet}(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]``const struct sockcm_cookie *sockc`` pointer to socket cmsg cookie to get timestamping info h](j)}(h%``const struct sockcm_cookie *sockc``h]j)}(hj'h]h!const struct sockcm_cookie *sockc}(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)}(h6pointer to socket cmsg cookie to get timestamping infoh]h6pointer to socket cmsg cookie to get timestamping info}(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)}(hA``__u8 *tx_flags`` completed with instructions for time stamping h](j)}(h``__u8 *tx_flags``h]j)}(hj(h]h__u8 *tx_flags}(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-completed with instructions for time stampingh]h-completed with instructions for time stamping}(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)}(hN``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) h](j)}(h``__u32 *tskey``h]j)}(hjO(h]h __u32 *tskey}(hjQ(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjI(ubj)}(hhh]jX)}(h)modnameN classnameNjj!)}j$]j')}jj)sb c.sk_eat_skbasbuh1hhj)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%)}(hskh]hsk}(hjw)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}(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$]jX) c.sk_eat_skbasbuh1hhj)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'Release a skb if it is no longer neededh]h'Release a skb if it is no longer needed}(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})}(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)}(hj3*h]h Parameters}(hj5*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1*ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj-*ubj)}(hhh](j)}(h0``struct sock *sk`` socket to eat this skb from h](j)}(h``struct sock *sk``h]j)}(hjR*h]hstruct sock *sk}(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.hhM hjL*ubj)}(hhh]jX)}(hsocket to eat this skb fromh]hsocket to eat this skb from}(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 hjI*ubj)}(h-``struct sk_buff *skb`` socket buffer to eat 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj*ubj)}(hhh]jX)}(hsocket buffer to eath]hsocket buffer to eat}(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 hjI*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.hhM hj-*ubjX)}(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.}(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](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}(hj +hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+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+hMubh)}(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')}jsock_alloc_filesbc.sock_alloc_fileasbuh1hhj+hhhj+hMubj)}(h h]h }(hjK+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj+hMubj;)}(hj>h]h*}(hjY+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+hhhj+hMubj)}(hsock_alloc_fileh]j%)}(hjH+h]hsock_alloc_file}(hjj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj+hMubj)}(h3(struct socket *sock, int flags, const char *dname)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$]jF+c.sock_alloc_fileasbuh1hhj+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 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=uh1jhj}+ubj)}(hconst char *dnameh](h)}(hjh]hconst}(hj*,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&,ubj)}(h h]h }(hj7,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&,ubj)}(hcharh]hchar}(hjE,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&,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%)}(hdnameh]hdname}(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+Bind a :c:type:`socket` to a :c:type:`file`h](hBind a }(hj,hhhNhNubh)}(h:c:type:`socket`h]j)}(hj,h]hsocket}(hj,hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jF+c.sock_alloc_fileasbjsocketuh1hhj+hMhj,ubh to a }(hj,hhhNhNubh)}(h:c:type:`file`h]j)}(hj,h]hfile}(hj,hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj,jfileuh1hhj+hMhj,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&]uh1jRhj+hhhj+hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhj[hNhNubj})}(hXg**Parameters** ``struct socket *sock`` socket ``int flags`` file status flags ``const char *dname`` protocol name 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)}(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}(hj9-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5-hMhj6-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj5-hMhj-ubj)}(h ``int flags`` file status flags h](j)}(h ``int flags``h]j)}(hjY-h]h int flags}(hj[-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW-ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjS-ubj)}(hhh]jX)}(hfile status flagsh]hfile status flags}(hjr-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjn-hMhjo-ubah}(h]h ]h"]h$]h&]uh1jhjS-ubeh}(h]h ]h"]h$]h&]uh1jhjn-hMhj-ubj)}(hX``const char *dname`` protocol name 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](j)}(h``const char *dname``h]j)}(hj-h]hconst char *dname}(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 protocol nameh]h protocol name}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj-ubjX)}(hvReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "".h](h Returns the }(hj-hhhNhNubh)}(h:c:type:`file`h]j)}(hj-h]hfile}(hj-hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjfileuh1hhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj-ubh bound with }(hj-hhhNhNubj)}(h**sock**h]hsock}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh3, implicitly storing it in sock->file. If dname is }(hj-hhhNhNubj)}(h``NULL``h]hNULL}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh, sets to “”.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj-hMhj-ubjX)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hj.hhhNhNubj)}(h**sock**h]hsock}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh- is released, and an ERR pointer is returned.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj-ubjX)}(h)This function uses GFP_KERNEL internally.h]h)This function uses GFP_KERNEL internally.}(hj1.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&]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](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}(hjr.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjn.hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn.hhhj.hMubh)}(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')}jsock_from_filesbc.sock_from_fileasbuh1hhjn.hhhj.hMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn.hhhj.hMubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjn.hhhj.hMubj)}(hsock_from_fileh]j%)}(hj.h]hsock_from_file}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjn.hhhj.hMubj)}(h(struct file *file)h]j)}(hstruct file *fileh](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.c.sock_from_fileasbuh1hhj.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%)}(hfileh]hfile}(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=uh1jhjn.hhhj.hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjj.hhhj.hMubah}(h]je.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMhjg.hhubjS)}(hhh]jX)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hjm/hhhNhNubh)}(h:c:type:`socket`h]j)}(hjw/h]hsocket}(hjy/hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhju/ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j.c.sock_from_fileasbjsocketuh1hhj+hMhjm/ubh bounded to }(hjm/hhhNhNubj)}(h**file**h]hfile}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm/ubh.}(hjm/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjj/hhubah}(h]h ]h"]h$]h&]uh1jRhjg.hhhj.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj[hNhNubj})}(hL**Parameters** ``struct file *file`` file On failure returns ``NULL``.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)}(h8``struct file *file`` file On failure returns ``NULL``.h](j)}(h``struct file *file``h]j)}(hj/h]hstruct file *file}(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)}(hfileh]hfile}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj/ubjX)}(hOn failure returns ``NULL``.h](hOn failure returns }(hj0hhhNhNubj)}(h``NULL``h]hNULL}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj/ubeh}(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](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}(hjc0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_0hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjq0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_0hhhjp0hMubh)}(hhh]j%)}(hsocketh]hsocket}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}j sockfd_lookupsbc.sockfd_lookupasbuh1hhj_0hhhjp0hMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_0hhhjp0hMubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_0hhhjp0hMubj)}(h sockfd_lookuph]j%)}(hj0h]h sockfd_lookup}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_0hhhjp0hMubj)}(h(int fd, int *err)h](j)}(hint fdh](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hfdh]hfd}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hint *errh](j)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj 1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj.1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(herrh]herr}(hj;1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj_0hhhjp0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[0hhhjp0hMubah}(h]jV0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjp0hMhjX0hhubjS)}(hhh]jX)}(h(Go from a file number to its socket sloth]h(Go from a file number to its socket slot}(hje1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjb1hhubah}(h]h ]h"]h$]h&]uh1jRhjX0hhhjp0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}1jxj}1jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int fd`` file handle ``int *err`` pointer to an error code return 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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj1ubj)}(hhh](j)}(h``int fd`` file handle h](j)}(h ``int fd``h]j)}(hj1h]hint fd}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj1ubj)}(hhh]jX)}(h file handleh]h file handle}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubj)}(hXm``int *err`` pointer to an error code return 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](j)}(h ``int *err``h]j)}(hj1h]hint *err}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj1ubj)}(hhh](jX)}(hpointer to an error code returnh]hpointer to an error code return}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj1ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj1ubjX)}(h3On a success the socket object pointer is returned.h]h3On a success the socket object pointer is returned.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(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}(hjW2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjS2hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMbubj)}(h h]h }(hje2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS2hhhjd2hMbubh)}(hhh]j%)}(hsocketh]hsocket}(hjv2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjx2modnameN classnameNjj!)}j$]j')}j sock_allocsb c.sock_allocasbuh1hhjS2hhhjd2hMbubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS2hhhjd2hMbubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjS2hhhjd2hMbubj)}(h sock_alloch]j%)}(hj2h]h sock_alloc}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjS2hhhjd2hMbubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubah}(h]h ]h"]h$]h&]j<j=uh1jhjS2hhhjd2hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjO2hhhjd2hMbubah}(h]jJ2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjd2hMbhjL2hhubjS)}(hhh]jX)}(hallocate a socketh]hallocate a socket}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMbhj2hhubah}(h]h ]h"]h$]h&]uh1jRhjL2hhhjd2hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{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)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMfhj3ubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hj<3h]hvoid}(hj>3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:3ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhj63ubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjU3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQ3hKhjR3ubah}(h]h ]h"]h$]h&]uh1jhj63ubeh}(h]h ]h"]h$]h&]uh1jhjQ3hKhj33ubah}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(h**Description**h]j)}(hjw3h]h Description}(hjy3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju3ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhj3ubj )}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMchj3ubah}(h]h ]h"]h$]h&]uh1j hj3hMchj3ubeh}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hMubj)}(h sock_releaseh]j%)}(h sock_releaseh]h sock_release}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hMubj)}(h(struct socket *sock)h]j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hsocketh]hsocket}(hj!4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#4modnameN classnameNjj!)}j$]j')}jj3sbc.sock_releaseasbuh1hhj3ubj)}(h h]h }(hjA4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjO4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hsockh]hsock}(hj\4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubah}(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)}(hclose a socketh]hclose a socket}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket to close 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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj4ubj)}(hhh]j)}(h``struct socket *sock`` socket to close 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](j)}(h``struct socket *sock``h]j)}(hj4h]hstruct socket *sock}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj4ubj)}(hhh](jX)}(hsocket to closeh]hsocket to close}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj4ubjX)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(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}(hj05hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,5hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj?5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,5hhhj>5hMubj)}(h sock_sendmsgh]j%)}(h sock_sendmsgh]h sock_sendmsg}(hjQ5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,5hhhj>5hMubj)}(h)(struct socket *sock, struct msghdr *msg)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjm5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhji5ubj)}(h h]h }(hjz5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji5ubh)}(hhh]j%)}(hsocketh]hsocket}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jjS5sbc.sock_sendmsgasbuh1hhji5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hji5ubj%)}(hsockh]hsock}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhje5ubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j5c.sock_sendmsgasbuh1hhj5ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hj)6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hmsgh]hmsg}(hj66hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhje5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,5hhhj>5hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(5hhhj>5hMubah}(h]j#5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>5hMhj%5hhubjS)}(hhh]jX)}(hsend a message through **sock**h](hsend a message through }(hj`6hhhNhNubj)}(h**sock**h]hsock}(hjh6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`6ubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]6hhubah}(h]h ]h"]h$]h&]uh1jRhj%5hhhj>5hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to send Sends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](jX)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj6ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj6h]hstruct socket *sock}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj6ubj)}(hhh]jX)}(hsocketh]hsocket}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubj)}(h``struct msghdr *msg`` message to send Sends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](j)}(h``struct msghdr *msg``h]j)}(hj6h]hstruct msghdr *msg}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj6ubj)}(hhh](jX)}(hmessage to sendh]hmessage to send}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj6ubjX)}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](hSends }(hj7hhhNhNubj)}(h**msg**h]hmsg}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh through }(hj7hhhNhNubj)}(h**sock**h]hsock}(hj*7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubeh}(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}(hjt7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp7hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp7hhhj7hMubj)}(hkernel_sendmsgh]j%)}(hkernel_sendmsgh]hkernel_sendmsg}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjp7hhhj7hMubj)}(hT(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hsocketh]hsocket}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jj7sbc.kernel_sendmsgasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hsockh]hsock}(hj 8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hj#8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj08hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjA8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjC8modnameN classnameNjj!)}j$]j7c.kernel_sendmsgasbuh1hhj8ubj)}(h h]h }(hj_8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjm8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hmsgh]hmsg}(hjz8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hkvech]hkvec}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j7c.kernel_sendmsgasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hvech]hvec}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(h size_t numh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j7c.kernel_sendmsgasbuh1hhj8ubj)}(h h]h }(hj$9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hnumh]hnum}(hj29hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjN9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjP9modnameN classnameNjj!)}j$]j7c.kernel_sendmsgasbuh1hhjG9ubj)}(h h]h }(hjl9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG9ubj%)}(hsizeh]hsize}(hjz9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjp7hhhj7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjl7hhhj7hMubah}(h]jg7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMhji7hhubjS)}(hhh]jX)}(h.send a message through **sock** (kernel-space)h](hsend a message through }(hj9hhhNhNubj)}(h**sock**h]hsock}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh (kernel-space)}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhji7hhhj7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj[hNhNubj})}(hXG**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 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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj9ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj9h]hstruct socket *sock}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj9ubj)}(hhh]jX)}(hsocketh]hsocket}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj :hMhj :ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj :hMhj9ubj)}(h&``struct msghdr *msg`` message header h](j)}(h``struct msghdr *msg``h]j)}(hj0:h]hstruct msghdr *msg}(hj2: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 headerh]hmessage header}(hjI:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjE:hMhjF:ubah}(h]h ]h"]h$]h&]uh1jhj*:ubeh}(h]h ]h"]h$]h&]uh1jhjE:hMhj9ubj)}(h ``struct kvec *vec`` kernel vec h](j)}(h``struct kvec *vec``h]j)}(hji:h]hstruct kvec *vec}(hjk:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg:ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjc:ubj)}(hhh]jX)}(h kernel vech]h kernel vec}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjc:ubeh}(h]h ]h"]h$]h&]uh1jhj~:hMhj9ubj)}(h ``size_t num`` vec array length h](j)}(h``size_t num``h]j)}(hj:h]h size_t num}(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)}(hvec array lengthh]hvec array length}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj9ubj)}(h``size_t size`` total message data size Builds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](j)}(h``size_t size``h]j)}(hj:h]h size_t size}(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)}(htotal message data sizeh]htotal message data size}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:ubjX)}(hwBuilds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](hBuilds the message data with }(hj;hhhNhNubj)}(h**vec**h]hvec}(hj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh and sends it through }(hj;hhhNhNubj)}(h**sock**h]hsock}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh5. Returns the number of bytes sent, or an error code.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_recvmsg (C function)c.sock_recvmsghNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEint sock_recvmsg (struct socket *sock, struct msghdr *msg, int flags)h]h)}(hDint sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags)h](j)}(hinth]hint}(hjg;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc;hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjv;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc;hhhju;hMubj)}(h sock_recvmsgh]j%)}(h sock_recvmsgh]h sock_recvmsg}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjc;hhhju;hMubj)}(h4(struct socket *sock, struct msghdr *msg, int flags)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_recvmsgasbuh1hhj;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}(hj4<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6<modnameN classnameNjj!)}j$]j;c.sock_recvmsgasbuh1hhj<ubj)}(h h]h }(hjR<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hj`<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hmsgh]hmsg}(hjm<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;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=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjc;hhhju;hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_;hhhju;hMubah}(h]jZ;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhju;hMhj\;hhubjS)}(hhh]jX)}(hreceive a message from **sock**h](hreceive a message from }(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&]uh1jRhj\;hhhju;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to receive ``int flags`` message flags Receives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, 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.chMhj=ubj)}(hhh]jX)}(hsocketh]hsocket}(hj4=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0=hMhj1=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj0=hMhj=ubj)}(h*``struct msghdr *msg`` message to receive h](j)}(h``struct msghdr *msg``h]j)}(hjT=h]hstruct msghdr *msg}(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.chMhjN=ubj)}(hhh]jX)}(hmessage to receiveh]hmessage to receive}(hjm=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhji=hMhjj=ubah}(h]h ]h"]h$]h&]uh1jhjN=ubeh}(h]h ]h"]h$]h&]uh1jhji=hMhj=ubj)}(h``int flags`` message flags Receives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](j)}(h ``int flags``h]j)}(hj=h]h int flags}(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 message flagsh]h message flags}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ubjX)}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](h Receives }(hj=hhhNhNubj)}(h**msg**h]hmsg}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh from }(hj=hhhNhNubj)}(h**sock**h]hsock}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubhO, passing through LSM. Returns the total number of bytes received, or an error.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj=hMhj=ubeh}(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](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}(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_recvmsgh]j%)}(hkernel_recvmsgh]hkernel_recvmsg}(hj:>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj'>hMubj)}(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}(hjV>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjR>ubj)}(h h]h }(hjc>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR>ubh)}(hhh]j%)}(hsocketh]hsocket}(hjt>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjq>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjv>modnameN classnameNjj!)}j$]j')}jj<>sbc.kernel_recvmsgasbuh1hhjR>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR>ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjR>ubj%)}(hsockh]hsock}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjN>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.kernel_recvmsgasbuh1hhj>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}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjN>ubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hj8?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4?ubj)}(h h]h }(hjE?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4?ubh)}(hhh]j%)}(hkvech]hkvec}(hjV?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjX?modnameN classnameNjj!)}j$]j>c.kernel_recvmsgasbuh1hhj4?ubj)}(h h]h }(hjt?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4?ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4?ubj%)}(hvech]hvec}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjN>ubj)}(h size_t numh](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.kernel_recvmsgasbuh1hhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hnumh]hnum}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjN>ubj)}(h size_t sizeh](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.kernel_recvmsgasbuh1hhj?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=uh1jhjN>ubj)}(h int flagsh](j)}(hinth]hint}(hj8@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4@ubj)}(h h]h }(hjF@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4@ubj%)}(hflagsh]hflags}(hjT@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjN>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.Receive a message from a socket (kernel space)h]h.Receive a message from a socket (kernel space)}(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})}(hXC**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...) 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)}(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`` The socket to receive the message from 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)}(h&The socket to receive the message fromh]h&The socket to receive the message 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)}(h(``struct msghdr *msg`` Received message 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)}(hReceived messageh]hReceived message}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj AhMhjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj AhMhj@ubj)}(h6``struct kvec *vec`` Input s/g array for message data h](j)}(h``struct kvec *vec``h]j)}(hj1Ah]hstruct kvec *vec}(hj3AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Aubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj+Aubj)}(hhh]jX)}(h Input s/g array for message datah]h Input s/g array for message data}(hjJAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFAhMhjGAubah}(h]h ]h"]h$]h&]uh1jhj+Aubeh}(h]h ]h"]h$]h&]uh1jhjFAhMhj@ubj)}(h'``size_t num`` Size of input s/g array h](j)}(h``size_t num``h]j)}(hjjAh]h size_t num}(hjlAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhAubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjdAubj)}(hhh]jX)}(hSize of input s/g arrayh]hSize of input s/g array}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjdAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj@ubj)}(h(``size_t size`` Number of bytes to read h](j)}(h``size_t size``h]j)}(hjAh]h size_t size}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjAubj)}(hhh]jX)}(hNumber of bytes to readh]hNumber of bytes to read}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj@ubj)}(hX.``int flags`` Message flags (MSG_DONTWAIT, etc...) 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](j)}(h ``int flags``h]j)}(hjAh]h int flags}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjAubj)}(hhh](jX)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjAubjX)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjAubjX)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjAubeh}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubeh}(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}(hjTBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPBhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM&ubj)}(h h]h }(hjcBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPBhhhjbBhM&ubj)}(hsock_create_liteh]j%)}(hsock_create_liteh]hsock_create_lite}(hjuBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPBhhhjbBhM&ubj)}(h9(int family, int type, int protocol, struct socket **res)h](j)}(h int familyh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hfamilyh]hfamily}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hint typeh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(htypeh]htype}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(h int protocolh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hj ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hprotocolh]hprotocol}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hj0ChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,Cubj)}(h h]h }(hj=ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Cubh)}(hhh]j%)}(hsocketh]hsocket}(hjNChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPCmodnameN classnameNjj!)}j$]j')}jjwBsbc.sock_create_liteasbuh1hhj,Cubj)}(h h]h }(hjnChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Cubj;)}(hj>h]h*}(hj|ChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,Cubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,Cubj%)}(hresh]hres}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,Cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPBhhhjbBhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLBhhhjbBhM&ubah}(h]jGBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbBhM&hjIBhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM&hjChhubah}(h]h ]h"]h$]h&]uh1jRhjIBhhhjbBhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{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 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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM*hjCubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjDh]h int family}(hjDhhhNhNubah}(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)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM'hjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhM'hjCubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hj:Dh]hint type}(hjh]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hneth]hnet}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h int familyh](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hfamilyh]hfamily}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hint typeh](j)}(hinth]hint}(hj/FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+Fubj)}(h h]h }(hj=FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+Fubj%)}(htypeh]htype}(hjKFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+Fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h int protocolh](j)}(hinth]hint}(hjdFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`Fubj)}(h h]h }(hjrFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`Fubj%)}(hprotocolh]hprotocol}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`Fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hsocketh]hsocket}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]jEc.__sock_createasbuh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hresh]hres}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hint kernh](j)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hj$GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hkernh]hkern}(hj2GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGEhhhjYEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjCEhhhjYEhMubah}(h]j>Eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYEhMhj@EhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hj\GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjYGhhubah}(h]h ]h"]h$]h&]uh1jRhj@EhhhjYEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtGjxjtGjyjzj{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 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)}(hj~Gh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Gubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjxGubj)}(hhh](j)}(h"``struct net *net`` net namespace h](j)}(h``struct net *net``h]j)}(hjGh]hstruct net *net}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjGubj)}(hhh]jX)}(h net namespaceh]h net namespace}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjGubj)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjGh]h int family}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjGubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjGubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjHh]hint type}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Hubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Hubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hj(HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$HhMhj%Hubah}(h]h ]h"]h$]h&]uh1jhj Hubeh}(h]h ]h"]h$]h&]uh1jhj$HhMhjGubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjHHh]h int protocol}(hjJHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFHubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjBHubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjaHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]HhMhj^Hubah}(h]h ]h"]h$]h&]uh1jhjBHubeh}(h]h ]h"]h$]h&]uh1jhj]HhMhjGubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjHh]hstruct socket **res}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj{Hubj)}(hhh]jX)}(h new socketh]h new socket}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhj{Hubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjGubj)}(hX``int kern`` boolean for kernel space sockets 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](j)}(h ``int kern``h]j)}(hjHh]hint kern}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjHubj)}(hhh](jX)}(h boolean for kernel space socketsh]h boolean for kernel space sockets}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjHubjX)}(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 }(hjHhhhNhNubj)}(h**res**h]hres}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh9, passing through LSM. Returns 0 or an error. On failure }(hjHhhhNhNubj)}(h**res**h]hres}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh is set to }(hjHhhhNhNubj)}(h``NULL``h]hNULL}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh. }(hjHhhhNhNubj)}(h**kern**h]hkern}(hj IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubhe must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjHubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjGubeh}(h]h ]h"]h$]h&]uh1jhjxGubeh}(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}(hjkIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgIhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM3ubj)}(h h]h }(hjzIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgIhhhjyIhM3ubj)}(h sock_createh]j%)}(h sock_createh]h sock_create}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjgIhhhjyIhM3ubj)}(h9(int family, int type, int protocol, struct socket **res)h](j)}(h int familyh](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(hfamilyh]hfamily}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hint typeh](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(htypeh]htype}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h int protocolh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hj JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hprotocolh]hprotocol}(hj.JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hjGJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCJubj)}(h h]h }(hjTJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCJubh)}(hhh]j%)}(hsocketh]hsocket}(hjeJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgJmodnameN classnameNjj!)}j$]j')}jjIsb c.sock_createasbuh1hhjCJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCJubj%)}(hresh]hres}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubeh}(h]h ]h"]h$]h&]j<j=uh1jhjgIhhhjyIhM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjcIhhhjyIhM3ubah}(h]j^Iah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyIhM3hj`IhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM3hjJhhubah}(h]h ]h"]h$]h&]uh1jRhj`IhhhjyIhM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{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 A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hjJubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjKh]h int family}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM4hjKubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hj1KhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-KhM4hj.Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj-KhM4hjKubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjQKh]hint type}(hjSKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM5hjKKubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfKhM5hjgKubah}(h]h ]h"]h$]h&]uh1jhjKKubeh}(h]h ]h"]h$]h&]uh1jhjfKhM5hjKubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjKh]h int protocol}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6hjKubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhM6hjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM6hjKubj)}(h``struct socket **res`` new socket A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](j)}(h``struct socket **res``h]j)}(hjKh]hstruct socket **res}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM9hjKubj)}(hhh](jX)}(h new socketh]h new socket}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hjKubjX)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhM9hjKubeh}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM9hjKubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(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+LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'LhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDubj)}(h h]h }(hj:LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Lhhhj9LhMDubj)}(hsock_create_kernh]j%)}(hsock_create_kernh]hsock_create_kern}(hjLLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'Lhhhj9LhMDubj)}(hJ(struct net *net, int family, int type, int protocol, struct socket **res)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdLubj)}(h h]h }(hjuLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdLubh)}(hhh]j%)}(hneth]hnet}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jjNLsbc.sock_create_kernasbuh1hhjdLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdLubj%)}(hneth]hnet}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Lubj)}(h int familyh](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hfamilyh]hfamily}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Lubj)}(hint typeh](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Mubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Mubj%)}(htypeh]htype}(hj+MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Lubj)}(h int protocolh](j)}(hinth]hint}(hjDMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@Mubj)}(h h]h }(hjRMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@Mubj%)}(hprotocolh]hprotocol}(hj`MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Lubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hjyMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuMubh)}(hhh]j%)}(hsocketh]hsocket}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jLc.sock_create_kernasbuh1hhjuMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuMubj%)}(hresh]hres}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`Lubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'Lhhhj9LhMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#Lhhhj9LhMDubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9LhMDhj LhhubjS)}(hhh]jX)}(hcreates a socket (kernel space)h]hcreates a socket (kernel space)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhjNhhubah}(h]h ]h"]h$]h&]uh1jRhj Lhhhj9LhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj[hNhNubj})}(hXN**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 A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(hj)Nh]h Parameters}(hj+NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Nubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhj#Nubj)}(hhh](j)}(h"``struct net *net`` net namespace h](j)}(h``struct net *net``h]j)}(hjHNh]hstruct net *net}(hjJNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFNubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjBNubj)}(hhh]jX)}(h net namespaceh]h net namespace}(hjaNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]NhMEhj^Nubah}(h]h ]h"]h$]h&]uh1jhjBNubeh}(h]h ]h"]h$]h&]uh1jhj]NhMEhj?Nubj)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjNh]h int family}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMFhj{Nubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMFhjNubah}(h]h ]h"]h$]h&]uh1jhj{Nubeh}(h]h ]h"]h$]h&]uh1jhjNhMFhj?Nubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjNh]hint type}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMGhjNubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMGhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMGhj?Nubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjNh]h int protocol}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMHhjNubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMHhj Oubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjOhMHhj?Nubj)}(h``struct socket **res`` new socket A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](j)}(h``struct socket **res``h]j)}(hj,Oh]hstruct socket **res}(hj.OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Oubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMKhj&Oubj)}(hhh](jX)}(h new socketh]h new socket}(hjEOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMIhjBOubjX)}(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.}(hjTOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAOhMKhjBOubeh}(h]h ]h"]h$]h&]uh1jhj&Oubeh}(h]h ]h"]h$]h&]uh1jhjAOhMKhj?Nubeh}(h]h ]h"]h$]h&]uh1jhj#Nubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_register (C function)c.sock_registerhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6int sock_register (const struct net_proto_family *ops)h]h)}(h5int sock_register(const struct net_proto_family *ops)h](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMi ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjOhMi ubj)}(h sock_registerh]j%)}(h sock_registerh]h sock_register}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjOhMi ubj)}(h$(const struct net_proto_family *ops)h]j)}(h"const struct net_proto_family *opsh](h)}(hjh]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hnet_proto_familyh]hnet_proto_family}(hj PhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj PmodnameN classnameNjj!)}j$]j')}jjOsbc.sock_registerasbuh1hhjOubj)}(h h]h }(hj*PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hj8PhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hopsh]hops}(hjEPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhjOhMi ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjOhMi ubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMi hjOhhubjS)}(hhh]jX)}(hadd a socket protocol handlerh]hadd a socket protocol handler}(hjoPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMi hjlPhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjOhMi ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhj[hNhNubj})}(hX.**Parameters** ``const struct net_proto_family *ops`` description of protocol 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)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMm hjPubj)}(hhh]j)}(hX``const struct net_proto_family *ops`` description of protocol 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](j)}(h&``const struct net_proto_family *ops``h]j)}(hjPh]h"const struct net_proto_family *ops}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMn hjPubj)}(hhh](jX)}(hdescription of protocolh]hdescription of protocol}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMj hjPubjX)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMl hjPubeh}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMn hjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hj(QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhj'QhM ubj)}(hsock_unregisterh]j%)}(hsock_unregisterh]hsock_unregister}(hj:QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Qubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhj'QhM ubj)}(h (int family)h]j)}(h int familyh](j)}(hinth]hint}(hjVQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRQubj)}(h h]h }(hjdQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRQubj%)}(hfamilyh]hfamily}(hjrQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNQubah}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhj'QhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhj'QhM ubah}(h]j Qah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'QhM hjQhhubjS)}(hhh]jX)}(hremove a protocol handlerh]hremove a protocol handler}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjQhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhj'QhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int family`` protocol family to remove 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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjQubj)}(hhh]j)}(hX``int family`` protocol family to remove 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](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.chM hjQubj)}(hhh](jX)}(hprotocol family to removeh]hprotocol family to remove}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjQubjX)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjQubjX)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjQubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(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}(hjURhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQRhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjdRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQRhhhjcRhM ubj)}(h kernel_bindh]j%)}(h kernel_bindh]h kernel_bind}(hjvRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrRubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQRhhhjcRhM ubj)}(h9(struct socket *sock, struct sockaddr *addr, int addrlen)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hsocketh]hsocket}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]j')}jjxRsb c.kernel_bindasbuh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hsockh]hsock}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hj"ShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$SmodnameN classnameNjj!)}j$]jR c.kernel_bindasbuh1hhjSubj)}(h h]h }(hj@ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjNShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(haddrh]haddr}(hj[ShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(h int addrlenh](j)}(hinth]hint}(hjtShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpSubj%)}(haddrlenh]haddrlen}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQRhhhjcRhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMRhhhjcRhM ubah}(h]jHRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjcRhM hjJRhhubjS)}(hhh]jX)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjShhubah}(h]h ]h"]h$]h&]uh1jRhjJRhhhjcRhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address ``int addrlen`` length of address Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjSubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjSh]hstruct socket *sock}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjSubj)}(hhh]jX)}(hsocketh]hsocket}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThM hjSubj)}(h"``struct sockaddr *addr`` address h](j)}(h``struct sockaddr *addr``h]j)}(hj4Th]hstruct sockaddr *addr}(hj6ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Tubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj.Tubj)}(hhh]jX)}(haddressh]haddress}(hjMThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIThM hjJTubah}(h]h ]h"]h$]h&]uh1jhj.Tubeh}(h]h ]h"]h$]h&]uh1jhjIThM hjSubj)}(h9``int addrlen`` length of address Returns 0 or an error.h](j)}(h``int addrlen``h]j)}(hjmTh]h int addrlen}(hjoThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkTubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjgTubj)}(hhh](jX)}(hlength of addressh]hlength of address}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjTubjX)}(hReturns 0 or an error.h]hReturns 0 or an error.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjTubeh}(h]h ]h"]h$]h&]uh1jhjgTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjSubeh}(h]h ]h"]h$]h&]uh1jhjSubeh}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjThM ubj)}(h kernel_listenh]j%)}(h kernel_listenh]h kernel_listen}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjThM ubj)}(h"(struct socket *sock, int backlog)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hj UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hsocketh]hsocket}(hj1UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.Uubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3UmodnameN classnameNjj!)}j$]j')}jjTsbc.kernel_listenasbuh1hhjUubj)}(h h]h }(hjQUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hj_UhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hsockh]hsock}(hjlUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Uubj)}(h int backlogh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(hbacklogh]hbacklog}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Uubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjThM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjThM ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThM hjThhubjS)}(hhh]jX)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjUhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjThM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj[hNhNubj})}(h|**Parameters** ``struct socket *sock`` socket ``int backlog`` pending connections queue size Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjUubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj Vh]hstruct socket *sock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Vubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjVubj)}(hhh]jX)}(hsocketh]hsocket}(hj%VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!VhM hj"Vubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhj!VhM hjVubj)}(hF``int backlog`` pending connections queue size Returns 0 or an error.h](j)}(h``int backlog``h]j)}(hjEVh]h int backlog}(hjGVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj?Vubj)}(hhh](jX)}(hpending connections queue sizeh]hpending connections queue size}(hj^VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj[VubjX)}(hReturns 0 or an error.h]hReturns 0 or an error.}(hjmVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj[Vubeh}(h]h ]h"]h$]h&]uh1jhj?Vubeh}(h]h ]h"]h$]h&]uh1jhjZVhM hjVubeh}(h]h ]h"]h$]h&]uh1jhjUubeh}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjVhM ubj)}(h kernel_accepth]j%)}(h kernel_accepth]h kernel_accept}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjVhM ubj)}(h9(struct socket *sock, struct socket **newsock, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hsocketh]hsocket}(hj WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj WmodnameN classnameNjj!)}j$]j')}jjVsbc.kernel_acceptasbuh1hhjVubj)}(h h]h }(hj)WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hj7WhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hsockh]hsock}(hjDWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(hstruct socket **newsockh](h)}(hjh]hstruct}(hj]WhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYWubj)}(h h]h }(hjjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYWubh)}(hhh]j%)}(hsocketh]hsocket}(hj{WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}WmodnameN classnameNjj!)}j$]j%Wc.kernel_acceptasbuh1hhjYWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYWubj%)}(hnewsockh]hnewsock}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h int flagsh](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hflagsh]hflags}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(h]h ]h"]h$]h&]j<j=uh1jhjVhhhjVhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjVhM ubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhM hjVhhubjS)}(hhh]jX)}(h"accept a connection (kernel space)h]h"accept a connection (kernel space)}(hj XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjXhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjVhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8Xjxj8Xjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` listening socket ``struct socket **newsock`` new connected socket ``int flags`` flags **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)}(hjBXh]h Parameters}(hjDXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Xubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjh]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hsockh]hsock}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hj*ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hj;ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8Zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=ZmodnameN classnameNjj!)}j$]jYc.kernel_connectasbuh1hhjZubj)}(h h]h }(hjYZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjgZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(haddrh]haddr}(hjtZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(h int addrlenh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(haddrlenh]haddrlen}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(h int flagsh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hflagsh]hflags}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjYhhhj|YhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfYhhhj|YhMubah}(h]jaYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|YhMhjcYhhubjS)}(hhh]jX)}(hconnect a socket (kernel space)h]hconnect a socket (kernel space)}(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&]uh1jRhjcYhhhj|YhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj [jxj [jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address ``int addrlen`` address length ``int flags`` flags (O_NONBLOCK, ...) 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)}(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``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjI[h]hstruct socket *sock}(hjK[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG[ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjC[ubj)}(hhh]jX)}(hsocketh]hsocket}(hjb[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^[hMhj_[ubah}(h]h ]h"]h$]h&]uh1jhjC[ubeh}(h]h ]h"]h$]h&]uh1jhj^[hMhj@[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.chMhj|[ubj)}(hhh]jX)}(haddressh]haddress}(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 addrlen`` address length 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.chMhj[ubj)}(hhh]jX)}(haddress lengthh]haddress length}(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``int flags`` flags (O_NONBLOCK, ...) 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](j)}(h ``int flags``h]j)}(hj[h]h int flags}(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)}(hflags (O_NONBLOCK, ...)h]hflags (O_NONBLOCK, ...)}(hj \hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj \ubjX)}(hFor 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](hFor datagram sockets, }(hj\hhhNhNubj)}(h**addr**h]haddr}(hj$\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh 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 }(hj\hhhNhNubj)}(h**addr**h]haddr}(hj6\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh. Returns 0 or an error code.}(hj\hhhNhNubeh}(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&]uh1jhj[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](hkernel_getsockname (C function)c.kernel_getsocknamehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hCint kernel_getsockname (struct socket *sock, struct sockaddr *addr)h]h)}(hBint kernel_getsockname(struct socket *sock, struct sockaddr *addr)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_getsocknameh]j%)}(hkernel_getsocknameh]hkernel_getsockname}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}\hhhj\hMubj)}(h,(struct socket *sock, struct sockaddr *addr)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_getsocknameasbuh1hhj\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 sockaddr *addrh](h)}(hjh]hstruct}(hj0]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,]ubj)}(h h]h }(hj=]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,]ubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjN]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjP]modnameN classnameNjj!)}j$]j\c.kernel_getsocknameasbuh1hhj,]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%)}(haddrh]haddr}(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=jDuh1hjEjFhjy\hhhj\hMubah}(h]jt\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMhjv\hhubjS)}(hhh]jX)}(h8get the address which the socket is bound (kernel space)h]h8get the address which the socket is bound (kernel space)}(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&]uh1jRhjv\hhhj\hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address holder 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)}(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``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 sockaddr *addr`` address holder 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](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)}(haddress holderh]haddress holder}(hjD^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjA^ubjX)}(hFills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h](h Fills the }(hjS^hhhNhNubj)}(h**addr**h]haddr}(hj[^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS^ubhq pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.}(hjS^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj@^hM"hjA^ubeh}(h]h ]h"]h$]h&]uh1jhj%^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](hkernel_getpeername (C function)c.kernel_getpeernamehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hCint kernel_getpeername (struct socket *sock, struct sockaddr *addr)h]h)}(hBint kernel_getpeername(struct socket *sock, struct sockaddr *addr)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)}(hkernel_getpeernameh]j%)}(hkernel_getpeernameh]hkernel_getpeername}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj^hM-ubj)}(h,(struct socket *sock, struct sockaddr *addr)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_getpeernameasbuh1hhj^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 sockaddr *addrh](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%)}(hsockaddrh]hsockaddr}(hjr_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjt_modnameN classnameNjj!)}j$]j_c.kernel_getpeernameasbuh1hhjP_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%)}(haddrh]haddr}(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^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)}(hh]h*}(hjRahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hsockh]hsock}(hj_ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(henum sock_shutdown_cmd howh](h)}(hhh]henum}(hjxahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtaubh)}(hhh]j%)}(hsock_shutdown_cmdh]hsock_shutdown_cmd}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j@ac.kernel_sock_shutdownasbuh1hhjtaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtaubj%)}(hhowh]hhow}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtaubeh}(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)}(h9shut down part of a full-duplex connection (kernel space)h]h9shut down part of a full-duplex connection (kernel space)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM<hjahhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhj`hM<ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhj[hNhNubj})}(h|**Parameters** ``struct socket *sock`` socket ``enum sock_shutdown_cmd how`` connection part Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj bubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@hjbubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj-bh]hstruct socket *sock}(hj/bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+bubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM=hj'bubj)}(hhh]jX)}(hsocketh]hsocket}(hjFbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBbhM=hjCbubah}(h]h ]h"]h$]h&]uh1jhj'bubeh}(h]h ]h"]h$]h&]uh1jhjBbhM=hj$bubj)}(hF``enum sock_shutdown_cmd how`` connection part Returns 0 or an error.h](j)}(h``enum sock_shutdown_cmd how``h]j)}(hjfbh]henum sock_shutdown_cmd how}(hjhbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdbubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM?hj`bubj)}(hhh](jX)}(hconnection parth]hconnection part}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM>hj|bubjX)}(hReturns 0 or an error.h]hReturns 0 or an error.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@hj|bubeh}(h]h ]h"]h$]h&]uh1jhj`bubeh}(h]h ]h"]h$]h&]uh1jhj{bhM?hj$bubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(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}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jkernel_sock_ip_overheadsbc.kernel_sock_ip_overheadasbuh1hhjbhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMJubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhMJubj)}(hkernel_sock_ip_overheadh]j%)}(hjbh]hkernel_sock_ip_overhead}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjbhMJubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj!chhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hj.chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hsockh]hsock}(hj?chhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjkchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hskh]hsk}(hjxchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubah}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjbhMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhMJubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMJhjbhhubjS)}(hhh]jX)}(h+returns the IP overhead imposed by a socketh]h+returns the IP overhead imposed by a socket}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMJhjchhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj[hNhNubj})}(hX9**Parameters** ``struct sock *sk`` socket 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)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMNhjcubj)}(hhh]j)}(hX``struct sock *sk`` socket 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](j)}(h``struct sock *sk``h]j)}(hjch]hstruct sock *sk}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMOhjcubj)}(hhh](jX)}(hsocketh]hsocket}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMKhjcubjX)}(hXThis 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]hXThis 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.}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMMhjcubeh}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMOhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)drop_reasons_register_subsys (C function)c.drop_reasons_register_subsyshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hkvoid drop_reasons_register_subsys (enum skb_drop_reason_subsys subsys, const struct drop_reason_list *list)h]h)}(hjvoid drop_reasons_register_subsys(enum skb_drop_reason_subsys subsys, const struct drop_reason_list *list)h](j)}(hvoidh]hvoid}(hjLdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHdhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKubj)}(h h]h }(hj[dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHdhhhjZdhKubj)}(hdrop_reasons_register_subsysh]j%)}(hdrop_reasons_register_subsysh]hdrop_reasons_register_subsys}(hjmdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjidubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHdhhhjZdhKubj)}(hI(enum skb_drop_reason_subsys subsys, const struct drop_reason_list *list)h](j)}(h"enum skb_drop_reason_subsys subsysh](h)}(hhh]henum}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hskb_drop_reason_subsysh]hskb_drop_reason_subsys}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jjodsbc.drop_reasons_register_subsysasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hsubsysh]hsubsys}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(h#const struct drop_reason_list *listh](h)}(hjh]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hjh]hstruct}(hj ehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hdrop_reason_listh]hdrop_reason_list}(hj'ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)emodnameN classnameNjj!)}j$]jdc.drop_reasons_register_subsysasbuh1hhjdubj)}(h h]h }(hjEehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjSehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hlisth]hlist}(hj`ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHdhhhjZdhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDdhhhjZdhKubah}(h]j?dah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZdhKhjAdhhubjS)}(hhh]jX)}(h®ister another drop reason subsystemh]h®ister another drop reason subsystem}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjehhubah}(h]h ]h"]h$]h&]uh1jRhjAdhhhjZdhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjeubj)}(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)}(hjeh]h"enum skb_drop_reason_subsys subsys}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjeubj)}(hhh]jX)}(h/the subsystem to register, must not be the coreh]h/the subsystem to register, must not be the core}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehKhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehKhjeubj)}(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)}(hjfh]h#const struct drop_reason_list *list}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjeubj)}(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}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhKhjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjeubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(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}(hj]fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYfhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKubj)}(h h]h }(hjlfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYfhhhjkfhKubj)}(hdrop_reasons_unregister_subsysh]j%)}(hdrop_reasons_unregister_subsysh]hdrop_reasons_unregister_subsys}(hj~fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYfhhhjkfhKubj)}(h$(enum skb_drop_reason_subsys subsys)h]j)}(h"enum skb_drop_reason_subsys subsysh](h)}(hhh]henum}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hskb_drop_reason_subsysh]hskb_drop_reason_subsys}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jjfsb c.drop_reasons_unregister_subsysasbuh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj%)}(hsubsysh]hsubsys}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubah}(h]h ]h"]h$]h&]j<j=uh1jhjYfhhhjkfhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUfhhhjkfhKubah}(h]jPfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkfhKhjRfhhubjS)}(hhh]jX)}(h"unregister a drop reason subsystemh]h"unregister a drop reason subsystem}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj ghhubah}(h]h ]h"]h$]h&]uh1jRhjRfhhhjkfhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(gjxj(gjyjzj{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)}(hj2gh]h Parameters}(hj4ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0gubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj,gubj)}(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)}(hjQgh]h"enum skb_drop_reason_subsys subsys}(hjSghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOgubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjKgubj)}(hhh]jX)}(h-the subsystem to remove, must not be the coreh]h-the subsystem to remove, must not be the core}(hjjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfghKhjggubah}(h]h ]h"]h$]h&]uh1jhjKgubeh}(h]h ]h"]h$]h&]uh1jhjfghKhjHgubah}(h]h ]h"]h$]h&]uh1jhj,gubjX)}(h**Note**h]j)}(hjgh]hNote}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj,gubjX)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj,gubeh}(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}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jnapi_skb_cache_get_bulksbc.napi_skb_cache_get_bulkasbuh1hhjghhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjghM-ubj)}(hnapi_skb_cache_get_bulkh]j%)}(hjgh]hnapi_skb_cache_get_bulk}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjghM-ubj)}(h(void **skbs, u32 n)h](j)}(h void **skbsh](j)}(hvoidh]hvoid}(hj#hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hj1hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hj?hhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj;)}(hj>h]h*}(hjLhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hskbsh]hskbs}(hjYhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(hu32 nh](h)}(hhh]j%)}(hu32h]hu32}(hjuhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwhmodnameN classnameNjj!)}j$]jgc.napi_skb_cache_get_bulkasbuh1hhjnhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhubj%)}(hj0h]hn}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubeh}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjghM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhjghM-ubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghM-hjghhubjS)}(hhh]jX)}(h2obtain a number of zeroed skb heads from the cacheh]h2obtain a number of zeroed skb heads from the cache}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjhhhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjghM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjhubj)}(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)}(hj ih]h void **skbs}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hjiubj)}(hhh]jX)}(hBpointer to an at least **n**-sized array to fill with skb pointersh](hpointer to an at least }(hj$ihhhNhNubj)}(h**n**h]hn}(hj,ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$iubh&-sized array to fill with skb pointers}(hj$ihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj ihM.hj!iubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj ihM.hjiubj)}(h'``u32 n`` number of entries to provide h](j)}(h ``u32 n``h]j)}(hjVih]hu32 n}(hjXihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjPiubj)}(hhh]jX)}(hnumber of entries to provideh]hnumber of entries to provide}(hjoihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkihM/hjliubah}(h]h ]h"]h$]h&]uh1jhjPiubeh}(h]h ]h"]h$]h&]uh1jhjkihM/hjiubeh}(h]h ]h"]h$]h&]uh1jhjhubjX)}(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:26: ./net/core/skbuff.chM1hjhubjX)}(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 }(hjihhhNhNubj)}(h**n**h]hn}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh }(hjihhhNhNubh)}(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_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjiubhT entries from the NAPI percpu cache and writes the pointers into the provided array }(hjihhhNhNubj)}(h**skbs**h]hskbs}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh. 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 }(hjihhhNhNubj)}(h``__GFP_ZERO``h]h __GFP_ZERO}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubhk, so they are ready for {,__}build_skb_around() and don’t have any data buffers attached. Must be called }(hjihhhNhNubhemphasis)}(h*only*h]honly}(hj jhhhNhNubah}(h]h ]h"]h$]h&]uh1j jhjiubh from the BH context.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjihM1hjhubjX)}(h **Return**h]j)}(hj%jh]hReturn}(hj'jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#jubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hjhubj)}(hhh]j)}(htnumber of successfully allocated skbs (**n** if no actual allocation needed or kmem_cache_alloc_bulk() didn't fail).h](j)}(hDnumber of successfully allocated skbs (**n** if no actual allocationh](h'number of successfully allocated skbs (}(hjBjhhhNhNubj)}(h**n**h]hn}(hjJjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBjubh if no actual allocation}(hjBjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hj>jubj)}(hhh]jX)}(h/needed or kmem_cache_alloc_bulk() didn't fail).h]h1needed or kmem_cache_alloc_bulk() didn’t fail).}(hjfjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjcjubah}(h]h ]h"]h$]h&]uh1jhj>jubeh}(h]h ]h"]h$]h&]uh1jhjbjhM9hj;jubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhjjhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jbuild_skb_aroundsbc.build_skb_aroundasbuh1hhjjhhhjjhMubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhjjhMubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjhhhjjhMubj)}(hbuild_skb_aroundh]j%)}(hjjh]hbuild_skb_around}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhjjhMubj)}(h9(struct sk_buff *skb, void *data, unsigned int frag_size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj!khhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj.khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj?khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjkkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hskbh]hskb}(hjxkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h void *datah](j)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hdatah]hdata}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hunsigned int frag_sizeh](j)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(hinth]hint}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(h frag_sizeh]h frag_size}(hj lhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhjjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjjhMubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMhjjhhubjS)}(hhh]jX)}(h*build a network buffer around provided skbh]h*build a network buffer around provided skb}(hj5lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2lhhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMljxjMljyjzj{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)}(hjWlh]h Parameters}(hjYlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUlubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjQlubj)}(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)}(hjvlh]hstruct sk_buff *skb}(hjxlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjplubj)}(hhh]jX)}(h1sk_buff provide by caller, must be memset clearedh]h1sk_buff provide by caller, must be memset cleared}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjplubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjmlubj)}(h.``void *data`` data buffer provided by caller h](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:26: ./net/core/skbuff.chMhjlubj)}(hhh]jX)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjmlubj)}(h'``unsigned int frag_size`` size of datah](j)}(h``unsigned int frag_size``h]j)}(hjlh]hunsigned int frag_size}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubj)}(hhh]jX)}(h size of datah]h size of data}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjmlubeh}(h]h ]h"]h$]h&]uh1jhjQlubeh}(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}(hjBmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>mhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(h&jPmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>mhhhjOmhMubh)}(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')}jnapi_build_skbsbc.napi_build_skbasbuh1hhj>mhhhjOmhMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>mhhhjOmhMubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>mhhhjOmhMubj)}(hnapi_build_skbh]j%)}(hjmh]hnapi_build_skb}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>mhhhjOmhMubj)}(h$(void *data, unsigned int frag_size)h](j)}(h void *datah](j)}(hvoidh]hvoid}(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%)}(hdatah]hdata}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hunsigned int frag_sizeh](j)}(hunsignedh]hunsigned}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hj nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(hinth]hint}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hj(nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(h frag_sizeh]h frag_size}(hj6nhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>mhhhjOmhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:mhhhjOmhMubah}(h]j5mah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOmhMhj7mhhubjS)}(hhh]jX)}(hbuild a network bufferh]hbuild a network buffer}(hj`nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj]nhhubah}(h]h ]h"]h$]h&]uh1jRhj7mhhhjOmhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxnjxjxnjyjzj{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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj|nubj)}(hhh](j)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjnh]h void *data}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjnubj)}(hhh]jX)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnubj)}(h(``unsigned int frag_size`` size of data h](j)}(h``unsigned int frag_size``h]j)}(hjnh]hunsigned int frag_size}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjnubj)}(hhh]jX)}(h size of datah]h size of data}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnubeh}(h]h ]h"]h$]h&]uh1jhj|nubjX)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj|nubjX)}(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.}(hj+ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj|nubjX)}(hKReturns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](hReturns a new }(hj:ohhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjDoh]hsk_buff}(hjFohhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjBoubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM#hj:oubh on success, }(hj:ohhhNhNubj)}(h``NULL``h]hNULL}(hjfohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:oubh on allocation failure.}(hj:ohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjaohM#hj|nubeh}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjohMqubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}j __alloc_skbsb c.__alloc_skbasbuh1hhjohhhjohMqubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjohMqubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjohhhjohMqubj)}(h __alloc_skbh]j%)}(hjoh]h __alloc_skb}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjohMqubj)}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hj&phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(hinth]hint}(hj4phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjBphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hsizeh]hsize}(hjPphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjlphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjipubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnpmodnameN classnameNjj!)}j$]jo c.__alloc_skbasbuh1hhjepubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjepubj%)}(hgfp_maskh]hgfp_mask}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjepubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(h int flagsh](j)}(hinth]hint}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hflagsh]hflags}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hint nodeh](j)}(hinth]hint}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hnodeh]hnode}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjohMqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjohMqubah}(h]joah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohMqhjohhubjS)}(hhh]jX)}(hallocate a network bufferh]hallocate a network buffer}(hj,qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhj)qhhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjohMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDqjxjDqjyjzj{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 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)}(hjNqh]h Parameters}(hjPqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuhjHqubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hjmqh]hunsigned int size}(hjoqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjgqubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMrhjqubah}(h]h ]h"]h$]h&]uh1jhjgqubeh}(h]h ]h"]h$]h&]uh1jhjqhMrhjdqubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hjqh]hgfp_t gfp_mask}(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.chMshjqubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMshjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMshjdqubj)}(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)}(hjqh]h int flags}(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.chMwhjqubj)}(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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMthjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMwhjdqubj)}(hXZ``int node`` numa node to allocate memory on 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](j)}(h ``int node``h]j)}(hjrh]hint node}(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.chM~hjrubj)}(hhh](jX)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hj2rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhj/rubjX)}(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 }(hjArhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjKrh]hsk_buff}(hjMrhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjIrubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMzhjArubh. 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 }(hjArhhhNhNubj)}(h``NULL``h]hNULL}(hjmrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubh.}(hjArhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhrhMzhj/rubjX)}(hUBuffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](h6Buffers may only be allocated from interrupts using a }(hjrhhhNhNubj)}(h **gfp_mask**h]hgfp_mask}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh of }(hjrhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj.rhM~hj/rubeh}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj.rhM~hjdqubeh}(h]h ]h"]h$]h&]uh1jhjHqubeh}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjrhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj smodnameN classnameNjj!)}j$]j')}j__netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhjrhhhjrhMubj)}(h h]h }(hj)shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjrhMubj;)}(hj>h]h*}(hj7shhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrhhhjrhMubj)}(h__netdev_alloc_skbh]j%)}(hj&sh]h__netdev_alloc_skb}(hjHshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjrhMubj)}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjcshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_subj)}(h h]h }(hjpshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_subh)}(hhh]j%)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~subah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j$sc.__netdev_alloc_skbasbuh1hhj_subj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_subj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_subj%)}(hdevh]hdev}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[subj)}(hunsigned int lenh](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%)}(hlenh]hlen}(hj thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[subj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj'thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)tmodnameN classnameNjj!)}j$]j$sc.__netdev_alloc_skbasbuh1hhj tubj)}(h h]h }(hjEthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj tubj%)}(hgfp_maskh]hgfp_mask}(hjSthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj tubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[subeh}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjrhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjrhMubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMhjrhhubjS)}(hhh]jX)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hj}thhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzthhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjrhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{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 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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjtubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjth]hstruct net_device *dev}(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.chMhjtubj)}(hhh]jX)}(hnetwork device to receive onh]hnetwork device to receive on}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjtubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hjth]hunsigned int len}(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.chMhjtubj)}(hhh]jX)}(hlength to allocateh]hlength to allocate}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj uhMhj uubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj uhMhjtubj)}(hXr``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb 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](j)}(h``gfp_t gfp_mask``h]j)}(hj0uh]hgfp_t gfp_mask}(hj2uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.uubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*uubj)}(hhh](jX)}(h(get_free_pages mask, passed to alloc_skbh]h(get_free_pages mask, passed to alloc_skb}(hjIuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjFuubjX)}(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 }(hjXuhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjbuh]hsk_buff}(hjduhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj`uubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjXuubh 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.}(hjXuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjuhMhjFuubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh( is returned if there is no free memory.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjFuubeh}(h]h ]h"]h$]h&]uh1jhj*uubeh}(h]h ]h"]h$]h&]uh1jhjEuhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjuhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jnapi_alloc_skbsbc.napi_alloc_skbasbuh1hhjuhhhjuhMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjuhMubj;)}(hj>h]h*}(hj'vhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuhhhjuhMubj)}(hnapi_alloc_skbh]j%)}(hjvh]hnapi_alloc_skb}(hj8vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjuhMubj)}(h,(struct napi_struct *napi, unsigned int len)h](j)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjSvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOvubj)}(h h]h }(hj`vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOvubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjqvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsvmodnameN classnameNjj!)}j$]jvc.napi_alloc_skbasbuh1hhjOvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOvubj%)}(hnapih]hnapi}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKvubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hlenh]hlen}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKvubeh}(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)}(h2allocate skbuff for rx in a specific NAPI instanceh]h2allocate skbuff for rx in a specific NAPI instance}(hj%whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj"whhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjuhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=wjxj=wjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct napi_struct *napi`` napi instance this buffer was allocated for ``unsigned int len`` length to allocate 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)}(hjGwh]h Parameters}(hjIwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAwubj)}(hhh](j)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for h](j)}(h``struct napi_struct *napi``h]j)}(hjfwh]hstruct napi_struct *napi}(hjhwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj`wubj)}(hhh]jX)}(h+napi instance this buffer was allocated forh]h+napi instance this buffer was allocated for}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{whMhj|wubah}(h]h ]h"]h$]h&]uh1jhj`wubeh}(h]h ]h"]h$]h&]uh1jhj{whMhj]wubj)}(hXZ``unsigned int len`` length to allocate 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](j)}(h``unsigned int len``h]j)}(hjwh]hunsigned int len}(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)}(hlength to allocateh]hlength to allocate}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubjX)}(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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh( is returned if there is no free memory.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj]wubeh}(h]h ]h"]h$]h&]uh1jhjAwubeh}(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%xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!xhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj4xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!xhhhj3xhMubj)}(h __kfree_skbh]j%)}(h __kfree_skbh]h __kfree_skb}(hjFxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!xhhhj3xhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjbxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^xubj)}(h h]h }(hjoxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^xubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}xubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jjHxsb c.__kfree_skbasbuh1hhj^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%)}(hskbh]hskb}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^xubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZxubah}(h]h ]h"]h$]h&]j<j=uh1jhj!xhhhj3xhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhj3xhMubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3xhMhjxhhubjS)}(hhh]jX)}(hprivate functionh]hprivate function}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhj3xhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer 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)}(hjyh]h Parameters}(hj yhhhNhNubah}(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``struct sk_buff *skb`` buffer 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](j)}(h``struct sk_buff *skb``h]j)}(hj&yh]hstruct sk_buff *skb}(hj(yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$yubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj yubj)}(hhh](jX)}(hbufferh]hbuffer}(hj?yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjh]h*}(hj*zhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hskh]hsk}(hj7zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjPzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLzubj)}(h h]h }(hj]zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLzubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjnzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpzmodnameN classnameNjj!)}j$]jzc.sk_skb_reason_dropasbuh1hhjLzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLzubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLzubj%)}(hskbh]hskb}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jzc.sk_skb_reason_dropasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj%)}(hreasonh]hreason}(hj {hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(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)}(h#free an sk_buff with special reasonh]h#free an sk_buff with special reason}(hj4{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1{hhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjyhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjL{jxjL{jyjzj{uh1hhhhj[hNhNubj})}(hXm**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 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)}(hjV{h]h Parameters}(hjX{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT{ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjP{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)}(hju{h]hstruct sock *sk}(hjw{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjo{ubj)}(hhh]jX)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hj{hhhNhNubj)}(h**skb**h]hskb}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh, or NULL if not applicable}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj{hMhj{ubah}(h]h ]h"]h$]h&]uh1jhjo{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjl{ubj)}(h'``struct sk_buff *skb`` buffer to free 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)}(hbuffer to freeh]hbuffer to free}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjl{ubj)}(h``enum skb_drop_reason reason`` reason why this skb is dropped 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](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}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj|ubjX)}(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|ubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjl{ubeh}(h]h ]h"]h$]h&]uh1jhjP{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}(hjb|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^|hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMXubj)}(h h]h }(hjq|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^|hhhjp|hMXubj)}(h skb_tx_errorh]j%)}(h skb_tx_errorh]h skb_tx_error}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^|hhhjp|hMXubj)}(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}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jj|sbc.skb_tx_errorasbuh1hhj|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=uh1jhj^|hhhjp|hMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZ|hhhjp|hMXubah}(h]jU|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjp|hMXhjW|hhubjS)}(hhh]jX)}(hreport an sk_buff xmit errorh]hreport an sk_buff xmit error}(hj"}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMXhj}hhubah}(h]h ]h"]h$]h&]uh1jRhjW|hhhjp|hMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:}jxj:}jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer that triggered an error Report xmit error if a device callback is tracking this skb. skb must be freed afterwards.h](jX)}(h**Parameters**h]j)}(hjD}h]h Parameters}(hjF}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB}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 that triggered an error Report xmit error if a device callback is tracking this skb. skb must be freed afterwards.h](j)}(h``struct sk_buff *skb``h]j)}(hjc}h]hstruct sk_buff *skb}(hje}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[hj]}ubj)}(hhh](jX)}(hbuffer that triggered an errorh]hbuffer that triggered an error}(hj|}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMYhjy}ubjX)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjx}hM[hjy}ubeh}(h]h ]h"]h$]h&]uh1jhj]}ubeh}(h]h ]h"]h$]h&]uh1jhjx}hM[hjZ}ubah}(h]h ]h"]h$]h&]uh1jhj>}ubeh}(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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMiubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj}hMiubj)}(h consume_skbh]j%)}(h consume_skbh]h consume_skb}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj}hMiubj)}(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}(hj&~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(~modnameN classnameNjj!)}j$]j')}jj}sb c.consume_skbasbuh1hhj~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%)}(hskbh]hskb}(hja~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}hMiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhj}hMiubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hMihj}hhubjS)}(hhh]jX)}(hfree an skbuffh]hfree an skbuff}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihj~hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj}hMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to free 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.chMmhj~ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer to free 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](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.chMmhj~ubj)}(hhh](jX)}(hbuffer to freeh]hbuffer to free}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMjhj~ubjX)}(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.chMlhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMmhj~ubah}(h]h ]h"]h$]h&]uh1jhj~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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhjBhM'ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jalloc_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhj1hhhjBhM'ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhjBhM'ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1hhhjBhM'ubj)}(halloc_skb_for_msgh]j%)}(hjrh]halloc_skb_for_msg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhjBhM'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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jpc.alloc_skb_for_msgasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfirsth]hfirst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhjBhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhjBhM'ubah}(h]j(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhM'hj*hhubjS)}(hhh]jX)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hj0hhhNhNubah}(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*hhhjBhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhj[hNhNubj})}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(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.chM+hjLubj)}(hhh]j)}(h2``struct sk_buff *first`` first sk_buff of the msgh](j)}(h``struct sk_buff *first``h]j)}(hjqh]hstruct sk_buff *first}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjkubj)}(hhh]jX)}(hfirst sk_buff of the msgh]hfirst sk_buff of the msg}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(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&]uh1hhjǀ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@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')}j skb_morphsb c.skb_morphasbuh1hhjǀhhhj؀hM@ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjǀhhhj؀hM@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjǀhhhj؀hM@ubj)}(h skb_morphh]j%)}(hjh]h skb_morph}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjǀhhhj؀hM@ubj)}(h*(struct sk_buff *dst, struct sk_buff *src)h](j)}(hstruct sk_buff *dsth](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(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 c.skb_morphasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(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 }(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 c.skb_morphasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=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]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj؀hM@hjhhubjS)}(hhh]jX)}(hmorph one skb into anotherh]hmorph one skb into another}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hj3hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj؀hM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *dst`` the skb to receive the contents ``struct sk_buff *src`` the skb to supply the contents 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)}(hjXh]h Parameters}(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.chMDhjRubj)}(hhh](j)}(h8``struct sk_buff *dst`` the skb to receive the contents h](j)}(h``struct sk_buff *dst``h]j)}(hjwh]hstruct sk_buff *dst}(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.chMAhjqubj)}(hhh]jX)}(hthe skb to receive the contentsh]hthe skb to receive the contents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjnubj)}(h``struct sk_buff *src`` the skb to supply the contents This is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.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.chMFhjubj)}(hhh](jX)}(hthe skb to supply the contentsh]hthe skb to supply the contents}(hjɂhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhjƂubjX)}(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.}(hj؂hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhjƂubjX)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMGhjƂubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjłhMFhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubeh}(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}(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 }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj6hM}ubj)}(hskb_copy_ubufsh]j%)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$hhhj6hM}ubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(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_copy_ubufsasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]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$]jc.skb_copy_ubufsasbuh1hhjӃ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=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj$hhhj6hM}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj6hM}ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hM}hjhhubjS)}(hhh]jX)}(h*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(hj0hhhNhNubah}(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&]uh1jRhjhhhj6hM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to modify ``gfp_t gfp_mask`` allocation priority 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)}(hjRh]h Parameters}(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.chMhjLubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjqh]hstruct sk_buff *skb}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjkubj)}(hhh]jX)}(hthe skb to modifyh]hthe skb to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjhubj)}(hX]``gfp_t gfp_mask`` allocation priority 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](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)}(hallocation priorityh]hallocation priority}(hjÄhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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.chMhjubjX)}(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}(hjhhhNhNubah}(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.chMhjubjX)}(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&]uh1jWhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(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}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjOhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}j skb_clonesb c.skb_cloneasbuh1hhj>hhhjOhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjOhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>hhhjOhMubj)}(h skb_cloneh]j%)}(hjh]h skb_clone}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjOhMubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)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} c.skb_cloneasbuh1hhjubj)}(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}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j} c.skb_cloneasbuh1hhj(ubj)}(h h]h }(hjMhhhNhNubah}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhjOhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhjOhMubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMhj7hhubjS)}(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&]uh1jRhj7hhhjOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to clone ``gfp_t gfp_mask`` allocation priority 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)}(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 clone 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 cloneh]hbuffer to clone}(hj߆hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjۆhMhj܆ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۆhMhjubj)}(hX``gfp_t gfp_mask`` allocation priority 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](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)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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)}(hj1h]hsk_buff}(hj3hhhNhNubah}(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}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh& otherwise the new buffer is returned.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjNhMhjubjX)}(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 }(hjkhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(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_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}(hjhhhNhNubah}(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 reftargetjއmodnameN classnameNjj!)}j$]j')}jskb_copysb c.skb_copyasbuh1hhjhhhjʇhM/ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjʇhM/ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjʇhM/ubj)}(hskb_copyh]j%)}(hjh]hskb_copy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjʇhM/ubj)}(h+(const struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhj3ubj)}(h h]h }(hjhhhNhNubah}(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/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 reftargetjLjmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhjubj)}(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=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!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&]uh1jRhjhhhjʇhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``gfp_t gfp_mask`` allocation priority 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)}(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.chM3hj7ubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hjVubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhM0hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM0hjSubj)}(hX``gfp_t gfp_mask`` allocation priority 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](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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjubjX)}(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)}(hjljh]hsk_buff}(hjɉhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjʼnubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3hjubh} 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&]uh1jWhjhM3hjubjX)}(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 }(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.chM8hjubh to linear one, so that }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj/h]hsk_buff}(hj1hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhj(hM8hjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj(hM8hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubeh}(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}(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')}j__pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjhhhjhM_ubj)}(h h]h }(hjȊhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM_ubj;)}(hj>h]h*}(hj֊hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM_ubj)}(h__pskb_copy_fcloneh]j%)}(hjŊh]h__pskb_copy_fclone}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM_ubj)}(h@(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)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Êc.__pskb_copy_fcloneasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int headroomh](j)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(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_copy_fcloneasbuh1hhjubj)}(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=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=uh1jhjhhhjhM_ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM_ubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM_hj}hhubjS)}(hhh]jX)}(h,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private head.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_hj1hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhM_ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{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 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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMchjPubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hjuh]hstruct sk_buff *skb}(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.chM`hjoubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjlubj)}(h%``int headroom`` headroom of new skb h](j)}(h``int headroom``h]j)}(hjh]h int headroom}(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)}(hheadroom of new skbh]hheadroom of new skb}(hjnjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjÌhMahjČubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÌhMahjlubj)}(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.chMbhjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjlubj)}(hX#``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 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](j)}(h``bool fclone``h]j)}(hj h]h bool fclone}(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.chMkhjubj)}(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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMchj6ubjX)}(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 }(hjHhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjRh]hsk_buff}(hjThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMghjHubh and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(hjHhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjvh]hsk_buff}(hjxhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjohMghjHubh8 and needs private copy of the header to alter. Returns }(hjHhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjohMghj6ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMkhjlubeh}(h]h ]h"]h$]h&]uh1jhjPubeh}(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}(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)}(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ݍhhhjhMubj)}(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 }(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.pskb_expand_headasbuh1hhjubj)}(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=uh1jhjubj)}(h int nheadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnheadh]hnhead}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int ntailh](j)}(hinth]hint}(hjŎhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjӎhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hntailh]hntail}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jXc.pskb_expand_headasbuh1hhjubj)}(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=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)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hjShhhNhNubh)}(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$]jXc.pskb_expand_headasbjsk_buffuh1hhjZdhKhjSubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jRhj֍hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXU**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 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&]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 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}(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 nhead`` room to add at head h](j)}(h ``int nhead``h]j)}(hjh]h int nhead}(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)}(hroom to add at headh]hroom to add at head}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hj*h]h int ntail}(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 tailh]hroom to add at tail}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(hX``gfp_t gfp_mask`` allocation priority 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](j)}(h``gfp_t gfp_mask``h]j)}(hjch]hgfp_t gfp_mask}(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)}(hallocation priorityh]hallocation priority}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(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 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)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubh is not changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjyubjX)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMK 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_headasbuh1hhjuhhhjhMK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMK ubj;)}(hj>h]h*}(hjǑhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuhhhjhMK ubj)}(hskb_expand_headh]j%)}(hjh]hskb_expand_head}(hjؑhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԑubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjhMK 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 }(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)}(hunsigned int headroomh](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%)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhMK ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMK ubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMK hjnhhubjS)}(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_buffuh1hhjZdhKhjŒubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMK hj’hhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhMK ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXR**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``unsigned int headroom`` needed headroom 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)}(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.chMO hjubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate 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.chML hj$ubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hML hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hML hj!ubj)}(hX``unsigned int headroom`` needed headroom 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](j)}(h``unsigned int headroom``h]j)}(hjch]hunsigned int headroom}(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.chMR hj]ubj)}(hhh](jX)}(hneeded headroomh]hneeded headroom}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMM hjyubjX)}(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.chMO hjyubjX)}(h=It expect increased headroom and generates warning otherwise.h]h=It expect increased headroom and generates warning otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMS hjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMR hj!ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjדhhhjhM~ 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_copy_expandsbc.skb_copy_expandasbuh1hhjדhhhjhM~ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjדhhhjhM~ ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjדhhhjhM~ ubj)}(hskb_copy_expandh]j%)}(hjh]hskb_copy_expand}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjדhhhjhM~ 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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(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_copy_expandasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hskbh]hskb}(hjǔhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(hint newheadroomh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjܔubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܔubj%)}(h newheadroomh]h newheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܔubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(hint newtailroomh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h newtailroomh]h newtailroom}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jc.skb_copy_expandasbuh1hhjFubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hgfp_maskh]hgfp_mask}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubeh}(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)}(hcopy and expand sk_buffh]hcopy and expand 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&]uh1jRhjГhhhjhM~ 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 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)}(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 hjubj)}(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 hjޕubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjޕubeh}(h]h ]h"]h$]h&]uh1jhjhM hjەubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hjh]hint newheadroom}(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)}(hnew free bytes at headh]hnew free bytes at head}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hM hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM hjەubj)}(h+``int newtailroom`` new free bytes at tail h](j)}(h``int newtailroom``h]j)}(hjVh]hint newtailroom}(hjXhhhNhNubah}(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 hjPubj)}(hhh]jX)}(hnew free bytes at tailh]hnew free bytes at tail}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhM hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjەubj)}(hX``gfp_t gfp_mask`` allocation priority 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](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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjX)}(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 }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjÖhhhNhNubah}(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; and its data and while doing so allocate additional space.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjޖhM hjubjX)}(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 }(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjX)}(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}(hjhhhNhNubah}(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&]uh1jWhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjەubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjjhM ubj)}(h __skb_padh]j%)}(h __skb_padh]h __skb_pad}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjjhM 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')}jjsb c.__skb_padasbuh1hhjubj)}(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 padh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpadh]hpad}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool free_on_errorh](j)}(hjTh]hbool}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(h free_on_errorh]h free_on_error}(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=uh1jhjXhhhjjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjjhM ubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhM hjQhhubjS)}(hhh]jX)}(hzero pad the tail of an skbh]hzero pad the tail of 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&]uh1jRhjQhhhjjhM 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 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)}(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 hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۘhM hjubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjh]hint pad}(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 space to padh]h space to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hX2``bool free_on_error`` free buffer on error 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](j)}(h``bool free_on_error``h]j)}(hj8h]hbool free_on_error}(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.chM hj2ubj)}(hhh](jX)}(hfree buffer on errorh]hfree buffer on error}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjNubjX)}(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 hjNubjX)}(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 }(hjohhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh is true.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjMhM hjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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*}(hjޙhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjϙhM ubj)}(hpskb_puth]j%)}(hpskb_puth]hpskb_put}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjϙhM ubj)}(h4(struct sk_buff *skb, struct sk_buff *tail, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj hhhNhNubah}(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')}jjsb c.pskb_putasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *tailh](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$]jE c.pskb_putasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjǚhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(htailh]htail}(hjԚhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(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}(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ϙhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjϙhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjϙhM hjhhubjS)}(hhh]jX)}(h7add data to the tail of a potentially fragmented bufferh]h7add data to the tail of a potentially fragmented buffer}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjϙhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{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 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)}(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)}(h3``struct sk_buff *skb`` start of the buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjth]hstruct sk_buff *skb}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjnubj)}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM hjkubj)}(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}(hjƛhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj›hM hjÛubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj›hM hjkubj)}(hX2``int len`` amount of data to add 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](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)}(hamount of data to addh]hamount of data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjX)}(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 hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjkubeh}(h]h ]h"]h$]h&]uh1jhjOubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(hskb_puth]j%)}(hskb_puth]hskb_put}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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_putasbuh1hhj˜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=uh1jhjǜubj)}(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=uh1jhjǜubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhM ubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjzhhubjS)}(hhh]jX)}(hadd data to a bufferh]hadd data to a 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&]uh1jRhjzhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX!**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add 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)}(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 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.chM hjޝubj)}(hhh]jX)}(h buffer to useh]h 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``unsigned int len`` amount of data to add 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](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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj3ubjX)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj3ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM hj۝ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(hskb_pushh]j%)}(hskb_pushh]hskb_push}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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_pushasbuh1hhj̞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}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̞ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjȞubj)}(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 }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj%)}(hlenh]hlen}(hjzhhhNhNubah}(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=jDuh1hjEjFhj~hhhjhM ubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj{hhubjS)}(hhh]jX)}(h!add data to the start of a bufferh]h!add data to the start of a 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{hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX9**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add 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)}(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! 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.chM hjߟubj)}(hhh]jX)}(h buffer to useh]h 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``unsigned int len`` amount of data to add 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](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int 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.chM" hjubj)}(hhh](jX)}(hamount of data to addh]hamount of data to add}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj4ubjX)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM! hj4ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM" hjܟubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM0 ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM0 ubj)}(hskb_pullh]j%)}(hskb_pullh]hskb_pull}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM0 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_pullasbuh1hhj͠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}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj͠ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjɠubj)}(hunsigned int lenh](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}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hjmhhhNhNubah}(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=uh1jhjhhhjhM0 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM0 ubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM0 hj|hhubjS)}(hhh]jX)}(h&remove data from the start of a bufferh]h&remove data from the start of a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0 hjhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhM0 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXM**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to remove 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)}(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.chM4 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.chM1 hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1 hjݡubj)}(hX ``unsigned int len`` amount of data to remove 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](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int 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.chM6 hjubj)}(hhh](jX)}(hamount of data to removeh]hamount of data to remove}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2 hj5ubjX)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM4 hj5ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM6 hjݡubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM@ 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=uh1jhjhhhjhM@ 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&]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')}jjsbc.skb_pull_dataasbuh1hhj΢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}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj΢ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjʢubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j c.skb_pull_dataasbuh1hhj@ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj%)}(hlenh]hlen}(hjshhhNhNubah}(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]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@ hj}hhubjS)}(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&]uh1jRhj}hhhjhM@ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXz**Parameters** ``struct sk_buff *skb`` buffer to use ``size_t len`` amount of data to remove 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.chMD 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}(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.chMB hjأubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhjأubeh}(h]h ]h"]h$]h&]uh1jhjhMB hjգubj)}(hX7``size_t len`` amount of data to remove 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](j)}(h``size_t len``h]j)}(hjh]h size_t 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.chMG hjubj)}(hhh](jX)}(hamount of data to removeh]hamount of data to remove}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMC hj-ubjX)}(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.chME hj-ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMG hjգubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhj|hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMX ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhjhMX ubj)}(hskb_trimh]j%)}(hskb_trimh]hskb_trim}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhjhMX 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 }(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')}jjsb c.skb_trimasbuh1hhjubj)}(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=uh1jhjubj)}(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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj%)}(hlenh]hlen}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj|hhhjhMX ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhMX ubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMX hjuhhubjS)}(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.chMX hjhhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjhMX ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length 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)}(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 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMY hj̥ubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMY hjubah}(h]h ]h"]h$]h&]uh1jhj̥ubeh}(h]h ]h"]h$]h&]uh1jhjhMY hjɥubj)}(h``unsigned int len`` new length 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](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] hjubj)}(hhh](jX)}(h new lengthh]h new length}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZ hj!ubjX)}(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.}(hj3hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM] hjɥubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjphhhjhM ubj)}(h__pskb_pull_tailh]j%)}(h__pskb_pull_tailh]h__pskb_pull_tail}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjhM 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 }(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.__pskb_pull_tailasbuh1hhjubj)}(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=uh1jhjubj)}(h int deltah](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(hdeltah]hdelta}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(hadvance tail of skb headerh]hadvance tail of skb header}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjshhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX6**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int delta`` number of bytes to advance tail 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)}(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 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}(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)}(hX``int delta`` number of bytes to advance tail 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](j)}(h ``int delta``h]j)}(hjh]h int delta}(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 advance tailh]hnumber of bytes to advance tail}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjX)}(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 }(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.chM hjubh\, it expands header moving its tail forward and copying necessary data from fragmented part.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj?hM hjubjX)}(h1:c:type:`sk_buff` MUST have reference count of 1.h](h)}(h:c:type:`sk_buff`h]j)}(hjPh]hsk_buff}(hjRhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjJubh MUST have reference count of 1.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjmhM hjubjX)}(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 }(hjxhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh (and }(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 hjxubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubjX)}(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&]uh1jWhjhM hjubeh}(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_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMo ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMo ubj)}(h skb_copy_bitsh]j%)}(h skb_copy_bitsh]h skb_copy_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMo ubj)}(h:(const struct sk_buff *skb, int offset, void *to, int len)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jjsbc.skb_copy_bitsasbuh1hhj5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj©ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hvoid *toh](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%)}(htoh]hto}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hint lenh](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hlenh]hlen}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMo ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj hMo ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMo hjhhubjS)}(hhh]jX)}(h#copy bits from skb to kernel bufferh]h#copy bits from skb to kernel buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMo hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMo 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 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.chMs hjubj)}(hhh](j)}(h)``const struct sk_buff *skb`` source skb 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMp hjubj)}(hhh]jX)}(h source skbh]h source skb}(hjݪhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj٪hMp hjڪubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj٪hMp hjubj)}(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.chMq hjubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMq hjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hj6h]hvoid *to}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr hj0ubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMr hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMr hjubj)}(hX``int len`` number of bytes to copy 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](j)}(h ``int len``h]j)}(hjoh]hint 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.chMz hjiubj)}(hhh](jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMs hjubjX)}(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.chMu 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 ! :}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhMz hjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMy hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMz hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMz hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]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 hhhjhM ubj)}(hskb_store_bitsh]j%)}(hskb_store_bitsh]hskb_store_bits}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM ubj)}(h<(struct sk_buff *skb, int offset, const void *from, 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')}jj4sbc.skb_store_bitsasbuh1hhjJubj)}(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)}(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}(hjܬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hconst void *fromh](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*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfromh]hfrom}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hint lenh](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hlenh]hlen}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(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$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 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX[**Parameters** ``struct sk_buff *skb`` destination buffer ``int offset`` offset in destination ``const void *from`` source buffer ``int len`` number of bytes to copy 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)}(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`` destination 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.chM hjӭubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjӭubeh}(h]h ]h"]h$]h&]uh1jhjhM hjЭubj)}(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 hj ubj)}(hhh]jX)}(hoffset in destinationh]hoffset in 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 hjЭubj)}(h#``const void *from`` source buffer h](j)}(h``const void *from``h]j)}(hjKh]hconst void *from}(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.chM hjEubj)}(hhh]jX)}(h source bufferh]h source buffer}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjЭubj)}(h``int len`` number of bytes to copy 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](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# hj~ubj)}(hhh](jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM" hjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM# hjЭubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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$hj ubah}(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&]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$]j')}jjsbc.skb_zerocopyasbuh1hhj&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%)}(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$]jdc.skb_zerocopyasbuh1hhjubj)}(h h]h }(hjدhhhNhNubah}(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)}(hint lenh](j)}(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=uh1jhj"ubj)}(hint hlenh](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hhlenh]hhlen}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXV**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 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)}(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`` destination buffer h](j)}(h``struct sk_buff *to``h]j)}(hjȰh]hstruct sk_buff *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)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjݰhMhjްubah}(h]h ]h"]h$]h&]uh1jhj°ubeh}(h]h ]h"]h$]h&]uh1jhjݰhMhjubj)}(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&]uh1jhjhMhjubj)}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj4ubj)}(hhh]jX)}(h*number of bytes to copy from source bufferh]h*number of bytes to copy from source buffer}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(hX``int hlen`` size of linear headroom in destination buffer 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](j)}(h ``int hlen``h]j)}(hjsh]hint hlen}(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.chMhjmubj)}(hhh](jX)}(h-size of linear headroom in destination bufferh]h-size of linear headroom in destination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hfCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer.h](h Copies up to }(hjhhhNhNubhtitle_reference)}(h`len`h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h`from`h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h`to`h]hto}(hjɱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: by creating references to the frags in the source buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h]The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer.h](hThe }(hjhhhNhNubj)}(h`hlen`h]hhlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hjhhhNhNubj)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(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_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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjuhM*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')}j skb_dequeuesb c.skb_dequeueasbuh1hhjdhhhjuhM*ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjuhM*ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdhhhjuhM*ubj)}(h skb_dequeueh]j%)}(hjh]h skb_dequeue}(hjDzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjòubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjuhM*ubj)}(h(struct sk_buff_head *list)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_dequeueasbuh1hhj޲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%)}(hlisth]hlist}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj޲ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjڲubah}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjuhM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjuhM*ubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhM*hj]hhubjS)}(hhh]jX)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjchhhNhNubah}(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]hhhjuhM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from 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)}(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_head *list`` list to dequeue from 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](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.chM.hjubj)}(hhh](jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hjubjX)}(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 }(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjubeh}(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|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 }(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 reftargetj@modnameN classnameNjj!)}j$]j')}jskb_dequeue_tailsbc.skb_dequeue_tailasbuh1hhjhhhj,hM?ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj,hM?ubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj,hM?ubj)}(hskb_dequeue_tailh]j%)}(hj\h]hskb_dequeue_tail}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(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$]jZc.skb_dequeue_tailasbuh1hhjubj)}(h h]h }(hjմhhhNhNubah}(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 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&]uh1jRhjhhhj,hM?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from 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)}(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.chMChj6ubj)}(hhh]j)}(h``struct sk_buff_head *list`` list to dequeue from 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](j)}(h``struct sk_buff_head *list``h]j)}(hj[h]hstruct sk_buff_head *list}(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.chMChjUubj)}(hhh](jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hjqubjX)}(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.chMBhjqubeh}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMChjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(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}(hjֵhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҵhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҵhhhjhMSubj)}(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=uh1jhjҵhhhjhMSubj)}(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&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjsbc.skb_queue_purge_reasonasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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$]jMc.skb_queue_purge_reasonasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreasonh]hreason}(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=uh1jhjҵhhhjhMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjεhhhjhMSubah}(h]jɵah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMShj˵hhubjS)}(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&]uh1jRhj˵hhhjhMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXB**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason 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)}(hj:h]hstruct sk_buff_head *list}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThj4ubj)}(hhh]jX)}(h list to emptyh]h list to empty}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMThjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMThj1ubj)}(h``enum skb_drop_reason reason`` drop reason 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](j)}(h``enum skb_drop_reason reason``h]j)}(hjsh]henum skb_drop_reason reason}(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.chMXhjmubj)}(hhh](jX)}(h drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhjubjX)}(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.chMWhjubh 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&]uh1jWhj·hMWhjubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj1ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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 }(hjhhhNhNubah}(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$hjubah}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j')}jj"sbc.skb_queue_headasbuh1hhj8ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(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}(hj̸hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjɸubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjθmodnameN classnameNjj!)}j$]jvc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(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}(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&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhj[hNhNubj})}(hXD**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue 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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjKubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjph]hstruct sk_buff_head *list}(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.chMhjjubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(h``struct sk_buff *newsk`` buffer to queue 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](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}(hj¹hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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 }(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.chMhjѹubh functions safely.}(hjѹhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubjX)}(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.chMhjubeh}(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](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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhMubj)}(hskb_queue_tailh]j%)}(hskb_queue_tailh]hskb_queue_tail}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhMubj)}(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&]uh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(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')}jjgsbc.skb_queue_tailasbuh1hhj}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%)}(hlisth]hlist}(hjںhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(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_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%)}(hnewskh]hnewsk}(hjJhhhNhNubah}(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)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjRhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXC**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue 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&]uh1jWhjʻhMhj˻ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʻhMhjubj)}(h``struct sk_buff *newsk`` buffer to queue 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](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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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)}(hj h]hsk_buff}(hj"hhhNhNubah}(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&]uh1jWhj=hMhjubjX)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(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_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 }(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_unlinkasbuh1hhj¼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)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(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 c.skb_unlinkasbuh1hhj4ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hlisth]hlist}(hjhhhNhNubah}(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)}(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&]uh1jRhj~hhhjhMubeh}(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 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)}(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 remove 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 removeh]hbuffer to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct sk_buff_head *list`` list to use 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](j)}(h``struct sk_buff_head *list``h]j)}(hj3h]hstruct sk_buff_head *list}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj)}(hhh](jX)}(h list to useh]h list to use}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubjX)}(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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubjX)}(h&You must know what list the SKB is on.h]h&You must know what list the SKB is on.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubeh}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]uh1jhjսubeh}(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}(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_appendh]j%)}(h skb_appendh]h skb_append}(hj̾hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȾubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hG(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j)}(hstruct sk_buff *oldh](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_appendasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(holdh]hold}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j" c.skb_appendasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j" c.skb_appendasbuh1hhjƿ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%)}(hlisth]hlist}(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)}(happend a bufferh]happend a buffer}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj[hNhNubj})}(hXh**Parameters** ``struct sk_buff *old`` buffer to insert after ``struct sk_buff *newsk`` buffer to insert ``struct sk_buff_head *list`` list to use 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)}(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 *old`` buffer to insert after h](j)}(h``struct sk_buff *old``h]j)}(hjh]hstruct sk_buff *old}(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 insert afterh]hbuffer to insert after}(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 insert 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 inserth]hbuffer to insert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct sk_buff_head *list`` list to use 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](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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubeh}(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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjuhM1ubj)}(h skb_splith]j%)}(h skb_splith]h skb_split}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjuhM1ubj)}(h:(struct sk_buff *skb, struct sk_buff *skb1, const u32 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_splitasbuh1hhjubj)}(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 sk_buff *skb1h](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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j c.skb_splitasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskb1h]hskb1}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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}(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%)}(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=uh1jhjchhhjuhM1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhjuhM1ubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhM1hj\hhubjS)}(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&]uh1jRhj\hhhjuhM1ubeh}(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)}(hj;h]hstruct sk_buff *skb}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hj5ubj)}(hhh]jX)}(hthe buffer to splith]hthe buffer to split}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhM2hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM2hj2ubj)}(h?``struct sk_buff *skb1`` the buffer to receive the second part h](j)}(h``struct sk_buff *skb1``h]j)}(hjth]hstruct sk_buff *skb1}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3hjnubj)}(hhh]jX)}(h%the buffer to receive the second parth]h%the buffer to receive the second part}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj2ubj)}(h$``const u32 len`` new length for skbh](j)}(h``const u32 len``h]j)}(hjh]h const u32 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.chM5hjubj)}(hhh]jX)}(hnew length for skbh]hnew length for skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj2ubeh}(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}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(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}(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*sbc.skb_prepare_seq_readasbuh1hhj@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)}(hunsigned int fromh](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%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(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}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htoh]hto}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j~c.skb_prepare_seq_readasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(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%Prepare a sequential read of skb datah]h%Prepare a sequential read of 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})}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hjSh]hunsigned int from}(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.chMhjMubj)}(hhh]jX)}(hlower offset of data to be readh]hlower offset of data to be read}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubj)}(h4``unsigned int to`` upper offset of data to be read 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)}(hupper offset of data to be readh]hupper offset of data to be read}(hjhhhNhNubah}(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)}(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.chMhjubj)}(hhh]jX)}(hstate variableh]hstate variable}(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&]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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShMubj)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhjShMubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShMubj)}(h skb_seq_readh]j%)}(h skb_seq_readh]h skb_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShMubj)}(hB(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j)}(hunsigned int consumedh](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%)}(hconsumedh]hconsumed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_seq_readasbuh1hhjubj)}(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*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct skb_seq_state *sth](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 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)c.skb_seq_readasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(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]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMhj:hhubjS)}(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&]uh1jRhj:hhhjShMubeh}(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.chMhj ubj)}(hhh](j)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hj0h]hunsigned int consumed}(hj2hhhNhNubah}(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 consumed by the caller so farh]h-number of bytes consumed by the caller so far}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(h@``const u8 **data`` destination pointer for data to be returned h](j)}(h``const u8 **data``h]j)}(hjih]hconst u8 **data}(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)}(h+destination pointer for data to be returnedh]h+destination pointer for data to be returned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubj)}(h,``struct skb_seq_state *st`` state variable 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.chMhjubj)}(hhh]jX)}(hstate variableh]hstate variable}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(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}(hj hhhNhNubah}(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.chMhj ubjX)}(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. }(hj&hhhNhNubj)}(h **consumed**h]hconsumed}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh 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.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(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,}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjJubj)}(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.}(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&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjGubj)}(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.chMhj{ubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(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}(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_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=uh1jhjhhhjhM]ubj)}(h(struct skb_seq_state *st)h]j)}(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$]j')}jjsbc.skb_abort_seq_readasbuh1hhj 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%)}(hsth]hst}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(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#Abort a sequential read of skb datah]h#Abort a sequential read of skb data}(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 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)}(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.chMahjubj)}(hhh]j)}(h,``struct skb_seq_state *st`` state variable 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.chM^hjubj)}(hhh]jX)}(hstate variableh]hstate variable}(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}(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.chM`hjubjX)}(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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`hjubeh}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj`hMkubj)}(hskb_copy_seq_readh]j%)}(hskb_copy_seq_readh]hskb_copy_seq_read}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj`hMkubj)}(h9(struct skb_seq_state *st, int offset, void *to, int len)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')}jjusbc.skb_copy_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=uh1jhjubj)}(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=uh1jhjubj)}(hvoid *toh](j)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(htoh]hto}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj`hMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj`hMkubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMkhjGhhubjS)}(hhh]jX)}(h%copy from a skb_seq_state to a bufferh]h%copy from a skb_seq_state to a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj`hMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohjubj)}(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)}(hj8h]h int offset}(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.chMmhj2ubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMmhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMmhjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjqh]hvoid *to}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnhjkubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(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.chMohjubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(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.chMqhjubjX)}(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}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to the destination buffer }(hjhhhNhNubj)}(h**to**h]hto}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h`offset`h]hoffset}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use }(hjhhhNhNubj)}(h`st`h]hst}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be reset first.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhjubjX)}(h **Return**h]j)}(hjxh]hReturn}(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.chMvhjubjX)}(h/0 on success or -EINVAL if the copy ended earlyh]h/0 on success or -EINVAL if the copy ended early}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhjubeh}(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}(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_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=uh1jhjhhhjhMubj)}(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 }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jjsbc.skb_find_textasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int fromh](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%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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 ts_config *configh](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 ts_configh]h ts_config}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jPc.skb_find_textasbuh1hhj&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%)}(hconfigh]hconfig}(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)}(hFind a text pattern in skb datah]hFind a text pattern in 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** ``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)}(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 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)}(hj%h]hunsigned int 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 search offseth]h search offset}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h!``unsigned int to`` search limit 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.chMhjXubj)}(hhh]jX)}(h search limith]h search limit}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(h6``struct ts_config *config`` textsearch configuration h](j)}(h``struct ts_config *config``h]j)}(hjh]hstruct ts_config *config}(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)}(htextsearch configurationh]htextsearch configuration}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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.chMhjubeh}(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 }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hMubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj%hMubj)}(hskb_pull_rcsumh]j%)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjGsbc.skb_pull_rcsumasbuh1hhj]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=uh1jhjYubj)}(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=uh1jhjYubeh}(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$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled 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)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjQubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjvh]hstruct sk_buff *skb}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjpubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(hXH``unsigned int len`` length of data pulled 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](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.chMhjubj)}(hhh](jX)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(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 }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hMLubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}j skb_segmentsb c.skb_segmentasbuh1hhjhhhj%hMLubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hMLubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj%hMLubj)}(h skb_segmenth]j%)}(hjUh]h skb_segment}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hMLubj)}(h6(struct sk_buff *head_skb, netdev_features_t features)h](j)}(hstruct sk_buff *head_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$]jS c.skb_segmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhead_skbh]hhead_skb}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jS c.skb_segmentasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfeaturesh]hfeatures}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj%hMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj%hMLubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hMLhj hhubjS)}(hhh]jX)}(h%Perform protocol segmentation on skb.h]h%Perform protocol segmentation on skb.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLhjXhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj%hMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhj[hNhNubj})}(hXE**Parameters** ``struct sk_buff *head_skb`` buffer to segment ``netdev_features_t features`` features for the output path (see dev->features) 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}(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.chMPhjwubj)}(hhh](j)}(h/``struct sk_buff *head_skb`` buffer to segment h](j)}(h``struct sk_buff *head_skb``h]j)}(hjh]hstruct sk_buff *head_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.chMMhjubj)}(hhh]jX)}(hbuffer to segmenth]hbuffer to segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h``netdev_features_t features`` features for the output path (see dev->features) 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](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.chMQhjubj)}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMNhjubjX)}(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.chMPhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(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&]uh1jhj:hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjLhMUubj)}(h skb_to_sgvech]j%)}(h skb_to_sgvech]h skb_to_sgvec}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhjLhMUubj)}(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&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjasbc.skb_to_sgvecasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.skb_to_sgvecasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsgh]hsg}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(h int offseth](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj%)}(hoffseth]hoffset}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(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=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhjLhMUubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhjLhMUubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMUhj3hhubjS)}(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&]uh1jRhj3hhhjLhMUubeh}(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 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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMVhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMVhjubj)}(h?``struct scatterlist *sg`` The scatter-gather list to map into h](j)}(h``struct scatterlist *sg``h]j)}(hjRh]hstruct scatterlist *sg}(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.chMWhjLubj)}(hhh]jX)}(h#The scatter-gather list to map intoh]h#The scatter-gather list to map into}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMWhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMWhjubj)}(hF``int offset`` The offset into the buffer's contents to start mapping 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.chMXhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(hX``int len`` Length of buffer space to be mapped 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](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)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMYhjubjX)}(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.chM[hjubeh}(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_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}(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)}(h skb_cow_datah]j%)}(h skb_cow_datah]h skb_cow_data}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(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}(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_cow_dataasbuh1hhjfubj)}(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)}(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=uh1jhjbubj)}(hstruct sk_buff **trailerh](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}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jc.skb_cow_dataasbuh1hhj 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;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(htrailerh]htrailer}(hjuhhhNhNubah}(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;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 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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(hXX``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins 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](j)}(h``struct sk_buff **trailer``h]j)}(hjRh]hstruct sk_buff **trailer}(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.chMhjLubj)}(hhh](jX)}(h?Returned pointer to the skb where the **tailbits** space beginsh](h&Returned pointer to the skb where the }(hjkhhhNhNubj)}(h **tailbits**h]htailbits}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh space begins}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhubjX)}(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.chMhjhubjX)}(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.chMhjhubjX)}(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&]uh1jWhjghMhjhubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj-hMDubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}j skb_clone_sksbc.skb_clone_skasbuh1hhjhhhj-hMDubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj-hMDubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj-hMDubj)}(h skb_clone_skh]j%)}(hj]h]h skb_clone_sk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj-hMDubj)}(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[c.skb_clone_skasbuh1hhjubj)}(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=uh1jhjhhhj-hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj-hMDubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMDhjhhubjS)}(hhh]jX)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj-hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{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)}(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.chMHhj7ubj)}(hhh]j)}(h)``struct sk_buff *skb`` the skb to clone 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMEhjVubj)}(hhh]jX)}(hthe skb to cloneh]hthe skb to clone}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMEhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMEhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(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.chMGhj7ubjX)}(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.chMGhj7ubjX)}(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.chMKhj7ubeh}(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&]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_partial_csum_seth]j%)}(hskb_partial_csum_seth]hskb_partial_csum_set}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM<ubj)}(h)(struct sk_buff *skb, u16 start, u16 off)h](j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jj sbc.skb_partial_csum_setasbuh1hhj#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%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]jac.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=uh1jhjubj)}(hu16 offh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jac.skb_partial_csum_setasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffh]hoff}(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)}(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<hj7hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM<ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{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)}(hj\h]h Parameters}(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.chM@hjVubj)}(hhh](j)}(h'``struct sk_buff *skb`` the skb to set h](j)}(h``struct sk_buff *skb``h]j)}(hj{h]hstruct sk_buff *skb}(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.chM=hjuubj)}(hhh]jX)}(hthe skb to seth]hthe skb to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjrubj)}(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>hjrubj)}(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?hjubj)}(hhh]jX)}(h,the offset from start to place the checksum.h]h,the offset from start to place the checksum.}(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&]uh1jhjVubjX)}(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.chMAhjVubjX)}(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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhjVubjX)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhjVubeh}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjhM'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=uh1jhjxhhhjhM'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*}(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)}(hbool recalculateh](j)}(hjTh]hbool}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(h recalculateh]h recalculate}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjxhhhjhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjhM'ubah}(h]joah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hjqhhubjS)}(hhh]jX)}(hset up partial checksum offseth]hset up partial checksum offset}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjmhhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjhM'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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hjubj)}(hhh]jX)}(h7if true the pseudo-header checksum will be recalculatedh]h7if true the pseudo-header checksum will be recalculated}(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&]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](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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjQhMhubh)}(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')}jskb_checksum_trimmedsbc.skb_checksum_trimmedasbuh1hhj@hhhjQhMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjQhMhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@hhhjQhMhubj)}(hskb_checksum_trimmedh]j%)}(hjh]hskb_checksum_trimmed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjQhMhubj)}(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*}(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 transport_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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(h transport_lenh]h transport_len}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(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_trimmedasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(h(h]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hskb_chkfh]hskb_chkf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubj;)}(h)h]h)}(hjhhhNhNubah}(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%)}(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_trimmedasbuh1hhj{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}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubj;)}(hjh]h)}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjQhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjQhMhubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMhhj9hhubjS)}(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.chMhhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjQhMhubeh}(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}(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.chMjhjubj)}(hhh]jX)}(h)the data length beyond the network headerh]h)the data length beyond the network header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(hE``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use h](j)}(h+``__sum16(*skb_chkf)(struct sk_buff *skb)``h]j)}(hj3h]h'__sum16(*skb_chkf)(struct sk_buff *skb)}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhj-ubj)}(hhh]jX)}(hchecksum function to useh]hchecksum function to use}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMkhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMkhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(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.chMmhjubjX)}(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.chMphjubjX)}(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.chMshjubeh}(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}(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}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjsbc.skb_try_coalesceasbuh1hhj 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%)}(htoh]hto}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *fromh](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$]jGc.skb_try_coalesceasbuh1hhj{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%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool *fragstolenh](j)}(hjTh]hbool}(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%)}(h fragstolenh]h fragstolen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint *delta_truesizeh](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,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%)}(hdelta_truesizeh]hdelta_truesize}(hjYhhhNhNubah}(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)}(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)}(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 buffer to addh]h buffer to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``bool *fragstolen`` pointer to boolean h](j)}(h``bool *fragstolen``h]j)}(hj6h]hbool *fragstolen}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj0ubj)}(hhh]jX)}(hpointer to booleanh]hpointer to boolean}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(hF``int *delta_truesize`` how much more was allocated than was requestedh](j)}(h``int *delta_truesize``h]j)}(hjoh]hint *delta_truesize}(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)}(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&]uh1jhjiubeh}(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$hjubah}(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}(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')}jjsbc.skb_scrub_packetasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(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 bool xneth](j)}(hjTh]hbool}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hxneth]hxnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(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 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)}(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 cleanh]hbuffer to clean}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``bool xnet`` packet is crossing netns h](j)}(h ``bool xnet``h]j)}(hj7h]h bool xnet}(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)}(hpacket is crossing netnsh]hpacket is crossing netns}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(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&]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$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}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jjsb c.skb_eth_popasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(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=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)}(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)}(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$Drop the Ethernet header of **skb**.h](hDrop the Ethernet header of }(hjhhhNhNubj)}(h**skb**h]hskb}(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.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.}(hj<hhhNhNubah}(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.}(hjKhhhNhNubah}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMubj)}(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=uh1jhjvhhhjhMubj)}(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*}(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)}(hconst unsigned char *dsth](h)}(hjh]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(hunsignedh]hunsigned}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(hcharh]hchar}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%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%)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(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 }(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=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)}(h1Add a new Ethernet header at the head of a packeth]h1Add a new Ethernet header at the head of a packet}(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&]uh1jRhjohhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{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)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHubj)}(hhh](j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjmh]hstruct sk_buff *skb}(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.chMhjgubj)}(hhh]jX)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(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&]uh1jhjhMhjdubj)}(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&]uh1jhjhMhjdubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHubjX)}(h+Prepend **skb** with a new Ethernet header.h](hPrepend }(hj0hhhNhNubj)}(h**skb**h]hskb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh with a new Ethernet header.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHubjX)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHubjX)}(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.chM hjHubeh}(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.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj)}(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=uh1jhjhhhjhMLubj)}(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$hjubah}(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*}(hjhhhNhNubah}(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__be32 mpls_lseh](h)}(hhh]j%)}(h__be32h]h__be32}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jc.skb_mpls_pushasbuh1hhj:ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hmpls_lseh]hmpls_lse}(hjmhhhNhNubah}(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$]jc.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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hetherneth]hethernet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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)}(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}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLhjEhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{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)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhjdubj)}(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.chMOhjubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(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.chMPhjubj)}(hhh]jX)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(hR``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) h](j)}(h``__be16 mpls_proto``h]j)}(hjh]h__be16 mpls_proto}(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)}(h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)h]h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hj4h]h int mac_len}(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.chMRhj.ubj)}(hhh]jX)}(hlength of the MAC headerh]hlength of the MAC header}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMRhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMRhjubj)}(h[``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet h](j)}(h``bool ethernet``h]j)}(hjmh]h bool ethernet}(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.chMThjgubj)}(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.chMShjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubeh}(h]h ]h"]h$]h&]uh1jhjdubjX)}(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.chMVhjdubjX)}(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.chMVhjdubjX)}(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.chMXhjdubeh}(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}(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)}(h skb_mpls_poph]j%)}(h skb_mpls_poph]h skb_mpls_pop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(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&]uh1hhj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]j')}jj sbc.skb_mpls_popasbuh1hhj6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(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$]jtc.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=uh1jhj2ubj)}(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=uh1jhj2ubj)}(h bool etherneth](j)}(hjTh]hbool}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj%)}(hetherneth]hethernet}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubeh}(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)}(hpop the outermost MPLS headerh]hpop the outermost MPLS header}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(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)}(hjh]h__be16 next_proto}(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,ethertype of header after popped MPLS headerh]h,ethertype of header after popped MPLS header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hj!h]h int mac_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.chMhjubj)}(hhh]jX)}(hlength of the MAC headerh]hlength of the MAC header}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h=``bool ethernet`` flag to indicate if the packet is ethernet h](j)}(h``bool ethernet``h]j)}(hjZh]h bool ethernet}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjTubj)}(hhh]jX)}(h*flag to indicate if the packet is etherneth]h*flag to indicate if the packet is ethernet}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubeh}(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&]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_mpls_update_lseh]j%)}(hskb_mpls_update_lseh]hskb_mpls_update_lse}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h&(struct sk_buff *skb, __be32 mpls_lse)h](j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj sbc.skb_mpls_update_lseasbuh1hhj"ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjrhhhNhNubah}(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__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$]j`c.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=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,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)}(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.chMhj ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer 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.chMhj,ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(h<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hjkh]h__be32 mpls_lse}(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.chMhjeubj)}(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&]uh1jhjeubeh}(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 ubjX)}(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.chMhj ubjX)}(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.chMhj ubeh}(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}(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 hjhhhjhMubj)}(hskb_mpls_dec_ttlh]j%)}(hskb_mpls_dec_ttlh]hskb_mpls_dec_ttl}(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}(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.skb_mpls_dec_ttlasbuh1hhj3ubj)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h.decrement the TTL of the outermost MPLS headerh]h.decrement the TTL of 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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&]uh1jhjhMhjubah}(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&]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.}(hjLhhhNhNubah}(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.}(hj[hhhNhNubah}(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!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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(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_with_fragssbc.alloc_skb_with_fragsasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(halloc_skb_with_fragsh]j%)}(hjh]halloc_skb_with_frags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h header_lenh]h header_len}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long data_lenh](j)}(hunsignedh]hunsigned}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hlongh]hlong}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hdata_lenh]hdata_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int orderh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(horderh]horder}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int *errcodeh](j)}(hinth]hint}(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%)}(herrcodeh]herrcode}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]jc.alloc_skb_with_fragsasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfp_maskh]hgfp_mask}(hjLhhhNhNubah}(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)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hallocate skb with page fragsh]hallocate skb with page frags}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjshhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(h1``unsigned long header_len`` size of linear part h](j)}(h``unsigned long header_len``h]j)}(hjh]hunsigned long header_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.chMhjubj)}(hhh]jX)}(hsize of linear parth]hsize of linear part}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``unsigned long data_len`` needed length in frags h](j)}(h``unsigned long data_len``h]j)}(hjh]hunsigned long data_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.chMhjubj)}(hhh]jX)}(hneeded length in fragsh]hneeded length in frags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``int order`` max page order desired. h](j)}(h ``int order``h]j)}(hj)h]h int order}(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)}(hmax page order desired.h]hmax page order desired.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(h.``int *errcode`` pointer to error code if any h](j)}(h``int *errcode``h]j)}(hjbh]h int *errcode}(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)}(hpointer to error code if anyh]hpointer to error code if any}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubj)}(h#``gfp_t gfp_mask`` allocation mask 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)}(hallocation maskh]hallocation mask}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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.chMhjubeh}(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}(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)}(h skb_condenseh]j%)}(h skb_condenseh]h skb_condense}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(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_condenseasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubah}(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)}(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&]uh1jRhjhhhj)hMubeh}(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)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubah}(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&]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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h **Notes**h]j)}(hj~h]hNotes}(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.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}(hjhhhNhNubah}(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}(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$]j')}jjsb c.skb_ext_addasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]jQ 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=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)}(h1allocate space for given extension, COW if neededh]h1allocate space for given extension, COW if needed}(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 ``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)}(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}(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.chMhj8ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubj)}(h7``enum skb_ext_id id`` extension to allocate space for h](j)}(h``enum skb_ext_id id``h]j)}(hjwh]henum skb_ext_id id}(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)}(hextension to allocate space forh]hextension to allocate space for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubeh}(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}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.chMhjubjX)}(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.chMhjubjX)}(h?Returns pointer to the extension or NULL on allocation failure.h]h?Returns pointer to the extension or NULL on allocation failure.}(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_splice_from_iter (C function)c.skb_splice_from_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hessize_t skb_splice_from_iter (struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize, gfp_t gfp)h]h)}(hdssize_t skb_splice_from_iter(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize, gfp_t gfp)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')}jskb_splice_from_itersbc.skb_splice_from_iterasbuh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj9hMDubj)}(hskb_splice_from_iterh]j%)}(hj6h]hskb_splice_from_iter}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj9hMDubj)}(hH(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize, gfp_t gfp)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$]j4c.skb_splice_from_iterasbuh1hhjcubj)}(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 iov_iter *iterh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(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$]j4c.skb_splice_from_iterasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj!hhhNhNubah}(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=uh1jhj_ubj)}(hssize_t maxsizeh](h)}(hhh]j%)}(hssize_th]hssize_t}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j4c.skb_splice_from_iterasbuh1hhjCubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(hmaxsizeh]hmaxsize}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j4c.skb_splice_from_iterasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj9hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj9hMDubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMDhj 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.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXW**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 ``gfp_t gfp`` Allocation flags **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)}(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.chMHhjubj)}(hhh](j)}(h3``struct sk_buff *skb`` The buffer to add pages to 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.chMEhj#ubj)}(hhh]jX)}(hThe buffer to add pages toh]hThe buffer to add pages to}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMEhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMEhj ubj)}(hF``struct iov_iter *iter`` Iterator representing the pages to be added h](j)}(h``struct iov_iter *iter``h]j)}(hjbh]hstruct iov_iter *iter}(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.chMFhj\ubj)}(hhh]jX)}(h+Iterator representing the pages to be addedh]h+Iterator representing the pages to be added}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMFhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMFhj ubj)}(h8``ssize_t maxsize`` Maximum amount of pages to be added h](j)}(h``ssize_t maxsize``h]j)}(hjh]hssize_t maxsize}(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.chMGhjubj)}(hhh]jX)}(h#Maximum amount of pages to be addedh]h#Maximum amount of pages to be added}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhj ubj)}(h``gfp_t gfp`` Allocation flags 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMHhjubj)}(hhh]jX)}(hAllocation flagsh]hAllocation flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj ubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhjubjX)}(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).}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhjubjX)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhjubeh}(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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjphKubj)}(h sk_ns_capableh]j%)}(h sk_ns_capableh]h sk_ns_capable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhjphKubj)}(h@(const struct sock *sk, struct user_namespace *user_ns, int cap)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')}jjsbc.sk_ns_capableasbuh1hhjubj)}(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 user_namespace *user_nsh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubh)}(hhh]j%)}(huser_namespaceh]huser_namespace}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jc.sk_ns_capableasbuh1hhj(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%)}(huser_nsh]huser_ns}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(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=uh1jhj_hhhjphKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjphKubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphKhjXhhubjS)}(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&]uh1jRhjXhhhjphKubeh}(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)}(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.chKhjubj)}(hhh]jX)}(h(Socket to use a capability on or throughh]h(Socket to use a capability on or through}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjubj)}(hO``struct user_namespace *user_ns`` The user namespace of the capability to use h](j)}(h"``struct user_namespace *user_ns``h]j)}(hj\h]hstruct user_namespace *user_ns}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjVubj)}(hhh]jX)}(h+The user namespace of the capability to useh]h+The user namespace of the capability to use}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhKhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjubj)}(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.chKhjubj)}(hhh]jX)}(hThe capability to useh]hThe capability to use}(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)}(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 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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhjFhKubj)}(h sk_capableh]j%)}(h sk_capableh]h sk_capable}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhjFhKubj)}(h (const struct sock *sk, int cap)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj[sb c.sk_capableasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hint caph](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcaph]hcap}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhjFhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhjFhKubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhKhj.hhubjS)}(hhh]jX)}(hSocket global capability testh]hSocket global capability test}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjE hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhjFhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj` jxj` jyjzj{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)}(hjj h]h Parameters}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjd 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)}(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}(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 cap`` The global capability to use h](j)}(h ``int cap``h]j)}(hj h]hint cap}(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)}(hThe global capability to useh]hThe global capability to use}(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&]uh1jhjd 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.chKhjd ubjX)}(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 }(hj hhhNhNubj)}(h**cap**h]hcap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh in all user namespaces.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjd ubeh}(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}(hjT hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjb hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP hhhja hKubj)}(hsk_net_capableh]j%)}(hsk_net_capableh]hsk_net_capable}(hjt hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjP hhhja hKubj)}(h (const struct sock *sk, int cap)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')}jjv sbc.sk_net_capableasbuh1hhj 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 caph](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%)}(hcaph]hcap}(hj9 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=uh1jhjP hhhja hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjL hhhja hKubah}(h]jG ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhja hKhjI hhubjS)}(hhh]jX)}(h(Network namespace socket capability testh]h(Network namespace socket capability test}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj` hhubah}(h]h ]h"]h$]h&]uh1jRhjI hhhja hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{ jxj{ jyjzj{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)}(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}(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 cap`` The capability to use h](j)}(h ``int cap``h]j)}(hj h]hint cap}(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)}(hThe capability to useh]hThe capability to use}(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&]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 }(hj. hhhNhNubj)}(h**cap**h]hcap}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubh6 over the network namespace the socket is a member of.}(hj. hhhNhNubeh}(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}(hjo hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk 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 hjk hhhj} hM'ubj)}(hsk_set_memalloch]j%)}(hsk_set_memalloch]hsk_set_memalloc}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjk 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$]j')}jj sbc.sk_set_memallocasbuh1hhj 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} 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)}(hsets ``SOCK_MEMALLOC``h](hsets }(hj/ hhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ ubeh}(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&]uh1jRhjd hhhj} hM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjU jxjU jyjzj{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)}(hj_ h]h Parameters}(hja 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+hjY ubj)}(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(hjx ubj)}(hhh]jX)}(hsocket to set it onh]hsocket to set it on}(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(hju ubah}(h]h ]h"]h$]h&]uh1jhjY 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*hjY ubjX)}(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 }(hj hhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh on a socket for access to emergency reserves. It’s the responsibility of the admin to adjust min_free_kbytes to meet the requirements}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM*hjY ubeh}(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&]uh1hhj hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubh)}(hhh]j%)}(hsockh]hsock}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jsk_allocsb c.sk_allocasbuh1hhj hhhjhMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhjhMubj)}(hsk_alloch]j%)}(hjMh]hsk_alloc}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(hK(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)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$]jK c.sk_allocasbuh1hhjubj)}(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 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=uh1jhjubj)}(hgfp_t priorityh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]jK c.sk_allocasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(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=uh1jhjubj)}(hstruct proto *proth](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hprotoh]hproto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jK c.sk_allocasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hproth]hprot}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=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%All socket objects are allocated hereh]h%All socket objects are allocated here}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj*hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{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)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjIubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjnh]hstruct net *net}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjhubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubj)}(h``int family`` protocol family h](j)}(h``int family``h]j)}(hjh]h int family}(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.chMhjubj)}(hhh]jX)}(hprotocol familyh]hprotocol family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubj)}(hH``gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``gfp_t priority``h]j)}(hjh]hgfp_t priority}(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.chMhjubj)}(hhh]jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hjhhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubj)}(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.chMhj7ubj)}(hhh]jX)}(h3struct proto associated with this new sock instanceh]h3struct proto associated with this new sock instance}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjeubj)}(h+``int kern`` is this to be a kernel socket?h](j)}(h ``int kern``h]j)}(hjvh]hint kern}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjpubj)}(hhh]jX)}(his this to be a kernel socket?h]his this to be a kernel socket?}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubeh}(h]h ]h"]h$]h&]uh1jhjIubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j sk_clone_locksbc.sk_clone_lockasbuh1hhjhhhjhM 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 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=uh1jhjhhhjhM ubj)}(h-(const struct sock *sk, const gfp_t priority)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.sk_clone_lockasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hconst gfp_t priorityh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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_clone_lockasbuh1hhjubj)}(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=uh1jhjBubeh}(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"clone a socket, and lock its cloneh]h"clone a socket, and lock its clone}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjFhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sock *sk`` the socket to clone ``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) Caller must unlock socket even in error path (bh_unlock_sock(newsk))h](jX)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjeubj)}(hhh](j)}(h.``const struct sock *sk`` the socket to clone 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.chM hjubj)}(hhh]jX)}(hthe socket to cloneh]hthe socket to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) Caller must unlock socket even in error path (bh_unlock_sock(newsk))h](j)}(h``const gfp_t priority``h]j)}(hjh]hconst gfp_t priority}(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.chM hjubj)}(hhh](jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hjhhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjubjX)}(hDCaller must unlock socket even in error path (bh_unlock_sock(newsk))h]hDCaller must unlock socket even in error path (bh_unlock_sock(newsk))}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM5 ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj]hM5 ubj)}(hskb_page_frag_refillh]j%)}(hskb_page_frag_refillh]hskb_page_frag_refill}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj]hM5 ubj)}(h5(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j)}(hunsigned int szh](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%)}(hszh]hsz}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page_frag *pfragh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h page_fragh]h page_frag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjrsbc.skb_page_frag_refillasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpfragh]hpfrag}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jc.skb_page_frag_refillasbuh1hhjKubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj%)}(hgfph]hgfp}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhj]hM5 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhj]hM5 ubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hM5 hjEhhubjS)}(hhh]jX)}(h+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM5 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj]hM5 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chM9 hjubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hjh]hunsigned int sz}(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.chM6 hjubj)}(hhh]jX)}(h+minimum size of the fragment we want to geth]h+minimum size of the fragment we want to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM6 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6 hjubj)}(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.chM7 hjubj)}(hhh]jX)}(hpointer to page_fragh]hpointer to page_frag}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hM7 hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM7 hjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM8 hjUubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM8 hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM8 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&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM: hjubjX)}(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, }(hjhhhNhNubj)}(h**sz**h]hsz}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& MUST be less or equal than PAGE_SIZE.}(hjhhhNhNubeh}(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_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h sk_wait_datah]j%)}(h sk_wait_datah]h sk_wait_data}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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 }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hsockh]hsock}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j')}jjsbc.sk_wait_dataasbuh1hhj&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%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(h long *timeoh](j)}(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%)}(htimeoh]htimeo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jdc.sk_wait_dataasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjPhhhNhNubah}(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+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjwhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjh]hstruct 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.chM hjubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hjh]h long *timeo}(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.chM hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(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}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjhh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjubjX)}(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.}(hj~hhhNhNubah}(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](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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM< ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM< ubj)}(h__sk_mem_scheduleh]j%)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM< ubj)}(h%(struct sock *sk, int size, int kind)h](j)}(hstruct sock *skh](h)}(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 reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.__sk_mem_scheduleasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjChhhNhNubah}(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&]uh1jhjXubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hsizeh]hsize}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint kindh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hkindh]hkind}(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.increase sk_forward_alloc and memory_allocatedh]h.increase sk_forward_alloc and memory_allocated}(hjhhhNhNubah}(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&]uh1jRhjhhhjhM< ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX@**Parameters** ``struct sock *sk`` socket ``int size`` memory size to allocate ``int kind`` allocation type 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)}(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 h](j)}(h``struct sock *sk``h]j)}(hjh]hstruct 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.chM= hjubj)}(hhh]jX)}(hsocketh]hsocket}(hj1hhhNhNubah}(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 size`` memory size to allocate h](j)}(h ``int size``h]j)}(hjQh]hint size}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM> hjKubj)}(hhh]jX)}(hmemory size to allocateh]hmemory size to allocate}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhM> hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM> hjubj)}(h``int kind`` allocation type 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](j)}(h ``int kind``h]j)}(hjh]hint kind}(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.chMB hjubj)}(hhh](jX)}(hallocation typeh]hallocation type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM? hjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMA hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMB hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMe ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMe ubj)}(h__sk_mem_reclaimh]j%)}(h__sk_mem_reclaimh]h__sk_mem_reclaim}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMe ubj)}(h(struct sock *sk, int amount)h](j)}(hstruct sock *skh](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%)}(hsockh]hsock}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jjsbc.__sk_mem_reclaimasbuh1hhj,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%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubj)}(h int amounth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hamounth]hamount}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMe ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMe ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMe hjhhubjS)}(hhh]jX)}(h-reclaim sk_forward_alloc and memory_allocatedh]h-reclaim sk_forward_alloc and memory_allocated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMe hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMe ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMi hjubj)}(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.chMf hj#ubj)}(hhh]jX)}(hsocketh]hsocket}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMf hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMf hj ubj)}(hE``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](j)}(h``int amount``h]j)}(hjbh]h int amount}(hjdhhhNhNubah}(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.chMh hj\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.chMg hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMh hj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubh)}(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_try_recv_datagramsbc.__skb_try_recv_datagramasbuh1hhjhhhjhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKubj)}(h__skb_try_recv_datagramh]j%)}(hjh]h__skb_try_recv_datagram}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hsockh]hsock}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jc.__skb_try_recv_datagramasbuh1hhj2ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct sk_buff_head *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 sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__skb_try_recv_datagramasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hqueueh]hqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hint *offh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hint *errh](j)}(hinth]hint}(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%)}(herrh]herr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct sk_buff **lasth](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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.__skb_try_recv_datagramasbuh1hhjubj)}(h h]h }(hj' hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj5 hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjB hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlasth]hlast}(hjO hhhNhNubah}(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)}(hReceive a datagram skbuffh]hReceive a datagram skbuff}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjv hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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 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)}(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.chKhj 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj ubj)}(hhh]jX)}(hsocketh]hsocket}(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)}(hB``struct sk_buff_head *queue`` socket queue from which to receive h](j)}(h``struct sk_buff_head *queue``h]j)}(hj h]hstruct sk_buff_head *queue}(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.chKhj ubj)}(hhh]jX)}(h"socket queue from which to receiveh]h"socket queue from which to receive}(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#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hj,!h]hunsigned int flags}(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.chKhj&!ubj)}(hhh]jX)}(h MSG\_ flagsh]h MSG_ flags}(hjE!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA!hKhjB!ubah}(h]h ]h"]h$]h&]uh1jhj&!ubeh}(h]h ]h"]h$]h&]uh1jhjA!hKhj ubj)}(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)}(hje!h]hint *off}(hjg!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc!ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj_!ubj)}(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}(hj~!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj{!ubah}(h]h ]h"]h$]h&]uh1jhj_!ubeh}(h]h ]h"]h$]h&]uh1jhjz!hKhj ubj)}(h!``int *err`` error code returned 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj!ubj)}(hhh]jX)}(herror code returnedh]herror code returned}(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)}(hX``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking 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](j)}(h``struct sk_buff **last``h]j)}(hj!h]hstruct sk_buff **last}(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.chKhj!ubj)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj!ubjX)}(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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj!ubjX)}(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"hhhNhNubj)}(h**err**h]herr}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubhY set to -EAGAIN if no data was available or to some other value if an error was detected.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj!ubh bullet_list)}(hhh](h list_item)}(h5It does not lock socket since today. This function ish]jX)}(hj9"h]h5It does not lock socket since today. This function is}(hj;"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj7"ubah}(h]h ]h"]h$]h&]uh1j5"hj2"ubj6")}(h8free of race conditions. This measure should/can improveh]jX)}(hjQ"h]h8free of race conditions. This measure should/can improve}(hjS"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjO"ubah}(h]h ]h"]h$]h&]uh1j5"hj2"ubj6")}(h6significantly datagram socket latencies at high loads,h]jX)}(hji"h]h6significantly datagram socket latencies at high loads,}(hjk"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjg"ubah}(h]h ]h"]h$]h&]uh1j5"hj2"ubj6")}(h3when data copying to user space takes lots of time.h]jX)}(hj"h]h3when data copying to user space takes lots of time.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj"ubah}(h]h ]h"]h$]h&]uh1j5"hj2"ubj6")}(hC(BTW I've just killed the last cli() in IP/IPv6/core/netlink/packeth]jX)}(hj"h]hE(BTW I’ve just killed the last cli() in IP/IPv6/core/netlink/packet}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj"ubah}(h]h ]h"]h$]h&]uh1j5"hj2"ubj6")}(h8) Great win.)h]henumerated_list)}(hhh]j6")}(h Great win.)h]jX)}(hj"h]h Great win.)}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj"ubah}(h]h ]h"]h$]h&]uh1j5"hj"ubah}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffixjstartKuh1j"hj"ubah}(h]h ]h"]h$]h&]uh1j5"hj2"ubj6")}(h--ANK (980729) h]jX)}(h--ANK (980729)h]h--ANK (980729)}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj"ubah}(h]h ]h"]h$]h&]uh1j5"hj2"ubeh}(h]h ]h"]h$]h&]bulletj>uh1j0"hjH"hKhj!ubjX)}(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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hKhj 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_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}(hjB#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>#hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbubj)}(h h]h }(hjQ#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>#hhhjP#hMbubj)}(hskb_kill_datagramh]j%)}(hskb_kill_datagramh]hskb_kill_datagram}(hjc#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>#hhhjP#hMbubj)}(h:(struct sock *sk, struct sk_buff *skb, unsigned int flags)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')}jje#sbc.skb_kill_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%)}(hskh]hsk}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw#ubj)}(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}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj $ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j#c.skb_kill_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%)}(hskbh]hskb}(hjH$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw#ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hja$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]$ubj)}(h h]h }(hjo$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}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw#ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>#hhhjP#hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:#hhhjP#hMbubah}(h]j5#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjP#hMbhj7#hhubjS)}(hhh]jX)}(hFree a datagram skbuff forciblyh]hFree a datagram skbuff forcibly}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhj$hhubah}(h]h ]h"]h$]h&]uh1jRhj7#hhhjP#hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` socket ``struct sk_buff *skb`` datagram skbuff ``unsigned int flags`` MSG\_ flags 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)}(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.chMfhj$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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchj$ubj)}(hhh]jX)}(hsocketh]hsocket}(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)}(h(``struct sk_buff *skb`` datagram skbuff 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.chMdhj7%ubj)}(hhh]jX)}(hdatagram skbuffh]hdatagram skbuff}(hjV%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjR%hMdhjS%ubah}(h]h ]h"]h$]h&]uh1jhj7%ubeh}(h]h ]h"]h$]h&]uh1jhjR%hMdhj$ubj)}(hX``unsigned int flags`` MSG\_ flags 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](j)}(h``unsigned int flags``h]j)}(hjv%h]hunsigned int flags}(hjx%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt%ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhjp%ubj)}(hhh](jX)}(h MSG\_ flagsh]h MSG_ flags}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMehj%ubjX)}(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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMghj%ubjX)}(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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMkhj%ubjX)}(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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMohj%ubjX)}(h-It returns 0 if the packet was removed by us.h]h-It returns 0 if the packet was removed by us.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMshj%ubeh}(h]h ]h"]h$]h&]uh1jhjp%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMrhj$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_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}(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)}(h!skb_copy_and_crc32c_datagram_iterh]j%)}(h!skb_copy_and_crc32c_datagram_iterh]h!skb_copy_and_crc32c_datagram_iter}(hj-&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj&hMubj)}(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}(hjI&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjE&ubj)}(h h]h }(hjV&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE&ubh)}(hjh]hstruct}(hjd&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjE&ubj)}(h h]h }(hjq&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')}jj/&sb#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjE&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)}(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=uh1jhjA&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$]j&#c.skb_copy_and_crc32c_datagram_iterasbuh1hhj'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%)}(htoh]hto}(hjb'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjA&ubj)}(hint lenh](j)}(hinth]hint}(hj{'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw'ubj%)}(hlenh]hlen}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjA&ubj)}(h u32 *crcph](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.skb_copy_and_crc32c_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%)}(hcrcph]hcrcp}(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&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 datagram to an iovec iterator and update a CRC32C value.h]h=Copy datagram to an iovec iterator and update a CRC32C value.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.(jxj.(jyjzj{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)}(hj8(h]h Parameters}(hj:(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6(ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj2(ubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjW(h]hconst struct sk_buff *skb}(hjY(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU(ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjQ(ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjp(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl(hMhjm(ubah}(h]h ]h"]h$]h&]uh1jhjQ(ubeh}(h]h ]h"]h$]h&]uh1jhjl(hMhjN(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(hMhjN(ubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hj(h]hstruct iov_iter *to}(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)}(hiovec iterator to copy toh]hiovec iterator to copy to}(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)}(h8``int len`` amount of data to copy from buffer to iovec 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&]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&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjN(ubj)}(h0``u32 *crcp`` pointer to CRC32C value to update h](j)}(h ``u32 *crcp``h]j)}(hj;)h]h u32 *crcp}(hj=)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9)ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj5)ubj)}(hhh]jX)}(h!pointer to CRC32C value to updateh]h!pointer to CRC32C value to update}(hjT)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjP)hMhjQ)ubah}(h]h ]h"]h$]h&]uh1jhj5)ubeh}(h]h ]h"]h$]h&]uh1jhjP)hMhjN(ubeh}(h]h ]h"]h$]h&]uh1jhj2(ubjX)}(h **Return**h]j)}(hjv)h]hReturn}(hjx)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt)ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj2(ubjX)}(h70 on success, -EFAULT if there was a fault during copy.h]h70 on success, -EFAULT if there was a fault during copy.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj2(ubeh}(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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj)hM 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=uh1jhj)hhhj)hM 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 }(hj *hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj1*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3*modnameN classnameNjj!)}j$]j')}jj)sbc.skb_copy_datagram_iterasbuh1hhj)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%)}(hskbh]hskb}(hjl*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$]jM*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}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hint lenh](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%)}(hlenh]hlen}(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)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%Copy a datagram to an iovec iterator.h]h%Copy a datagram to an iovec iterator.}(hjp+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjm+hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj)hM 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)}(hj#,h]hstruct iov_iter *to}(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)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hj<,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8,hMhj9,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj8,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&]uh1jhjZ,ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjV,ubj)}(hhh]jX)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hju,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjr,ubah}(h]h ]h"]h$]h&]uh1jhjV,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](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}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jj,sbc.skb_copy_datagram_from_iterasbuh1hhj,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%)}(hskbh]hskb}(hjL-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(h int offseth](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%)}(hoffseth]hoffset}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja-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$]j--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}(hj .hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj.hhhNhNubah}(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=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.}(hjP.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjM.hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhj,hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjh.jxjh.jyjzj{uh1hhhhj[hNhNubj})}(h**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 Returns 0 or -EFAULT.h](jX)}(h**Parameters**h]j)}(hjr.h]h Parameters}(hjt.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp.ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hjl.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}(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)}(hN``int len`` amount of data to copy to buffer from iovec Returns 0 or -EFAULT.h](j)}(h ``int len``h]j)}(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"hj6/ubj)}(hhh](jX)}(h+amount of data to copy to buffer from iovech]h+amount of data to copy to buffer from iovec}(hjU/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hjR/ubjX)}(hReturns 0 or -EFAULT.h]hReturns 0 or -EFAULT.}(hjd/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM#hjR/ubeh}(h]h ]h"]h$]h&]uh1jhj6/ubeh}(h]h ]h"]h$]h&]uh1jhjQ/hM"hj.ubeh}(h]h ]h"]h$]h&]uh1jhjl.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 }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jj/sbc.zerocopy_sg_from_iterasbuh1hhj/ubj)}(h h]h }(hj 0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hj.0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hskbh]hskb}(hj;0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hstruct iov_iter *fromh](h)}(hjh]hstruct}(hjT0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjP0ubj)}(h h]h }(hja0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP0ubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjr0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjt0modnameN classnameNjj!)}j$]j0c.zerocopy_sg_from_iterasbuh1hhjP0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjP0ubj%)}(hfromh]hfrom}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjP0ubeh}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``struct iov_iter *from`` the source to copy from 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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj0ubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj1h]hstruct sk_buff *skb}(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.chMhj1ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hj/1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+1hMhj,1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj+1hMhj 1ubj)}(h``struct iov_iter *from`` the source to copy from 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](j)}(h``struct iov_iter *from``h]j)}(hjO1h]hstruct iov_iter *from}(hjQ1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM1ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjI1ubj)}(hhh](jX)}(hthe source to copy fromh]hthe source to copy from}(hjh1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhje1ubjX)}(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.}(hjw1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhje1ubjX)}(h Returns 0, -EFAULT or -EMSGSIZE.h]h Returns 0, -EFAULT or -EMSGSIZE.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhje1ubeh}(h]h ]h"]h$]h&]uh1jhjI1ubeh}(h]h ]h"]h$]h&]uh1jhjd1hMhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM^ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hM^ubj)}(hskb_copy_and_csum_datagram_msgh]j%)}(hskb_copy_and_csum_datagram_msgh]hskb_copy_and_csum_datagram_msg}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hM^ubj)}(h3(struct sk_buff *skb, int hlen, struct msghdr *msg)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj"2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$2modnameN classnameNjj!)}j$]j')}jj1sb c.skb_copy_and_csum_datagram_msgasbuh1hhj2ubj)}(h h]h }(hjB2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjP2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hskbh]hskb}(hj]2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hint hlenh](j)}(hinth]hint}(hjv2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr2ubj%)}(hhlenh]hhlen}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j>2 c.skb_copy_and_csum_datagram_msgasbuh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hmsgh]hmsg}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(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]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hM^hj1hhubjS)}(hhh]jX)}(h$Copy and checksum skb to user iovec.h]h$Copy and checksum skb to user iovec.}(hj,3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM^hj)3hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjD3jxjD3jyjzj{uh1hhhhj[hNhNubj})}(hX#**Parameters** ``struct sk_buff *skb`` skbuff ``int hlen`` hardware length ``struct msghdr *msg`` destination 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)}(hjN3h]h Parameters}(hjP3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL3ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhjH3ubj)}(hhh](j)}(h``struct sk_buff *skb`` skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hjm3h]hstruct sk_buff *skb}(hjo3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk3ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM_hjg3ubj)}(hhh]jX)}(hskbuffh]hskbuff}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM_hj3ubah}(h]h ]h"]h$]h&]uh1jhjg3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM_hjd3ubj)}(h``int hlen`` hardware length h](j)}(h ``int hlen``h]j)}(hj3h]hint hlen}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM`hj3ubj)}(hhh]jX)}(hhardware lengthh]hhardware length}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM`hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM`hjd3ubj)}(hY``struct msghdr *msg`` destination Caller _must_ check that skb will fit to this iovec. h](j)}(h``struct msghdr *msg``h]j)}(hj3h]hstruct msghdr *msg}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchj3ubj)}(hhh](jX)}(h destinationh]h destination}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMahj3ubjX)}(h4Caller _must_ check that skb will fit to this iovec.h]h4Caller _must_ check that skb will fit to this iovec.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMchj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMchjd3ubeh}(h]h ]h"]h$]h&]uh1jhjH3ubjX)}(h **Return**h]j)}(hj)4h]hReturn}(hj+4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'4ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMehjH3ubj)}(hhh]j)}(hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h](j)}(h0 - success.h]h0 - success.}(hjF4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhjB4ubj)}(hhh]jX)}(h8-EINVAL - checksum failure. -EFAULT - fault during copy.h]h8-EINVAL - checksum failure. -EFAULT - fault during copy.}(hjX4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjT4hMfhjU4ubah}(h]h ]h"]h$]h&]uh1jhjB4ubeh}(h]h ]h"]h$]h&]uh1jhjT4hMfhj?4ubah}(h]h ]h"]h$]h&]uh1jhjH3ubeh}(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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}j datagram_pollsbc.datagram_pollasbuh1hhj4hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hMubj)}(h datagram_pollh]j%)}(hj4h]h datagram_poll}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hMubj)}(h:(struct file *file, struct socket *sock, poll_table *wait)h](j)}(hstruct file *fileh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(hfileh]hfile}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj 5modnameN classnameNjj!)}j$]j4c.datagram_pollasbuh1hhj4ubj)}(h h]h }(hj&5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj45hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hfileh]hfile}(hjA5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjZ5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjV5ubj)}(h h]h }(hjg5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV5ubh)}(hhh]j%)}(hsocketh]hsocket}(hjx5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjz5modnameN classnameNjj!)}j$]j4c.datagram_pollasbuh1hhjV5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjV5ubj%)}(hsockh]hsock}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(hpoll_table *waith](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j4c.datagram_pollasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hwaith]hwait}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(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)}(hgeneric datagram pollh]hgeneric datagram poll}(hj06hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj-6hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjH6jxjH6jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct file *file`` file struct ``struct socket *sock`` socket ``poll_table *wait`` poll table 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)}(hjR6h]h Parameters}(hjT6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP6ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjL6ubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hjq6h]hstruct file *file}(hjs6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo6ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjk6ubj)}(hhh]jX)}(h file structh]h file struct}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjk6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjh6ubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj6h]hstruct socket *sock}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj6ubj)}(hhh]jX)}(hsocketh]hsocket}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjh6ubj)}(h``poll_table *wait`` poll table Datagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. h](j)}(h``poll_table *wait``h]j)}(hj6h]hpoll_table *wait}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj6ubj)}(hhh](jX)}(h poll tableh]h poll table}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj6ubjX)}(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.}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjh6ubeh}(h]h ]h"]h$]h&]uh1jhjL6ubjX)}(h**Note**h]j)}(hj.7h]hNote}(hj07hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,7ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjL6ubj)}(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 }(hjK7hhhNhNubj j)}(h*don't*h]hdon’t}(hjS7hhhNhNubah}(h]h ]h"]h$]h&]uh1j jhjK7ubh$ use this routine for this protocol,}(hjK7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjG7ubj)}(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.}(hjo7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjk7hMhjl7ubah}(h]h ]h"]h$]h&]uh1jhjG7ubeh}(h]h ]h"]h$]h&]uh1jhjk7hMhjD7ubah}(h]h ]h"]h$]h&]uh1jhjL6ubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK2ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hK2ubj)}(hsk_stream_wait_connecth]j%)}(hsk_stream_wait_connecth]hsk_stream_wait_connect}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hK2ubj)}(h (struct sock *sk, long *timeo_p)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hsockh]hsock}(hj 8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj 8modnameN classnameNjj!)}j$]j')}jj7sbc.sk_stream_wait_connectasbuh1hhj7ubj)}(h h]h }(hj*8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj88hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hskh]hsk}(hjE8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(h long *timeo_ph](j)}(hlongh]hlong}(hj^8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ8ubj)}(h h]h }(hjl8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZ8ubj;)}(hj>h]h*}(hjz8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZ8ubj%)}(htimeo_ph]htimeo_p}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZ8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hK2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hK2ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hK2hj7hhubjS)}(hhh]jX)}(h1Wait for a socket to get into the connected stateh]h1Wait for a socket to get into the connected state}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK2hj8hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hK2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hj8ubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hj8h]hstruct sock *sk}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK3hj8ubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hK3hj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hK3hj8ubj)}(h'``long *timeo_p`` for how long to wait h](j)}(h``long *timeo_p``h]j)}(hj+9h]h long *timeo_p}(hj-9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK4hj%9ubj)}(hhh]jX)}(hfor how long to waith]hfor how long to wait}(hjD9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@9hK4hjA9ubah}(h]h ]h"]h$]h&]uh1jhj%9ubeh}(h]h ]h"]h$]h&]uh1jhj@9hK4hj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjf9h]h Description}(hjh9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd9ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hj8ubjX)}(h&Must be called with the socket locked.h]h&Must be called with the socket locked.}(hj|9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hj8ubeh}(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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKrubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhj9hKrubj)}(hsk_stream_wait_memoryh]j%)}(hsk_stream_wait_memoryh]hsk_stream_wait_memory}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhj9hKrubj)}(h (struct sock *sk, long *timeo_p)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(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')}jj9sbc.sk_stream_wait_memoryasbuh1hhj9ubj)}(h h]h }(hj&:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj4:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hskh]hsk}(hjA:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(h long *timeo_ph](j)}(hlongh]hlong}(hjZ:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV:ubj)}(h h]h }(hjh:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV:ubj;)}(hj>h]h*}(hjv:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjV:ubj%)}(htimeo_ph]htimeo_p}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhj9hKrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhj9hKrubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hKrhj9hhubjS)}(hhh]jX)}(h!Wait for more memory for a socketh]h!Wait for more memory for a socket}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKrhj:hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhj9hKrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhj[hNhNubj})}(ha**Parameters** ``struct sock *sk`` socket to wait for memory ``long *timeo_p`` for how longh](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:35: ./net/core/stream.chKvhj:ubj)}(hhh](j)}(h.``struct sock *sk`` socket to wait for memory 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKshj:ubj)}(hhh]jX)}(hsocket to wait for memoryh]hsocket to wait for memory}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hKshj;ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj;hKshj:ubj)}(h``long *timeo_p`` for how longh](j)}(h``long *timeo_p``h]j)}(hj';h]h long *timeo_p}(hj);hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKuhj!;ubj)}(hhh]jX)}(h for how longh]h for how long}(hj@;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKthj=;ubah}(h]h ]h"]h$]h&]uh1jhj!;ubeh}(h]h ]h"]h$]h&]uh1jhj<;hKuhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(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}(hjs;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp;hhhhhK'ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_filter_trim_cap (C function)c.sk_filter_trim_caphNtauh1hhjp;hhhNhNubh)}(hhh](h)}(hOint sk_filter_trim_cap (struct sock *sk, struct sk_buff *skb, unsigned int cap)h]h)}(hNint sk_filter_trim_cap(struct sock *sk, struct sk_buff *skb, unsigned int cap)h](j)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj;hKyubj)}(hsk_filter_trim_caph]j%)}(hsk_filter_trim_caph]hsk_filter_trim_cap}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hKyubj)}(h8(struct sock *sk, struct sk_buff *skb, unsigned int cap)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_filter_trim_capasbuh1hhj;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}(hj0<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}(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}(hjg<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetji<modnameN classnameNjj!)}j$]j<c.sk_filter_trim_capasbuh1hhjE<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=uh1jhj;ubj)}(hunsigned int caph](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%)}(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=uh1jhj;hhhj;hKyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj;hKyubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hKyhj;hhubjS)}(hhh]jX)}(h$run a packet through a socket filterh]h$run a packet through a socket filter}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hKyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3=jxj3=jyjzj{uh1hhhhjp;hNhNubj})}(hX**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 **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==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:41: ./net/core/filter.chK}hj7=ubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hj\=h]hstruct sock *sk}(hj^=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKzhjV=ubj)}(hhh]jX)}(h&sock associated with :c:type:`sk_buff`h](hsock associated with }(hju=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_buffuh1hhjq=hKzhju=ubeh}(h]h ]h"]h$]h&]uh1jWhjq=hKzhjr=ubah}(h]h ]h"]h$]h&]uh1jhjV=ubeh}(h]h ]h"]h$]h&]uh1jhjq=hKzhjS=ubj)}(h)``struct sk_buff *skb`` buffer to filter 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:41: ./net/core/filter.chK{hj=ubj)}(hhh]jX)}(hbuffer to filterh]hbuffer to filter}(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{hjS=ubj)}(hM``unsigned int cap`` limit on how short the eBPF program may trim the packet h](j)}(h``unsigned int cap``h]j)}(hj=h]hunsigned int cap}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hj=ubj)}(hhh]jX)}(h7limit on how short the eBPF program may trim the packeth]h7limit on how short the eBPF program may trim the packet}(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|hjS=ubeh}(h]h ]h"]h$]h&]uh1jhj7=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:41: ./net/core/filter.chK~hj7=ubjX)}(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.}(hj>>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK~hj7=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjp;hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhjp;hhhNhNubh)}(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}(hjm>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji>hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMYubj)}(h h]h }(hj|>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji>hhhj{>hMYubj)}(hbpf_prog_createh]j%)}(hbpf_prog_createh]hbpf_prog_create}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhji>hhhj{>hMYubj)}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j)}(hstruct bpf_prog **pfph](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%)}(hbpf_progh]hbpf_prog}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jj>sbc.bpf_prog_createasbuh1hhj>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;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>ubj%)}(hpfph]hpfp}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hstruct sock_fprog_kern *fprogh](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%)}(hsock_fprog_kernh]hsock_fprog_kern}(hjG?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjI?modnameN classnameNjj!)}j$]j>c.bpf_prog_createasbuh1hhj%?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%)}(hfprogh]hfprog}(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=uh1jhji>hhhj{>hMYubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhje>hhhj{>hMYubah}(h]j`>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{>hMYhjb>hhubjS)}(hhh]jX)}(hcreate an unattached filterh]hcreate an unattached filter}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMYhj?hhubah}(h]h ]h"]h$]h&]uh1jRhjb>hhhj{>hMYubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhjp;hNhNubj})}(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)}(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:41: ./net/core/filter.chM]hj?ubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hj?h]hstruct bpf_prog **pfp}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMZhj?ubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMZhj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMZhj?ubj)}(h5``struct sock_fprog_kern *fprog`` the filter program h](j)}(h!``struct sock_fprog_kern *fprog``h]j)}(hj$@h]hstruct sock_fprog_kern *fprog}(hj&@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM[hj@ubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hj=@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9@hM[hj:@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj9@hM[hj?ubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM]hj?ubjX)}(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.}(hju@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM]hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjp;hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&bpf_prog_create_from_user (C function)c.bpf_prog_create_from_userhNtauh1hhjp;hhhNhNubh)}(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}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hMubj)}(hbpf_prog_create_from_userh]j%)}(hbpf_prog_create_from_userh]hbpf_prog_create_from_user}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hMubj)}(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@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hbpf_progh]hbpf_prog}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jj@sbc.bpf_prog_create_from_userasbuh1hhj@ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hj-AhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj;)}(hj>h]h*}(hj:AhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hpfph]hpfp}(hjGAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hstruct sock_fprog *fprogh](h)}(hjh]hstruct}(hj`AhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\Aubj)}(h h]h }(hjmAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\Aubh)}(hhh]j%)}(h sock_fprogh]h sock_fprog}(hj~AhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{Aubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jAc.bpf_prog_create_from_userasbuh1hhj\Aubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\Aubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\Aubj%)}(hfprogh]hfprog}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\Aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hbpf_aux_classic_check_t transh](h)}(hhh]j%)}(hbpf_aux_classic_check_th]hbpf_aux_classic_check_t}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jAc.bpf_prog_create_from_userasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj%)}(htransh]htrans}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hbool save_origh](j)}(hjTh]hbool}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hj%BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(h save_origh]h save_orig}(hj3BhhhNhNubah}(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,create an unattached filter from user bufferh]h,create an unattached filter from user buffer}(hj]BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjZBhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjuBjxjuBjyjzj{uh1hhhhjp;hNhNubj})}(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)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Bubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjyBubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hjBh]hstruct bpf_prog **pfp}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjBubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubj)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hjBh]hstruct sock_fprog *fprog}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjBubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubj)}(hO``bpf_aux_classic_check_t trans`` post-classic verifier transformation handler h](j)}(h!``bpf_aux_classic_check_t trans``h]j)}(hjCh]hbpf_aux_classic_check_t trans}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj Cubj)}(hhh]jX)}(h,post-classic verifier transformation handlerh]h,post-classic verifier transformation handler}(hj)ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%ChMhj&Cubah}(h]h ]h"]h$]h&]uh1jhj Cubeh}(h]h ]h"]h$]h&]uh1jhj%ChMhjBubj)}(h,``bool save_orig`` save classic BPF program h](j)}(h``bool save_orig``h]j)}(hjICh]hbool save_orig}(hjKChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjCCubj)}(hhh]jX)}(hsave classic BPF programh]hsave classic BPF program}(hjbChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^ChMhj_Cubah}(h]h ]h"]h$]h&]uh1jhjCCubeh}(h]h ]h"]h$]h&]uh1jhj^ChMhjBubeh}(h]h ]h"]h$]h&]uh1jhjyBubjX)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjyBubjX)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjyBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjp;hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_attach_filter (C function)c.sk_attach_filterhNtauh1hhjp;hhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMubj)}(hsk_attach_filterh]j%)}(hsk_attach_filterh]hsk_attach_filter}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjChMubj)}(h+(struct sock_fprog *fprog, struct sock *sk)h](j)}(hstruct sock_fprog *fprogh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h sock_fprogh]h sock_fprog}(hj$DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!Dubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&DmodnameN classnameNjj!)}j$]j')}jjCsbc.sk_attach_filterasbuh1hhjDubj)}(h h]h }(hjDDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjRDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hfprogh]hfprog}(hj_DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjxDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtDubh)}(hhh]j%)}(hsockh]hsock}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j@Dc.sk_attach_filterasbuh1hhjtDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtDubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtDubj%)}(hskh]hsk}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhjChMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhjChMubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChMhjChhubjS)}(hhh]jX)}(hattach a socket filterh]hattach a socket filter}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjChhhjChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhjp;hNhNubj})}(hXs**Parameters** ``struct sock_fprog *fprog`` the filter program ``struct sock *sk`` the socket to use **Description** Attach the user's filter code. 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)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjEubj)}(hhh](j)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hj:Eh]hstruct sock_fprog *fprog}(hjLsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKJhjLubjX)}(h **Members**h]j)}(hjOLh]hMembers}(hjQLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMLubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKOhjLubj)}(hhh](j)}(h``interval`` sampling period h](j)}(h ``interval``h]j)}(hjnLh]hinterval}(hjpLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlLubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhjhLubj)}(hhh]jX)}(hsampling periodh]hsampling period}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhKFhjLubah}(h]h ]h"]h$]h&]uh1jhjhLubeh}(h]h ]h"]h$]h&]uh1jhjLhKFhjeLubj)}(h1``ewma_log`` the log of measurement window weighth](j)}(h ``ewma_log``h]j)}(hjLh]hewma_log}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhjLubj)}(hhh]jX)}(h$the log of measurement window weighth]h$the log of measurement window weight}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKGhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhKFhjeLubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)gnet_stats_start_copy_compat (C function)c.gnet_stats_start_copy_compathNtauh1hhjEhhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjMhK(ubj)}(hgnet_stats_start_copy_compath]j%)}(hgnet_stats_start_copy_compath]hgnet_stats_start_copy_compat}(hj"MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjMhK(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}(hj>MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:Mubj)}(h h]h }(hjKMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:Mubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj\MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^MmodnameN classnameNjj!)}j$]j')}jj$Msbc.gnet_stats_start_copy_compatasbuh1hhj: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%)}(hskbh]hskb}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Mubj)}(hint typeh](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(htypeh]htype}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Mubj)}(hint tc_stats_typeh](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(h tc_stats_typeh]h tc_stats_type}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Mubj)}(hint xstats_typeh](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hj(NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(h xstats_typeh]h xstats_type}(hj6NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Mubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjRNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjONubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTNmodnameN classnameNjj!)}j$]jxMc.gnet_stats_start_copy_compatasbuh1hhjKNubj)}(h h]h }(hjpNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKNubj;)}(hj>h]h*}(hj~NhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKNubj%)}(hlockh]hlock}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Mubj)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jxMc.gnet_stats_start_copy_compatasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hdh]hd}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Mubj)}(h int padattrh](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj"OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(hpadattrh]hpadattr}(hj0OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Mubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhjMhK(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjMhK(ubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhK(hjLhhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hjZOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(hjWOhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjMhK(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrOjxjrOjyjzj{uh1hhhhjEhNhNubj})}(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|Oh]h Parameters}(hj~OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzOubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hjvOubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hjOh]hstruct sk_buff *skb}(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.chK)hjOubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhK)hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhK)hjOubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjOh]hint type}(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.chK*hjOubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhK*hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhK*hjOubj)}(hN``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV h](j)}(h``int tc_stats_type``h]j)}(hj Ph]hint tc_stats_type}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Pubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK+hjPubj)}(hhh]jX)}(h7TLV type for backward compatibility struct tc_stats TLVh]h7TLV type for backward compatibility struct tc_stats TLV}(hj&PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"PhK+hj#Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj"PhK+hjOubj)}(hC``int xstats_type`` TLV type for backward compatibility xstats TLV h](j)}(h``int xstats_type``h]j)}(hjFPh]hint xstats_type}(hjHPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDPubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hj@Pubj)}(hhh]jX)}(h.TLV type for backward compatibility xstats TLVh]h.TLV type for backward compatibility xstats TLV}(hj_PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[PhK,hj\Pubah}(h]h ]h"]h$]h&]uh1jhj@Pubeh}(h]h ]h"]h$]h&]uh1jhj[PhK,hjOubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjPh]hspinlock_t *lock}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Pubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK-hjyPubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhK-hjPubah}(h]h ]h"]h$]h&]uh1jhjyPubeh}(h]h ]h"]h$]h&]uh1jhjPhK-hjOubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjPh]hstruct gnet_dump *d}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK.hjPubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhK.hjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhK.hjOubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjPh]h int padattr}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK/hjPubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhK/hjQubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjQhK/hjOubeh}(h]h ]h"]h$]h&]uh1jhjvOubjX)}(h**Description**h]j)}(hj,Qh]h Description}(hj.QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Qubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hjvOubjX)}(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.}(hjBQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hjvOubjX)}(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.}(hjQQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK5hjvOubjX)}(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`QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK8hjvOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_start_copy (C function)c.gnet_stats_start_copyhNtauh1hhjEhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhK`ubj)}(hgnet_stats_start_copyh]j%)}(hgnet_stats_start_copyh]hgnet_stats_start_copy}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhK`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}(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$]j')}jjQsbc.gnet_stats_start_copyasbuh1hhjQubj)}(h h]h }(hj RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hskbh]hskb}(hj%RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hint typeh](j)}(hinth]hint}(hj>RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:Rubj)}(h h]h }(hjLRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:Rubj%)}(htypeh]htype}(hjZRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjvRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxRmodnameN classnameNjj!)}j$]jRc.gnet_stats_start_copyasbuh1hhjoRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoRubj%)}(hlockh]hlock}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jRc.gnet_stats_start_copyasbuh1hhjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hjNh]hd}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(h int padattrh](j)}(hinth]hint}(hj7ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3Subj)}(h h]h }(hjEShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3Subj%)}(hpadattrh]hpadattr}(hjSShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3Subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjQhK`ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhjQhK`ubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhK`hjQhhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hj}ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`hjzShhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjQhK`ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjEhNhNubj})}(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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjSubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hjSh]hstruct sk_buff *skb}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKahjSubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShKahjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShKahjSubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjSh]hint type}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKbhjSubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj ThKbhj Tubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj ThKbhjSubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hj0Th]hspinlock_t *lock}(hj2ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Tubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKchj*Tubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hjIThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEThKchjFTubah}(h]h ]h"]h$]h&]uh1jhj*Tubeh}(h]h ]h"]h$]h&]uh1jhjEThKchjSubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjiTh]hstruct gnet_dump *d}(hjkThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjcTubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~ThKdhjTubah}(h]h ]h"]h$]h&]uh1jhjcTubeh}(h]h ]h"]h$]h&]uh1jhj~ThKdhjSubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjTh]h int padattr}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKehjTubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThKehjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThKehjSubeh}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKghjSubjX)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKghjSubjX)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKkhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_basic (C function)c.gnet_stats_copy_basichNtauh1hhjEhhhNhNubh)}(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}(hj1UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-UhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKubj)}(h h]h }(hj@UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Uhhhj?UhKubj)}(hgnet_stats_copy_basich]j%)}(hgnet_stats_copy_basich]hgnet_stats_copy_basic}(hjRUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-Uhhhj?UhKubj)}(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}(hjnUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjUubj)}(h h]h }(hj{UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjUubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjTUsbc.gnet_stats_copy_basicasbuh1hhjjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjUubj%)}(hjNh]hd}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfUubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jUc.gnet_stats_copy_basicasbuh1hhjUubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh__percpu}(hjUhhhNhNubj)}(h h]h }(hj-VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hj;VhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hcpuh]hcpu}(hjHVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfUubj)}(hstruct gnet_stats_basic_sync *bh](h)}(hjh]hstruct}(hjaVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]Vubj)}(h h]h }(hjnVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]Vubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Vubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jUc.gnet_stats_copy_basicasbuh1hhj]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%)}(hbh]hb}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]Vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfUubj)}(h bool runningh](j)}(hjTh]hbool}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hrunningh]hrunning}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfUubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-Uhhhj?UhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)Uhhhj?UhKubah}(h]j$Uah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?UhKhj&UhhubjS)}(hhh]jX)}(h(copy basic statistics into statistic TLVh]h(copy basic statistics into statistic TLV}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjWhhubah}(h]h ]h"]h$]h&]uh1jRhj&Uhhhj?UhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.Wjxj.Wjyjzj{uh1hhhhjEhNhNubj})}(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)}(hj8Wh]h Parameters}(hj:WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Wubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj2Wubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjWWh]hstruct gnet_dump *d}(hjYWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjQWubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjpWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlWhKhjmWubah}(h]h ]h"]h$]h&]uh1jhjQWubeh}(h]h ]h"]h$]h&]uh1jhjlWhKhjNWubj)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjWh]h*struct gnet_stats_basic_sync __percpu *cpu}(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.chKhjWubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhKhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhKhjNWubj)}(h5``struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h#``struct gnet_stats_basic_sync *b``h]j)}(hjWh]hstruct gnet_stats_basic_sync *b}(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.chKhjWubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhKhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhKhjNWubj)}(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)}(hjXh]h bool running}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjWubj)}(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 }(hjXhhhNhNubj)}(h**b**h]hb}(hj#XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh" represents a running qdisc, thus }(hjXhhhNhNubj)}(h**b**h]hb}(hj5XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhC’s internal values might change during basic reads. Only used if }(hjXhhhNhNubj)}(h**cpu**h]hcpu}(hjGXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh is NULL}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjXubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjNWubeh}(h]h ]h"]h$]h&]uh1jhj2WubjX)}(h **Context**h]j)}(hjtXh]hContext}(hjvXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrXubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj2WubjX)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj2WubjX)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj2WubjX)}(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().}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj2WubjX)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj2Wubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_basic_hw (C function)c.gnet_stats_copy_basic_hwhNtauh1hhjEhhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjXhMubj)}(hgnet_stats_copy_basic_hwh]j%)}(hgnet_stats_copy_basic_hwh]hgnet_stats_copy_basic_hw}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Yubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjXhMubj)}(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}(hj,YhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(Yubj)}(h h]h }(hj9YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Yubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjJYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLYmodnameN classnameNjj!)}j$]j')}jjYsbc.gnet_stats_copy_basic_hwasbuh1hhj(Yubj)}(h h]h }(hjjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Yubj;)}(hj>h]h*}(hjxYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(Yubj%)}(hjNh]hd}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Yubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jfYc.gnet_stats_copy_basic_hwasbuh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh__percpu}(hjYhhhNhNubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hcpuh]hcpu}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Yubj)}(hstruct gnet_stats_basic_sync *bh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hj,ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj=ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?ZmodnameN classnameNjj!)}j$]jfYc.gnet_stats_copy_basic_hwasbuh1hhjZubj)}(h h]h }(hj[ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjiZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hjVh]hb}(hjvZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Yubj)}(h bool runningh](j)}(hjTh]hbool}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hrunningh]hrunning}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(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)}(h+copy basic hw statistics into statistic TLVh]h+copy basic hw statistics into statistic TLV}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhjXhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhjEhNhNubj})}(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)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjZubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj[h]hstruct gnet_dump *d}(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.chMhj[ubj)}(hhh]jX)}(hdumping handleh]hdumping 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)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjM[h]h*struct gnet_stats_basic_sync __percpu *cpu}(hjO[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjG[ubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjf[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb[hMhjc[ubah}(h]h ]h"]h$]h&]uh1jhjG[ubeh}(h]h ]h"]h$]h&]uh1jhjb[hMhj [ubj)}(h5``struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h#``struct gnet_stats_basic_sync *b``h]j)}(hj[h]hstruct gnet_stats_basic_sync *b}(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.chMhj[ubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(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 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[h]h bool running}(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.chMhj[ubj)}(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 }(hj[hhhNhNubj)}(h**b**h]hb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh" represents a running qdisc, thus }(hj[hhhNhNubj)}(h**b**h]hb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubhC’s internal values might change during basic reads. Only used if }(hj[hhhNhNubj)}(h**cpu**h]hcpu}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh is NULL}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj [ubeh}(h]h ]h"]h$]h&]uh1jhjZubjX)}(h **Context**h]j)}(hj1\h]hContext}(hj3\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.chMhjZubjX)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjG\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjZubjX)}(h**Description**h]j)}(hjX\h]h Description}(hjZ\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV\ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjZubjX)}(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().}(hjn\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjZubjX)}(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.}(hj}\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_rate_est (C function)c.gnet_stats_copy_rate_esthNtauh1hhjEhhhNhNubh)}(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}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhj\hM)ubj)}(hgnet_stats_copy_rate_esth]j%)}(hgnet_stats_copy_rate_esth]hgnet_stats_copy_rate_est}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhj\hM)ubj)}(hA(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h](j)}(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')}jj\sbc.gnet_stats_copy_rate_estasbuh1hhj\ubj)}(h h]h }(hj']hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj;)}(hj>h]h*}(hj5]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(hjNh]hd}(hjB]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjZ]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjV]ubj)}(h h]h }(hjg]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV]ubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjx]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjz]modnameN classnameNjj!)}j$]j#]c.gnet_stats_copy_rate_estasbuh1hhjV]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV]ubh__rcu}(hjV]hhhNhNubj)}(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;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjV]ubj%)}(hrate_esth]hrate_est}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV]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)}(h2copy rate estimator statistics into statistics TLVh]h2copy rate estimator statistics into statistics TLV}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)hj]hhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhj\hM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjEhNhNubj})}(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)}(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.chM-hj^ubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj;^h]hstruct gnet_dump *d}(hj=^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9^ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM*hj5^ubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjT^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjP^hM*hjQ^ubah}(h]h ]h"]h$]h&]uh1jhj5^ubeh}(h]h ]h"]h$]h&]uh1jhjP^hM*hj2^ubj)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjt^h]h*struct net_rate_estimator __rcu **rate_est}(hjv^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr^ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM+hjn^ubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(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+hj2^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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM-hj^ubjX)}(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().}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM-hj^ubjX)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM0hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhjEhhhNhNubh)}(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_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhj_hMuubj)}(hgnet_stats_copy_queueh]j%)}(hgnet_stats_copy_queueh]hgnet_stats_copy_queue}(hj$_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj _ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj_hMuubj)}(hf(struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h](j)}(hstruct gnet_dump *dh](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%)}(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')}jj&_sbc.gnet_stats_copy_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%)}(hjNh]hd}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8_ubj)}(h'struct gnet_stats_queue __percpu *cpu_qh](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%)}(hgnet_stats_queueh]hgnet_stats_queue}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]jz_c.gnet_stats_copy_queueasbuh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh__percpu}(hj_hhhNhNubj)}(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%)}(hcpu_qh]hcpu_q}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8_ubj)}(hstruct gnet_stats_queue *qh](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%)}(hgnet_stats_queueh]hgnet_stats_queue}(hjQ`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjS`modnameN classnameNjj!)}j$]jz_c.gnet_stats_copy_queueasbuh1hhj/`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%)}(hqh]hq}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8_ubj)}(h __u32 qlenh](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$]jz_c.gnet_stats_copy_queueasbuh1hhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hqlenh]hqlen}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj^hhhj_hMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhj_hMuubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMuhj^hhubjS)}(hhh]jX)}(h)copy queue statistics into statistics TLVh]h)copy queue statistics into statistics TLV}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuhj`hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhj_hMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjEhNhNubj})}(hX**Parameters** ``struct gnet_dump *d`` dumping handle ``struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics ``struct gnet_stats_queue *q`` queue statistics ``__u32 qlen`` queue length statistics **Description** Appends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available. 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)}(hjah]h Parameters}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMyhjaubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj=ah]hstruct gnet_dump *d}(hj?ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;aubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMvhj7aubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjVahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRahMvhjSaubah}(h]h ]h"]h$]h&]uh1jhj7aubeh}(h]h ]h"]h$]h&]uh1jhjRahMvhj4aubj)}(hE``struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics h](j)}(h+``struct gnet_stats_queue __percpu *cpu_q``h]j)}(hjvah]h'struct gnet_stats_queue __percpu *cpu_q}(hjxahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMwhjpaubj)}(hhh]jX)}(hper cpu queue statisticsh]hper cpu queue statistics}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMwhjaubah}(h]h ]h"]h$]h&]uh1jhjpaubeh}(h]h ]h"]h$]h&]uh1jhjahMwhj4aubj)}(h0``struct gnet_stats_queue *q`` queue statistics h](j)}(h``struct gnet_stats_queue *q``h]j)}(hjah]hstruct gnet_stats_queue *q}(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.chMxhjaubj)}(hhh]jX)}(hqueue statisticsh]hqueue statistics}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMxhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMxhj4aubj)}(h'``__u32 qlen`` queue length statistics h](j)}(h``__u32 qlen``h]j)}(hjah]h __u32 qlen}(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.chMyhjaubj)}(hhh]jX)}(hqueue length statisticsh]hqueue length statistics}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMyhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMyhj4aubeh}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hj#bh]h Description}(hj%bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!bubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM{hjaubjX)}(hAppends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available.h]hAppends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available.}(hj9bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM{hjaubjX)}(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.}(hjHbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_copy_app (C function)c.gnet_stats_copy_apphNtauh1hhjEhhhNhNubh)}(hhh](h)}(h@int gnet_stats_copy_app (struct gnet_dump *d, void *st, int len)h]h)}(h?int gnet_stats_copy_app(struct gnet_dump *d, void *st, int len)h](j)}(hinth]hint}(hjwbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsbhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsbhhhjbhMubj)}(hgnet_stats_copy_apph]j%)}(hgnet_stats_copy_apph]hgnet_stats_copy_app}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjsbhhhjbhMubj)}(h((struct gnet_dump *d, void *st, int len)h](j)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jjbsbc.gnet_stats_copy_appasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hjNh]hd}(hj chhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hvoid *sth](j)}(hvoidh]hvoid}(hj%chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!cubj)}(h h]h }(hj3chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!cubj;)}(hj>h]h*}(hjAchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!cubj%)}(hsth]hst}(hjNchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hint lenh](j)}(hinth]hint}(hjgchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjccubj)}(h h]h }(hjuchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjccubj%)}(hlenh]hlen}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjccubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhjsbhhhjbhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjobhhhjbhMubah}(h]jjbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMhjlbhhubjS)}(hhh]jX)}(h8copy application specific statistics into statistics TLVh]h8copy application specific statistics into statistics TLV}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjchhubah}(h]h ]h"]h$]h&]uh1jRhjlbhhhjbhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhjEhNhNubj})}(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)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjcubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjch]hstruct gnet_dump *d}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjcubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjcubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hj'dh]hvoid *st}(hj)dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%dubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj!dubj)}(hhh]jX)}(h$application specific statistics datah]h$application specific statistics data}(hj@dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh]h*}(hjxehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(eubj%)}(hjNh]hd}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(eubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$eubah}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjdhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjdhMubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhMhjdhhubjS)}(hhh]jX)}(hfinish dumping procedureh]hfinish dumping procedure}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjehhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhjdhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjEhNhNubj})}(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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjeubj)}(hhh]j)}(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.chMhjeubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(hj*fh]h Description}(hj,fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(fubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjeubjX)}(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.}(hj@fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjeubjX)}(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.}(hjOfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhjEhhhNhNubh)}(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}(hj~fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzfhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKoubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzfhhhjfhKoubj)}(hgen_new_estimatorh]j%)}(hgen_new_estimatorh]hgen_new_estimator}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzfhhhjfhKoubj)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jjfsbc.gen_new_estimatorasbuh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hbstatsh]hbstats}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](h)}(hjh]hstruct}(hj-ghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)gubj)}(h h]h }(hj:ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)gubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjKghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMgmodnameN classnameNjj!)}j$]jfc.gen_new_estimatorasbuh1hhj)gubj)}(h h]h }(hjighhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)gubh__percpu}(hj)ghhhNhNubj)}(h h]h }(hj{ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)gubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)gubj%)}(h cpu_bstatsh]h cpu_bstats}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)gubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jfc.gen_new_estimatorasbuh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh__rcu}(hjghhhNhNubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hj hhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hrate_esth]hrate_est}(hj%hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjAhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>hubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjChmodnameN classnameNjj!)}j$]jfc.gen_new_estimatorasbuh1hhj:hubj)}(h h]h }(hj_hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hubj;)}(hj>h]h*}(hjmhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:hubj%)}(hlockh]hlock}(hjzhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:hubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h bool runningh](j)}(hjTh]hbool}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hrunningh]hrunning}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(hnlattrh]hnlattr}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jfc.gen_new_estimatorasbuh1hhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hopth]hopt}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzfhhhjfhKoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvfhhhjfhKoubah}(h]jqfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhKohjsfhhubjS)}(hhh]jX)}(hcreate a new rate estimatorh]hcreate a new rate estimator}(hjHihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKohjEihhubah}(h]h ]h"]h$]h&]uh1jRhjsfhhhjfhKoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`ijxj`ijyjzj{uh1hhhhjEhNhNubj})}(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 **bstats_cpu** is NULL ``struct nlattr *opt`` rate estimator configuration TLV **Description** Creates a new rate estimator with :c:type:`bstats` as source and :c:type:`rate_est` as destination. A new timer with the interval specified in the configuration TLV is created. Upon each interval, the latest statistics will be read from :c:type:`bstats` and the estimated rate will be stored in :c:type:`rate_est` with the statistics lock grabbed during this period. Returns 0 on success or a negative error code.h](jX)}(h**Parameters**h]j)}(hjjih]h Parameters}(hjlihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhiubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKshjdiubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjih]h$struct gnet_stats_basic_sync *bstats}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKphjiubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihKphjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihKphjiubj)}(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)}(hjih]h1struct gnet_stats_basic_sync __percpu *cpu_bstats}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqhjiubj)}(hhh]jX)}(hbstats per cpuh]hbstats per cpu}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihKqhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihKqhjiubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjih]h*struct net_rate_estimator __rcu **rate_est}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKrhjiubj)}(hhh]jX)}(hrate estimator statisticsh]hrate estimator statistics}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhKrhjjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjjhKrhjiubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hj4jh]hspinlock_t *lock}(hj6jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2jubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKshj.jubj)}(hhh]jX)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjMjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIjhKshjJjubah}(h]h ]h"]h$]h&]uh1jhj.jubeh}(h]h ]h"]h$]h&]uh1jhjIjhKshjiubj)}(h``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **bstats_cpu** is NULL h](j)}(h``bool running``h]j)}(hjmjh]h bool running}(hjojhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKvhjgjubj)}(hhh]jX)}(htrue if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **bstats_cpu** is NULLh](htrue if }(hjjhhhNhNubj)}(h **bstats**h]hbstats}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh" represents a running qdisc, thus }(hjjhhhNhNubj)}(h **bstats**h]hbstats}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubhB’ internal values might change during basic reads. Only used if }(hjjhhhNhNubj)}(h**bstats_cpu**h]h bstats_cpu}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh is NULL}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKthjjubah}(h]h ]h"]h$]h&]uh1jhjgjubeh}(h]h ]h"]h$]h&]uh1jhjjhKvhjiubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hjjh]hstruct nlattr *opt}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKwhjjubj)}(hhh]jX)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhKwhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhKwhjiubeh}(h]h ]h"]h$]h&]uh1jhjdiubjX)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKyhjdiubjX)}(hXnCreates a new rate estimator with :c:type:`bstats` as source and :c:type:`rate_est` as destination. A new timer with the interval specified in the configuration TLV is created. Upon each interval, the latest statistics will be read from :c:type:`bstats` and the estimated rate will be stored in :c:type:`rate_est` with the statistics lock grabbed during this period.h](h"Creates a new rate estimator with }(hj.khhhNhNubh)}(h:c:type:`bstats`h]j)}(hj8kh]hbstats}(hj:khhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj6kubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjbstatsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKyhj.kubh as source and }(hj.khhhNhNubh)}(h:c:type:`rate_est`h]j)}(hj\kh]hrate_est}(hj^khhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjZkubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrate_estuh1hhjUkhKyhj.kubh as destination. A new timer with the interval specified in the configuration TLV is created. Upon each interval, the latest statistics will be read from }(hj.khhhNhNubh)}(h:c:type:`bstats`h]j)}(hjkh]hbstats}(hjkhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}kubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjbstatsuh1hhjUkhKyhj.kubh* and the estimated rate will be stored in }(hj.khhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjkh]hrate_est}(hjkhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrate_estuh1hhjUkhKyhj.kubh5 with the statistics lock grabbed during this period.}(hj.khhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjUkhKyhjdiubjX)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjdiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_kill_estimator (C function)c.gen_kill_estimatorhNtauh1hhjEhhhNhNubh)}(hhh](h)}(hDvoid gen_kill_estimator (struct net_rate_estimator __rcu **rate_est)h]h)}(hCvoid gen_kill_estimator(struct net_rate_estimator __rcu **rate_est)h](j)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhjlhKubj)}(hgen_kill_estimatorh]j%)}(hgen_kill_estimatorh]hgen_kill_estimator}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhjlhKubj)}(h,(struct net_rate_estimator __rcu **rate_est)h]j)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hj5lhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1lubj)}(h h]h }(hjBlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1lubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjSlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUlmodnameN classnameNjj!)}j$]j')}jjlsbc.gen_kill_estimatorasbuh1hhj1lubj)}(h h]h }(hjslhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1lubh__rcu}(hj1lhhhNhNubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1lubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1lubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1lubj%)}(hrate_esth]hrate_est}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1lubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-lubah}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhjlhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjlhKubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhKhjkhhubjS)}(hhh]jX)}(hremove a rate estimatorh]hremove a rate estimator}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjlhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjlhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhjEhNhNubj})}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.h](jX)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjlubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjmh]h*struct net_rate_estimator __rcu **rate_est}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjmubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hj1mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-mhKhj.mubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhj-mhKhjmubah}(h]h ]h"]h$]h&]uh1jhjlubjX)}(h**Description**h]j)}(hjSmh]h Description}(hjUmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQmubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjlubjX)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hjimhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhjEhhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjmhKubj)}(hgen_replace_estimatorh]j%)}(hgen_replace_estimatorh]hgen_replace_estimator}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjmhKubj)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jjmsbc.gen_replace_estimatorasbuh1hhjmubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hj!nhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hbstatsh]hbstats}(hj.nhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](h)}(hjh]hstruct}(hjGnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCnubj)}(h h]h }(hjTnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCnubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjenhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgnmodnameN classnameNjj!)}j$]jnc.gen_replace_estimatorasbuh1hhjCnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCnubh__percpu}(hjCnhhhNhNubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCnubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCnubj%)}(h cpu_bstatsh]h cpu_bstats}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(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$]jnc.gen_replace_estimatorasbuh1hhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh__rcu}(hjnhhhNhNubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hj%ohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj;)}(hj>h]h*}(hj2ohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hrate_esth]hrate_est}(hj?ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hj[ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]omodnameN classnameNjj!)}j$]jnc.gen_replace_estimatorasbuh1hhjToubj)}(h h]h }(hjyohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjToubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjToubj%)}(hlockh]hlock}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjToubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(h bool runningh](j)}(hjTh]hbool}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(hrunningh]hrunning}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(hnlattrh]hnlattr}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]jnc.gen_replace_estimatorasbuh1hhjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hj+phhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hopth]hopt}(hj8phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjmhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjmhKubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhKhjmhhubjS)}(hhh]jX)}(h$replace rate estimator configurationh]h$replace rate estimator configuration}(hjbphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj_phhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjmhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzpjxjzpjyjzj{uh1hhhhjEhNhNubj})}(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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj~pubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjph]h$struct gnet_stats_basic_sync *bstats}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjpubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphKhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphKhjpubj)}(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)}(hjph]h1struct gnet_stats_basic_sync __percpu *cpu_bstats}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjpubj)}(hhh]jX)}(hbstats per cpuh]hbstats per cpu}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphKhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphKhjpubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjqh]h*struct net_rate_estimator __rcu **rate_est}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjqubj)}(hhh]jX)}(hrate estimator statisticsh]hrate estimator statistics}(hj.qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*qhKhj+qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj*qhKhjpubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjNqh]hspinlock_t *lock}(hjPqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjHqubj)}(hhh]jX)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjgqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjcqhKhjdqubah}(h]h ]h"]h$]h&]uh1jhjHqubeh}(h]h ]h"]h$]h&]uh1jhjcqhKhjpubj)}(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)}(hjqh]h bool running}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjqubj)}(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 }(hjqhhhNhNubj)}(h **bstats**h]hbstats}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh" represents a running qdisc, thus }(hjqhhhNhNubj)}(h **bstats**h]hbstats}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubhB’ internal values might change during basic reads. Only used if }(hjqhhhNhNubj)}(h**cpu_bstats**h]h cpu_bstats}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh is NULL}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjpubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hjqh]hstruct nlattr *opt}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjqubj)}(hhh]jX)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj rhKhj rubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj rhKhjpubeh}(h]h ]h"]h$]h&]uh1jhj~pubjX)}(h**Description**h]j)}(hj2rh]h Description}(hj4rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0rubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj~pubjX)}(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().}(hjHrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj~pubjX)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjWrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj~pubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhjEhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjrhKubj)}(hgen_estimator_activeh]j%)}(hgen_estimator_activeh]hgen_estimator_active}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjrhKubj)}(h,(struct net_rate_estimator __rcu **rate_est)h]j)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j')}jjrsbc.gen_estimator_activeasbuh1hhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh__rcu}(hjrhhhNhNubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hj shhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj;)}(hj>h]h*}(hj-shhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hrate_esth]hrate_est}(hj:shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjrhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~rhhhjrhKubah}(h]jyrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhKhj{rhhubjS)}(hhh]jX)}(h%test if estimator is currently in useh]h%test if estimator is currently in use}(hjdshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjashhubah}(h]h ]h"]h$]h&]uh1jRhj{rhhhjrhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|sjxj|sjyjzj{uh1hhhhjEhNhNubj})}(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)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjsubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjsh]h*struct net_rate_estimator __rcu **rate_est}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjsubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshKhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshKhjsubah}(h]h ]h"]h$]h&]uh1jhjsubjX)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjsubjX)}(h6Returns true if estimator is active, and false if not.h]h6Returns true if estimator is active, and false if not.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjEhhhNhNubeh}(h]generic-network-statisticsah ]h"]generic network statisticsah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hSUN RPC subsystemh]hSUN RPC subsystem}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhjthhhNhNubh)}(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}(hjAthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCtmodnameN classnameNjj!)}j$]j')}jxdr_encode_opaque_fixedsbc.xdr_encode_opaque_fixedasbuh1hhj:thhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK6ubj)}(h h]h }(hjcthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:thhhjbthK6ubj;)}(hj>h]h*}(hjqthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:thhhjbthK6ubj)}(hxdr_encode_opaque_fixedh]j%)}(hj_th]hxdr_encode_opaque_fixed}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~tubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:thhhjbthK6ubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j]tc.xdr_encode_opaque_fixedasbuh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hjGh]hp}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(hconst void *ptrh](h)}(hjh]hconst}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(hvoidh]hvoid}(hj uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hj(uhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hptrh]hptr}(hj5uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjNuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJuubj)}(h h]h }(hj\uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJuubj)}(hinth]hint}(hjjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJuubj)}(h h]h }(hjxuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJuubj%)}(hnbytesh]hnbytes}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:thhhjbthK6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6thhhjbthK6ubah}(h]j1tah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbthK6hj3thhubjS)}(hhh]jX)}(hEncode fixed length opaque datah]hEncode fixed length opaque data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK6hjuhhubah}(h]h ]h"]h$]h&]uh1jRhj3thhhjbthK6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhjthNhNubj})}(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). Returns the updated current XDR buffer position **Note** if ptr is NULL, only the padding is performed.h](jX)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK:hjuubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjuh]h __be32 *p}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK7hjuubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhK7hjvubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjvhK7hjuubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hj*vh]hconst void *ptr}(hj,vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(vubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK8hj$vubj)}(hhh]jX)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjCvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?vhK8hj@vubah}(h]h ]h"]h$]h&]uh1jhj$vubeh}(h]h ]h"]h$]h&]uh1jhj?vhK8hjuubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjcvh]hunsigned int nbytes}(hjevhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjavubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK9hj]vubj)}(hhh]jX)}(h size of data.h]h size of data.}(hj|vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxvhK9hjyvubah}(h]h ]h"]h$]h&]uh1jhj]vubeh}(h]h ]h"]h$]h&]uh1jhjxvhK9hjuubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK;hjuubjX)}(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). Returns the updated current XDR buffer positionh]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). Returns the updated current XDR buffer position}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK;hjuubjX)}(h**Note**h]j)}(hjvh]hNote}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK@hjuubjX)}(h.if ptr is NULL, only the padding is performed.h]h.if ptr is NULL, only the padding is performed.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK>hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhjthhhNhNubh)}(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}(hj whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jxdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhjwhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKTubj)}(h h]h }(hj/whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhj.whKTubj;)}(hj>h]h*}(hj=whhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwhhhj.whKTubj)}(hxdr_encode_opaqueh]j%)}(hj+wh]hxdr_encode_opaque}(hjNwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhj.whKTubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjlwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnwmodnameN classnameNjj!)}j$]j)wc.xdr_encode_opaqueasbuh1hhjewubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjewubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjewubj%)}(hjGh]hp}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjewubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjawubj)}(hconst void *ptrh](h)}(hjh]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(hvoidh]hvoid}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hptrh]hptr}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjawubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(h h]h }(hj(xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(hinth]hint}(hj6xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(h h]h }(hjDxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj%)}(hnbytesh]hnbytes}(hjRxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjawubeh}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhj.whKTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhj.whKTubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.whKThjvhhubjS)}(hhh]jX)}(h"Encode variable length opaque datah]h"Encode variable length opaque data}(hj|xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKThjyxhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhj.whKTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhjthNhNubj})}(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)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKXhjxubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjxh]h __be32 *p}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKUhjxubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhKUhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKUhjxubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjxh]hconst void *ptr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKVhjxubj)}(hhh]jX)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj yhKVhj yubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj yhKVhjxubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hj/yh]hunsigned int nbytes}(hj1yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-yubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKWhj)yubj)}(hhh]jX)}(h size of data.h]h size of data.}(hjHyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDyhKWhjEyubah}(h]h ]h"]h$]h&]uh1jhj)yubeh}(h]h ]h"]h$]h&]uh1jhjDyhKWhjxubeh}(h]h ]h"]h$]h&]uh1jhjxubjX)}(h**Description**h]j)}(hjjyh]h Description}(hjlyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhyubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKYhjxubjX)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKYhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhjthhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhKyubj)}(hxdr_terminate_stringh]j%)}(hxdr_terminate_stringh]hxdr_terminate_string}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjyhKyubj)}(h*(const struct xdr_buf *buf, const u32 len)h](j)}(hconst struct xdr_buf *bufh](h)}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hj%zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'zmodnameN classnameNjj!)}j$]j')}jjysbc.xdr_terminate_stringasbuh1hhjyubj)}(h h]h }(hjEzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjSzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hbufh]hbuf}(hj`zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(h const u32 lenh](h)}(hjh]hconst}(hjyzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuzubh)}(hhh]j%)}(hu32h]hu32}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jAzc.xdr_terminate_stringasbuh1hhjuzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuzubj%)}(hlenh]hlen}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjyhKyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjyhKyubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhKyhjyhhubjS)}(hhh]jX)}(h.'\0'-terminate a string residing in an xdr_bufh]h2‘0’-terminate a string residing in an xdr_buf}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKyhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjyhKyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhjthNhNubj})}(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)}(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.chK}hj {ubj)}(hhh](j)}(h>``const struct xdr_buf *buf`` XDR buffer where string resides h](j)}(h``const struct xdr_buf *buf``h]j)}(hj.{h]hconst struct xdr_buf *buf}(hj0{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.chKzhj({ubj)}(hhh]jX)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hjG{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjC{hKzhjD{ubah}(h]h ]h"]h$]h&]uh1jhj({ubeh}(h]h ]h"]h$]h&]uh1jhjC{hKzhj%{ubj)}(h,``const u32 len`` length of string, in bytesh](j)}(h``const u32 len``h]j)}(hjg{h]h const u32 len}(hji{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje{ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK|hja{ubj)}(hhh]jX)}(hlength of string, in bytesh]hlength of string, in bytes}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK{hj}{ubah}(h]h ]h"]h$]h&]uh1jhja{ubeh}(h]h ]h"]h$]h&]uh1jhj|{hK|hj%{ubeh}(h]h ]h"]h$]h&]uh1jhj {ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhjthhhNhNubh)}(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}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhj{hKubj)}(hinth]hint}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhj{hKubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhj{hKubj)}(hxdr_buf_to_bvech]j%)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhj{hKubj)}(hI(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j)}(hstruct bio_vec *bvech](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%)}(hbio_vech]hbio_vec}(hj8|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:|modnameN classnameNjj!)}j$]j')}jj|sbc.xdr_buf_to_bvecasbuh1hhj|ubj)}(h h]h }(hjX|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hjf|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hbvech]hbvec}(hjs|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(h bvec_sizeh]h bvec_size}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(hconst struct xdr_buf *xdrh](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%)}(hxdr_bufh]hxdr_buf}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jT|c.xdr_buf_to_bvecasbuh1hhj|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%)}(hxdrh]hxdr}(hjO}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{hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhj{hKubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hKhj{hhubjS)}(hhh]jX)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hjy}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjv}hhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhj{hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjthNhNubj})}(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)}(hj}h]hstruct bio_vec *bvec}(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)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj}ubj)}(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 }(hj ~hhhNhNubj)}(h **bio_vec**h]hbio_vec}(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~hKhj}ubj)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hj:~h]hconst struct xdr_buf *xdr}(hj<~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8~ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj4~ubj)}(hhh]jX)}(hxdr_buf to be copiedh]hxdr_buf to be copied}(hjS~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjO~hKhjP~ubah}(h]h ]h"]h$]h&]uh1jhj4~ubeh}(h]h ]h"]h$]h&]uh1jhjO~hKhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}ubjX)}(h**Description**h]j)}(hju~h]h Description}(hjw~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs~ubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhjthhhNhNubh)}(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}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hKubj)}(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=uh1jhj~hhhj~hKubj)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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')}jj~sbc.xdr_inline_pagesasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjbhhhNhNubah}(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&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(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$]jCc.xdr_inline_pagesasbuh1hhjubj)}(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%)}(hpagesh]hpages}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int baseh](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%)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(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}(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~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(Prepare receive buffer for a large replyh]h(Prepare receive buffer for a large reply}(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&]uh1jRhj~hhhj~hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(hjh]h Parameters}(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.chKhjubj)}(hhh](j)}(h@``struct xdr_buf *xdr`` xdr_buf into which reply will be placed h](j)}(h``struct xdr_buf *xdr``h]j)}(hj=h]hstruct xdr_buf *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.chKhj7ubj)}(hhh]jX)}(h'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhj4ubj)}(hP``unsigned int offset`` expected offset where data payload will start, in bytes h](j)}(h``unsigned int offset``h]j)}(hjvh]hunsigned int offset}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjpubj)}(hhh]jX)}(h7expected offset where data payload will start, in bytesh]h7expected offset where data payload will start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKhj4ubj)}(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}(hjȁhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjāhKhjŁubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjāhKhj4ubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(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)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj4ubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hKhj4ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhjthhhNhNubh)}(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}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjhMubj)}(h_copy_from_pagesh]j%)}(h_copy_from_pagesh]h_copy_from_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjhMubj)}(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 }(hjƂhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjԂhhhNhNubah}(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}(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')}jjsbc._copy_from_pagesasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpagesh]hpages}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t pgbaseh](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$]j3c._copy_from_pagesasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hpgbaseh]hpgbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjÃhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjŃmodnameN classnameNjj!)}j$]j3c._copy_from_pagesasbuh1hhjubj)}(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=uh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjhMubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjphhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjphhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(h#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hjKh]hchar *p}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjEubj)}(hhh]jX)}(hpointer to destinationh]hpointer to destination}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjBubj)}(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.chMhj~ubj)}(hhh]jX)}(harray of pagesh]harray of pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjBubj)}(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}(hjքhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj҄hMhjӄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj҄hMhjBubj)}(h``size_t len`` length h](j)}(h``size_t len``h]j)}(hjh]h size_t 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)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjBubeh}(h]h ]h"]h$]h&]uh1jhj&ubjX)}(h**Description**h]j)}(hj1h]h Description}(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&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.}(hjGhhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhjthhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhMubj)}(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=uh1jhjrhhhjhMubj)}(h(const struct xdr_stream *xdr)h]j)}(hconst struct xdr_stream *xdrh](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 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_stream_posasbuh1hhj˅ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˅ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj˅ubj%)}(hxdrh]hxdr}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˅ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDžubah}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhMubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjkhhubjS)}(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}(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&]uh1jRhjkhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](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)}(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}(hjdž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&]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](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhjthhhNhNubh)}(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}(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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h xdr_page_posh]j%)}(h xdr_page_posh]h xdr_page_pos}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(const struct xdr_stream *xdr)h]j)}(hconst struct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjGsbc.xdr_page_posasbuh1hhj]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=uh1jhjYubah}(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)}(h9Return the current offset from the start of the xdr pagesh]h9Return the current offset from the start of the xdr 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hj@h]hconst struct 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.chMhj:ubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhjthhhNhNubh)}(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}(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_init_encodeh]j%)}(hxdr_init_encodeh]hxdr_init_encode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)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_init_encodeasbuh1hhjӈ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)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]jc.xdr_init_encodeasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(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$]jc.xdr_init_encodeasbuh1hhjubj)}(h h]h }(hjډhhhNhNubah}(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=uh1jhjψubj)}(hstruct rpc_rqst *rqsth](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_rqsth]hrpc_rqst}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]jc.xdr_init_encodeasbuh1hhj 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%)}(hrqsth]hrqst}(hjdhhhNhNubah}(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)}(h0Initialize a struct xdr_stream for sending data.h]h0Initialize a struct xdr_stream for sending data.}(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{uh1hhhhjthNhNubj})}(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&]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)}(hF``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]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 in which to encode datah]h-pointer to XDR buffer in which to encode data}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƊubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hjAh]h __be32 *p}(hjChhhNhNubah}(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!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjƊubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hjzh]hstruct rpc_rqst *rqst}(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)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƊubeh}(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.chMhj΋ubj)}(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&]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"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhjthhhNhNubh)}(hhh](h)}(htvoid xdr_init_encode_pages (struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, struct rpc_rqst *rqst)h]h)}(hsvoid xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, 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 }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMubj)}(hxdr_init_encode_pagesh]j%)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hMubj)}(hY(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, struct rpc_rqst *rqst)h](j)}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsbc.xdr_init_encode_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=uh1jhjZubj)}(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_encode_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%)}(hbufh]hbuf}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjЌubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(hstruct page **pagesh](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$]jc.xdr_init_encode_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;)}(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=uh1jhjZubj)}(hstruct rpc_rqst *rqsth](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_rqsth]hrpc_rqst}(hjߍhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj܍ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_init_encode_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhjhhubjS)}(hhh]jX)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(hjBhhhNhNubah}(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&]uh1jRhjhhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhjthNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer into which to encode data ``struct page **pages`` list of pages to decode into ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj^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.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&]uh1jhjhMhjzubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer into which to encode 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.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&]uh1jWhjюhMhjҎubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjюhMhjzubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjzubj)}(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}(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.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhjthhhNhNubh)}(hhh](h)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]h)}(h0void __xdr_commit_encode(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)}(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=uh1jhjhhhjhMubj)}(h(struct xdr_stream *xdr)h]j)}(hstruct xdr_stream *xdrh](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 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 }(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj}hhubjS)}(hhh]jX)}(h$Ensure all data is written to bufferh]h$Ensure all data is written to buffer}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(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&]uh1jhjhMhjubah}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjdubjX)}(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.}(hjڐhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjdubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhjthhhNhNubh)}(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.chMFubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj<hMFubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj<hMFubj)}(hxdr_reserve_spaceh]j%)}(hj9h]hxdr_reserve_space}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj<hMFubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(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$]j7c.xdr_reserve_spaceasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hxdrh]hxdr}(hjΑhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(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$]j7c.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=uh1jhjoubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj<hMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj<hMFubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMFhj hhubjS)}(hhh]jX)}(h Reserve buffer space for sendingh]h Reserve buffer space for sending}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMFhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj<hMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhjthNhNubj})}(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)}(hjbh]h Parameters}(hjdhhhNhNubah}(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.chMJhj\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.chMGhj{ubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjxubj)}(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.chMHhjubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjӒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjϒhMHhjВubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϒhMHhjxubeh}(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.chMJhj\ubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMJhj\ubjX)}(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}(hj"hhhNhNubah}(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}(hj4hhhNhNubah}(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.chMNhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhjthhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhj{hMkubj)}(hxdr_reserve_space_vech]j%)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhj{hMkubj)}(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}(hjȓhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjœubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjʓmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_reserve_space_vecasbuh1hhjubj)}(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 size_t nbytesh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]jc.xdr_reserve_space_vecasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnbytesh]hnbytes}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj{hMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj{hMkubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMkhjbhhubjS)}(hhh]jX)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMkhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhj{hMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMohjubj)}(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.chMlhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjϔhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj˔hMlhj̔ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˔hMlhjubj)}(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.chMmhjubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubeh}(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.chMohjubjX)}(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.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMohjubj)}(hhh]j)}(hUReturn values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(hReturn values:h]hReturn values:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMthjRubj)}(hhh]jX)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh : success }(hjhhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh#: not enough space is available in }(hjhhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jWhjdhMthjeubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjdhMthjOubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhjthhhNhNubh)}(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}(hjlhhhNhNubah}(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$]jMc.xdr_truncate_encodeasbuh1hhjubj)}(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=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)}(htruncate an encode bufferh]htruncate an encode 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&]uh1jRhj˕hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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}(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_streamh]hpointer to xdr_stream}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h$``size_t len`` new length of buffer h](j)}(h``size_t len``h]j)}(hjXh]h size_t len}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjRubj)}(hhh]jX)}(hnew length of bufferh]hnew length of buffer}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubeh}(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.chMhjubjX)}(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.chMhjubjX)}(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.chMhjubjX)}(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 }(hjǗhhhNhNubj j)}(h*not*h]hnot}(hjϗhhhNhNubah}(h]h ]h"]h$]h&]uh1j jhjǗubh 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.}(hjǗhhhNhNubeh}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhjthhhNhNubh)}(hhh](h)}(h=void xdr_truncate_decode (struct xdr_stream *xdr, size_t len)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(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$]jc.xdr_truncate_decodeasbuh1hhjubj)}(h h]h }(hjؘhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(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)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjthNhNubj})}(hu**Parameters** ``struct xdr_stream *xdr`` pointer to struct xdr_stream ``size_t len`` Number of bytes to removeh](jX)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj,ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to struct xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjQh]hstruct xdr_stream *xdr}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjKubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(h(``size_t len`` Number of bytes to removeh](j)}(h``size_t len``h]j)}(hjh]h size_t 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)}(hNumber of bytes to removeh]hNumber of bytes to remove}(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&]uh1jhjhMhjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_restrict_buflen (C function)c.xdr_restrict_buflenhNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_restrict_buflenh]j%)}(hxdr_restrict_buflenh]hxdr_restrict_buflen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h'(struct xdr_stream *xdr, int newbuflen)h](j)}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_restrict_buflenasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int newbuflenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h newbuflenh]h newbuflen}(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]jיah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjٙhhubjS)}(hhh]jX)}(hdecrease available buffer spaceh]hdecrease available buffer space}(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{uh1hhhhjthNhNubj})}(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)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(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)}(hjSh]h int newbuflen}(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%new maximum number of bytes availableh]h%new maximum number of bytes available}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubeh}(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.chMhjubjX)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhjthhhNhNubh)}(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}(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_write_pagesh]j%)}(hxdr_write_pagesh]hxdr_write_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjϛhhhjhMubj)}(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&]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 reftargetj0modnameN classnameNjj!)}j$]j')}jjsbc.xdr_write_pagesasbuh1hhj 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%)}(hxdrh]hxdr}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](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%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jJc.xdr_write_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;)}(hj>h]h*}(hjٜhhhNhNubah}(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)}(hunsigned int baseh](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%)}(hbaseh]hbase}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int 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%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(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)}(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&]uh1jRhjțhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjʝjxjʝjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``struct page **pages`` array of pages to insert h](j)}(h``struct page **pages``h]j)}(hj,h]hstruct page **pages}(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.chM hj&ubj)}(hhh]jX)}(harray of pages to inserth]harray of pages to insert}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhM hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjubj)}(hF``unsigned int base`` starting offset of first data byte in **pages** 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.chM hj_ubj)}(hhh]jX)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hj~hhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jWhjzhM hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM hjubj)}(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.chM hjubj)}(hhh]jX)}(h+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjŞhhhNhNubj)}(h **pages**h]hpages}(hj͞hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŞubh to insert}(hjŞhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjžubah}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hjΝubjX)}(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.chM hjΝubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhjthhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj^hMubj)}(hxdr_init_decodeh]j%)}(hxdr_init_decodeh]hxdr_init_decode}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hMubj)}(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&]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')}jjssbc.xdr_init_decodeasbuh1hhjubj)}(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}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jǟc.xdr_init_decodeasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]jǟc.xdr_init_decodeasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_rqst *rqsth](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_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjޠubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jǟc.xdr_init_decodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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+Initialize an xdr_stream for decoding data.h]h+Initialize an xdr_stream for decoding data.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(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&]uh1jhjhMhj|ubj)}(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.chMhjubj)}(hhh]jX)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjסhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjӡhMhjԡubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӡhMhj|ubj)}(h0``__be32 *p`` current pointer inside 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.chMhjubj)}(hhh]jX)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj|ubj)}(hH``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](j)}(h``struct rpc_rqst *rqst``h]j)}(hj0h]hstruct rpc_rqst *rqst}(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)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj|ubeh}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhjthhhNhNubh)}(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}(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_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=uh1jhjhhhjhMubj)}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](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 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_decode_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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjâubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jc.xdr_init_decode_pagesasbuh1hhj5ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(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}(hjǣhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjģubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjɣmodnameN classnameNjj!)}j$]jc.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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpagesh]hpages}(hj hhhNhNubah}(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&]uh1jhj"ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(h h]h }(hjPhhhNhNubah}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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&]uh1jWhjޤhMhjߤubah}(h]h ]h"]h$]h&]uh1jhjäubeh}(h]h ]h"]h$]h&]uh1jhjޤhMhjubj)}(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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct page **pages`` list of pages to decode into h](j)}(h``struct page **pages``h]j)}(hj;h]hstruct page **pages}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj5ubj)}(hhh]jX)}(hlist of pages to decode intoh]hlist of pages to decode into}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](j)}(h``unsigned int len``h]j)}(hjth]hunsigned int len}(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.chMhjnubj)}(hhh]jX)}(h"length in bytes of buffer in pagesh]h"length in bytes of buffer in pages}(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&]uh1jhjnubeh}(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](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhjthhhNhNubh)}(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}(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 }(hjݥhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʥhhhjܥhMubj)}(hxdr_finish_decodeh]j%)}(hxdr_finish_decodeh]hxdr_finish_decode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjʥhhhjܥhMubj)}(h(struct xdr_stream *xdr)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_finish_decodeasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(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,Clean up the xdr_stream after decoding data.h]h,Clean up the xdr_stream after decoding data.}(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åhhhjܥhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(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](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhjthhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jxdr_inline_decodesbc.xdr_inline_decodeasbuh1hhj%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;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%hhhjMhMubj)}(hxdr_inline_decodeh]j%)}(hjJh]hxdr_inline_decode}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhjMhMubj)}(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$]jHc.xdr_inline_decodeasbuh1hhjubj)}(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=uh1jhjubj)}(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$]jHc.xdr_inline_decodeasbuh1hhjubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhjMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhjMhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMhjhhubjS)}(hhh]jX)}(hRetrieve XDR data to decodeh]hRetrieve XDR data to decode}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjthNhNubj})}(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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjmubj)}(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)}(h4``size_t nbytes`` number of bytes of data to decode 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.chMhjŨubj)}(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&]uh1jhjŨubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjmubjX)}(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.chMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhjthhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM4ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjYhM4ubj)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhjYhM4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjYhM4ubj)}(hxdr_read_pagesh]j%)}(hxdr_read_pagesh]hxdr_read_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjYhM4ubj)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjĩmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_read_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)}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhjYhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhjYhM4ubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhM4hj@hhubjS)}(hhh]jX)}(h5align page-based XDR data to current pointer positionh]h5align page-based XDR data to current pointer position}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM4hjuhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhjYhM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chM8hjubj)}(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.chM5hjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjҪhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjΪhM5hjϪubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΪhM5hjubj)}(h2``unsigned int len`` number of bytes of 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.chM6hjubj)}(hhh]jX)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubeh}(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.chM8hjubjX)}(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 + }(hjChhhNhNubj)}(h**len**h]hlen}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh 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.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM8hjubjX)}(hBReturns the number of XDR encoded bytes now contained in the pagesh]hBReturns the number of XDR encoded bytes now contained in the pages}(hjdhhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhjthhhNhNubh)}(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}(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_set_pagelenh]j%)}(hxdr_set_pagelenh]hxdr_set_pagelen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMQubj)}(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 }(hjݫhhhNhNubah}(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_set_pagelenasbuh1hhj̫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}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̫ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjȫubj)}(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 }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj%)}(hlenh]hlen}(hjzhhhNhNubah}(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)}(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.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMUhjubj)}(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.chMRhj߬ubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhj߬ubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjܬubj)}(h5``unsigned int len`` new length of the XDR page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(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.chMShjubj)}(hhh]jX)}(hnew length of the XDR page datah]hnew length of the XDR page data}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMShj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMShjܬubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMUhjubjX)}(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 }(hjohhhNhNubj)}(h**len**h]hlen}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh 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.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMUhjubjX)}(hBReturns True if the operation was successful, and False otherwise.h]hBReturns True if the operation was successful, and False otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMYhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhjthhhNhNubh)}(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.chMoubj)}(h h]h }(hjέhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjͭhMoubj)}(hxdr_enter_pageh]j%)}(hxdr_enter_pageh]hxdr_enter_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܭubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjͭhMoubj)}(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 }(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_enter_pageasbuh1hhjubj)}(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)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjͭhMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjͭhMoubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjͭhMohjhhubjS)}(hhh]jX)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hjЮhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMohjͮhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjͭhMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMshjubj)}(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.chMphj ubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMphj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMphjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hjJh]hunsigned int len}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqhjDubj)}(hhh]jX)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMqhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMqhjubeh}(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.chMshjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMshjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhjthhhNhNubh)}(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}(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 }(hjٯhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƯhhhjدhMubj)}(hxdr_buf_subsegmenth]j%)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjƯhhhjدhMubj)}(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&]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%)}(hxdr_bufh]hxdr_buf}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_buf_subsegmentasbuh1hhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjnhhhNhNubah}(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)}(hstruct xdr_buf *subbufh](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$]j\c.xdr_buf_subsegmentasbuh1hhjubj)}(h h]h }(hjаhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjްhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbaseh]hbase}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hinth]hint}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(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=jDuh1hjEjFhj¯hhhjدhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjدhMhjhhubjS)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjدhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjϱjxjϱjyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(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.chMhjubj)}(hhh]jX)}(h an xdr bufferh]h an xdr buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hj1h]hstruct xdr_buf *subbuf}(hj3hhhNhNubah}(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)}(hthe result bufferh]hthe result buffer}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubj)}(h2``unsigned int base`` beginning of range in bytes h](j)}(h``unsigned int base``h]j)}(hjjh]hunsigned int base}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjdubj)}(hhh]jX)}(hbeginning of range in bytesh]hbeginning of range in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``unsigned int len`` length of range in bytes 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)}(hlength of range in bytesh]hlength of range in bytes}(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}(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.chMhjӱubjX)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh starting at offset }(hjhhhNhNubj)}(h**base**h]hbase}(hj2hhhNhNubah}(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.chMhjӱubjX)}(hB**buf** and **subbuf** may be pointers to the same struct xdr_buf.h](j)}(h**buf**h]hbuf}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh and }(hjKhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, may be pointers to the same struct xdr_buf.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjӱubjX)}(h/Returns -1 if base or length are out of bounds.h]h/Returns -1 if base or length are out of bounds.}(hjzhhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhjthhhNhNubh)}(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}(hjɳhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjųubah}(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')}jj˳sbc.xdr_stream_subsegmentasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj1hhhNhNubah}(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)}(hstruct xdr_buf *subbufh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jc.xdr_stream_subsegmentasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjݳubj)}(hunsigned int nbytesh](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%)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&set **subbuf** to a portion of **xdr**h](hset }(hj)hhhNhNubj)}(h **subbuf**h]hsubbuf}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh to a portion of }(hj)hhhNhNubj)}(h**xdr**h]hxdr}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(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&]jvjqjwjajxjajyjzj{uh1hhhhjthNhNubj})}(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)}(hjkh]h Parameters}(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.chMhjeubj)}(hhh](j)}(h=``struct xdr_stream *xdr`` an xdr_stream set up for decoding 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)}(h!an xdr_stream set up for decodingh]h!an xdr_stream set up for decoding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjõh]hstruct xdr_buf *subbuf}(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)}(hthe result bufferh]hthe result buffer}(hjܵhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjصhMhjٵubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjصhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjeubjX)}(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.chMhjeubjX)}(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}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh to represent a portion of }(hj_hhhNhNubj)}(h**xdr**h]hxdr}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh.. The portion starts at the current offset in }(hj_hhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh, and extends for a length of }(hj_hhhNhNubj)}(h **nbytes**h]hnbytes}(hjhhhNhNubah}(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.chMhjeubj)}(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:}(hj϶hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj˶ubj)}(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}(hj hhhNhNubah}(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&]uh1jWhjݶhMhj޶ubah}(h]h ]h"]h$]h&]uh1jhj˶ubeh}(h]h ]h"]h$]h&]uh1jhjݶhMhjȶubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhjthhhNhNubh)}(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}(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)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhjshMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjshMubj)}(hxdr_stream_move_subsegmenth]j%)}(hxdr_stream_move_subsegmenth]hxdr_stream_move_subsegment}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjshMubj)}(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 }(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_stream_move_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)}(hunsigned int offseth](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%)}(hoffseth]hoffset}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int targeth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(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%)}(htargeth]htarget}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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&]noemphAj<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)}(h)Move part of a stream to another positionh]h)Move part of a stream to another position}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhjthNhNubj})}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjPubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` the source xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjuh]hstruct xdr_stream *xdr}(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.chMhjoubj)}(hhh]jX)}(hthe source xdr_streamh]hthe source xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(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}(hjǹhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjùhMhjĹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjùhMhjlubj)}(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&]uh1jhjhMhjlubj)}(h4``unsigned int length`` the number of bytes to move h](j)}(h``unsigned int length``h]j)}(hj h]hunsigned int length}(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)}(hthe number of bytes to moveh]hthe number of bytes to move}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjlubeh}(h]h ]h"]h$]h&]uh1jhjPubjX)}(h**Description**h]j)}(hj[h]h Description}(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.chMhjPubjX)}(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 }(hjqhhhNhNubj)}(h **length**h]hlength}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh bytes from }(hjqhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh to }(hjqhhhNhNubj)}(h **target**h]htarget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhjthhhNhNubh)}(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}(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)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҺhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҺhhhjhMubj)}(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=uh1jhjҺhhhjhMubj)}(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&]uh1hhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_zeroasbuh1hhj+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%)}(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 }(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%)}(hoffseth]hoffset}(hjٻhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(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}(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=uh1jhjҺhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjκhhhjhMubah}(h]jɺah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj˺hhubjS)}(hhh]jX)}(h#zero out a portion of an xdr_streamh]h#zero out a portion of an xdr_stream}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jRhj˺hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhjthNhNubj})}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hjpubj)}(hhh](j)}(h5``struct xdr_stream *xdr`` an xdr_stream to zero out 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)}(han xdr_stream to zero outh]han xdr_stream to zero out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``unsigned int offset`` the starting point in the stream h](j)}(h``unsigned int offset``h]j)}(hjμh]hunsigned int offset}(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 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&]uh1jhjȼubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``unsigned int length`` the number of bytes to zeroh](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(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.chM hjubj)}(hhh]jX)}(hthe number of bytes to zeroh]hthe number of bytes to zero}(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&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhjthhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM3ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohM3ubj)}(h xdr_buf_trimh]j%)}(h xdr_buf_trimh]h xdr_buf_trim}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhjohM3ubj)}(h'(struct xdr_buf *buf, unsigned int len)h](j)}(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$]j')}jjsbc.xdr_buf_trimasbuh1hhjubj)}(h h]h }(hjܽhhhNhNubah}(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=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(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%)}(hlenh]hlen}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhjohM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjohM3ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohM3hjVhhubjS)}(hhh]jX)}(h,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM3hjohhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjohM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chM7hjubj)}(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.chM4hjubj)}(hhh]jX)}(hbuf to be trimmedh]hbuf to be trimmed}(hj̾hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjȾhM4hjɾubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȾhM4hjubj)}(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.chM5hjubj)}(hhh]jX)}(h"number of bytes to reduce "buf" byh]h&number of bytes to reduce “buf” by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubeh}(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.chM7hjubjX)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM7hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%xdr_stream_decode_opaque (C function)c.xdr_stream_decode_opaquehNtauh1hhjthhhNhNubh)}(hhh](h)}(hQssize_t xdr_stream_decode_opaque (struct xdr_stream *xdr, void *ptr, size_t size)h]h)}(hPssize_t xdr_stream_decode_opaque(struct xdr_stream *xdr, void *ptr, size_t size)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jxdr_stream_decode_opaquesbc.xdr_stream_decode_opaqueasbuh1hhjhhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjhMubj)}(hxdr_stream_decode_opaqueh]j%)}(hjh]hxdr_stream_decode_opaque}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjhMubj)}(h0(struct xdr_stream *xdr, void *ptr, size_t size)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}(hjܿhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjٿubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj޿modnameN classnameNjj!)}j$]jc.xdr_stream_decode_opaqueasbuh1hhjubj)}(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 void *ptrh](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*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hptrh]hptr}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]jc.xdr_stream_decode_opaqueasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjhMubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjahhubjS)}(hhh]jX)}(hDecode variable length opaqueh]hDecode variable length opaque}(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&]uh1jRhjahhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(hXX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``void *ptr`` location to store opaque data ``size_t size`` size of storage buffer **ptr** **Description** Return values: On success, returns size of object stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` on overflow of storage buffer **ptr**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&]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}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``void *ptr`` location to store opaque data h](j)}(h ``void *ptr``h]j)}(hjCh]h void *ptr}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj=ubj)}(hhh]jX)}(hlocation to store opaque datah]hlocation to store opaque data}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubj)}(h/``size_t size`` size of storage buffer **ptr** h](j)}(h``size_t size``h]j)}(hj|h]h size_t size}(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.chMhjvubj)}(hhh]jX)}(hsize of storage buffer **ptr**h](hsize of storage buffer }(hjhhhNhNubj)}(h**ptr**h]hptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(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 size of object stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` on overflow of storage buffer **ptr**h](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 size of object stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` on overflow of storage buffer **ptr**h](h-On success, returns size of object stored in }(hjhhhNhNubj)}(h***ptr**h]h*ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(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&]uh1jhjubh on overflow of storage buffer }(hjhhhNhNubj)}(h**ptr**h]hptr}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_opaque_dup (C function)c.xdr_stream_decode_opaque_duphNtauh1hhjthhhNhNubh)}(hhh](h)}(hissize_t xdr_stream_decode_opaque_dup (struct xdr_stream *xdr, void **ptr, size_t maxlen, gfp_t gfp_flags)h]h)}(hhssize_t xdr_stream_decode_opaque_dup(struct xdr_stream *xdr, void **ptr, size_t maxlen, gfp_t gfp_flags)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jxdr_stream_decode_opaque_dupsbc.xdr_stream_decode_opaque_dupasbuh1hhjuhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMubj)}(hxdr_stream_decode_opaque_duph]j%)}(hjh]hxdr_stream_decode_opaque_dup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjhMubj)}(hD(struct xdr_stream *xdr, void **ptr, 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$]jc.xdr_stream_decode_opaque_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}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void **ptrh](j)}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hptrh]hptr}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t maxlenh](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_stream_decode_opaque_dupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaxlenh]hmaxlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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$]jc.xdr_stream_decode_opaque_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=uh1jhjuhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjnhhubjS)}(hhh]jX)}(h+Decode and duplicate variable length opaqueh]h+Decode and duplicate variable length opaque}(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&]uh1jRhjnhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhjthNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``void **ptr`` location to store pointer to opaque data ``size_t maxlen`` maximum acceptable object size ``gfp_t gfp_flags`` GFP mask to use **Description** Return values: On success, returns size of object stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the object would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](jX)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjGubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjlh]hstruct xdr_stream *xdr}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjfubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(h8``void **ptr`` location to store pointer to opaque data h](j)}(h``void **ptr``h]j)}(hjh]h void **ptr}(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 pointer to opaque datah]h(location to store pointer to opaque data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(h1``size_t maxlen`` maximum acceptable object size 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)}(hmaximum acceptable object sizeh]hmaximum acceptable object size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjcubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjGubj)}(hhh]j)}(hReturn values: On success, returns size of object stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the object would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](j)}(hReturn values:h]hReturn values:}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjkubj)}(hhh]jX)}(hOn success, returns size of object stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the object would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](h-On success, returns size of object stored in }(hjhhhNhNubj)}(h***ptr**h]h*ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if the size of the object would exceed }(hjhhhNhNubj)}(h **maxlen**h]hmaxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }hjsbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on memory allocation failure}(hjhhhNhNubeh}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjhubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%xdr_stream_decode_string (C function)c.xdr_stream_decode_stringhNtauh1hhjthhhNhNubh)}(hhh](h)}(hQssize_t xdr_stream_decode_string (struct xdr_stream *xdr, char *str, size_t size)h]h)}(hPssize_t xdr_stream_decode_string(struct xdr_stream *xdr, char *str, size_t size)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jxdr_stream_decode_stringsbc.xdr_stream_decode_stringasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj@hM ubj)}(hxdr_stream_decode_stringh]j%)}(hj=h]hxdr_stream_decode_string}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj@hM ubj)}(h0(struct xdr_stream *xdr, char *str, size_t size)h](j)}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j;c.xdr_stream_decode_stringasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h char *strh](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%)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h size_t sizeh](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_stream_decode_stringasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(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)}(hDecode variable length stringh]hDecode variable length string}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hjvhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj@hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(hXd**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``char *str`` location to store string ``size_t size`` size of storage buffer **str** **Description** Return values: On success, returns length of NUL-terminated string stored in ***str** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` on overflow of storage buffer **str**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.chM hjubj)}(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.chM hjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h'``char *str`` location to store string h](j)}(h ``char *str``h]j)}(hjh]h char *str}(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)}(hlocation to store stringh]hlocation to store string}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h/``size_t size`` size of storage buffer **str** h](j)}(h``size_t size``h]j)}(hj,h]h size_t 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.chM hj&ubj)}(hhh]jX)}(hsize of storage buffer **str**h](hsize of storage buffer }(hjEhhhNhNubj)}(h**str**h]hstr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(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)}(hjuh]h Description}(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.chM hjubj)}(hhh]j)}(hReturn values: On success, returns length of NUL-terminated string stored in ***str** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` on overflow of storage buffer **str**h](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.chM hjubj)}(hhh]jX)}(hOn success, returns length of NUL-terminated string stored in ***str** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` on overflow of storage buffer **str**h](h>On success, returns length of NUL-terminated string stored in }(hjhhhNhNubj)}(h***str**h]h*str}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on overflow of storage buffer }(hjhhhNhNubj)}(h**str**h]hstr}(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.chM hjubah}(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)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhjthhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jxdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhj%hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhjMhM ubj)}(hxdr_stream_decode_string_duph]j%)}(hjJh]hxdr_stream_decode_string_dup}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhjMhM ubj)}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(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$]jHc.xdr_stream_decode_string_dupasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(h char **strh](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;)}(hj>h]h*}(hjhhhNhNubah}(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=uh1jhjsubj)}(h size_t maxlenh](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$]jHc.xdr_stream_decode_string_dupasbuh1hhj6ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(hmaxlenh]hmaxlen}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(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$]jHc.xdr_stream_decode_string_dupasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj%)}(h gfp_flagsh]h gfp_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhjMhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhjMhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhM hjhhubjS)}(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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjMhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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.chM! hjubj)}(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.chM hjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM hjubj)}(h3``char **str`` location to store pointer to string h](j)}(h``char **str``h]j)}(hjUh]h char **str}(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.chM hjOubj)}(hhh]jX)}(h#location to store pointer to stringh]h#location to store pointer to string}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjubj)}(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.chM hjubj)}(hhh]jX)}(h maximum acceptable string lengthh]h maximum acceptable string length}(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_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.chM! hjubj)}(hhh]jX)}(hGFP mask to useh]hGFP mask to use}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM# hjubj)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM& hjubj)}(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 }(hj1hhhNhNubj)}(h***ptr**h]h*ptr}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh }(hj1hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh on XDR buffer overflow }(hj1hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh( if the size of the string would exceed }(hj1hhhNhNubj)}(h **maxlen**h]hmaxlen}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh }hj1sbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh on memory allocation failure}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.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](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhjthhhNhNubh)}(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.chM> ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM> ubj)}(hxdr_stream_decode_opaque_authh]j%)}(hjh]hxdr_stream_decode_opaque_auth}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM> ubj)}(hJ(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 }(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$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]jc.xdr_stream_decode_opaque_authasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(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 u32 *flavorh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.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=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;)}(hj>h]h*}(hj hhhNhNubah}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hbody_lenh]hbody_len}(hjwhhhNhNubah}(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)}(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.chM> hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM> ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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.chMB hjubj)}(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.chM? hjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM? hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM? hjubj)}(h1``u32 *flavor`` location to store decoded flavor 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.chM@ hjubj)}(hhh]jX)}(h location to store decoded flavorh]h location to store decoded flavor}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM@ hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM@ hjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hjTh]h void **body}(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.chMA hjNubj)}(hhh]jX)}(hlocation to store decode bodyh]hlocation to store decode body}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMA hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMA hjubj)}(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.chMB hjubj)}(hhh]jX)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMB 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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMD hjubj)}(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.chMF hjubj)}(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}(hjhhhNhNubah}(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.chME hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMF hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhjthhhNhNubh)}(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$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jxdr_stream_encode_opaque_authsbc.xdr_stream_encode_opaque_authasbuh1hhjXhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjhMZ ubj)}(hxdr_stream_encode_opaque_authh]j%)}(hj}h]hxdr_stream_encode_opaque_auth}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjhMZ ubj)}(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$]j{c.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}(hjhhhNhNubah}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j{c.xdr_stream_encode_opaque_authasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflavorh]hflavor}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void *bodyh](j)}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hbodyh]hbody}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(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=uh1jhjXhhhjhMZ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjhMZ ubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMZ hjQhhubjS)}(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.chMZ hjhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjhMZ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(hjKh]hstruct xdr_stream *xdr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM[ hjEubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM[ hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM[ hjBubj)}(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.chM\ hj~ubj)}(hhh]jX)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\ hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM\ hjBubj)}(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.chM] hjubj)}(hhh]jX)}(hcontent of body to encodeh]hcontent of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjBubj)}(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.chM^ hjubj)}(hhh]jX)}(hlength of body to encodeh]hlength of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM^ hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM^ hjBubeh}(h]h ]h"]h$]h&]uh1jhj&ubjX)}(h**Description**h]j)}(hj1h]h Description}(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.chM` hj&ubj)}(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:}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMb hjJubj)}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh on XDR buffer overflow }(hj`hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjzhhhNhNubah}(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.chMa hj]ubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj\hMb hjGubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhjthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprt_classh]hsvc_xprt_class}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjsbc.svc_reg_xprt_classasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxclh]hxcl}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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{uh1hhhhjthNhNubj})}(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&]uh1jWhjhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKOhjubah}(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.chKQhjubjX)}(h@Returns zero on success; otherwise a negative errno is returned.h]h@Returns zero on success; otherwise a negative errno is returned.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhjthhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhKhubj)}(hsvc_unreg_xprt_classh]j%)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhKhubj)}(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')}jj{sbc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjfhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhKhubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhKhhjMhhubjS)}(hhh]jX)}(h,Unregister a server-side RPC transport classh]h,Unregister 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.chKhhjhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjthNhNubj})}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKlhj4ubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjYh]hstruct svc_xprt_class *xcl}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKnhjSubj)}(hhh]jX)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhKnhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhjthhhNhNubh)}(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&]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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_deferred_closeasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(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)}(hClose a transporth]hClose a transport}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.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.}(hjhhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhjthhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhjBhKubj)}(hsvc_xprt_receivedh]j%)}(hsvc_xprt_receivedh]hsvc_xprt_received}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhjBhKubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjWsbc.svc_xprt_receivedasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubah}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhjBhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhjBhKubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhKhj)hhubjS)}(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&]uh1jRhj)hhhjBhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(h0``struct svc_xprt *xprt`` controlling transport h](j)}(h``struct svc_xprt *xprt``h]j)}(hj5h]hstruct svc_xprt *xprt}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj/ubj)}(hhh]jX)}(hcontrolling transporth]hcontrolling transport}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhKhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhKhj,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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubjX)}(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.chKhjubjX)}(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.chKhjubjX)}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=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$]jSc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(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)}(hstruct sockaddr *saph](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]jSc.svc_xprt_create_from_saasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hsaph]hsap}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hcredh]hcred}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]jSc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hcredh]hcred}(hjohhhNhNubah}(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)}(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{uh1hhhhjthNhNubj})}(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)}(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)}(htarget RPC serviceh]htarget RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(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)}(hj%h]hconst char *xprt_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$hjubj)}(hhh]jX)}(htransport class nameh]htransport class name}(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 net *net`` network 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&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM%hjXubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshM%hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM%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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM(hjubj)}(hhh]jX)}(h$credential to bind to this transporth]h$credential to bind to this transport}(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)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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 }(hjZhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh on failure}(hjZhhhNhNubeh}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xprt_nameh](h)}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(hcharh]hchar}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(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_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfamilyh]hfamily}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj%)}(hporth]hport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct cred *credh](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 }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hcredh]hcred}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jc.svc_xprt_createasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hcredh]hcred}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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{uh1hhhhjthNhNubj})}(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.chMMhjubj)}(hhh]jX)}(htarget RPC serviceh]htarget RPC service}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hj,h]hconst char *xprt_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.chMNhj&ubj)}(hhh]jX)}(htransport class nameh]htransport class name}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMNhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMNhjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjeh]hstruct net *net}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMOhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMOhjubj)}(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&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(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.chMRhj ubj)}(hhh]jX)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMRhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMRhjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hjIh]hconst struct cred *cred}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMShjCubj)}(hhh]jX)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMShj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(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.chMUhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhjthhhNhNubh)}(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$hjubah}(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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj sbc.svc_print_addrasbuh1hhj!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%)}(hrqstph]hrqstp}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=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$]j_c.svc_print_addrasbuh1hhjubj)}(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!Format rq_addr field for printingh]h!Format rq_addr field for printing}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjthNhNubj})}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjNubj)}(hhh](j)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjsh]hstruct svc_rqst *rqstp}(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.chMhjmubj)}(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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(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&]uh1jhjhMhjjubj)}(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&]uh1jhjhMhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhjthhhNhNubh)}(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&]uh1jhj;hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjMhMubj)}(hsvc_xprt_enqueueh]j%)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhjMhMubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjbsbc.svc_xprt_enqueueasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubah}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhjMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhjMhMubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMhj4hhubjS)}(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&]uh1jRhj4hhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(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.chMhjubj)}(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}(hjBhhhNhNubah}(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)}(htransport with data pendingh]htransport with data pending}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reserve (C function) c.svc_reservehNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqstph]hrqstp}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int spaceh](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hspaceh]hspace}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(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{uh1hhhhjthNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hnew max space to reserveh]hnew max space to reserve}(hj"hhhNhNubah}(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)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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 }(hjZhhhNhNubj)}(h **space**h]hspace}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh.}(hjZhhhNhNubeh}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hj1hhhNhNubah}(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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAhjXhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjthNhNubj})}(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)}(hj}h]h Parameters}(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.chMEhjwubj)}(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&]uh1jhjwubjX)}(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.chMDhjwubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhjthhhNhNubh)}(hhh](h)}(h&void svc_recv (struct svc_rqst *rqstp)h]h)}(h%void svc_recv(struct svc_rqst *rqstp)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hMDubj)}(hsvc_recvh]j%)}(hsvc_recvh]hsvc_recv}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMDubj)}(h(struct svc_rqst *rqstp)h]j)}(hstruct svc_rqst *rqstph](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jj?sb c.svc_recvasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubah}(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)}(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&]uh1jRhjhhhj*hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMEhjubj)}(hhh]jX)}(han idle RPC service threadh]han idle RPC service thread}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMEhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMEhjubah}(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&]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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMGhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hj3hhhNhNubah}(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.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhjthNhNubj})}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chMhjyubj)}(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&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMNubj)}(hsvc_xprt_destroy_allh]j%)}(hsvc_xprt_destroy_allh]hsvc_xprt_destroy_all}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMNubj)}(h((struct svc_serv *serv, struct net *net)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_destroy_allasbuh1hhj1ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]joc.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=uh1jhj-ubeh}(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+Destroy transports associated with **serv**h](h#Destroy transports associated with }(hj(hhhNhNubj)}(h**serv**h]hserv}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMNhj%hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMRhjRubj)}(hhh](j)}(h6``struct svc_serv *serv`` RPC service to be shut down h](j)}(h``struct svc_serv *serv``h]j)}(hjwh]hstruct svc_serv *serv}(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.chMOhjqubj)}(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&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjnubj)}(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&]uh1jhjhMPhjnubeh}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMRhjRubjX)}(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.chMRhjRubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMUhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhjthhhNhNubh)}(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&]uh1hhj;hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjLhMubh)}(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')}jsvc_find_listenersbc.svc_find_listenerasbuh1hhj;hhhjLhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjLhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;hhhjLhMubj)}(hsvc_find_listenerh]j%)}(hj|h]hsvc_find_listener}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhjLhMubj)}(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$]jzc.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%)}(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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(hcharh]hchar}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hxcl_nameh]hxcl_name}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(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$]jzc.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 }(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%)}(hsockaddrh]hsockaddr}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jzc.svc_find_listenerasbuh1hhjubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsah]hsa}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(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&]uh1jRhj4hhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(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.chMhjubj)}(hhh]jX)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(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 net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjEh]hstruct net *net}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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&]uh1jWhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hj~h]hconst struct sockaddr *sa}(hjhhhNhNubah}(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)}(hsockaddr containing addressh]hsockaddr containing address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhjthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN 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*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj hM ubj)}(h svc_find_xprth]j%)}(hj;h]h svc_find_xprt}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j9c.svc_find_xprtasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(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}(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%)}(hxcl_nameh]hxcl_name}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hneth]hnet}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j9c.svc_find_xprtasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(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$]j9c.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=uh1jhjpubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hporth]hport}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(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{uh1hhhhjthNhNubj})}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hjh]hconst char *xcl_name}(hjhhhNhNubah}(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}(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&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hjHh]hstruct net *net}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjBubj)}(hhh]jX)}(howner net pointerh]howner net pointer}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(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.chMhj{ubj)}(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&]uh1jhj{ubeh}(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.}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhjthhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhMFubj)}(hsvc_xprt_namesh]j%)}(hsvc_xprt_namesh]hsvc_xprt_names}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhMFubj)}(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')}jjlsbc.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=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}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hconst int buflenh](h)}(hjh]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(hbuflenh]hbuflen}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjWhMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhMFubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMFhj>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>hhhjWhMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMHhjubj)}(hhh]jX)}(h#pointer to a buffer to be filled inh]h#pointer to a buffer to be filled in}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMHhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMHhjubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hjNh]hconst int buflen}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMIhjHubj)}(hhh]jX)}(h length of buffer to be filled inh]h length of buffer to be filled in}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMIhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMIhjubeh}(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.chMKhjubjX)}(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.chMNhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhjthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK[ubj)}(hxprt_register_transporth]j%)}(hxprt_register_transporth]hxprt_register_transport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK[ubj)}(h(struct xprt_class *transport)h]j)}(hstruct xprt_class *transporth](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubh)}(hhh]j%)}(h xprt_classh]h xprt_class}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_register_transportasbuh1hhj(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%)}(h transporth]h transport}(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=uh1jhjhhhjhK[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{uh1hhhhjthNhNubj})}(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&]uh1jhjubah}(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&]uh1jWhjhK\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK\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&]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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK^hjubjX)}(h **Return**h]j)}(hjRh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahjubjX)}(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}(hjhhhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhjthhhNhNubh)}(hhh](h)}(hh]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h transporth]h transport}(hj-hhhNhNubah}(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}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjThhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhjthNhNubj})}(h**Parameters** ``struct xprt_class *transport`` transport to unregister **Return** 0: transport successfully unregistered -ENOENT: transport never registeredh](jX)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjsubj)}(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&]uh1jhjsubjX)}(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.chKhjsubjX)}(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.chKhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_find_transport_ident (C function)c.xprt_find_transport_identhNtauh1hhjthhhNhNubh)}(hhh](h)}(h1int xprt_find_transport_ident (const char *netid)h]h)}(h0int xprt_find_transport_ident(const char *netid)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj&hKubj)}(hxprt_find_transport_identh]j%)}(hxprt_find_transport_identh]hxprt_find_transport_ident}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj&hKubj)}(h(const char *netid)h]j)}(hconst char *netidh](h)}(hjh]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hcharh]hchar}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hnetidh]hnetid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj&hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj&hKubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hKhj 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 hhhj&hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(hjh]hconst char *netid}(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 loadh]htransport to load}(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)}(hj?h]hReturn}(hjAhhhNhNubah}(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}(hjUhhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhjthhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_task *taskh](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%)}(hrpc_taskh]hrpc_task}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jc.xprt_reserve_xprtasbuh1hhj/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%)}(htaskh]htask}(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]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjyhhubjS)}(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&]uh1jRhjyhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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.chMhjubj)}(hhh]jX)}(hpointer to the target transporth]hpointer to the target transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hJ``struct rpc_task *task`` task that is requesting access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj.h]hstruct rpc_task *task}(hj0hhhNhNubah}(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 requesting access to the transporth]h/task that is requesting access to the transport}(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&]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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhjthhhNhNubh)}(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}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.xprt_release_xprtasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjDhhhNhNubah}(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&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j%c.xprt_release_xprtasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(htaskh]htask}(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)}(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&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting 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.chMhjubj)}(hhh]jX)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjXh]hstruct rpc_task *task}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjRubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubeh}(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)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. 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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhjthhhNhNubh)}(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}(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_xprt_congh]j%)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(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 }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jjsbc.xprt_release_xprt_congasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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$]jOc.xprt_release_xprt_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 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 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{uh1hhhhjthNhNubj})}(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)}(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)}(hjIh]hstruct rpc_xprt *xprt}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjCubj)}(hhh]jX)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(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)}(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.chMhj|ubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(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&]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)}(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.}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhjthhhNhNubh)}(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}(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_request_get_congh]j%)}(hxprt_request_get_congh]hxprt_request_get_cong}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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&]uh1hhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj$sbc.xprt_request_get_congasbuh1hhj: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%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(hstruct rpc_rqst *reqh](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$]jxc.xprt_request_get_congasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hreqh]hreq}(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)}(h"Request congestion control creditsh]h"Request congestion control credits}(hj1hhhNhNubah}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhjthNhNubj})}(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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjMubj)}(hhh](j)}(h/``struct rpc_xprt *xprt`` pointer to transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjrh]hstruct rpc_xprt *xprt}(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.chMhjlubj)}(hhh]jX)}(hpointer to transporth]hpointer to transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hjh]hstruct rpc_rqst *req}(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)}(hpointer to RPC requesth]hpointer to RPC request}(hjhhhNhNubah}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjMubjX)}(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.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhjthhhNhNubh)}(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}(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'hhhj9hMubj)}(hxprt_release_rqst_congh]j%)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjNsbc.xprt_release_rqst_congasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(htaskh]htask}(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'hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhj hhubjS)}(hhh]jX)}(h%housekeeping when request is completeh]h%housekeeping when request is complete}(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&]uh1jRhj hhhj9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjthNhNubj})}(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)}(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}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA hMhjB ubah}(h]h ]h"]h$]h&]uh1jhj& ubeh}(h]h ]h"]h$]h&]uh1jhjA hMhj# ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjg h]h Description}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubah}(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.}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhjthhhNhNubh)}(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}(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_adjust_cwndh]j%)}(hxprt_adjust_cwndh]hxprt_adjust_cwnd}(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, struct rpc_task *task, int result)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')}jj sbc.xprt_adjust_cwndasbuh1hhj ubj)}(h h]h }(hj' hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj5 hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hxprth]hxprt}(hjB 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&]uh1hhjW ubj)}(h h]h }(hjh hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjy hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{ modnameN classnameNjj!)}j$]j# c.xprt_adjust_cwndasbuh1hhjW 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%)}(htaskh]htask}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int resulth](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%)}(hresulth]hresult}(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"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&]uh1jRhj hhhj hM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj) jxj) jyjzj{uh1hhhhjthNhNubj})}(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)}(hj3 h]h Parameters}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hj- ubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjR h]hstruct rpc_xprt *xprt}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hjL ubj)}(hhh]jX)}(hpointer to xprth]hpointer to xprt}(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$hjI ubj)}(hO``struct rpc_task *task`` recently completed RPC request used to adjust window 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.chM%hj ubj)}(hhh]jX)}(h4recently completed RPC request used to adjust windowh]h4recently completed RPC request used to adjust window}(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%hjI ubj)}(h4``int result`` result code of completed RPC request h](j)}(h``int result``h]j)}(hj h]h int result}(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.chM&hj ubj)}(hhh]jX)}(h$result code of completed RPC requesth]h$result code of completed RPC request}(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&hjI 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.chM(hj- ubjX)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj- ubj )}(h- a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h]j1")}(hhh](j6")}(ha reply is received andh]jX)}(hj- h]ha reply is received and}(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&]uh1j5"hj( ubj6")}(h-a full number of requests are outstanding andh]jX)}(hjE h]h-a full number of requests are outstanding and}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hjC ubah}(h]h ]h"]h$]h&]uh1j5"hj( ubj6")}(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.chM0hj[ ubah}(h]h ]h"]h$]h&]uh1j5"hj( ubeh}(h]h ]h"]h$]h&]j#-uh1j0"hj< hM.hj$ ubah}(h]h ]h"]h$]h&]uh1j hj< hM.hj- ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhjthhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMKubj)}(hxprt_wake_pending_tasksh]j%)}(hxprt_wake_pending_tasksh]hxprt_wake_pending_tasks}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMKubj)}(h#(struct rpc_xprt *xprt, int status)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')}jj sbc.xprt_wake_pending_tasksasbuh1hhj 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}(hj6 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int statush](j)}(hinth]hint}(hjO hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK ubj)}(h h]h }(hj] hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK ubj%)}(hstatush]hstatus}(hjk 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 hMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMKubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMKhj hhubjS)}(hhh]jX)}(h-wake all tasks on a transport's pending queueh]h/wake all tasks on a transport’s pending queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMOhj ubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks 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.chMLhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMLhj ubj)}(hA``int status`` result code to plant in each task before waking ith](j)}(h``int status``h]j)}(hjh]h int status}(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.chMNhj ubj)}(hhh]jX)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMNhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhjthhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhMZubj)}(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=uh1jhjehhhjwhMZubj)}(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=uh1jhjehhhjwhMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjwhMZubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMZhj^hhubjS)}(hhh]jX)}(h)wait for transport output buffer to clearh]h)wait for transport output buffer to clear}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZhj&hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhjwhMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhjthNhNubj})}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM^hjEubj)}(hhh]j)}(h$``struct rpc_xprt *xprt`` transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjjh]hstruct rpc_xprt *xprt}(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.chM[hjdubj)}(hhh]jX)}(h transporth]h transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjaubah}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM]hjEubjX)}(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]hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhjthhhNhNubh)}(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$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMtubj)}(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 }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj sbc.xprt_write_spaceasbuh1hhj"ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjrhhhNhNubah}(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=uh1jhjubah}(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{uh1hhhhjthNhNubj})}(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}(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.chMuhjubj)}(hhh]jX)}(htransport with waiting tasksh]htransport with waiting tasks}(hjhhhNhNubah}(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)}(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.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.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMwhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_disconnect_done (C function)c.xprt_disconnect_donehNtauh1hhjthhhNhNubh)}(hhh](h)}(h1void xprt_disconnect_done (struct rpc_xprt *xprt)h]h)}(h0void xprt_disconnect_done(struct rpc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjxhMubj)}(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=uh1jhjfhhhjxhMubj)}(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=uh1jhjfhhhjxhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjxhMubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMhj_hhubjS)}(hhh]jX)}(h mark a transport as disconnectedh]h mark a transport as disconnected}(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_hhhjxhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhjthNhNubj})}(hL**Parameters** ``struct rpc_xprt *xprt`` transport to flag for disconnecth](jX)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjFubj)}(hhh]j)}(h:``struct rpc_xprt *xprt`` transport to flag for disconnecth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjkh]hstruct rpc_xprt *xprt}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjeubj)}(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&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_force_disconnect (C function)c.xprt_force_disconnecthNtauh1hhjthhhNhNubh)}(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}(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$hjubah}(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*}(hjNhhhNhNubah}(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=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{uh1hhhhjthNhNubj})}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_reconnect_delay (C function)c.xprt_reconnect_delayhNtauh1hhjthhhNhNubh)}(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&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hMubj)}(hlongh]hlong}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj.hMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hMubj)}(hxprt_reconnect_delayh]j%)}(hxprt_reconnect_delayh]hxprt_reconnect_delay}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hMubj)}(h(const struct rpc_xprt *xprt)h]j)}(hconst struct rpc_xprt *xprth](h)}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(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_delayasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hxprth]hxprt}(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,compute the wait before scheduling a connecth]h,compute the wait before scheduling a connect}(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&]uh1jRhjhhhj.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjthNhNubj})}(hD**Parameters** ``const struct rpc_xprt *xprt`` transport instanceh](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:65: ./net/sunrpc/xprt.chMhj3ubj)}(hhh]j)}(h2``const struct rpc_xprt *xprt`` transport instanceh](j)}(h``const struct rpc_xprt *xprt``h]j)}(hjXh]hconst struct rpc_xprt *xprt}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjRubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_reconnect_backoff (C function)c.xprt_reconnect_backoffhNtauh1hhjthhhNhNubh)}(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}(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_reconnect_backoffasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long init_toh](j)}(hunsignedh]hunsigned}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(hlongh]hlong}(hj}hhhNhNubah}(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{uh1hhhhjthNhNubj})}(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)}(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 instanceh]htransport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7ubj)}(hhh]jX)}(hinitial reestablish timeouth]hinitial reestablish timeout}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_lookup_rqst (C function)c.xprt_lookup_rqsthNtauh1hhjthhhNhNubh)}(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}(hjhhhNhNubah}(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 reftargetj1modnameN classnameNjj!)}j$]jc.xprt_lookup_rqstasbuh1hhj 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%)}(hxprth]hxprt}(hjhhhhNhNubah}(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_rqstasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj%)}(hxidh]hxid}(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=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{uh1hhhhjthNhNubj})}(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)}(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)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM%hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM%hjubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hjTh]h __be32 xid}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hjNubj)}(hhh]jX)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(hjmhhhNhNubah}(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**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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhjthhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMDubj)}(h xprt_pin_rqsth]j%)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMDubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](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%)}(hrpc_rqsth]hrpc_rqst}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jjsbc.xprt_pin_rqstasbuh1hhj 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%)}(hreqh]hreq}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(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+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMHhjubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjh]hstruct rpc_rqst *req}(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.chMEhjubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubah}(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.chMGhjubjX)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhjthhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjchMQubj)}(hxprt_unpin_rqsth]j%)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjchMQubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](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$]j')}jjxsbc.xprt_unpin_rqstasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hreqh]hreq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjchMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjchMQubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchMQhjJhhubjS)}(hhh]jX)}(h-Unpin a request on the transport receive listh]h-Unpin a request on the transport receive list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjchMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhjthNhNubj})}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMUhj1ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjVh]hstruct rpc_rqst *req}(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.chMRhjPubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMRhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMRhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(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.chMThj1ubjX)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMThj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhjthhhNhNubh)}(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}(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_update_rtth]j%)}(hxprt_update_rtth]hxprt_update_rtt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](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_taskh]hrpc_task}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjsbc.xprt_update_rttasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htaskh]htask}(hjlhhhNhNubah}(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)}(hUpdate RPC RTT statisticsh]hUpdate RPC RTT statistics}(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{uh1hhhhjthNhNubj})}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **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.chMhjubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed 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.chMhjubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj(hhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhjthhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehMubj)}(hxprt_complete_rqsth]j%)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjehMubj)}(h#(struct rpc_task *task, int copied)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')}jjzsbc.xprt_complete_rqstasbuh1hhjubj)}(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=uh1jhjubj)}(h int copiedh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcopiedh]hcopied}(hj"hhhNhNubah}(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(called when reply processing is completeh]h(called when reply processing is complete}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhjthNhNubj})}(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)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed 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.chMhjubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hjh]h int copied}(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)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjhubjX)}(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:65: ./net/sunrpc/xprt.chMhjhubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhjthhhNhNubh)}(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=uh1jhjB hhhjT hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj> hhhjT hMubah}(h]j9 ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjT hMhj; 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&]uh1jRhj; hhhjT hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(hjG!h]hstruct rpc_task *task}(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)}(hpointer to rpc_taskh]hpointer to rpc_task}(hj`!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\!hMhj]!ubah}(h]h ]h"]h$]h&]uh1jhjA!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)}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_rtt (C function)!c.xprt_wait_for_reply_request_rtthNtauh1hhjthhhNhNubh)}(hhh](h)}(hh]h*}(hjP"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{uh1hhhhjthNhNubj})}(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.}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_get (C function) c.xprt_gethNtauh1hhjthhhNhNubh)}(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}(hjH#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjD#hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMoubj)}(h h]h }(hjV#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD#hhhjU#hMoubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjg#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetji#modnameN classnameNjj!)}j$]j')}jxprt_getsb c.xprt_getasbuh1hhjD#hhhjU#hMoubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD#hhhjU#hMoubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjD#hhhjU#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=uh1jhjD#hhhjU#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}(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=uh1jhjD#hhhjU#hMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@#hhhjU#hMoubah}(h]j;#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjU#hMohj=#hhubjS)}(hhh]jX)}(h'return a reference to an RPC transport.h]h'return a reference to an RPC transport.}(hjC$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=#hhhjU#hMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[$jxj[$jyjzj{uh1hhhhjthNhNubj})}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jX)}(h**Parameters**h]j)}(hje$h]h Parameters}(hjg$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc$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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_put (C function) c.xprt_puthNtauh1hhjthhhNhNubh)}(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}(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}(hj9%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;%modnameN classnameNjj!)}j$]j')}jj%sb c.xprt_putasbuh1hhj%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%)}(hxprth]hxprt}(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$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{uh1hhhhjthNhNubj})}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up (C function) c.rpc_wake_uphNtauh1hhjthhhNhNubh)}(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}(hj9&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5&hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hjH&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5&hhhjG&hMubj)}(h rpc_wake_uph]j%)}(h rpc_wake_uph]h rpc_wake_up}(hjZ&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5&hhhjG&hMubj)}(h(struct rpc_wait_queue *queue)h]j)}(hstruct rpc_wait_queue *queueh](h)}(hjh]hstruct}(hjv&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjr&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr&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')}jj\&sb c.rpc_wake_upasbuh1hhjr&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr&ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjr&ubj%)}(hqueueh]hqueue}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjn&ubah}(h]h ]h"]h$]h&]j<j=uh1jhj5&hhhjG&hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1&hhhjG&hMubah}(h]j,&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjG&hMhj.&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&]uh1jRhj.&hhhjG&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjthNhNubj})}(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)}(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&]uh1jhj8'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj4'ubj)}(hhh]jX)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjS'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjO'hMhjP'ubah}(h]h ]h"]h$]h&]uh1jhj4'ubeh}(h]h ]h"]h$]h&]uh1jhjO'hMhj1'ubah}(h]h ]h"]h$]h&]uh1jhj'ubjX)}(h**Description**h]j)}(hju'h]h Description}(hjw'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs'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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhjthhhNhNubh)}(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}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j')}jj'sbc.rpc_wake_up_statusasbuh1hhj'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%)}(hqueueh]hqueue}(hjP(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(h int statush](j)}(hinth]hint}(hji(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje(ubj)}(h h]h }(hjw(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje(ubj%)}(hstatush]hstatus}(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)}(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{uh1hhhhjthNhNubj})}(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)}(hj))h]h int status}(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)}(hstatus value to seth]hstatus value to set}(hjB)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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj(ubjX)}(hGrabs queue->lockh]hGrabs queue->lock}(hjz)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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_malloc (C function) c.rpc_mallochNtauh1hhjthhhNhNubh)}(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}(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)sb c.rpc_mallocasbuh1hhj)ubj)}(h h]h }(hj$*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hj2*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)}(hallocate RPC buffer resourcesh]hallocate RPC buffer resources}(hji*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjf*hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj)hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(h#``struct rpc_task *task`` 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj*ubj)}(hhh]jX)}(hRPC taskh] hRPC 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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj*ubjX)}(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.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj*ubjX)}(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 +hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj*ubjX)}(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.}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_free (C function) c.rpc_freehNtauh1hhjthhhNhNubh)}(hhh](h)}(h%void rpc_free (struct rpc_task *task)h]h)}(h$void rpc_free(struct rpc_task *task)h](j)}(hvoidh]hvoid}(hjH+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD+hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM:ubj)}(h h]h }(hjW+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD+hhhjV+hM:ubj)}(hrpc_freeh]j%)}(hrpc_freeh]hrpc_free}(hji+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjD+hhhjV+hM:ubj)}(h(struct rpc_task *task)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')}jjk+sb c.rpc_freeasbuh1hhj+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}+ubah}(h]h ]h"]h$]h&]j<j=uh1jhjD+hhhjV+hM:ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@+hhhjV+hM:ubah}(h]j;+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjV+hM:hj=+hhubjS)}(hhh]jX)}(h2free RPC buffer resources allocated via rpc_malloch]h2free RPC buffer resources allocated via rpc_malloc}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM:hj,hhubah}(h]h ]h"]h$]h&]uh1jRhj=+hhhjV+hM:ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj ,jxj ,jyjzj{uh1hhhhjthNhNubj})}(h4**Parameters** ``struct rpc_task *task`` RPC taskh](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.chM>hj$,ubj)}(hhh]j)}(h"``struct rpc_task *task`` RPC taskh](j)}(h``struct rpc_task *task``h]j)}(hjI,h]hstruct rpc_task *task}(hjK,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM@hjC,ubj)}(hhh]jX)}(hRPC taskh]hRPC task}(hjb,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chM;hj_,ubah}(h]h ]h"]h$]h&]uh1jhjC,ubeh}(h]h ]h"]h$]h&]uh1jhj^,hM@hj@,ubah}(h]h ]h"]h$]h&]uh1jhj$,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%csum_partial_copy_to_xdr (C function)c.csum_partial_copy_to_xdrhNtauh1hhjthhhNhNubh)}(hhh](h)}(hGint csum_partial_copy_to_xdr (struct xdr_buf *xdr, struct sk_buff *skb)h]h)}(hFint csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb)h](j)}(hinth]hint}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:71: ./net/sunrpc/socklib.chKubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj,hKubj)}(hcsum_partial_copy_to_xdrh]j%)}(hcsum_partial_copy_to_xdrh]hcsum_partial_copy_to_xdr}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj,hKubj)}(h*(struct xdr_buf *xdr, struct sk_buff *skb)h](j)}(hstruct xdr_buf *xdrh](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%)}(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')}jj,sbc.csum_partial_copy_to_xdrasbuh1hhj,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%)}(hxdrh]hxdr}(hj9-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}(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}(hjp-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr-modnameN classnameNjj!)}j$]j-c.csum_partial_copy_to_xdrasbuh1hhjN-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%)}(hskbh]hskb}(hj-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=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)}(hchecksum and copy datah]hchecksum and copy data}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:71: ./net/sunrpc/socklib.chKhj-hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhj,hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhjthNhNubj})}(h**Parameters** ``struct xdr_buf *xdr`` target XDR buffer ``struct sk_buff *skb`` source skb **Description** We have set things up such that we perform the checksum of the UDP packet in parallel with the copies into the RPC client iovec. -DaveMh](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:71: ./net/sunrpc/socklib.chKhj-ubj)}(hhh](j)}(h*``struct xdr_buf *xdr`` target XDR buffer h](j)}(h``struct xdr_buf *xdr``h]j)}(hj.h]hstruct xdr_buf *xdr}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:71: ./net/sunrpc/socklib.chKhj.ubj)}(hhh]jX)}(htarget XDR bufferh]htarget XDR buffer}(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#``struct sk_buff *skb`` source skb h](j)}(h``struct sk_buff *skb``h]j)}(hjM.h]hstruct sk_buff *skb}(hjO.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:71: ./net/sunrpc/socklib.chKhjG.ubj)}(hhh]jX)}(h source skbh]h source skb}(hjf.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb.hKhjc.ubah}(h]h ]h"]h$]h&]uh1jhjG.ubeh}(h]h ]h"]h$]h&]uh1jhjb.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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:71: ./net/sunrpc/socklib.chKhj-ubjX)}(hWe have set things up such that we perform the checksum of the UDP packet in parallel with the copies into the RPC client iovec. -DaveMh]hWe have set things up such that we perform the checksum of the UDP packet in parallel with the copies into the RPC client iovec. -DaveM}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:71: ./net/sunrpc/socklib.chKhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhjthhhNhNubh)}(hhh](h)}(h>struct rpc_iostats * rpc_alloc_iostats (struct rpc_clnt *clnt)h]h)}(hh]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.hhhj.hKxubj)}(hrpc_alloc_iostatsh]j%)}(hj /h]hrpc_alloc_iostats}(hj,/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hKxubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](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%)}(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/c.rpc_alloc_iostatsasbuh1hhjC/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%)}(hclnth]hclnt}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjC/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?/ubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hKxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hKxubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hKxhj.hhubjS)}(hhh]jX)}(h!allocate an rpc_iostats structureh]h!allocate an rpc_iostats structure}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKxhj/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hKxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjthNhNubj})}(hJ**Parameters** ``struct rpc_clnt *clnt`` RPC program, version, and xprth](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:74: ./net/sunrpc/stats.chK|hj/ubj)}(hhh]j)}(h8``struct rpc_clnt *clnt`` RPC program, version, and xprth](j)}(h``struct rpc_clnt *clnt``h]j)}(hj 0h]hstruct rpc_clnt *clnt}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chK~hj0ubj)}(hhh]jX)}(hRPC program, version, and xprth]hRPC program, version, and xprt}(hj"0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKyhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hK~hj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_free_iostats (C function)c.rpc_free_iostatshNtauh1hhjthhhNhNubh)}(hhh](h)}(h1void rpc_free_iostats (struct rpc_iostats *stats)h]h)}(h0void rpc_free_iostats(struct rpc_iostats *stats)h](j)}(hvoidh]hvoid}(hjc0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_0hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hjr0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_0hhhjq0hKubj)}(hrpc_free_iostatsh]j%)}(hrpc_free_iostatsh]hrpc_free_iostats}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_0hhhjq0hKubj)}(h(struct rpc_iostats *stats)h]j)}(hstruct rpc_iostats *statsh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jj0sbc.rpc_free_iostatsasbuh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hstatsh]hstats}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj_0hhhjq0hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[0hhhjq0hKubah}(h]jV0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjq0hKhjX0hhubjS)}(hhh]jX)}(h release an rpc_iostats structureh]h release an rpc_iostats structure}(hj#1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj 1hhubah}(h]h ]h"]h$]h&]uh1jRhjX0hhhjq0hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;1jxj;1jyjzj{uh1hhhhjthNhNubj})}(hL**Parameters** ``struct rpc_iostats *stats`` doomed rpc_iostats structureh](jX)}(h**Parameters**h]j)}(hjE1h]h Parameters}(hjG1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC1ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj?1ubj)}(hhh]j)}(h:``struct rpc_iostats *stats`` doomed rpc_iostats structureh](j)}(h``struct rpc_iostats *stats``h]j)}(hjd1h]hstruct rpc_iostats *stats}(hjf1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj^1ubj)}(hhh]jX)}(hdoomed rpc_iostats structureh]hdoomed rpc_iostats structure}(hj}1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjz1ubah}(h]h ]h"]h$]h&]uh1jhj^1ubeh}(h]h ]h"]h$]h&]uh1jhjy1hKhj[1ubah}(h]h ]h"]h$]h&]uh1jhj?1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_count_iostats_metrics (C function)c.rpc_count_iostats_metricshNtauh1hhjthhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hKubj)}(hrpc_count_iostats_metricsh]j%)}(hrpc_count_iostats_metricsh]hrpc_count_iostats_metrics}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hKubj)}(h=(const struct rpc_task *task, struct rpc_iostats *op_metrics)h](j)}(hconst struct rpc_task *taskh](h)}(hjh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj#2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj42hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj12ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj62modnameN classnameNjj!)}j$]j')}jj1sbc.rpc_count_iostats_metricsasbuh1hhj1ubj)}(h h]h }(hjT2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjb2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(htaskh]htask}(hjo2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hstruct rpc_iostats *op_metricsh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jP2c.rpc_count_iostats_metricsasbuh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(h op_metricsh]h op_metrics}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhj1hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhj1hKubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hKhj1hhubjS)}(hhh]jX)}(htally up per-task statsh]htally up per-task stats}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj3hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!3jxj!3jyjzj{uh1hhhhjthNhNubj})}(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)}(hj+3h]h Parameters}(hj-3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)3ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj%3ubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjJ3h]hconst struct rpc_task *task}(hjL3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjD3ubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjc3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_3hKhj`3ubah}(h]h ]h"]h$]h&]uh1jhjD3ubeh}(h]h ]h"]h$]h&]uh1jhj_3hKhjA3ubj)}(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)}(hj3h]hstruct rpc_iostats *op_metrics}(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.chKhj}3ubj)}(hhh]jX)}(h>stat structure for OP that will accumulate stats from **task**h](h6stat structure for OP that will accumulate stats from }(hj3hhhNhNubj)}(h**task**h]htask}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj3ubah}(h]h ]h"]h$]h&]uh1jhj}3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjA3ubeh}(h]h ]h"]h$]h&]uh1jhj%3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhjthhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hKubj)}(hrpc_count_iostatsh]j%)}(hrpc_count_iostatsh]hrpc_count_iostats}(hj 4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hKubj)}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j)}(hconst struct rpc_task *taskh](h)}(hjh]hconst}(hj(4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$4ubj)}(h h]h }(hj54hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$4ubh)}(hjh]hstruct}(hjC4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$4ubj)}(h h]h }(hjP4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$4ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hja4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjc4modnameN classnameNjj!)}j$]j')}jj4sbc.rpc_count_iostatsasbuh1hhj$4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$4ubj%)}(htaskh]htask}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj 4ubj)}(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}4c.rpc_count_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}(hj 5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj 4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hKubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hKhj3hhubjS)}(hhh]jX)}(htally up per-task statsh]htally up per-task stats}(hj65hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj35hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjN5jxjN5jyjzj{uh1hhhhjthNhNubj})}(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)}(hjX5h]h Parameters}(hjZ5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV5ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjR5ubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjw5h]hconst struct rpc_task *task}(hjy5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjq5ubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hKhj5ubah}(h]h ]h"]h$]h&]uh1jhjq5ubeh}(h]h ]h"]h$]h&]uh1jhj5hKhjn5ubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hj5h]hstruct rpc_iostats *stats}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj5ubj)}(hhh]jX)}(harray of stat structuresh]harray of stat structures}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hKhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hKhjn5ubeh}(h]h ]h"]h$]h&]uh1jhjR5ubjX)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjR5ubjX)}(hUses the statidx from **task**h](hUses the statidx from }(hj6hhhNhNubj)}(h**task**h]htask}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjR5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhjthhhNhNubh)}(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}(hj>6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:6hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj)}(h h]h }(hjM6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:6hhhjL6hK}ubj)}(hrpc_queue_upcallh]j%)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hj_6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:6hhhjL6hK}ubj)}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hj{6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjw6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw6ubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jja6sbc.rpc_queue_upcallasbuh1hhjw6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjw6ubj%)}(hpipeh]hpipe}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjs6ubj)}(hstruct rpc_pipe_msg *msgh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(h rpc_pipe_msgh]h rpc_pipe_msg}(hj 7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj 7modnameN classnameNjj!)}j$]j6c.rpc_queue_upcallasbuh1hhj6ubj)}(h h]h }(hj)7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hj77hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hmsgh]hmsg}(hjD7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjs6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:6hhhjL6hK}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj66hhhjL6hK}ubah}(h]j16ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjL6hK}hj36hhubjS)}(hhh]jX)}(h$queue an upcall message to userspaceh]h$queue an upcall message to userspace}(hjn7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}hjk7hhubah}(h]h ]h"]h$]h&]uh1jRhj36hhhjL6hK}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhjthNhNubj})}(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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj7ubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hj7h]hstruct rpc_pipe *pipe}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hj7ubj)}(hhh]jX)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hK~hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hK~hj7ubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hj7h]hstruct rpc_pipe_msg *msg}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj7ubj)}(hhh]jX)}(hmessage to queueh]hmessage to queue}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hKhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hj#8h]h Description}(hj%8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!8ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj7ubjX)}(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 }(hj98hhhNhNubj)}(h **inode**h]hinode}(hjA8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj98ubh 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 }(hj98hhhNhNubj)}(h**msg**h]hmsg}(hjS8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj98ubh (other than }(hj98hhhNhNubj)}(h **msg->list**h]h msg->list}(hje8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj98ubh) appropriately.}(hj98hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhjthhhNhNubh)}(hhh](h)}(hqstruct dentry * rpc_mkpipe_dentry (struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h]h)}(hostruct dentry *rpc_mkpipe_dentry(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMubh)}(hhh]j%)}(hdentryh]hdentry}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jrpc_mkpipe_dentrysbc.rpc_mkpipe_dentryasbuh1hhj8hhhj8hMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8hhhj8hMubj)}(hrpc_mkpipe_dentryh]j%)}(hj8h]hrpc_mkpipe_dentry}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hMubj)}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j)}(hstruct dentry *parenth](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj%9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hdentryh]hdentry}(hj69hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj39ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj89modnameN classnameNjj!)}j$]j8c.rpc_mkpipe_dentryasbuh1hhj9ubj)}(h h]h }(hjT9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjb9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hparenth]hparent}(hjo9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hconst char *nameh](h)}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(hcharh]hchar}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hnameh]hname}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(h void *privateh](j)}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hprivateh]hprivate}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hstruct rpc_pipe *pipeh](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_pipeh]hrpc_pipe}(hjE:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjG:modnameN classnameNjj!)}j$]j8c.rpc_mkpipe_dentryasbuh1hhj#: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%)}(hpipeh]hpipe}(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=uh1jhj8hhhj8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhj8hMubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMhj8hhubjS)}(hhh]jX)}(huserspace communicationh]huserspace communication}(hj:hhhNhNubah}(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&]uh1jRhj8hhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhjthNhNubj})}(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.chMhj: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.chMhj: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:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj: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.chMhj;ubj)}(hhh]jX)}(h name of pipeh]h name of pipe}(hj;;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7;hMhj8;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj7;hMhj: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&]uh1jhjY;ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjU;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}(hjt;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjp;hMhjq;ubah}(h]h ]h"]h$]h&]uh1jhjU;ubeh}(h]h ]h"]h$]h&]uh1jhjp;hMhj:ubj)}(hI``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters 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.chMhj;ubj)}(hhh]jX)}(h.:c:type:`rpc_pipe` containing input parametersh](h)}(h:c:type:`rpc_pipe`h]j)}(hj;h]hrpc_pipe}(hj;hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrpc_pipeuh1hhj;hMhj;ubh containing input parameters}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj: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.chMhj: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.chMhj: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 }(hjF<hhhNhNubj)}(h **private**h]hprivate}(hjN<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF<ubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hjF<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhjthhhNhNubh)}(hhh](h)}(h&int rpc_unlink (struct dentry *dentry)h]h)}(h%int rpc_unlink(struct dentry *dentry)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.chMDubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMDubj)}(h rpc_unlinkh]j%)}(h rpc_unlinkh]h rpc_unlink}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMDubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](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<sb c.rpc_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%)}(hdentryh]hdentry}(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<hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMDubah}(h]jz<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMDhj|<hhubjS)}(hhh]jX)}(h remove a pipeh]h remove a pipe}(hjG=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMDhjD=hhubah}(h]h ]h"]h$]h&]uh1jRhj|<hhhj<hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_=jxj_=jyjzj{uh1hhhhjthNhNubj})}(h**Parameters** ``struct dentry *dentry`` dentry for the pipe, as returned from rpc_mkpipe **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)}(hji=h]h Parameters}(hjk=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg=ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMHhjc=ubj)}(hhh]j)}(hK``struct dentry *dentry`` dentry for the pipe, as returned from rpc_mkpipe h](j)}(h``struct dentry *dentry``h]j)}(hj=h]hstruct dentry *dentry}(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.chMEhj=ubj)}(hhh]jX)}(h0dentry for the pipe, as returned from rpc_mkpipeh]h0dentry for the pipe, as returned from rpc_mkpipe}(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&]uh1jhjc=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.chMGhjc=ubjX)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMGhjc=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#rpc_init_pipe_dir_head (C function)c.rpc_init_pipe_dir_headhNtauh1hhjthhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM]ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hM]ubj)}(hrpc_init_pipe_dir_headh]j%)}(hrpc_init_pipe_dir_headh]hrpc_init_pipe_dir_head}(hj)>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj>hM]ubj)}(h(struct rpc_pipe_dir_head *pdh)h]j)}(hstruct rpc_pipe_dir_head *pdhh](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%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjc>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetje>modnameN classnameNjj!)}j$]j')}jj+>sbc.rpc_init_pipe_dir_headasbuh1hhjA>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%)}(hpdhh]hpdh}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA>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%initialise a struct rpc_pipe_dir_headh]h%initialise a struct rpc_pipe_dir_head}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM]hj>hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj>hM]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhjthNhNubj})}(hW**Parameters** ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](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.chMahj>ubj)}(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)}(hj ?h]hstruct rpc_pipe_dir_head *pdh}(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.chMchj?ubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj"?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM^hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMchj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%rpc_init_pipe_dir_object (C function)c.rpc_init_pipe_dir_objecthNtauh1hhjthhhNhNubh)}(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}(hjc?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_?hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhubj)}(h h]h }(hjr?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_?hhhjq?hMhubj)}(hrpc_init_pipe_dir_objecth]j%)}(hrpc_init_pipe_dir_objecth]hrpc_init_pipe_dir_object}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_?hhhjq?hMhubj)}(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}(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_pipe_dir_objecth]hrpc_pipe_dir_object}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jj?sbc.rpc_init_pipe_dir_objectasbuh1hhj?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%)}(hpdoh]hpdo}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(h-const struct rpc_pipe_dir_object_ops *pdo_opsh](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%)}(hrpc_pipe_dir_object_opsh]hrpc_pipe_dir_object_ops}(hjK@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjM@modnameN classnameNjj!)}j$]j?c.rpc_init_pipe_dir_objectasbuh1hhj@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%)}(hpdo_opsh]hpdo_ops}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(hvoid *pdo_datah](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%)}(hpdo_datah]hpdo_data}(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_?hhhjq?hMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[?hhhjq?hMhubah}(h]jV?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjq?hMhhjX?hhubjS)}(hhh]jX)}(h'initialise a struct rpc_pipe_dir_objecth]h'initialise a struct rpc_pipe_dir_object}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhhj@hhubah}(h]h ]h"]h$]h&]uh1jRhjX?hhhjq?hMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhjthNhNubj})}(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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMlhj Aubj)}(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)}(hj1Ah]hstruct rpc_pipe_dir_object *pdo}(hj3AhhhNhNubah}(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.chMihj+Aubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjJAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFAhMihjGAubah}(h]h ]h"]h$]h&]uh1jhj+Aubeh}(h]h ]h"]h$]h&]uh1jhjFAhMihj(Aubj)}(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)}(hjjAh]h-const struct rpc_pipe_dir_object_ops *pdo_ops}(hjlAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhAubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMjhjdAubj)}(hhh]jX)}(h/pointer to const struct rpc_pipe_dir_object_opsh]h/pointer to const struct rpc_pipe_dir_object_ops}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMjhjAubah}(h]h ]h"]h$]h&]uh1jhjdAubeh}(h]h ]h"]h$]h&]uh1jhjAhMjhj(Aubj)}(h1``void *pdo_data`` pointer to caller-defined datah](j)}(h``void *pdo_data``h]j)}(hjAh]hvoid *pdo_data}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMlhjAubj)}(hhh]jX)}(hpointer to caller-defined datah]hpointer to caller-defined data}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMlhj(Aubeh}(h]h ]h"]h$]h&]uh1jhj Aubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_add_pipe_dir_object (C function)c.rpc_add_pipe_dir_objecthNtauh1hhjthhhNhNubh)}(hhh](h)}(hmint rpc_add_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h]h)}(hlint rpc_add_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hj BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhj BhMubj)}(hrpc_add_pipe_dir_objecth]j%)}(hrpc_add_pipe_dir_objecth]hrpc_add_pipe_dir_object}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhj BhMubj)}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj:BhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6Bubj)}(h h]h }(hjGBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Bubh)}(hhh]j%)}(hneth]hnet}(hjXBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZBmodnameN classnameNjj!)}j$]j')}jj Bsbc.rpc_add_pipe_dir_objectasbuh1hhj6Bubj)}(h h]h }(hjxBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Bubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6Bubj%)}(hneth]hnet}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2Bubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(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$]jtBc.rpc_add_pipe_dir_objectasbuh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hpdhh]hpdh}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2Bubj)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hj)ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj:ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Cubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjh]h*}(hjfChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hpdoh]hpdo}(hjsChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2Bubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhj BhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhj BhMubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj BhMhjAhhubjS)}(hhh]jX)}(h.associate a rpc_pipe_dir_object to a directoryh]h.associate a rpc_pipe_dir_object to a directory}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjChhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhj BhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhjthNhNubj})}(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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjCubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjCh]hstruct net *net}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjCubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubj)}(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)}(hjDh]hstruct rpc_pipe_dir_head *pdh}(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_headh]h#pointer to struct rpc_pipe_dir_head}(hj0DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,DhMhj-Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj,DhMhjCubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjPDh]hstruct rpc_pipe_dir_object *pdo}(hjRDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjJDubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjiDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjfDubah}(h]h ]h"]h$]h&]uh1jhjJDubeh}(h]h ]h"]h$]h&]uh1jhjeDhMhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_remove_pipe_dir_object (C function)c.rpc_remove_pipe_dir_objecthNtauh1hhjthhhNhNubh)}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjDhMubj)}(hrpc_remove_pipe_dir_objecth]j%)}(hrpc_remove_pipe_dir_objecth]hrpc_remove_pipe_dir_object}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjDhMubj)}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(hneth]hnet}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjDsbc.rpc_remove_pipe_dir_objectasbuh1hhjDubj)}(h h]h }(hj%EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hj3EhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hneth]hnet}(hj@EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjYEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUEubj)}(h h]h }(hjfEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUEubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjwEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjyEmodnameN classnameNjj!)}j$]j!Ec.rpc_remove_pipe_dir_objectasbuh1hhjUEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUEubj%)}(hpdhh]hpdh}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j!Ec.rpc_remove_pipe_dir_objectasbuh1hhjEubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hpdoh]hpdo}(hj FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhjDhhubjS)}(hhh]jX)}(h-remove a rpc_pipe_dir_object from a directoryh]h-remove a rpc_pipe_dir_object from a directory}(hjJFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjGFhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbFjxjbFjyjzj{uh1hhhhjthNhNubj})}(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)}(hjlFh]h Parameters}(hjnFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjFubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjfFubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjFh]hstruct net *net}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjFubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubj)}(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)}(hjFh]hstruct rpc_pipe_dir_head *pdh}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjFubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjFh]hstruct rpc_pipe_dir_object *pdo}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjFubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjFubeh}(h]h ]h"]h$]h&]uh1jhjfFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(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_objecthNtauh1hhjthhhNhNubh)}(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}(hjWGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSGhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjeGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSGhhhjdGhMubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjvGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxGmodnameN classnameNjj!)}j$]j')}j!rpc_find_or_alloc_pipe_dir_objectsb#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjSGhhhjdGhMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSGhhhjdGhMubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSGhhhjdGhMubj)}(h!rpc_find_or_alloc_pipe_dir_objecth]j%)}(hjGh]h!rpc_find_or_alloc_pipe_dir_object}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjSGhhhjdGhMubj)}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hneth]hnet}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]jG#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjGubj)}(h h]h }(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hneth]hnet}(hj(HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjAHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=Hubj)}(h h]h }(hjNHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=Hubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hj_HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\Hubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjaHmodnameN classnameNjj!)}j$]jG#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj=Hubj)}(h h]h }(hj}HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=Hubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=Hubj%)}(hpdhh]hpdh}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=Hubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hjh]h(}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hmatchh]hmatch}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubj;)}(hjh]h)}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj;)}(hjh]h(}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubh)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj-IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*Iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/ImodnameN classnameNjj!)}j$]jG#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjHubj;)}(hj>h]h*}(hjKIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj;)}(h,h]h,}(hjXIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj)}(h h]h }(hjfIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hvoidh]hvoid}(hjtIhhhNhNubah}(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=uh1jhjGubj)}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](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_objecth]hrpc_pipe_dir_object}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]jG#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj;)}(hjh]h(}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj;)}(hj>h]h*}(hj JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(halloch]halloc}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubj;)}(hjh]h)}(hj&JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj;)}(hjh]h(}(hj3JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj)}(hvoidh]hvoid}(hj@JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj;)}(hj>h]h*}(hjNJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj;)}(hjh]h)}(hj[JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h void *datah](j)}(hvoidh]hvoid}(hjsJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoJubj%)}(hdatah]hdata}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjSGhhhjdGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOGhhhjdGhMubah}(h]jJGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdGhMhjLGhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjLGhhhjdGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjthNhNubj})}(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)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(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)}(hjJh]hstruct net *net}(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)}(hpointer to struct neth]hpointer to struct net}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj KhMhjKubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj KhMhjJubj)}(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)}(hj1Kh]hstruct rpc_pipe_dir_head *pdh}(hj3KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Kubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj+Kubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjJKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFKhMhjGKubah}(h]h ]h"]h$]h&]uh1jhj+Kubeh}(h]h ]h"]h$]h&]uh1jhjFKhMhjJubj)}(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)}(hjjKh]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(hjlKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhKubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjdKubj)}(hhh]jX)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjdKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjJubj)}(h[``struct rpc_pipe_dir_object *(*alloc)(void *)`` allocate a new struct rpc_pipe_dir_object h](j)}(h0``struct rpc_pipe_dir_object *(*alloc)(void *)``h]j)}(hjKh]h,struct rpc_pipe_dir_object *(*alloc)(void *)}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKubj)}(hhh]jX)}(h)allocate a new struct rpc_pipe_dir_objecth]h)allocate a new struct rpc_pipe_dir_object}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjJubj)}(h8``void *data`` user defined data for match() and alloc()h](j)}(h``void *data``h]j)}(hjKh]h void *data}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKubj)}(hhh]jX)}(h)user defined data for match() and alloc()h]h)user defined data for match() and alloc()}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjJubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpcb_getport_async (C function)c.rpcb_getport_asynchNtauh1hhjthhhNhNubh)}(hhh](h)}(h/void rpcb_getport_async (struct rpc_task *task)h]h)}(h.void rpcb_getport_async(struct rpc_task *task)h](j)}(hvoidh]hvoid}(hj6LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2LhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMubj)}(h h]h }(hjELhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2LhhhjDLhMubj)}(hrpcb_getport_asynch]j%)}(hrpcb_getport_asynch]hrpcb_getport_async}(hjWLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2LhhhjDLhMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjsLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoLubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jjYLsbc.rpcb_getport_asyncasbuh1hhjoLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoLubj%)}(htaskh]htask}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkLubah}(h]h ]h"]h$]h&]j<j=uh1jhj2LhhhjDLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.LhhhjDLhMubah}(h]j)Lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDLhMhj+LhhubjS)}(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}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jRhj+LhhhjDLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjthNhNubj})}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjMubj)}(hhh]j)}(hF``struct rpc_task *task`` task that is waiting for portmapper request h](j)}(h``struct rpc_task *task``h]j)}(hj7Mh]hstruct rpc_task *task}(hj9MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Mubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj1Mubj)}(hhh]jX)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper request}(hjPMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLMhMhjMMubah}(h]h ]h"]h$]h&]uh1jhj1Mubeh}(h]h ]h"]h$]h&]uh1jhjLMhMhj.Mubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjrMh]h Description}(hjtMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpMubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjMubjX)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhjthhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhjMhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}j rpc_createsb c.rpc_createasbuh1hhjMhhhjMhMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhjMhMubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMhhhjMhMubj)}(h rpc_createh]j%)}(hjMh]h rpc_create}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhjMhMubj)}(h(struct rpc_create_args *args)h]j)}(hstruct rpc_create_args *argsh](h)}(hjh]hstruct}(hj1NhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-Nubj)}(h h]h }(hj>NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Nubh)}(hhh]j%)}(hrpc_create_argsh]hrpc_create_args}(hjONhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQNmodnameN classnameNjj!)}j$]jM c.rpc_createasbuh1hhj-Nubj)}(h h]h }(hjmNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-Nubj;)}(hj>h]h*}(hj{NhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-Nubj%)}(hargsh]hargs}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-Nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)Nubah}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhjMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjMhMubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMhjMhhubjS)}(hhh]jX)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one call}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjthNhNubj})}(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)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjNubj)}(hhh]j)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hjNh]hstruct rpc_create_args *args}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjNubj)}(hhh]jX)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhj Oubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubjX)}(h**Description**h]j)}(hj.Oh]h Description}(hj0OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Oubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjNubjX)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hjDOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjNubjX)}(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.}(hjSOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhjthhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~OhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~OhhhjOhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jrpc_clone_clientsbc.rpc_clone_clientasbuh1hhj~OhhhjOhMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~OhhhjOhMubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~OhhhjOhMubj)}(hrpc_clone_clienth]j%)}(hjOh]hrpc_clone_client}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~OhhhjOhMubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jOc.rpc_clone_clientasbuh1hhjOubj)}(h h]h }(hj8PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjFPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hclnth]hclnt}(hjSPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhj~OhhhjOhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzOhhhjOhMubah}(h]juOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMhjwOhhubjS)}(hhh]jX)}(hClone an RPC client structureh]hClone an RPC client structure}(hj}PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzPhhubah}(h]h ]h"]h$]h&]uh1jRhjwOhhhjOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhjthNhNubj})}(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)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjPubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjPh]hstruct rpc_clnt *clnt}(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.chMhjPubj)}(hhh]jX)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubjX)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjPubjX)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhjthhhNhNubh)}(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}(hj>QhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:QhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjLQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:QhhhjKQhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj]QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_QmodnameN classnameNjj!)}j$]j')}jrpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhj:QhhhjKQhMubj)}(h h]h }(hj~QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:QhhhjKQhMubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:QhhhjKQhMubj)}(hrpc_clone_client_set_authh]j%)}(hj{Qh]hrpc_clone_client_set_auth}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:QhhhjKQhMubj)}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jyQc.rpc_clone_client_set_authasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hclnth]hclnt}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hrpc_authflavor_t flavorh](h)}(hhh]j%)}(hrpc_authflavor_th]hrpc_authflavor_t}(hj+RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Rubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-RmodnameN classnameNjj!)}j$]jyQc.rpc_clone_client_set_authasbuh1hhj$Rubj)}(h h]h }(hjIRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$Rubj%)}(hflavorh]hflavor}(hjWRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:QhhhjKQhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6QhhhjKQhMubah}(h]j1Qah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKQhMhj3QhhubjS)}(hhh]jX)}(h.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj~Rhhubah}(h]h ]h"]h$]h&]uh1jRhj3QhhhjKQhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjRh]hstruct rpc_clnt *clnt}(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 client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjRubj)}(h;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hjRh]hrpc_authflavor_t flavor}(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)}(hsecurity flavor for new clienth]hsecurity flavor for new client}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhjRubeh}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hj6Sh]h Description}(hj8ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Subah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRubjX)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjLShhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(rpc_switch_client_transport (C function)c.rpc_switch_client_transporthNtauh1hhjthhhNhNubh)}(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}(hj{ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwShhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwShhhjShMubj)}(hrpc_switch_client_transporth]j%)}(hrpc_switch_client_transporth]hrpc_switch_client_transport}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwShhhjShMubj)}(hT(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)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_switch_client_transportasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hclnth]hclnt}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hstruct xprt_create *argsh](h)}(hjh]hstruct}(hj*ThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&Tubj)}(h h]h }(hj7ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&Tubh)}(hhh]j%)}(h xprt_createh]h xprt_create}(hjHThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjETubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJTmodnameN classnameNjj!)}j$]jSc.rpc_switch_client_transportasbuh1hhj&Tubj)}(h h]h }(hjfThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&Tubj;)}(hj>h]h*}(hjtThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&Tubj%)}(hargsh]hargs}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&Tubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(h!const struct rpc_timeout *timeouth](h)}(hjh]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h rpc_timeouth]h rpc_timeout}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jSc.rpc_switch_client_transportasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(htimeouth]htimeout}(hj UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubeh}(h]h ]h"]h$]h&]j<j=uh1jhjwShhhjShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjsShhhjShMubah}(h]jnSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMhjpShhubjS)}(hhh]jX)}(h#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(hj6UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj3Uhhubah}(h]h ]h"]h$]h&]uh1jRhjpShhhjShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNUjxjNUjyjzj{uh1hhhhjthNhNubj})}(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)}(hjXUh]h Parameters}(hjZUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVUubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRUubj)}(hhh](j)}(h7``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjwUh]hstruct rpc_clnt *clnt}(hjyUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuUubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqUubj)}(hhh]jX)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjqUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjnUubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjUh]hstruct xprt_create *args}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjUubj)}(hhh]jX)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjnUubj)}(hL``const struct rpc_timeout *timeout`` pointer to the new timeout parameters h](j)}(h%``const struct rpc_timeout *timeout``h]j)}(hjUh]h!const struct rpc_timeout *timeout}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjUubj)}(hhh]jX)}(h%pointer to the new timeout parametersh]h%pointer to the new timeout parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjnUubeh}(h]h ]h"]h$]h&]uh1jhjRUubjX)}(h**Description**h]j)}(hj$Vh]h Description}(hj&VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Vubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRUubjX)}(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.}(hj:VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRUubjX)}(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.}(hjIVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjRUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhjthhhNhNubh)}(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}(hjxVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtVhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMJubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtVhhhjVhMJubj)}(hrpc_clnt_iterate_for_each_xprth]j%)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjtVhhhjVhMJubj)}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjVsb c.rpc_clnt_iterate_for_each_xprtasbuh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hclnth]hclnt}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hj'WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#Wubj)}(h h]h }(hj5WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#Wubj;)}(hjh]h(}(hjCWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj;)}(hj>h]h*}(hjPWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj%)}(hfnh]hfn}(hj]WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#Wubj;)}(hjh]h)}(hjkWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj;)}(hjh]h(}(hjxWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubh)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#Wubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#Wubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jV c.rpc_clnt_iterate_for_each_xprtasbuh1hhj#Wubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj;)}(hjZIh]h,}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#Wubh)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#Wubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#Wubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj XmodnameN classnameNjj!)}j$]jV c.rpc_clnt_iterate_for_each_xprtasbuh1hhj#Wubj;)}(hj>h]h*}(hj%XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj;)}(hjZIh]h,}(hj2XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj)}(h h]h }(hj?XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#Wubj)}(hvoidh]hvoid}(hjMXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#Wubj;)}(hj>h]h*}(hj[XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubj;)}(hjh]h)}(hjhXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#Wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h void *datah](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|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%)}(hdatah]hdata}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Xubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(h]h ]h"]h$]h&]j<j=uh1jhjtVhhhjVhMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjpVhhhjVhMJubah}(h]jkVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMJhjmVhhubjS)}(hhh]jX)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMJhjXhhubah}(h]h ]h"]h$]h&]uh1jRhjmVhhhjVhMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhjthNhNubj})}(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)}(hjXh]h Parameters}(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.chMNhjXubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client h](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.chMKhjYubj)}(hhh]jX)}(hpointer to clienth]hpointer to client}(hj-YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)YhMKhj*Yubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj)YhMKhj Yubj)}(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)}(hjMYh]h7int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)}(hjOYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMLhjGYubj)}(hhh]jX)}(hfunction to applyh]hfunction to apply}(hjfYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbYhMLhjcYubah}(h]h ]h"]h$]h&]uh1jhjGYubeh}(h]h ]h"]h$]h&]uh1jhjbYhMLhj Yubj)}(h-``void *data`` void pointer to function data 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:83: ./net/sunrpc/clnt.chMMhjYubj)}(hhh]jX)}(hvoid pointer to function datah]hvoid pointer to function data}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMMhj Yubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMOhjXubjX)}(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).}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMOhjXubjX)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMRhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhjthhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hj$ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhj#ZhMubj)}(hlongh]hlong}(hj2ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhj#ZhMubj)}(h h]h }(hj@ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhj#ZhMubj)}(hrpc_cancel_tasksh]j%)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hjRZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhj#ZhMubj)}(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}(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')}jjTZsbc.rpc_cancel_tasksasbuh1hhjjZubj)}(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)}(h int errorh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(herrorh]herror}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfZubj)}(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(}(hj0[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj;)}(hj>h]h*}(hj=[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hfnmatchh]hfnmatch}(hjJ[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubj;)}(hjh]h)}(hjX[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj;)}(hjh]h(}(hje[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubh)}(hjh]hconst}(hjr[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%)}(hrpc_taskh]hrpc_task}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jZc.rpc_cancel_tasksasbuh1hhj[ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj;)}(hjZIh]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=uh1jhjfZubj)}(hconst void *datah](h)}(hjh]hconst}(hj?\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;\ubj)}(h h]h }(hjL\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;\ubj)}(hvoidh]hvoid}(hjZ\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;\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%)}(hdatah]hdata}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfZubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhj#ZhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj Zhhhj#ZhMubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#ZhMhj ZhhubjS)}(hhh]jX)}(h try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj\hhubah}(h]h ]h"]h$]h&]uh1jRhj Zhhhj#ZhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhjthNhNubj})}(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.chMhj\ubj)}(hhh]jX)}(hPointer to RPC clienth]hPointer to RPC client}(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 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)}(hj`]h]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(hjb]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.chMhjZ]ubj)}(hhh]jX)}(hPointer to selector functionh]hPointer to selector function}(hjy]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhju]hMhjv]ubah}(h]h ]h"]h$]h&]uh1jhjZ]ubeh}(h]h ]h"]h$]h&]uh1jhju]hMhj\ubj)}(h``const void *data`` User data h](j)}(h``const void *data``h]j)}(hj]h]hconst 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.chMhj]ubj)}(hhh]jX)}(h User datah]h User data}(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: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 }(hj]hhhNhNubj)}(h **fnmatch**h]hfnmatch}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubhE to define a set of RPC tasks that are to be cancelled. The argument }(hj]hhhNhNubj)}(h **error**h]herror}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh must be a negative error value.}(hj]hhhNhNubeh}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhjthhhNhNubh)}(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}(hj=^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9^hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjK^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9^hhhjJ^hMubh)}(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$]j')}jrpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhj9^hhhjJ^hMubj)}(h h]h }(hj}^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9^hhhjJ^hMubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9^hhhjJ^hMubj)}(hrpc_bind_new_programh]j%)}(hjz^h]hrpc_bind_new_program}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9^hhhjJ^hMubj)}(hC(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j)}(hstruct rpc_clnt *oldh](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$]jx^c.rpc_bind_new_programasbuh1hhj^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%)}(holdh]hold}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(h!const struct rpc_program *programh](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%)}(h rpc_programh]h rpc_program}(hj`_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjb_modnameN classnameNjj!)}j$]jx^c.rpc_bind_new_programasbuh1hhj#_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%)}(hprogramh]hprogram}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hu32 versh](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$]jx^c.rpc_bind_new_programasbuh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hversh]hvers}(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=uh1jhj9^hhhjJ^hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5^hhhjJ^hMubah}(h]j0^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJ^hMhj2^hhubjS)}(hhh]jX)}(h,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hj `hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj`hhubah}(h]h ]h"]h$]h&]uh1jRhj2^hhhjJ^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#`jxj#`jyjzj{uh1hhhhjthNhNubj})}(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)}(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 *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hjL`h]hstruct rpc_clnt *old}(hjN`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ`ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjF`ubj)}(hhh]jX)}(hold rpc_clienth]hold rpc_client}(hje`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhja`hMhjb`ubah}(h]h ]h"]h$]h&]uh1jhjF`ubeh}(h]h ]h"]h$]h&]uh1jhja`hMhjC`ubj)}(h9``const struct rpc_program *program`` rpc program to set h](j)}(h%``const struct rpc_program *program``h]j)}(hj`h]h!const struct rpc_program *program}(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 program to seth]hrpc program to set}(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 hjC`ubj)}(h!``u32 vers`` rpc program version h](j)}(h ``u32 vers``h]j)}(hj`h]hu32 vers}(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 program versionh]hrpc program version}(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!hjC`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:83: ./net/sunrpc/clnt.chM#hj'`ubjX)}(hClones 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]hClones 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.}(hjahhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_run_task (C function)c.rpc_run_taskhNtauh1hhjthhhNhNubh)}(hhh](h)}(hMstruct rpc_task * rpc_run_task (const struct rpc_task_setup *task_setup_data)h]h)}(hKstruct rpc_task *rpc_run_task(const struct rpc_task_setup *task_setup_data)h](h)}(hjh]hstruct}(hj>ahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ahhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjLahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ahhhjKahMubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj]ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_amodnameN classnameNjj!)}j$]j')}j rpc_run_tasksbc.rpc_run_taskasbuh1hhj:ahhhjKahMubj)}(h h]h }(hj~ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ahhhjKahMubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ahhhjKahMubj)}(h rpc_run_taskh]j%)}(hj{ah]h rpc_run_task}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:ahhhjKahMubj)}(h.(const struct rpc_task_setup *task_setup_data)h]j)}(h,const struct rpc_task_setup *task_setup_datah](h)}(hjh]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(hrpc_task_setuph]hrpc_task_setup}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]jyac.rpc_run_taskasbuh1hhjaubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(htask_setup_datah]htask_setup_data}(hj*bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubah}(h]h ]h"]h$]h&]j<j=uh1jhj:ahhhjKahMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6ahhhjKahMubah}(h]j1aah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKahMhj3ahhubjS)}(hhh]jX)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(hjTbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjQbhhubah}(h]h ]h"]h$]h&]uh1jRhj3ahhhjKahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjlbjxjlbjyjzj{uh1hhhhjthNhNubj})}(hf**Parameters** ``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](jX)}(h**Parameters**h]j)}(hjvbh]h Parameters}(hjxbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtbubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjpbubj)}(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)}(hjbh]h,const struct rpc_task_setup *task_setup_data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubj)}(hhh]jX)}(h#pointer to task initialisation datah]h#pointer to task initialisation data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjpbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhjthhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhMubj)}(h rpc_call_synch]j%)}(h rpc_call_synch]h rpc_call_sync}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj cubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjbhMubj)}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj,chhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(cubj)}(h h]h }(hj9chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(cubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjJchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLcmodnameN classnameNjj!)}j$]j')}jjcsbc.rpc_call_syncasbuh1hhj(cubj)}(h h]h }(hjjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(cubj;)}(hj>h]h*}(hjxchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(cubj%)}(hclnth]hclnt}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$cubj)}(hconst struct rpc_message *msgh](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 rpc_messageh]h rpc_message}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jfcc.rpc_call_syncasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hmsgh]hmsg}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$cubj)}(h int flagsh](j)}(hinth]hint}(hj)dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%dubj)}(h h]h }(hj7dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%dubj%)}(hflagsh]hflags}(hjEdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%dubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$cubeh}(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)}(hPerform a synchronous RPC callh]hPerform a synchronous RPC call}(hjodhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjldhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhjthNhNubj})}(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)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjdubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjdh]hstruct rpc_clnt *clnt}(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.chMhjdubj)}(hhh]jX)}(hpointer to RPC clienth]hpointer to RPC client}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjdh]hconst struct rpc_message *msg}(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.chMhjdubj)}(hhh]jX)}(hRPC call parametersh]hRPC call parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubj)}(h``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hj"eh]h int flags}(hj$ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj eubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjeubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hj;ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj8eubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj7ehMhjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhjthhhNhNubh)}(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}(hj|ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxehhhjehM ubj)}(hrpc_call_asynch]j%)}(hrpc_call_asynch]hrpc_call_async}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxehhhjehM ubj)}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jjesbc.rpc_call_asyncasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hclnth]hclnt}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hconst struct rpc_message *msgh](h)}(hjh]hconst}(hj+fhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'fubj)}(h h]h }(hj8fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'fubh)}(hjh]hstruct}(hjFfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'fubj)}(h h]h }(hjSfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'fubh)}(hhh]j%)}(h rpc_messageh]h rpc_message}(hjdfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjafubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjffmodnameN classnameNjj!)}j$]jec.rpc_call_asyncasbuh1hhj'fubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'fubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'fubj%)}(hmsgh]hmsg}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h int flagsh](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj%)}(hflagsh]hflags}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h!const struct rpc_call_ops *tk_opsh](h)}(hjh]hconst}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(h rpc_call_opsh]h rpc_call_ops}(hj$ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&gmodnameN classnameNjj!)}j$]jec.rpc_call_asyncasbuh1hhjfubj)}(h h]h }(hjBghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjPghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(htk_opsh]htk_ops}(hj]ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h void *datah](j)}(hvoidh]hvoid}(hjvghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrgubj%)}(hdatah]hdata}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhjxehhhjehM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjtehhhjehM ubah}(h]joeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehM hjqehhubjS)}(hhh]jX)}(h Perform an asynchronous RPC callh]h Perform an asynchronous RPC call}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjghhubah}(h]h ]h"]h$]h&]uh1jRhjqehhhjehM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhjthNhNubj})}(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)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjgubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj hh]hstruct rpc_clnt *clnt}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjhubj)}(hhh]jX)}(hpointer to RPC clienth]hpointer to RPC client}(hj#hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM hj hubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjhubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjChh]hconst struct rpc_message *msg}(hjEhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj=hubj)}(hhh]jX)}(hRPC call parametersh]hRPC call parameters}(hj\hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhhM hjYhubah}(h]h ]h"]h$]h&]uh1jhj=hubeh}(h]h ]h"]h$]h&]uh1jhjXhhM hjhubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hj|hh]h int flags}(hj~hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjvhubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM hjhubah}(h]h ]h"]h$]h&]uh1jhjvhubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjhubj)}(h3``const struct rpc_call_ops *tk_ops`` RPC call ops h](j)}(h%``const struct rpc_call_ops *tk_ops``h]j)}(hjhh]h!const struct rpc_call_ops *tk_ops}(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.chM hjhubj)}(hhh]jX)}(h RPC call opsh]h RPC call ops}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjhubj)}(h``void *data`` user call datah](j)}(h``void *data``h]j)}(hjhh]h void *data}(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)}(huser call datah]huser call data}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihMhjhubeh}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhjthhhNhNubh)}(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}(hjHihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDihhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMOubj)}(h h]h }(hjWihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDihhhjVihMOubj)}(hrpc_prepare_reply_pagesh]j%)}(hrpc_prepare_reply_pagesh]hrpc_prepare_reply_pages}(hjiihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDihhhjVihMOubj)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jjkisbc.rpc_prepare_reply_pagesasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hreqh]hreq}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hpageh]hpage}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jic.rpc_prepare_reply_pagesasbuh1hhjiubj)}(h h]h }(hj3jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjAjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj;)}(hj>h]h*}(hjNjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hpagesh]hpages}(hj[jhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hjtjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpjubj)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpjubj%)}(hbaseh]hbase}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hlenh]hlen}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubj)}(hunsigned int hdrsizeh](j)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hj$khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(hinth]hint}(hj2khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hj@khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hhdrsizeh]hhdrsize}(hjNkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDihhhjVihMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@ihhhjVihMOubah}(h]j;iah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVihMOhj=ihhubjS)}(hhh]jX)}(h2Prepare to receive a reply data payload into pagesh]h2Prepare to receive a reply data payload into pages}(hjxkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMOhjukhhubah}(h]h ]h"]h$]h&]uh1jRhj=ihhhjVihMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhjthNhNubj})}(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)}(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.chMShjkubj)}(hhh](j)}(h0``struct rpc_rqst *req`` RPC request to prepare h](j)}(h``struct rpc_rqst *req``h]j)}(hjkh]hstruct rpc_rqst *req}(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.chMPhjkubj)}(hhh]jX)}(hRPC request to prepareh]hRPC request to prepare}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMPhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMPhjkubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjkh]hstruct page **pages}(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.chMQhjkubj)}(hhh]jX)}(hvector of struct page pointersh]hvector of struct page pointers}(hj lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMQhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMQhjkubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hj+lh]hunsigned int base}(hj-lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)lubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMRhj%lubj)}(hhh]jX)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjDlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@lhMRhjAlubah}(h]h ]h"]h$]h&]uh1jhj%lubeh}(h]h ]h"]h$]h&]uh1jhj@lhMRhjkubj)}(hM``unsigned int len`` expected size of the upper layer data payload, in bytes h](j)}(h``unsigned int len``h]j)}(hjdlh]hunsigned int len}(hjflhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjblubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMShj^lubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hj}lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjylhMShjzlubah}(h]h ]h"]h$]h&]uh1jhj^lubeh}(h]h ]h"]h$]h&]uh1jhjylhMShjkubj)}(hP``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](j)}(h``unsigned int hdrsize``h]j)}(hjlh]hunsigned int hdrsize}(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.chMUhjlubj)}(hhh]jX)}(h7expected size of upper layer reply header, in XDR wordsh]h7expected size of upper layer reply header, in XDR words}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMThjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMUhjkubeh}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhjthhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhjlhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMjubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjmhMjubj)}(h rpc_peeraddrh]j%)}(hjmh]h rpc_peeraddr}(hj.mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*mubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjmhMjubj)}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjImhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEmubj)}(h h]h }(hjVmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEmubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjgmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimmodnameN classnameNjj!)}j$]jmc.rpc_peeraddrasbuh1hhjEmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEmubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEmubj%)}(hclnth]hclnt}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAmubj)}(hstruct sockaddr *bufh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jmc.rpc_peeraddrasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hbufh]hbuf}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAmubj)}(hsize_t bufsizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj,nhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.nmodnameN classnameNjj!)}j$]jmc.rpc_peeraddrasbuh1hhj%nubj)}(h h]h }(hjJnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%nubj%)}(hbufsizeh]hbufsize}(hjXnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAmubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjmhMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjmhMjubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMjhjlhhubjS)}(hhh]jX)}(h,extract remote peer address from clnt's xprth]h.extract remote peer address from clnt’s xprt}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMjhjnhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjmhMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhjthNhNubj})}(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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMnhjnubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjnh]hstruct rpc_clnt *clnt}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMkhjnubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMkhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMkhjnubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjnh]hstruct sockaddr *buf}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMlhjnubj)}(hhh]jX)}(h target bufferh]h target buffer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMlhjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjohMlhjnubj)}(h+``size_t bufsize`` length of target buffer h](j)}(h``size_t bufsize``h]j)}(hj5oh]hsize_t bufsize}(hj7ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3oubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMmhj/oubj)}(hhh]jX)}(hlength of target bufferh]hlength of target buffer}(hjNohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJohMmhjKoubah}(h]h ]h"]h$]h&]uh1jhj/oubeh}(h]h ]h"]h$]h&]uh1jhjJohMmhjnubeh}(h]h ]h"]h$]h&]uh1jhjnubjX)}(h**Description**h]j)}(hjpoh]h Description}(hjrohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnoubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMohjnubjX)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMohjnubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhjthhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjohMubj)}(hcharh]hchar}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhjohMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjohMubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjohhhjohMubj)}(hrpc_peeraddr2strh]j%)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjohMubj)}(h9(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hj'phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj8phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5pubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:pmodnameN classnameNjj!)}j$]j')}jjpsbc.rpc_peeraddr2strasbuh1hhjpubj)}(h h]h }(hjXphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjfphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hclnth]hclnt}(hjsphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(h enum rpc_display_format_t formath](h)}(hhh]henum}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hrpc_display_format_th]hrpc_display_format_t}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]jTpc.rpc_peeraddr2strasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hformath]hformat}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(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)}(h.return remote peer address in printable formath]h.return remote peer address in printable format}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjphhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjohMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhjthNhNubj})}(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)}(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:83: ./net/sunrpc/clnt.chMhjqubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjAqh]hstruct rpc_clnt *clnt}(hjCqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?qubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj;qubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjZqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVqhMhjWqubah}(h]h ]h"]h$]h&]uh1jhj;qubeh}(h]h ]h"]h$]h&]uh1jhjVqhMhj8qubj)}(h4``enum rpc_display_format_t format`` address format h](j)}(h$``enum rpc_display_format_t format``h]j)}(hjzqh]h enum rpc_display_format_t format}(hj|qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjtqubj)}(hhh]jX)}(haddress formath]haddress format}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjtqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj8qubeh}(h]h ]h"]h$]h&]uh1jhjqubjX)}(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:83: ./net/sunrpc/clnt.chMhjqubjX)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhjthhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hj rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjrhMubj)}(h rpc_localaddrh]j%)}(h rpc_localaddrh]h rpc_localaddr}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjrhMubj)}(h<(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj7rhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3rubj)}(h h]h }(hjDrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3rubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjUrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWrmodnameN classnameNjj!)}j$]j')}jjrsbc.rpc_localaddrasbuh1hhj3rubj)}(h h]h }(hjurhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3rubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3rubj%)}(hclnth]hclnt}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/rubj)}(hstruct sockaddr *bufh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]jqrc.rpc_localaddrasbuh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hbufh]hbuf}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/rubj)}(h size_t buflenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jqrc.rpc_localaddrasbuh1hhjsubj)}(h h]h }(hj:shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hbuflenh]hbuflen}(hjHshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/rubeh}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjrhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjrhMubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMhjqhhubjS)}(hhh]jX)}(h1discover local endpoint address for an RPC clienth]h1discover local endpoint address for an RPC client}(hjrshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoshhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjrhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjthNhNubj})}(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)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjsubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjsh]hstruct rpc_clnt *clnt}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjsh]hstruct sockaddr *buf}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjsubj)}(hhh]jX)}(h target bufferh]h target buffer}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthM hjsubj)}(h2``size_t buflen`` size of target buffer, in bytes h](j)}(h``size_t buflen``h]j)}(hj%th]h size_t buflen}(hj'thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#tubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjtubj)}(hhh]jX)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hj>thhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:thM hj;tubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj:thM hjsubeh}(h]h ]h"]h$]h&]uh1jhjsubjX)}(h**Description**h]j)}(hj`th]h Description}(hjbthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^tubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjsubjX)}(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.}(hjvthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjsubjX)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubjX)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhjthhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjthhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM>ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjthM>ubh)}(hhh]j%)}(hneth]hnet}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}j rpc_net_nssb c.rpc_net_nsasbuh1hhjthhhjthM>ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjthM>ubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjthhhjthM>ubj)}(h rpc_net_nsh]j%)}(hjuh]h rpc_net_ns}(hj"uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjthM>ubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj=uhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9uubj)}(h h]h }(hjJuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9uubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj[uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]umodnameN classnameNjj!)}j$]jt c.rpc_net_nsasbuh1hhj9uubj)}(h h]h }(hjyuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9uubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9uubj%)}(hclnth]hclnt}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5uubah}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjthM>ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjthM>ubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthM>hjthhubjS)}(hhh]jX)}(h-Get the network namespace for this RPC clienth]h-Get the network namespace for this RPC client}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM>hjuhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthM>ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhjthNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jX)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBhjuubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjuh]hstruct rpc_clnt *clnt}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMDhjuubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM?hjvubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjvhMDhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhjthhhNhNubh)}(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}(hj\vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^vmodnameN classnameNjj!)}j$]j')}jrpc_max_payloadsbc.rpc_max_payloadasbuh1hhjUvhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMNubj)}(h h]h }(hj~vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUvhhhj}vhMNubj)}(hrpc_max_payloadh]j%)}(hjzvh]hrpc_max_payload}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjUvhhhj}vhMNubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jxvc.rpc_max_payloadasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hclnth]hclnt}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubah}(h]h ]h"]h$]h&]j<j=uh1jhjUvhhhj}vhMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQvhhhj}vhMNubah}(h]jLvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}vhMNhjNvhhubjS)}(hhh]jX)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hj,whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMNhj)whhubah}(h]h ]h"]h$]h&]uh1jRhjNvhhhj}vhMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDwjxjDwjyjzj{uh1hhhhjthNhNubj})}(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)}(hjNwh]h Parameters}(hjPwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMRhjHwubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` RPC client to query h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjmwh]hstruct rpc_clnt *clnt}(hjowhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMOhjgwubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMOhjwubah}(h]h ]h"]h$]h&]uh1jhjgwubeh}(h]h ]h"]h$]h&]uh1jhjwhMOhjdwubah}(h]h ]h"]h$]h&]uh1jhjHwubjX)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMQhjHwubjX)}(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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMQhjHwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhjthhhNhNubh)}(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}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jrpc_max_bc_payloadsbc.rpc_max_bc_payloadasbuh1hhjwhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjxhMbubj)}(hrpc_max_bc_payloadh]j%)}(hjxh]hrpc_max_bc_payload}(hj$xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjxhMbubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj?xhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;xubj)}(h h]h }(hjLxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;xubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj]xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_xmodnameN classnameNjj!)}j$]j xc.rpc_max_bc_payloadasbuh1hhj;xubj)}(h h]h }(hj{xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;xubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;xubj%)}(hclnth]hclnt}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;xubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7xubah}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjxhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjxhMbubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMbhjwhhubjS)}(hhh]jX)}(h.Get maximum backchannel payload size, in bytesh]h.Get maximum backchannel payload size, in bytes}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbhjxhhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjxhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhjthNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jX)}(h**Parameters**h]j)}(hjxh]h Parameters}(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.chMfhjxubj)}(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&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhhjxubj)}(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.chMchjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhMhhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhjthhhNhNubh)}(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[yhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWyhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWyhhhjiyhMubj)}(hrpc_force_rebindh]j%)}(hrpc_force_rebindh]hrpc_force_rebind}(hj|yhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWyhhhjiyhMubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jj~ysbc.rpc_force_rebindasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hclnth]hclnt}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubah}(h]h ]h"]h$]h&]j<j=uh1jhjWyhhhjiyhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjSyhhhjiyhMubah}(h]jNyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjiyhMhjPyhhubjS)}(hhh]jX)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjPyhhhjiyhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3zjxj3zjyjzj{uh1hhhhjthNhNubj})}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](jX)}(h**Parameters**h]j)}(hj=zh]h Parameters}(hj?zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;zubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj7zubj)}(hhh]j)}(h*``struct rpc_clnt *clnt`` client to rebindh](j)}(h``struct rpc_clnt *clnt``h]j)}(hj\zh]hstruct rpc_clnt *clnt}(hj^zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVzubj)}(hhh]jX)}(hclient to rebindh]hclient to rebind}(hjuzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjrzubah}(h]h ]h"]h$]h&]uh1jhjVzubeh}(h]h ]h"]h$]h&]uh1jhjqzhMhjSzubah}(h]h ]h"]h$]h&]uh1jhj7zubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhjthhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjzhM ubj)}(hrpc_clnt_test_and_add_xprth]j%)}(hrpc_clnt_test_and_add_xprth]hrpc_clnt_test_and_add_xprt}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjzhM 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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(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')}jjzsbc.rpc_clnt_test_and_add_xprtasbuh1hhjzubj)}(h h]h }(hj1{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hj?{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hclnth]hclnt}(hjL{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hstruct rpc_xprt_switch *xpsh](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%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j-{c.rpc_clnt_test_and_add_xprtasbuh1hhja{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%)}(hxpsh]hxps}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(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.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%)}(hxprth]hxprt}(hj,|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hvoid *in_max_connecth](j)}(hvoidh]hvoid}(hjE|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA|ubj)}(h h]h }(hjS|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA|ubj;)}(hj>h]h*}(hja|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA|ubj%)}(hin_max_connecth]hin_max_connect}(hjn|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhjzhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjzhM ubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhM hjzhhubjS)}(hhh]jX)}(h*Test and add a new transport to a rpc_clnth]h*Test and 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&]uh1jRhjzhhhjzhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt 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 struct rpc_clnth]hpointer to struct rpc_clnt}(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)}(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,}(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 rpc_xprt *xprt`` pointer struct rpc_xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjK}h]hstruct rpc_xprt *xprt}(hjM}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjE}ubj)}(hhh]jX)}(hpointer struct rpc_xprth]hpointer struct rpc_xprt}(hjd}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`}hM hja}ubah}(h]h ]h"]h$]h&]uh1jhjE}ubeh}(h]h ]h"]h$]h&]uh1jhj`}hM hj|ubj)}(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 hj~}ubj)}(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}(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|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubh)}(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_xprthNtauh1hhjthhhNhNubh)}(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}(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)}(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}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj}hM 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 }(hj(~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj9~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;~modnameN classnameNjj!)}j$]j')}jj~sb"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhj~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%)}(hclnth]hclnt}(hjt~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}(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_xprt_switchh]hrpc_xprt_switch}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]jU~"c.rpc_clnt_setup_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%)}(hxpsh]hxps}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jU~"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhj~ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hxprth]hxprt}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(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]h}(h]h ]h"]h$]h&]uh1jRhj}hhhj}hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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-the rpc_xprt_switch to hold the new transporth]h-the rpc_xprt_switch to hold the new transport}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hM hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM hjubj)}(h/``struct rpc_xprt *xprt`` the rpc_xprt to test h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjdh]hstruct rpc_xprt *xprt}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj^ubj)}(hhh]jX)}(hthe rpc_xprt to testh]hthe rpc_xprt to test}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhM hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM 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)}(hjh]h void *data}(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[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}(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 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: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}(hj)hhhNhNubah}(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|hjthhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhjthhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhM ubj)}(hrpc_clnt_add_xprth]j%)}(hrpc_clnt_add_xprth]hrpc_clnt_add_xprt}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhM 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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj{sbc.rpc_clnt_add_xprtasbuh1hhjubj)}(h h]h }(hjӁhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xprt_create *xprtargsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(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 reftargetj'modnameN classnameNjj!)}j$]jρc.rpc_clnt_add_xprtasbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprtargsh]hxprtargs}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hPint (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hsetuph]hsetup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hjh]h(}(hjȂhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubh)}(hjh]hstruct}(hjՂhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jρc.rpc_clnt_add_xprtasbuh1hhjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hjZIh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jρc.rpc_clnt_add_xprtasbuh1hhjsubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hjZIh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(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_add_xprtasbuh1hhjsubj;)}(hj>h]h*}(hjكhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hjZIh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void *datah](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%)}(hdatah]hdata}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjfhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhM ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhM hjMhhubjS)}(hhh]jX)}(h!Add a new transport to a rpc_clnth]h!Add a new transport to a rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjthNhNubj})}(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)}(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)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt 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 struct rpc_clnth]hpointer to struct rpc_clnt}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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)}(hj:h]hTint (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj4ubj)}(hhh]jX)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhM hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjubj)}(h.``void *data`` pointer to setup function data h](j)}(h``void *data``h]j)}(hjsh]h void *data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjmubj)}(hhh]jX)}(hpointer to setup function datah]hpointer to setup function data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(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:83: ./net/sunrpc/clnt.chM hjubjX)}(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.h]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 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjthhhNhNubeh}(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 }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMQubj)}(h dev_add_packh]j%)}(h dev_add_packh]h dev_add_pack}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hMQubj)}(h(struct packet_type *pt)h]j)}(hstruct packet_type *pth](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 packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsbc.dev_add_packasbuh1hhj^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%)}(hpth]hpt}(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!hhhj3hMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMQubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMQhjhhubjS)}(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&]uh1jRhjhhhj3hMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration 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)}(hX``struct packet_type *pt`` packet type declaration 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](j)}(h``struct packet_type *pt``h]j)}(hj&h]hstruct packet_type *pt}(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.chMYhj ubj)}(hhh](jX)}(hpacket type declarationh]hpacket type declaration}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRhj<ubjX)}(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 }(hjNhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjXh]h packet_type}(hjZhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMThjNubhb is linked into kernel lists and may not be freed until it has been removed from the kernel lists.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjuhMThj<ubjX)}(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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMXhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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 }(hjЇhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjχhMkubj)}(h__dev_remove_packh]j%)}(h__dev_remove_packh]h__dev_remove_pack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjއubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjχhMkubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__dev_remove_packasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpth]hpt}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjχhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjχhMkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjχhMkhjhhubjS)}(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.chMkhj~hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjχhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration 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)}(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)}(hX``struct packet_type *pt`` packet type declaration 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](j)}(h``struct packet_type *pt``h]j)}(hjˆh]hstruct packet_type *pt}(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.chMthjubj)}(hhh](jX)}(hpacket type declarationh]hpacket type declaration}(hjۈhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMlhj؈ubjX)}(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.chMnhjubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMnhj؈ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshj؈ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׈hMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(hdev_remove_packh]j%)}(hdev_remove_packh]hdev_remove_pack}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMubj)}(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')}jjsbc.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=uh1jhjYhhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjRhhubjS)}(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&]uh1jRhjRhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration 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}(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.chMhj9ubj)}(hhh]j)}(hXj``struct packet_type *pt`` packet type declaration 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](j)}(h``struct packet_type *pt``h]j)}(hj^h]hstruct packet_type *pt}(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)}(hpacket type declarationh]hpacket type declaration}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubjX)}(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&]uh1jWhjhMhjtubjX)}(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&]uh1jWhjshMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hdev_get_iflinkh]j%)}(hdev_get_iflinkh]hdev_get_iflink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjsbc.dev_get_iflinkasbuh1hhj1ubj)}(h h]h }(hjhhhNhNubah}(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-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!get 'iflink' value of a interfaceh]h%get ‘iflink’ value of a interface}(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** ``const struct net_device *dev`` targeted interface 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.chMhjubj)}(hhh]j)}(h``const struct net_device *dev`` targeted interface Indicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.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.chMhjubj)}(hhh](jX)}(htargeted interfaceh]htargeted interface}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj*ubjX)}(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.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj*ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjhMubj)}(hdev_fill_metadata_dsth]j%)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxhhhjhMubj)}(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 }(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.dev_fill_metadata_dstasbuh1hhjubj)}(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 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$]jc.dev_fill_metadata_dstasbuh1hhj'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%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjxhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjhMubah}(h]joah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjqhhubjS)}(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&]uh1jRhjqhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjčjxjčjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` targeted interface ``struct sk_buff *skb`` The packet. 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}(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`` targeted interface 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)}(htargeted interfaceh]htargeted interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct sk_buff *skb`` The packet. 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](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.chMhj ubj)}(hhh](jX)}(h The packet.h]h The packet.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj<ubjX)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubeh}(h]h ]h"]h$]h&]uh1jhjȍubeh}(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$hjubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMQubj)}(h#(struct net *net, const char *name)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj hhhNhNubah}(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$]jʎc.__dev_get_by_nameasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(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)}(hconst char *nameh](h)}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(hcharh]hchar}(hjhhhNhNubah}(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=uh1jhjubeh}(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}(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&]uh1jRhjhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXu**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find 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)}(hj h]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)}(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.chMRhj"ubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMRhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMRhjubj)}(hX%``const char *name`` name to find 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](j)}(h``const char *name``h]j)}(hjah]hconst char *name}(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.chMXhj[ubj)}(hhh](jX)}(h name to findh]h name to find}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShjwubjX)}(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.chMUhjwubeh}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMXhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1hhjؐhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjؐhhhjhMfubh)}(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_name_rcusbc.dev_get_by_name_rcuasbuh1hhjؐhhhjhMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjؐhhhjhMfubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjؐhhhjhMfubj)}(hdev_get_by_name_rcuh]j%)}(hjh]hdev_get_by_name_rcu}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjؐhhhjhMfubj)}(h#(struct net *net, const char *name)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hneth]hnet}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jc.dev_get_by_name_rcuasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hconst char *nameh](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}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj‘ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjؐhhhjhMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjԐhhhjhMfubah}(h]jϐah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMfhjѐhhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhj1hhubah}(h]h ]h"]h$]h&]uh1jRhjѐhhhjhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjPubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjuh]hstruct net *net}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjoubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMghjlubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(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.chMhhjubj)}(hhh]jX)}(h name to findh]h name to find}(hjǒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjÒhMhhjĒubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÒhMhhjlubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjPubjX)}(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.chMjhjPubeh}(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}(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 }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjMhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jnetdev_get_by_namesbc.netdev_get_by_nameasbuh1hhj<hhhjMhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjMhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<hhhjMhMubj)}(hnetdev_get_by_nameh]j%)}(hj}h]hnetdev_get_by_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhjMhMubj)}(hJ(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)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$]j{c.netdev_get_by_nameasbuh1hhjubj)}(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 char *nameh](h)}(hjh]hconst}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(hcharh]hchar}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hnameh]hname}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]j{c.netdev_get_by_nameasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjubj)}(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 reftargetjmodnameN classnameNjj!)}j$]j{c.netdev_get_by_nameasbuh1hhjؔubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjؔubj%)}(hgfph]hgfp}(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<hhhjMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhjMhMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMhj5hhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{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 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)}(hjWh]h Parameters}(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.chMhjQubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjvh]hstruct net *net}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjpubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(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 name to findh]h name to find}(hjȕhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjĕhMhjŕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĕhMhjmubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjh]hnetdevice_tracker *tracker}(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*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubj)}(hXA``gfp_t gfp`` allocation flags for the tracker 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](j)}(h ``gfp_t gfp``h]j)}(hj!h]h gfp_t gfp}(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 allocation flags for the trackerh]h allocation flags for the tracker}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj7ubjX)}(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. }(hjIhhhNhNubj)}(h``NULL``h]hNULL}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh, is returned if no matching device is found.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjmubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(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}(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')}j__dev_get_by_indexsbc.__dev_get_by_indexasbuh1hhjhhhjhMubj)}(h h]h }(hjܖhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(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=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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]jזc.__dev_get_by_indexasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int ifindexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifindexh]hifindex}(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)}(hfind a device by its ifindexh]hfind a device by its ifindex}(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})}(hXe**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device 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)}(hj h]hstruct net *net}(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.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)}(hX``int ifindex`` index of device 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](j)}(h``int ifindex``h]j)}(hjFh]h int ifindex}(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)}(hindex of deviceh]hindex of device}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj\ubjX)}(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 }(hjnhhhNhNubj)}(h``NULL``h]hNULL}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh 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.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj\ubeh}(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|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 }(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')}jdev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhjhhhjΘ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)}(hdev_get_by_index_rcuh]j%)}(hjh]hdev_get_by_index_rcu}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjΘhMubj)}(h(struct net *net, int ifindex)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.dev_get_by_index_rcuasbuh1hhj7ubj)}(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)}(h int ifindexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(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=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 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&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(hX[**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device 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)}(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)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj2h]hstruct net *net}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(hX ``int ifindex`` index of device 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](j)}(h``int ifindex``h]j)}(hjkh]h int ifindex}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjeubj)}(hhh](jX)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj)ubeh}(h]h ]h"]h$]h&]uh1jhj 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}(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')}jnetdev_get_by_indexsbc.netdev_get_by_indexasbuh1hhjhhhjhMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hnetdev_get_by_indexh]j%)}(hj#h]hnetdev_get_by_index}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hE(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hstruct net *neth](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%)}(hneth]hnet}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j!c.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=uh1jhjXubj)}(h int ifindexh](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%)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̛ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hnetdevice_tracker *trackerh](h)}(hhh]j%)}(hnetdevice_trackerh]hnetdevice_tracker}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j!c.netdev_get_by_indexasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htrackerh]htracker}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j!c.netdev_get_by_indexasbuh1hhjVubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(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)}(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&]uh1jRhjۚhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj˜jxj˜jyjzj{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 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)}(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}(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)}(hj-h]h int ifindex}(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)}(hindex of deviceh]hindex of device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjfh]hnetdevice_tracker *tracker}(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*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubj)}(hX%``gfp_t gfp`` allocation flags for the tracker 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](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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjϜubeh}(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}(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')}jdev_getbyhwaddr_rcusbc.dev_getbyhwaddr_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hdev_getbyhwaddr_rcuh]j%)}(hjEh]hdev_getbyhwaddr_rcu}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(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}(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$]jCc.dev_getbyhwaddr_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=uh1jhjzubj)}(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 }(hjhhhNhNubah}(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=uh1jhjzubj)}(hconst char *hah](h)}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(hcharh]hchar}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?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%)}(hhah]hha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(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&]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 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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hj+h]hunsigned short type}(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)}(hmedia type of deviceh]hmedia type of device}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(hX``const char *ha`` hardware address 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](j)}(h``const char *ha``h]j)}(hjdh]hconst char *ha}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj^ubj)}(hhh](jX)}(hhardware addressh]hhardware address}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubjX)}(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.chMhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubeh}(h]h ]h"]h$]h&]uh1jhj͟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}(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')}jdev_getbyhwaddrsbc.dev_getbyhwaddrasbuh1hhjɠ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)}(hdev_getbyhwaddrh]j%)}(hj h]hdev_getbyhwaddr}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjɠhhhjڠhMubj)}(h6(struct net *net, unsigned short type, const char *ha)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hneth]hnet}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jc.dev_getbyhwaddrasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjšhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hjӡhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(hconst char *hah](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 }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhah]hha}(hjLhhhNhNubah}(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ڠhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjŠhhhjڠhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjڠhMhj hhubjS)}(hhh]jX)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjshhubah}(h]h ]h"]h$]h&]uh1jRhj hhhjڠhMubeh}(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)}(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-``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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hj)h]hconst char *ha}(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)}(hhardware addressh]hhardware address}(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&]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.}(hjzhhhNhNubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubjX)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hjȣhhhNhNubah}(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__dev_get_by_flags (C function)c.__dev_get_by_flagshNtauh1hhjhhhNhNubh)}(hhh](h)}(hfstruct net_device * __dev_get_by_flags (struct net *net, unsigned short if_flags, unsigned short mask)h]h)}(hdstruct net_device *__dev_get_by_flags(struct net *net, unsigned short if_flags, unsigned short mask)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')}j__dev_get_by_flagssbc.__dev_get_by_flagsasbuh1hhjhhhjhMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h__dev_get_by_flagsh]j%)}(hj4h]h__dev_get_by_flags}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h?(struct net *net, unsigned short if_flags, unsigned short mask)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j2c.__dev_get_by_flagsasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hneth]hnet}(hjȤhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hunsigned short if_flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݤubj%)}(hif_flagsh]hif_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݤubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hunsigned short maskh](j)}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hshorth]hshort}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hmaskh]hmask}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubeh}(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 any device with given flagsh]h find any device with given flags}(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})}(hXk**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short if_flags`` IFF_* values ``unsigned short mask`` bitmask of bits in if_flags to check Search for any interface with the given flags. Returns NULL if a device is not found or a pointer to the device. Must be called inside rtnl_lock(), and result refcount is 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.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 if_flags`` IFF_* values h](j)}(h``unsigned short if_flags``h]j)}(hjh]hunsigned short if_flags}(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.chMhjubj)}(hhh]jX)}(h IFF_* valuesh]h IFF_* values}(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 short mask`` bitmask of bits in if_flags to check Search for any interface with the given flags. Returns NULL if a device is not found or a pointer to the device. Must be called inside rtnl_lock(), and result refcount is unchanged.h](j)}(h``unsigned short mask``h]j)}(hjGh]hunsigned short mask}(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$bitmask of bits in if_flags to checkh]h$bitmask of bits in if_flags to check}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjX)}(hSearch for any interface with the given flags. Returns NULL if a device is not found or a pointer to the device. Must be called inside rtnl_lock(), and result refcount is unchanged.h]hSearch for any interface with the given flags. Returns NULL if a device is not found or a pointer to the device. Must be called inside rtnl_lock(), and result refcount is unchanged.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj̥ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hdev_valid_nameh]j%)}(hdev_valid_nameh]hdev_valid_name}(hjЦhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̦ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(const char *name)h]j)}(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}(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%)}(hnameh]hname}(hj0hhhNhNubah}(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(check if name is okay for network deviceh]h(check if name is okay for network device}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const char *name`` name string 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)}(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``const char *name`` name string Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(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 name stringh]h name string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(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=uh1jhj9ubeh}(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}(hj!hhhNhNubah}(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&]jvjqjwj9jxj9jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device ``const char *name`` name format string 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)}(hjCh]h Parameters}(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.chMhj=ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjbh]hstruct net_device *dev}(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.chMhj\ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(hX``const char *name`` name format string 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](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(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)}(hname format stringh]hname format string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubeh}(h]h ]h"]h$]h&]uh1jhj=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 }(hjhhhNhNubah}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hjNhhhNhNubah}(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 reftargetjamodnameN classnameNjj!)}j$]j')}jj'sbc.netdev_features_changeasbuh1hhj=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=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)}(hdevice changes featuresh]hdevice changes features}(hjĪhhhNhNubah}(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})}(h~**Parameters** ``struct net_device *dev`` device to cause notification 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.chM hjubj)}(hhh]j)}(hj``struct net_device *dev`` device to cause notification Called to indicate a device has changed features.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(h1Called to indicate a device has changed features.h]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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj|hM7ubj)}(h__netdev_notify_peersh]j%)}(h__netdev_notify_peersh]h__netdev_notify_peers}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhj|hM7ubj)}(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_notify_peersasbuh1hhjubj)}(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=uh1jhjjhhhj|hM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhj|hM7ubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hM7hjchhubjS)}(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 }(hj.hhhNhNubj)}(h**dev**h]hdev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh., to be called when rtnl lock is already held.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7hj+hhubah}(h]h ]h"]h$]h&]uh1jRhjchhhj|hM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{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)}(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`` 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.chM9hj{ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjxubah}(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 }(hjҬhhhNhNubj)}(h**dev**h]hdev}(hjڬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҬubh, 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.}(hjҬhhhNhNubeh}(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_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&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj!hMJubj)}(hnetdev_notify_peersh]j%)}(hnetdev_notify_peersh]hnetdev_notify_peers}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj!hMJubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jj6sbc.netdev_notify_peersasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj!hMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hMJubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMJhjhhubjS)}(hhh]jX)}(h/notify network peers about existence of **dev**h](h(notify network peers about existence of }(hjӭhhhNhNubj)}(h**dev**h]hdev}(hjۭhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӭubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJhjЭhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj!hMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chMNhjubj)}(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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMKhjubah}(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.chMMhjubjX)}(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 }(hjshhhNhNubj)}(h**dev**h]hdev}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh, 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.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhjubeh}(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 }(hjîhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj®hMubj)}(hregister_netdevice_notifierh]j%)}(hregister_netdevice_notifierh]hregister_netdevice_notifier}(hjծhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjѮubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj®hMubj)}(h(struct notifier_block *nb)h]j)}(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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj׮sbc.register_netdevice_notifierasbuh1hhjubj)}(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}(hjJhhhNhNubah}(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!register a network notifier blockh]h!register a network notifier block}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj®hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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ʯ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.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 (C function)c.unregister_netdevice_notifierhNtauh1hhjhhhNhNubh)}(hhh](h)}(h=int unregister_netdevice_notifier (struct notifier_block *nb)h]h)}(hh]h*}(hjͰhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ubj%)}(hnbh]hnb}(hjڰhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubah}(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#unregister a network notifier blockh]h#unregister a network notifier block}(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&]uh1jRhj9hhhjRhMubeh}(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)}(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 notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjEh]hstruct notifier_block *nb}(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)}(hnotifierh]hnotifier}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj 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.chMhj ubeh}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjбhhhjhMubj)}(hregister_netdevice_notifier_neth]j%)}(hregister_netdevice_notifier_neth]hregister_netdevice_notifier_net}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjбhhhjhMubj)}(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}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jjsb!c.register_netdevice_notifier_netasbuh1hhj 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%)}(hneth]hnet}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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$]jK!c.register_netdevice_notifier_netasbuh1hhjubj)}(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}(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=uh1jhjбhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj̱hhhjhMubah}(h]jDZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjɱhhubjS)}(hhh]jX)}(h+register a per-netns network notifier blockh]h+register a per-netns network notifier block}(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ɱhhhjhMubeh}(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)}(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 *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjEh]hstruct net *net}(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)}(hnetwork namespaceh]hnetwork namespace}(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 notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hj~h]hstruct notifier_block *nb}(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.chMhjxubj)}(hhh]jX)}(hnotifierh]hnotifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(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)}(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.}(hj޳hhhNhNubah}(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_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}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hneth]hnet}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj0sb#c.unregister_netdevice_notifier_netasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(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 reftargetjܴmodnameN classnameNjj!)}j$]j#c.unregister_netdevice_notifier_netasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(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-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&]uh1jRhjhhhjhM,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{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}(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.chM0hjYubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hj~h]hstruct net *net}(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.hjxubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjuubj)}(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}(hjеhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj̵hM/hj͵ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̵hM/hjuubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjYubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjYubjX)}(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.chM6hjYubeh}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThMubj)}(hcall_netdevice_notifiersh]j%)}(hcall_netdevice_notifiersh]hcall_netdevice_notifiers}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThMubj)}(h+(unsigned long val, struct net_device *dev)h](j)}(hunsigned long valh](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%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjisbc.call_netdevice_notifiersasbuh1hhjж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}(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=uh1jhjBhhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThMubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhj;hhubjS)}(hhh]jX)}(h call all network notifier blocksh]h call all network notifier blocks}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjThhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``unsigned long val`` value passed unmodified to notifier function ``struct net_device *dev`` net_device pointer passed unmodified to notifier function Call all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().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)}(hC``unsigned long val`` value passed unmodified to notifier function h](j)}(h``unsigned long val``h]j)}(hjh]hunsigned long val}(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,value passed unmodified to notifier functionh]h,value passed unmodified to notifier function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct net_device *dev`` net_device pointer passed unmodified to notifier function Call all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().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)}(h9net_device pointer passed unmodified to notifier functionh]h9net_device pointer passed unmodified to notifier function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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&]uh1jWhjhMhjubeh}(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|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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhjGhM ubj)}(hdev_forward_skbh]j%)}(hdev_forward_skbh]hdev_forward_skb}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhjGhM ubj)}(h-(struct net_device *dev, struct sk_buff *skb)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(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_forward_skbasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hj¸hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hdevh]hdev}(hjϸhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(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_forward_skbasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(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=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhjGhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhjGhM ubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhM hj.hhubjS)}(hhh]jX)}(h loopback an skb to another netifh]h loopback an skb to another netif}(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.hhhjGhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(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}(hjùhhhNhNubah}(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)}(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 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&]uh1jhjubjX)}(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.chM hjubj)}(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 hj7ubj)}(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)}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjJubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjIhM hj4ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(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.}(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_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}(hj̺hhhNhNubah}(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}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j')}jjκsbc.dev_nit_active_rcuasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjOhhhNhNubah}(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=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}(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`` 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)}(hjǻh]hconst struct 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 hjubj)}(hhh]jX)}(h0network device to check for the presence of tapsh]h0network device to check for the presence of taps}(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&]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}(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)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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjUhM ubj)}(hnetif_set_real_num_rx_queuesh]j%)}(hnetif_set_real_num_rx_queuesh]hnetif_set_real_num_rx_queues}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjUhM ubj)}(h*(struct net_device *dev, 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')}jjjsbc.netif_set_real_num_rx_queuesasbuh1hhjubj)}(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}(hjݼhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrxqh]hrxq}(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=uh1jhjChhhjUhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhjUhM ubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhM hj<hhubjS)}(hhh]jX)}(h#set actual number of RX queues usedh]h#set actual number of RX queues used}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjUhhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhjUhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhjhNhNubj})}(hX9**Parameters** ``struct net_device *dev`` Network device ``unsigned int rxq`` Actual number of RX queues 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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjtubj)}(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``unsigned int rxq`` Actual number of RX queues 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](j)}(h``unsigned int rxq``h]j)}(hjҽh]hunsigned int rxq}(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 RX queuesh]hActual number of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(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 hjubeh}(h]h ]h"]h$]h&]uh1jhj̽ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhjIhM ubj)}(hnetif_set_real_num_queuesh]j%)}(hnetif_set_real_num_queuesh]hnetif_set_real_num_queues}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhjIhM ubj)}(h<(struct net_device *dev, unsigned int txq, unsigned int rxq)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(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_queuesasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjľhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hdevh]hdev}(hjѾhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hunsigned int txqh](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%)}(htxqh]htxq}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hunsigned int rxqh](j)}(hunsignedh]hunsigned}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(hrxqh]hrxq}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhjIhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhjIhM ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhM hj0hhubjS)}(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&]uh1jRhj0hhhjIhM 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 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)}(hj޿h]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 hjؿubj)}(hhh]jX)}(hNetwork deviceh]hNetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjؿubeh}(h]h ]h"]h$]h&]uh1jhjhM hjտubj)}(h0``unsigned int txq`` Actual number of TX queues h](j)}(h``unsigned int txq``h]j)}(hjh]hunsigned int txq}(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 TX queuesh]hActual number of TX queues}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM hjտubj)}(h``unsigned int rxq`` Actual number of RX queues Set the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h](j)}(h``unsigned int rxq``h]j)}(hjPh]hunsigned int rxq}(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.chM hjJubj)}(hhh](jX)}(hActual number of RX queuesh]hActual number of RX queues}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjfubjX)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM hjfubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjտubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(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_set_tso_max_sizeasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(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(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}(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`` 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&]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}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``unsigned int size`` max skb->len of a TSO frame h](j)}(h``unsigned int size``h]j)}(hjCh]hunsigned int size}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj=ubj)}(hhh]jX)}(hmax skb->len of a TSO frameh]hmax skb->len of a TSO frame}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM hjubeh}(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&]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}(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_segsh]j%)}(hnetif_set_tso_max_segsh]hnetif_set_tso_max_segs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(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.netif_set_tso_max_segsasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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&]jvjqjwjjxjjyjzj{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)}(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 hj!ubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(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)}(h1``unsigned int segs`` max number of TCP segments h](j)}(h``unsigned int segs``h]j)}(hj`h]hunsigned int segs}(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)}(hmax number of TCP segmentsh]hmax number of TCP segments}(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)}(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 hjubeh}(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}(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_inherit_tso_maxh]j%)}(hnetif_inherit_tso_maxh]hnetif_inherit_tso_max}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h6(struct net_device *to, const struct net_device *from)h](j)}(hstruct net_device *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%)}(h net_deviceh]h net_device}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjsbc.netif_inherit_tso_maxasbuh1hhj+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%)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jic.netif_inherit_tso_maxasbuh1hhjubj)}(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'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)}(h3copy all TSO limits from a lower device to an upperh]h3copy all TSO limits from a lower device to an upper}(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&]jvjqjwjUjxjUjyjzj{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)}(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 hjYubj)}(hhh](j)}(h+``struct net_device *to`` netdev to update h](j)}(h``struct net_device *to``h]j)}(hj~h]hstruct net_device *to5}(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 hjxubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM hjuubj)}(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 hjuubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(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}(hjhhhNhNubah}(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 hhhjhM ubj)}(h netif_get_num_default_rss_queuesh]j%)}(h netif_get_num_default_rss_queuesh]h netif_get_num_default_rss_queues}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(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)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjuhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM 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)}(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.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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{ ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhjGhM{ ubj)}(hnetif_device_detachh]j%)}(hnetif_device_detachh]hnetif_device_detach}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhjGhM{ ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(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_device_detachasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubah}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhjGhM{ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhjGhM{ ubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhM{ hj.hhubjS)}(hhh]jX)}(hmark device as removedh]hmark device as removed}(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.hhhjGhM{ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(hj:h]hstruct net_device *dev}(hj<hhhNhNubah}(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| hj4ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhM| hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM| hj1ubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~ hjubjX)}(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.chM~ hjubeh}(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$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_device_attachasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(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=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)}(hmark device as attachedh]hmark device as attached}(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&]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)}(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: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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhjIhMrubj)}(hdev_loopback_xmith]j%)}(hdev_loopback_xmith]hdev_loopback_xmit}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhjIhMrubj)}(h7(struct net *net, struct sock *sk, struct sk_buff *skb)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj^sbc.dev_loopback_xmitasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct sock *skh](h)}(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 reftargetj modnameN classnameNjj!)}j$]jc.dev_loopback_xmitasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jc.dev_loopback_xmitasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhjIhMrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhjIhMrubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhMrhj0hhubjS)}(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.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhjIhMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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}(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.chMvhjubj)}(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.chMshj$ubj)}(hhh]jX)}(h/network namespace this loopback is happening inh]h/network namespace this loopback is happening in}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMshj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMshj!ubj)}(h5``struct sock *sk`` sk needed to be a netfilter okfn h](j)}(h``struct sock *sk``h]j)}(hjch]hstruct sock *sk}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMthj]ubj)}(hhh]jX)}(h sk needed to be a netfilter okfnh]h sk needed to be a netfilter okfn}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMthjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMthj!ubj)}(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&]uh1jhjhMvhj!ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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__dev_queue_xmith]j%)}(h__dev_queue_xmith]h__dev_queue_xmit}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h0(struct sk_buff *skb, struct net_device *sb_dev)h](j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjsbc.__dev_queue_xmitasbuh1hhj/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%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(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$]jmc.__dev_queue_xmitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsb_devh]hsb_dev}(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)}(htransmit a bufferh]htransmit a buffer}(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&]jvjqjwj>jxj>jyjzj{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)}(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)}(h+``struct sk_buff *skb`` buffer to transmit 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubj)}(hhh]jX)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(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&]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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjX)}(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.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjX)}(h **Return**h]j)}(hj h]hReturn}(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.chMhjBubj1")}(hhh](j6")}(h<0 - buffer successfully transmittedh]jX)}(hj;h]h<0 - buffer successfully transmitted}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj9ubah}(h]h ]h"]h$]h&]uh1j5"hj6ubj6")}(h/positive qdisc return code - NET_XMIT_DROP etc.h]jX)}(hjSh]h/positive qdisc return code - NET_XMIT_DROP etc.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjQubah}(h]h ]h"]h$]h&]uh1j5"hj6ubj6")}(h)negative errno - other errorsh]jX)}(hjkh]h)negative errno - other errors}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjiubah}(h]h ]h"]h$]h&]uh1j5"hj6ubeh}(h]h ]h"]h$]h&]j#j>uh1j0"hjJhMhjBubeh}(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 }(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.rps_may_expire_flowasbuh1hhjubj)}(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}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u16 rxq_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jc.rps_may_expire_flowasbuh1hhjQubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(h rxq_indexh]h rxq_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(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$]jc.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$]jc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h filter_idh]h filter_id}(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)}(h3check whether an RFS hardware filter may be removedh]h3check whether an RFS hardware filter may be removed}(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&]jvjqjwjVjxjVjyjzj{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)}(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.chMhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(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&]uh1jhjhMhjvubj)}(h6``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() h](j)}(h``u32 flow_id``h]j)}(hjh]h u32 flow_id}(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%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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(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.chMhj$ubj)}(hhh]jX)}(h)Filter ID returned by ndo_rx_flow_steer()h]h)Filter ID returned by ndo_rx_flow_steer()}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjvubeh}(h]h ]h"]h$]h&]uh1jhjZubjX)}(h**Description**h]j)}(hjeh]h Description}(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.chMhjZubjX)}(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 }(hj{hhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZubeh}(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$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMyubj)}(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 }(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=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&Slightly optimized version of netif_rxh]h&Slightly optimized version of netif_rx}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMyhjyhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to post 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 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](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)}(hbuffer to posth]hbuffer to post}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMzhjubjX)}(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).}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhj"hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj4hMubj)}(hnetif_rxh]j%)}(hnetif_rxh]hnetif_rx}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj4hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjIsb c.netif_rxasbuh1hhj_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[ubah}(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)}(hpost buffer to the network codeh]hpost buffer to the network code}(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&]uh1jRhjhhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to post 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)}(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.chMhjubj)}(hhh]j)}(hXy``struct sk_buff *skb`` buffer to post 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](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.chMhj!ubj)}(hhh](jX)}(hbuffer to posth]hbuffer to post}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj=ubjX)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj=ubjX)}(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)}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hnetdev_is_rx_handler_busyh]j%)}(hnetdev_is_rx_handler_busyh]hnetdev_is_rx_handler_busy}(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.netdev_is_rx_handler_busyasbuh1hhjubj)}(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}(hj4hhhNhNubah}(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&check if receive handler is registeredh]h&check if receive handler is registered}(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&]jvjqjwjvjxjvjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to check 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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubj)}(hhh]j)}(h``struct net_device *dev`` device to check 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](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 checkh]hdevice to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(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 }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hMubj)}(hnetdev_rx_handler_registerh]j%)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hMubj)}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jj:sbc.netdev_rx_handler_registerasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hrx_handler_func_t *rx_handlerh](h)}(hhh]j%)}(hrx_handler_func_th]hrx_handler_func_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_rx_handler_registerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h rx_handlerh]h rx_handler}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hvoid *rx_handler_datah](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*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrx_handler_datah]hrx_handler_data}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubeh}(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)}(hregister receive handlerh]hregister receive handler}(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&]uh1jRhj hhhj%hMubeh}(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 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)}(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 register a handler for 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 to register a handler forh]h device to register a handler for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hreceive handler to registerh]hreceive handler to register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hXB``void *rx_handler_data`` data pointer that is used by rx handler 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](j)}(h``void *rx_handler_data``h]j)}(hj!h]hvoid *rx_handler_data}(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)}(h'data pointer that is used by rx handlerh]h'data pointer that is used by rx handler}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj7ubjX)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj7ubjX)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj7ubjX)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj7ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM%hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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_rx_handler_unregisterh]j%)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(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.netdev_rx_handler_unregisterasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj1hhhNhNubah}(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=uh1jhjhhhjhM;ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM;ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM;hjhhubjS)}(hhh]jX)}(hunregister receive handlerh]hunregister receive handler}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM;hjehhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM;ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to unregister a handler from Unregister a receive handler from a device. 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.chM?hjubj)}(hhh]j)}(h``struct net_device *dev`` device to unregister a handler from Unregister a receive handler from a device. The caller must hold the rtnl_mutex.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)}(h#device to unregister a handler fromh]h#device to unregister a handler from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM<hjubjX)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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 }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/hM_ubj)}(hnetif_receive_skb_coreh]j%)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/hM_ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(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')}jjDsbc.netif_receive_skb_coreasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjVubah}(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,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.chM_hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj/hM_ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to process 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.chMchjubj)}(hhh]j)}(hX``struct sk_buff *skb`` buffer to process 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](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.chMjhjubj)}(hhh](jX)}(hbuffer to processh]hbuffer to process}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`hj8ubjX)}(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 }(hjJhhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhj8ubjX)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhj8ubjX)}(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}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihj8ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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.chMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMGubj)}(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=uh1jhjhhhjhMGubj)}(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.netif_receive_skbasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjQhhhNhNubah}(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)}(h#process receive buffer from networkh]h#process receive buffer from network}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMGhjxhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to process 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.chMKhjubj)}(hhh]j)}(hX``struct sk_buff *skb`` buffer to process 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](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.chMRhjubj)}(hhh](jX)}(hbuffer to processh]hbuffer to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMHhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJhjubjX)}(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.chMNhjubjX)}(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.chMQhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMcubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjQhMcubj)}(hnetif_receive_skb_listh]j%)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhjQhMcubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](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 list_headh]h list_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjfsbc.netif_receive_skb_listasbuh1hhj|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%)}(hheadh]hhead}(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?hhhjQhMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjQhMcubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMchj8hhubjS)}(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.chMchjhhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhjQhMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX)**Parameters** ``struct list_head *head`` list of skbs to process. 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}(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.chMghjubj)}(hhh]j)}(hX``struct list_head *head`` list of skbs to process. 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](j)}(h``struct list_head *head``h]j)}(hjDh]hstruct list_head *head}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihj>ubj)}(hhh](jX)}(hlist of skbs to process.h]hlist of skbs to process.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjZubjX)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjZubjX)}(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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMihjZubeh}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMihj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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.chMPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMPubj)}(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=uh1jhjhhhjhMPubj)}(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_scheduleasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjQhhhNhNubah}(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=jDuh1hjEjFhjhhhjhMPubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMPhjhhubjS)}(hhh]jX)}(hschedule for receiveh]hschedule for receive}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMPhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMPubeh}(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.chMThjubj)}(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.chMQhjubj)}(hhh]jX)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubah}(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.chMShjubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShjubeh}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMaubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhjHhMaubj)}(hnapi_schedule_preph]j%)}(hnapi_schedule_preph]hnapi_schedule_prep}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhjHhMaubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(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')}jj]sbc.napi_schedule_prepasbuh1hhjsubj)}(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=uh1jhj7hhhjHhMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhjHhMaubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMahj0hhubjS)}(hhh]jX)}(hcheck if napi can be scheduledh]hcheck if napi can be scheduled}(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&]uh1jRhj0hhhjHhMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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 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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhj4ubj)}(hhh]jX)}(h napi contexth]h napi context}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMbhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMbhj1ubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjubjX)}(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.chMdhjubeh}(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}(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_irqoffasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjPhhhNhNubah}(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)}(hschedule for receiveh]hschedule for receive}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvhhubah}(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&]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&]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.}(hj hhhNhNubah}(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.}(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!netif_queue_set_napi (C function)c.netif_queue_set_napihNtauh1hhjhhhNhNubh)}(hhh](h)}(hvoid netif_queue_set_napi (struct net_device *dev, unsigned int queue_index, enum netdev_queue_type type, struct napi_struct *napi)h]h)}(hvoid netif_queue_set_napi(struct net_device *dev, unsigned int queue_index, enum netdev_queue_type type, struct napi_struct *napi)h](j)}(hvoidh]hvoid}(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_queue_set_napih]j%)}(hnetif_queue_set_napih]hnetif_queue_set_napi}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhM<ubj)}(hi(struct net_device *dev, unsigned int queue_index, enum netdev_queue_type type, struct napi_struct *napi)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_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%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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 }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h queue_indexh]h queue_index}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(henum netdev_queue_type typeh](h)}(hhh]henum}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hnetdev_queue_typeh]hnetdev_queue_type}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]jc.netif_queue_set_napiasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(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=uh1jhjEhhhjWhM<ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhM<ubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhM<hj>hhubjS)}(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.chM<hj*hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhM<ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{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)}(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)}(hA``struct net_device *dev`` device to which NAPI and queue belong 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.chM=hjhubj)}(hhh]jX)}(h%device to which NAPI and queue belongh]h%device to which NAPI and queue belong}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjeubj)}(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.chM>hjubj)}(hhh]jX)}(hIndex of queueh]hIndex of queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjeubj)}(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.chM?hjubj)}(hhh]jX)}(hqueue type as RX or TXh]hqueue type as RX or TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjeubj)}(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.chM@hjubj)}(hhh]jX)}(h4NAPI context, pass NULL to clear previously set NAPIh]h4NAPI context, pass NULL to clear previously set NAPI}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM@hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM@hjeubeh}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjTh]h Description}(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.chMBhjIubjX)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMBhjIubeh}(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}(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_disableh]j%)}(h napi_disableh]h napi_disable}(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}(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*}(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=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)}(hprevent NAPI from schedulingh]hprevent NAPI from scheduling}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubjX)}(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.chMhjtubjX)}(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.chMhjtubeh}(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 }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hMubj)}(h napi_enableh]j%)}(h napi_enableh]h napi_enable}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sb c.napi_enableasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubah}(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)}(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&]uh1jRhjhhhj'hMubeh}(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.chMhjubj)}(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}(hj2hhhNhNubah}(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)}(hjTh]h Description}(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.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.}(hjjhhhNhNubah}(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}(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_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=uh1jhjhhhjhMubj)}(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*}(hj!hhhNhNubah}(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}(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}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jc.netdev_has_upper_devasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(h upper_devh]h upper_dev}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(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.chMhjubj)}(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&]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)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjBh]hstruct net_device *upper_dev}(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.chMhj<ubj)}(hhh]jX)}(hupper device to checkh]hupper device to check}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.}(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)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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(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 }(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.netdev_has_upper_dev_all_rcuasbuh1hhjubj)}(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)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(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$]j8c.netdev_has_upper_dev_all_rcuasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(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,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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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.chMhj ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj2h]hstruct net_device *dev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj,ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjkh]hstruct net_device *upper_dev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjeubj)}(hhh]jX)}(hupper device to checkh]hupper device to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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)}(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.chMhj ubeh}(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.chM(ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM(ubj)}(hnetdev_has_any_upper_devh]j%)}(hnetdev_has_any_upper_devh]hnetdev_has_any_upper_dev}(hj hhhNhNubah}(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}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hj4hhhNhNubah}(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')}jj sbc.netdev_has_any_upper_devasbuh1hhj#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%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(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(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.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 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.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)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)}(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.}(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_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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjghhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjxhM7ubh)}(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_getsbc.netdev_master_upper_dev_getasbuh1hhjghhhjxhM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjxhM7ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjghhhjxhM7ubj)}(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=uh1jhjghhhjxhM7ubj)}(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 }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(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=uh1jhjghhhjxhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjxhM7ubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhM7hj`hhubjS)}(hhh]jX)}(hGet master upper deviceh]hGet master upper device}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7hjchhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjxhM7ubeh}(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)}(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.chM8hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubah}(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)}(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.chM:hjubeh}(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}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMwubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj4hMwubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jnetdev_upper_get_next_dev_rcusbc.netdev_upper_get_next_dev_rcuasbuh1hhj#hhhj4hMwubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj4hMwubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#hhhj4hMwubj)}(hnetdev_upper_get_next_dev_rcuh]j%)}(hjdh]hnetdev_upper_get_next_dev_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj4hMwubj)}(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$]jbc.netdev_upper_get_next_dev_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=uh1jhjubj)}(hstruct list_head **iterh](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 list_headh]h list_head}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jbc.netdev_upper_get_next_dev_rcuasbuh1hhj 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;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hiterh]hiter}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj4hMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj4hMwubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMwhjhhubjS)}(hhh]jX)}(h Get the next dev from upper listh]h Get the next dev from upper list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMwhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj4hMwubeh}(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.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.chMxhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(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.chMyhjubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj2hhhNhNubah}(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)}(hjTh]h Description}(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.chM{hjubjX)}(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.}(hjjhhhNhNubah}(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_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}(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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM!ubj)}(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=uh1jhjhhhjhM!ubj)}(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 }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(h list_headh]h list_head}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]jc.netdev_lower_get_next_privateasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(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)}(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.chM!hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM!ubeh}(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.chM%hjubj)}(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#hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hM#hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM#hjubj)}(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.chM$hjWubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM$hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM$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)}(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.chM&hjubeh}(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.chM<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!netdev_lower_get_next_private_rcuh]j%)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM<ubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jj sb#c.netdev_lower_get_next_private_rcuasbuh1hhj#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%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]ja#c.netdev_lower_get_next_private_rcuasbuh1hhjubj)}(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}(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)}(hAGet the next ->private from the lower neighbour list, RCU varianth]hAGet the next ->private from the lower neighbour list, RCU variant}(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&]jvjqjwj?jxj?jyjzj{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)}(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.chM@hjCubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjhh]hstruct net_device *dev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?hjbubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hM?hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM?hj_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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@hjubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(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&]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.chMBhjCubjX)}(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.chMBhjCubeh}(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}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMXubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/hMXubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj/hMXubj)}(hnetdev_lower_get_nexth]j%)}(hnetdev_lower_get_nexth]hnetdev_lower_get_next}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/hMXubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(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')}jjQsbc.netdev_lower_get_nextasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(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*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj/hMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj/hMXubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj/hMXhjhhubjS)}(hhh]jX)}(h1Get the next device from the lower neighbour listh]h1Get the next device from the lower neighbour list}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMXhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj/hMXubeh}(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 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)}(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.chMZhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(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.chM[hjubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]hjubjX)}(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.}(hj6hhhNhNubah}(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_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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjshMz ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjahhhjshMz ubj)}(h"netdev_lower_get_first_private_rcuh]j%)}(h"netdev_lower_get_first_private_rcuh]h"netdev_lower_get_first_private_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjshMz 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')}jjsb$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=uh1jhjahhhjshMz ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjshMz ubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMz hjZhhubjS)}(hhh]jX)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->private from the lower neighbour list, RCU variant}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz hj/hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjshMz ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{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)}(hjTh]h Parameters}(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.chM~ hjNubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjsh]hstruct net_device *dev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM} hjmubj)}(hhh]jX)}(hdeviceh]hdevice}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjNubjX)}(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 hjNubeh}(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 }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(hnetdev_master_upper_dev_get_rcuh]j%)}(hj0h]hnetdev_master_upper_dev_get_rcu}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(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_master_upper_dev_get_rcuasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubah}(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 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}(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.chM hj)ubj)}(hhh]jX)}(hdeviceh]hdevice}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj ubjX)}(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.}(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_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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.netdev_upper_dev_linkasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjEhhhNhNubah}(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&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(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&c.netdev_upper_dev_linkasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(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$]j&c.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%)}(hextackh]hextack}(hj%hhhNhNubah}(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}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjLhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{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)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjkubj)}(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)}(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!hjubj)}(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!hjubeh}(h]h ]h"]h$]h&]uh1jhjkubjX)}(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!hjkubjX)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjkubeh}(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}(hjhhhNhNubah}(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)}(hnetdev_master_upper_dev_linkh]j%)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhjhM!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*}(hj hhhNhNubah}(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}(hj1hhhNhNubah}(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}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_linkasbuh1hhj-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%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *upper_privh](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%)}(h upper_privh]h upper_priv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *upper_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%)}(h upper_infoh]h upper_info}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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 }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_linkasbuh1hhj!ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hjohhhNhNubah}(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~hhhjhM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhM!ubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM!hjwhhubjS)}(hhh]jX)}(h%Add a master link to the upper deviceh]h%Add a master link to the 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&]uh1jRhjwhhhjhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(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&]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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM!hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM!hjubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hjYh]hvoid *upper_priv}(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.chM!hjSubj)}(hhh]jX)}(hupper device privateh]hupper device private}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhM!hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM!hjubj)}(h?``void *upper_info`` upper info to be passed down via notifier h](j)}(h``void *upper_info``h]j)}(hjh]hvoid *upper_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)}(h)upper info to be passed down via notifierh]h)upper info to be passed down via notifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(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!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)}(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.}(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_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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjYhM!ubj)}(hnetdev_upper_dev_unlinkh]j%)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjYhM!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')}jjnsbc.netdev_upper_dev_unlinkasbuh1hhjubj)}(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}(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_upper_dev_unlinkasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_devh]h upper_dev}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(hRemoves a link to upper deviceh]hRemoves a link to upper device}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjxhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhjYhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(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&]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)}(hj0h]h Description}(hj2hhhNhNubah}(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)}(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.}(hjFhhhNhNubah}(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_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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMj"ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjhMj"ubj)}(hnetdev_bonding_info_changeh]j%)}(hnetdev_bonding_info_changeh]hnetdev_bonding_info_change}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjhMj"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')}jjsbc.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}(hj hhhNhNubah}(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}(hj$ hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj1 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hnetdev_bonding_infoh]hnetdev_bonding_info}(hjB hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj? ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjD modnameN classnameNjj!)}j$]jc.netdev_bonding_info_changeasbuh1hhj 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%)}(h bonding_infoh]h bonding_info}(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=uh1jhjqhhhjhMj"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjhMj"ubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMj"hjjhhubjS)}(hhh]jX)}(h!Dispatch event about slave changeh]h!Dispatch event about slave change}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMj"hj hhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjhMj"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(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.chMn"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.chMk"hj ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMk"hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMk"hj ubj)}(h>``struct netdev_bonding_info *bonding_info`` info to dispatch h](j)}(h,``struct netdev_bonding_info *bonding_info``h]j)}(hj h]h(struct netdev_bonding_info *bonding_info}(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.chMl"hj ubj)}(hhh]jX)}(hinfo to dispatchh]hinfo to dispatch}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4 hMl"hj5 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj4 hMl"hj 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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn"hj ubjX)}(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.}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn"hj ubeh}(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&]uh1hhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMl#ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMl#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')}jnetdev_get_xmit_slavesbc.netdev_get_xmit_slaveasbuh1hhj hhhj hMl#ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMl#ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhj hMl#ubj)}(hnetdev_get_xmit_slaveh]j%)}(hj h]hnetdev_get_xmit_slave}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMl#ubj)}(h>(struct net_device *dev, struct sk_buff *skb, bool all_slaves)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}(hj7 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4 ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9 modnameN classnameNjj!)}j$]j c.netdev_get_xmit_slaveasbuh1hhj ubj)}(h h]h }(hjU hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjc hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdevh]hdev}(hjp 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}(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.netdev_get_xmit_slaveasbuh1hhj 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 ubj)}(hbool all_slavesh](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%)}(h all_slavesh]h all_slaves}(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 hMl#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMl#ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMl#hj hhubjS)}(hhh]jX)}(h#Get the xmit slave of master deviceh]h#Get the xmit slave of master device}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMl#hj; hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMl#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjV jxjV jyjzj{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}(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.chMp#hjZ 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.chMm#hjy ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMm#hj ubah}(h]h ]h"]h$]h&]uh1jhjy ubeh}(h]h ]h"]h$]h&]uh1jhj hMm#hjv ubj)}(h#``struct sk_buff *skb`` The packet 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.chMn#hj ubj)}(hhh]jX)}(h The packeth]h The packet}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMn#hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMn#hjv ubj)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hj h]hbool all_slaves}(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.chMo#hj ubj)}(hhh]jX)}(h assume all the slaves are activeh]h assume all the slaves are active}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMo#hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMo#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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMq#hjZ ubjX)}(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. }(hjB hhhNhNubj)}(h``NULL``h]hNULL}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubh" is returned if no slave is found.}(hjB hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMq#hjZ ubeh}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj 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#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')}jnetdev_sk_get_lowest_devsbc.netdev_sk_get_lowest_devasbuh1hhj hhhj hM#ubj)}(h h]h }(hj 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)}(hnetdev_sk_get_lowest_devh]j%)}(hj h]hnetdev_sk_get_lowest_dev}(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, struct sock *sk)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.netdev_sk_get_lowest_devasbuh1hhj ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdevh]hdev}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.netdev_sk_get_lowest_devasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(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]jv ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM#hjx hhubjS)}(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&]uh1jRhjx hhhj hM#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#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}(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.chM#hj)ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM#hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM#hj&ubj)}(h``struct sock *sk`` the socket h](j)}(h``struct sock *sk``h]j)}(hjhh]hstruct sock *sk}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjbubj)}(hhh]jX)}(h the socketh]h the socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hM#hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM#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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj ubjX)}(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#hj ubeh}(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.chM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM#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=uh1jhjhhhjhM#ubj)}(h6(struct net_device *lower_dev, void *lower_state_info)h](j)}(hstruct net_device *lower_devh](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%)}(h net_deviceh]h net_device}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_lower_state_changedasbuh1hhj/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%)}(h lower_devh]h lower_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(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=uh1jhjhhhjhM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM#ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM#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.chM#hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM#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.chM$hjubj)}(hhh](j)}(h(``struct net_device *lower_dev`` device h](j)}(h ``struct net_device *lower_dev``h]j)}(hj9h]hstruct net_device *lower_dev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj3ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM$hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM$hj0ubj)}(h-``void *lower_state_info`` state to dispatch h](j)}(h``void *lower_state_info``h]j)}(hjrh]hvoid *lower_state_info}(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)}(hstate to dispatchh]hstate to dispatch}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$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.chM$hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_flags (C function)c.dev_get_flagshNtauh1hhjhhhNhNubh)}(hhh](h)}(h9unsigned int dev_get_flags (const struct net_device *dev)h]h)}(h8unsigned int dev_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)}(h dev_get_flagsh]j%)}(h dev_get_flagsh]h dev_get_flags}(hj/hhhNhNubah}(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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(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')}jj1sbc.dev_get_flagsasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubah}(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 Get the combination of flag bits exported through APIs to 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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjubj)}(hhh]j)}(hm``const struct net_device *dev`` device Get the combination of flag bits exported through APIs to userspace.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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj$ubj)}(hhh](jX)}(hdeviceh]hdevice}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj@ubjX)}(hDGet the combination of flag bits exported through APIs to userspace.h]hDGet the combination of flag bits exported through APIs to userspace.}(hjRhhhNhNubah}(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&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM$hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&dev_pre_changeaddr_notify (C function)c.dev_pre_changeaddr_notifyhNtauh1hhjhhhNhNubh)}(hhh](h)}(hhint dev_pre_changeaddr_notify (struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h]h)}(hgint dev_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)}(hdev_pre_changeaddr_notifyh]j%)}(hdev_pre_changeaddr_notifyh]hdev_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.dev_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}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *addrh](h)}(hjh]hconst}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(hcharh]hchar}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>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%)}(haddrh]haddr}(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}(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$]j c.dev_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]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM%hjhhubjS)}(hhh]jX)}(hCall NETDEV_PRE_CHANGEADDR.h]hCall NETDEV_PRE_CHANGEADDR.}(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&]uh1jRhjhhhjhM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``const char *addr`` new address ``struct netlink_ext_ack *extack`` netlink extended ackh](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 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)}(hdeviceh]hdevice}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhM%hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM%hjXubj)}(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%hjXubj)}(h7``struct netlink_ext_ack *extack`` netlink extended ackh](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&]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%hjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#dev_get_port_parent_id (C function)c.dev_get_port_parent_idhNtauh1hhjhhhNhNubh)}(hhh](h)}(hcint dev_get_port_parent_id (struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h]h)}(hbint dev_get_port_parent_id(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)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.chM4&ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hM4&ubj)}(hdev_get_port_parent_idh]j%)}(hdev_get_port_parent_idh]hdev_get_port_parent_id}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hM4&ubj)}(hH(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)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.dev_get_port_parent_idasbuh1hhjfubj)}(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)}(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.dev_get_port_parent_idasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hppidh]hppid}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(h bool recurseh](j)}(hjTh]hbool}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hrecurseh]hrecurse}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)hhhj;hM4&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj;hM4&ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hM4&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.chM4&hjhhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj;hM4&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**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 Get the devices's port parent identifierh](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.chM8&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.chM5&hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5&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.chM6&hjubj)}(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 hM6&hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM6&hjubj)}(hd``bool recurse`` allow/disallow recursion to lower devices Get the devices's port parent identifierh](j)}(h``bool recurse``h]j)}(hjDh]h bool recurse}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8&hj>ubj)}(hhh](jX)}(h)allow/disallow recursion to lower devicesh]h)allow/disallow recursion to lower devices}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7&hjZubjX)}(h(Get the devices's port parent identifierh]h*Get the devices’s port parent identifier}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM9&hjZubeh}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM8&hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(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')}jjsbc.netdev_port_same_parent_idasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hah]ha}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *bh](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 net_deviceh]h net_device}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j#c.netdev_port_same_parent_idasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hjVh]hb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(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)}(hDIndicate if two network devices have the same port parent identifierh]hDIndicate if two network devices have the same 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&]uh1jRhjhhhjhM^&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hq**Parameters** ``struct net_device *a`` first network device ``struct net_device *b`` second network deviceh](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.chMb&hjubj)}(hhh](j)}(h.``struct net_device *a`` first network device h](j)}(h``struct net_device *a``h]j)}(hjh]hstruct net_device *a}(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)}(hfirst network deviceh]hfirst network device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM`&hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM`&hjubj)}(h.``struct net_device *b`` second network deviceh](j)}(h``struct net_device *b``h]j)}(hjUh]hstruct net_device *b}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMb&hjOubj)}(hhh]jX)}(hsecond network deviceh]hsecond network device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa&hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMb&hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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_update_featuresh]j%)}(hnetdev_update_featuresh]hnetdev_update_features}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.netdev_update_featuresasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(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)}(hrecalculate device featuresh]hrecalculate device features}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjlhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` the device to check 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)}(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`` the device to check 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](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)}(hthe device to checkh]hthe device to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjubjX)}(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.}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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_change_featuresh]j%)}(hnetdev_change_featuresh]hnetdev_change_features}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hM*ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.netdev_change_featuresasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubah}(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*hjhhubjS)}(hhh]jX)}(hrecalculate device featuresh]hrecalculate device features}(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&]uh1jRhjhhhj'hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXA**Parameters** ``struct net_device *dev`` the device to check 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)}(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)}(hX%``struct net_device *dev`` the device to check 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](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)}(hthe device to checkh]hthe device to check}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj0ubjX)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM *hj0ubeh}(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|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}(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)}(h netif_stacked_transfer_operstateh]j%)}(h netif_stacked_transfer_operstateh]h netif_stacked_transfer_operstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM.*ubj)}(h:(const struct net_device *rootdev, struct net_device *dev)h](j)}(h const struct net_device *rootdevh](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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb"c.netif_stacked_transfer_operstateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrootdevh]hrootdev}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j"c.netif_stacked_transfer_operstateasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(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]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM.*hjxhhubjS)}(hhh]jX)}(htransfer operstateh]htransfer operstate}(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&]uh1jRhjxhhhjhM.*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXX**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 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)}(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.chM2*hjubj)}(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)}(hjh]h const struct net_device *rootdev}(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/*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/*hjubj)}(h``struct net_device *dev`` the device to transfer operstate to 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](j)}(h``struct net_device *dev``h]j)}(hjHh]hstruct net_device *dev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM3*hjBubj)}(hhh](jX)}(h#the device to transfer operstate toh]h#the device to transfer operstate to}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0*hj^ubjX)}(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).}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2*hj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM3*hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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)}(hregister_netdeviceh]j%)}(hregister_netdeviceh]hregister_netdevice}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.register_netdeviceasbuh1hhjubj)}(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}(hjG 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)}(hregister a network deviceh]hregister a network device}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjn hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj 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)}(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 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*hj 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}(hjD!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 }(hjS!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@!hhhjR!hM+ubj)}(hregister_netdevh]j%)}(hregister_netdevh]hregister_netdev}(hje!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@!hhhjR!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')}jjg!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=uh1jhjy!ubah}(h]h ]h"]h$]h&]j<j=uh1jhj@!hhhjR!hM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjh]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"hhhj"hM-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"hM-ubj)}(h;(struct net_device *dev, struct rtnl_link_stats64 *storage)h](j)}(hstruct net_device *devh](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%)}(h net_deviceh]h net_device}(hjg#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetji#modnameN classnameNjj!)}j$]j #c.dev_get_statsasbuh1hhjE#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%)}(hdevh]hdev}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjA#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=uh1jhjA#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)}(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.chM-hj7$hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjR$jxjR$jyjzj{uh1hhhhjhNhNubj})}(hXr**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *storage`` place to store stats 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&]uh1jhjZ$ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjV$ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hj{$h]hstruct net_device *dev}(hj}$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hju$ubj)}(hhh]jX)}(hdevice to get statistics fromh]hdevice to get statistics from}(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-hjr$ubj)}(hX``struct rtnl_link_stats64 *storage`` place to store stats 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](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.chM-hj$ubj)}(hhh](jX)}(hplace to store statsh]hplace to store stats}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj$ubjX)}(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.chM-hj$ubeh}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM-hjr$ubeh}(h]h ]h"]h$]h&]uh1jhjV$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}(hjP%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL%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}(hjl%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh%ubj)}(h h]h }(hjy%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh%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')}jjR%sbc.dev_fetch_sw_netstatsasbuh1hhjh%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%)}(hsh]hs}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjd%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 }(hj5&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh__percpu}(hj%hhhNhNubj)}(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%)}(hnetstatsh]hnetstats}(hjb&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=%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})}(h**Parameters** ``struct rtnl_link_stats64 *s`` place to store stats ``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from 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.chMA-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)}(h``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from Read per-cpu network statistics and populate the related fields in **s**.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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?-hj'ubjX)}(hIRead per-cpu network statistics and populate the related fields in **s**.h](hCRead per-cpu network statistics and populate the related fields in }(hj.'hhhNhNubj)}(h**s**h]hs}(hj6'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.'ubh.}(hj.'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA-hj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM@-hj&ubeh}(h]h ]h"]h$]h&]uh1jhj&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}(hj(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}(hj0(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}(hjN(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjP(modnameN classnameNjj!)}j$]j'c.dev_get_tstats64asbuh1hhj,(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%)}(hj%h]hs}(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=jDuh1hjEjFhjy'hhhj'hM_-ubah}(h]jt'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hM_-hjv'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&]uh1jRhjv'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 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.chMc-hj(ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from 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 get statistics fromh]hdevice to get statistics 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 rtnl_link_stats64 *s`` place to store stats Populate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.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.chMc-hj$)ubj)}(hhh](jX)}(hplace to store statsh]hplace to store stats}(hjC)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa-hj@)ubjX)}(hZPopulate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](h Populate }(hjR)hhhNhNubj)}(h**s**h]hs}(hjZ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR)ubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(hjR)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj?)hMc-hj@)ubeh}(h]h ]h"]h$]h&]uh1jhj$)ubeh}(h]h ]h"]h$]h&]uh1jhj?)hMc-hj(ubeh}(h]h ]h"]h$]h&]uh1jhj(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}(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!netdev_sw_irq_coalesce_default_onh]j%)}(h!netdev_sw_irq_coalesce_default_onh]h!netdev_sw_irq_coalesce_default_on}(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.netdev_sw_irq_coalesce_default_onasbuh1hhj)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)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hjd*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hja*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`` 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)}(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)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on 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&netdev to enable the IRQ coalescing onh]h&netdev to enable the IRQ coalescing on}(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*ubjX)}(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.}(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](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}(hj%+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!+hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj)}(h h]h }(hj3+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!+hhhj2+hM-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')}jalloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhj!+hhhj2+hM-ubj)}(h h]h }(hje+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!+hhhj2+hM-ubj;)}(hj>h]h*}(hjs+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!+hhhj2+hM-ubj)}(halloc_netdev_mqsh]j%)}(hjb+h]halloc_netdev_mqs}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!+hhhj2+hM-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}(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)}(hconst char *nameh](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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj ,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)}(hunsigned char name_assign_typeh](j)}(hunsignedh]hunsigned}(hj1,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-,ubj)}(h h]h }(hj?,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-,ubj)}(hcharh]hchar}(hjM,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-,ubj)}(h h]h }(hj[,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-,ubj%)}(hname_assign_typeh]hname_assign_type}(hji,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubj)}(h!void (*setup)(struct net_device*)h](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;)}(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%)}(hsetuph]hsetup}(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]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.alloc_netdev_mqsasbuh1hhj~,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)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(hjA-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=-ubj)}(h h]h }(hjO-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=-ubj)}(hinth]hint}(hj]-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=-ubj)}(h h]h }(hjk-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=-ubj%)}(htxqsh]htxqs}(hjy-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubj)}(hunsigned int rxqsh](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%)}(hrxqsh]hrxqs}(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!+hhhj2+hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj2+hM-ubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2+hM-hj+hhubjS)}(hhh]jX)}(hallocate network deviceh]hallocate 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+hhhj2+hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj .jxj .jyjzj{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)}(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?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hj5.h]hint sizeof_priv}(hj7.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3.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*size of private data to allocate space forh]h*size of private data to allocate space for}(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,.ubj)}(h/``const char *name`` device name format string h](j)}(h``const char *name``h]j)}(hjn.h]hconst char *name}(hjp.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjh.ubj)}(hhh]jX)}(hdevice name format stringh]hdevice name format string}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM-hj.ubah}(h]h ]h"]h$]h&]uh1jhjh.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM-hj,.ubj)}(h9``unsigned char name_assign_type`` origin of device name h](j)}(h"``unsigned char name_assign_type``h]j)}(hj.h]hunsigned char name_assign_type}(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)}(horigin of device nameh]horigin of device name}(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)}(hE``void (*setup)(struct net_device *)`` callback to initialize device h](j)}(h&``void (*setup)(struct net_device *)``h]j)}(hj.h]h"void (*setup)(struct net_device *)}(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)}(hcallback to initialize deviceh]hcallback to initialize 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=``unsigned int txqs`` the number of TX subqueues to allocate h](j)}(h``unsigned int txqs``h]j)}(hj/h]hunsigned int txqs}(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 number of TX subqueues to allocateh]h&the number of TX subqueues to allocate}(hj2/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 rxqs`` the number of RX subqueues to allocate h](j)}(h``unsigned int rxqs``h]j)}(hjR/h]hunsigned int rxqs}(hjT/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP/ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjL/ubj)}(hhh]jX)}(h&the number of RX subqueues to allocateh]h&the number of RX subqueues to allocate}(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-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)}(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.}(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](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}(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 free_netdevh]j%)}(h free_netdevh]h free_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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj 0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 0ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj-0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/0modnameN classnameNjj!)}j$]j')}jj/sb c.free_netdevasbuh1hhj 0ubj)}(h h]h }(hjM0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 0ubj;)}(hj>h]h*}(hj[0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj 0ubj%)}(hdevh]hdev}(hjh0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(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)}(hfree network deviceh]hfree network device}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>.hj0hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj/hM>.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{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)}(hj0h]h Parameters}(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.chMB.hj0ubj)}(hhh]j)}(h"``struct net_device *dev`` device 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?.hj0ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM?.hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM?.hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA.hj0ubjX)}(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.}(hj$1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA.hj0ubeh}(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}(hjS1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjO1hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hja1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO1hhhj`1hM.ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjr1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjt1modnameN classnameNjj!)}j$]j')}jalloc_netdev_dummysbc.alloc_netdev_dummyasbuh1hhjO1hhhj`1hM.ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO1hhhj`1hM.ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjO1hhhj`1hM.ubj)}(halloc_netdev_dummyh]j%)}(hj1h]halloc_netdev_dummy}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjO1hhhj`1hM.ubj)}(h(int sizeof_priv)h]j)}(hint sizeof_privh](j)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(h sizeof_privh]h sizeof_priv}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(h]h ]h"]h$]h&]j<j=uh1jhjO1hhhj`1hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjK1hhhj`1hM.ubah}(h]jF1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`1hM.hjH1hhubjS)}(hhh]jX)}(h+Allocate and initialize a dummy net device.h]h+Allocate and initialize a dummy net device.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj2hhubah}(h]h ]h"]h$]h&]uh1jRhjH1hhhj`1hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+2jxj+2jyjzj{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)}(hj52h]h Parameters}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj32ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj/2ubj)}(hhh]j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjT2h]hint sizeof_priv}(hjV2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjN2ubj)}(hhh]jX)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hjm2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhji2hM.hjj2ubah}(h]h ]h"]h$]h&]uh1jhjN2ubeh}(h]h ]h"]h$]h&]uh1jhji2hM.hjK2ubah}(h]h ]h"]h$]h&]uh1jhj/2ubjX)}(h **Return**h]j)}(hj2h]hReturn}(hj2hhhNhNubah}(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.hj/2ubjX)}(h3the allocated net_device on success, NULL otherwiseh]h3the allocated net_device on success, NULL otherwise}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj/2ubeh}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhj2hM.ubj)}(hsynchronize_neth]j%)}(hsynchronize_neth]hsynchronize_net}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhj2hM.ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 3ubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhj 3ubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhj2hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj2hM.ubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hM.hj2hhubjS)}(hhh]jX)}(h*Synchronize with packet receive processingh]h*Synchronize with packet receive processing}(hj;3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj83hhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhj2hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjS3jxjS3jyjzj{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]3h]h Parameters}(hj_3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[3ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjW3ubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hj|3h]hvoid}(hj~3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz3ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjv3ubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hKhj3ubah}(h]h ]h"]h$]h&]uh1jhjv3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjs3ubah}(h]h ]h"]h$]h&]uh1jhjW3ubjX)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjW3ubj )}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj3ubah}(h]h ]h"]h$]h&]uh1j hj3hM.hjW3ubeh}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hM.ubj)}(hunregister_netdevice_queueh]j%)}(hunregister_netdevice_queueh]hunregister_netdevice_queue}(hj'4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hM.ubj)}(h0(struct net_device *dev, struct list_head *head)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjC4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?4ubj)}(h h]h }(hjP4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?4ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hja4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjc4modnameN classnameNjj!)}j$]j')}jj)4sbc.unregister_netdevice_queueasbuh1hhj?4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?4ubj%)}(hdevh]hdev}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;4ubj)}(hstruct list_head *headh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h list_headh]h list_head}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j}4c.unregister_netdevice_queueasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hheadh]hhead}(hj 5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhj4hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj4hM.ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hM.hj3hhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hj65hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj35hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj4hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjN5jxjN5jyjzj{uh1hhhhjhNhNubj})}(hXK**Parameters** ``struct net_device *dev`` device ``struct list_head *head`` list 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)}(hjX5h]h Parameters}(hjZ5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV5ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjR5ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjw5h]hstruct net_device *dev}(hjy5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju5ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjq5ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM.hj5ubah}(h]h ]h"]h$]h&]uh1jhjq5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM.hjn5ubj)}(hX ``struct list_head *head`` list 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](j)}(h``struct list_head *head``h]j)}(hj5h]hstruct list_head *head}(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)}(hlisth]hlist}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj5ubjX)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj5ubjX)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM.hj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM.hjn5ubeh}(h]h ]h"]h$]h&]uh1jhjR5ubeh}(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'6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#6hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMd/ubj)}(h h]h }(hj66hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#6hhhj56hMd/ubj)}(hunregister_netdevice_manyh]j%)}(hunregister_netdevice_manyh]hunregister_netdevice_many}(hjH6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#6hhhj56hMd/ubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](h)}(hjh]hstruct}(hjd6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`6ubj)}(h h]h }(hjq6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`6ubh)}(hhh]j%)}(h list_headh]h list_head}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jjJ6sbc.unregister_netdevice_manyasbuh1hhj`6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`6ubj%)}(hheadh]hhead}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj#6hhhj56hMd/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhj56hMd/ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj56hMd/hj6hhubjS)}(hhh]jX)}(hunregister many devicesh]hunregister many devices}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMd/hj6hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhj56hMd/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{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)}(hj 7h]h Parameters}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMh/hj7ubj)}(hhh]j)}(h+``struct list_head *head`` list of devices h](j)}(h``struct list_head *head``h]j)}(hj(7h]hstruct list_head *head}(hj*7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMe/hj"7ubj)}(hhh]jX)}(hlist of devicesh]hlist of devices}(hjA7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=7hMe/hj>7ubah}(h]h ]h"]h$]h&]uh1jhj"7ubeh}(h]h ]h"]h$]h&]uh1jhj=7hMe/hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Note**h]j)}(hjc7h]hNote}(hje7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja7ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMg/hj7ubj)}(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,}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMg/hj|7ubj)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMh/hj7ubah}(h]h ]h"]h$]h&]uh1jhj|7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMg/hjy7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMq/ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hMq/ubj)}(hunregister_netdevh]j%)}(hunregister_netdevh]hunregister_netdev}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hMq/ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj 8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 8ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj.8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj08modnameN classnameNjj!)}j$]j')}jj7sbc.unregister_netdevasbuh1hhj 8ubj)}(h h]h }(hjN8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 8ubj;)}(hj>h]h*}(hj\8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj 8ubj%)}(hdevh]hdev}(hji8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hMq/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hMq/ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMq/hj7hhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMq/hj8hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hMq/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhjhNhNubj})}(hX **Parameters** ``struct net_device *dev`` device 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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMu/hj8ubj)}(hhh]j)}(hX``struct net_device *dev`` device 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](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.chMx/hj8ubj)}(hhh](jX)}(hdeviceh]hdevice}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMr/hj8ubjX)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMt/hj8ubjX)}(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 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMw/hj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMx/hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(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}(hjO9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQ9modnameN classnameNjj!)}j$]j')}jnetdev_increment_featuressbc.netdev_increment_featuresasbuh1hhjH9hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj)}(h h]h }(hjq9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH9hhhjp9hM0ubj)}(hnetdev_increment_featuresh]j%)}(hjm9h]hnetdev_increment_features}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjH9hhhjp9hM0ubj)}(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}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]jk9c.netdev_increment_featuresasbuh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hallh]hall}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hnetdev_features_t oneh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]jk9c.netdev_increment_featuresasbuh1hhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(honeh]hone}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hnetdev_features_t maskh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hj1:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3:modnameN classnameNjj!)}j$]jk9c.netdev_increment_featuresasbuh1hhj*:ubj)}(h h]h }(hjO:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*:ubj%)}(hmaskh]hmask}(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=uh1jhjH9hhhjp9hM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjD9hhhjp9hM0ubah}(h]j?9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjp9hM0hjA9hhubjS)}(hhh]jX)}(hincrement feature set by oneh]hincrement feature set by one}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj:hhubah}(h]h ]h"]h$]h&]uh1jRhjA9hhhjp9hM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhjhNhNubj})}(hXs**Parameters** ``netdev_features_t all`` current feature set ``netdev_features_t one`` new feature set ``netdev_features_t mask`` mask feature set 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: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.chM0hj:ubj)}(hhh](j)}(h.``netdev_features_t all`` current feature set h](j)}(h``netdev_features_t all``h]j)}(hj:h]hnetdev_features_t all}(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.chM0hj:ubj)}(hhh]jX)}(hcurrent feature seth]hcurrent feature set}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hM0hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM0hj:ubj)}(h*``netdev_features_t one`` new feature set h](j)}(h``netdev_features_t one``h]j)}(hj;h]hnetdev_features_t one}(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.chM0hj:ubj)}(hhh]jX)}(hnew feature seth]hnew feature set}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hM0hj;ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj;hM0hj:ubj)}(h``netdev_features_t mask`` mask feature set 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](j)}(h``netdev_features_t mask``h]j)}(hj:;h]hnetdev_features_t mask}(hj<;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8;ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj4;ubj)}(hhh](jX)}(hmask feature seth]hmask feature set}(hjS;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjP;ubjX)}(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 }(hjb;hhhNhNubj)}(h**one**h]hone}(hjj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb;ubh/ to the master device with current feature set }(hjb;hhhNhNubj)}(h**all**h]hall}(hj|;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb;ubh+. Will not enable anything that is off in }(hjb;hhhNhNubj)}(h**mask**h]hmask}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb;ubh. Returns the new feature set.}(hjb;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjP;ubeh}(h]h ]h"]h$]h&]uh1jhj4;ubeh}(h]h ]h"]h$]h&]uh1jhjO;hM0hj:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(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;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKCubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj;hKCubj)}(h eth_headerh]j%)}(h eth_headerh]h eth_header}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hKCubj)}(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}(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}(hj4<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6<modnameN classnameNjj!)}j$]j')}jj;sb c.eth_headerasbuh1hhj<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%)}(hskbh]hskb}(hjo<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<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$]jP< c.eth_headerasbuh1hhj<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 short typeh](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)}(hshorth]hshort}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj"=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(htypeh]htype}(hj0=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hconst void *daddrh](h)}(hjh]hconst}(hjI=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjE=ubj)}(h h]h }(hjV=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE=ubj)}(hvoidh]hvoid}(hjd=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE=ubj)}(h h]h }(hjr=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE=ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjE=ubj%)}(hdaddrh]hdaddr}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hconst void *saddrh](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%)}(hsaddrh]hsaddr}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(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 }(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%)}(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=uh1jhj;hhhj;hKCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj;hKCubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hKChj;hhubjS)}(hhh]jX)}(hcreate the Ethernet headerh]hcreate the Ethernet header}(hje>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKChjb>hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hKCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}>jxj}>jyjzj{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>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.chKGhj>ubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKDhj>ubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hKDhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hKDhj>ubj)}(h)``struct net_device *dev`` source 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.chKEhj>ubj)}(hhh]jX)}(h source deviceh]h source device}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hKEhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hKEhj>ubj)}(h,``unsigned short type`` Ethernet type field h](j)}(h``unsigned short type``h]j)}(hj?h]hunsigned short type}(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.chKFhj?ubj)}(hhh]jX)}(hEthernet type fieldh]hEthernet type field}(hj1?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-?hKFhj.?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj-?hKFhj>ubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hjQ?h]hconst void *daddr}(hjS?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjK?ubj)}(hhh]jX)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hjj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjf?hKGhjg?ubah}(h]h ]h"]h$]h&]uh1jhjK?ubeh}(h]h ]h"]h$]h&]uh1jhjf?hKGhj>ubj)}(hF``const void *saddr`` source address (NULL use device source address) h](j)}(h``const void *saddr``h]j)}(hj?h]hconst void *saddr}(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.chKHhj?ubj)}(hhh]jX)}(h/source address (NULL use device source address)h]h/source address (NULL use device source address)}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hKHhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hKHhj>ubj)}(h1``unsigned int len`` packet length (<= skb->len) 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKIhj?ubj)}(hhh]jX)}(hpacket length (<= skb->len)h]hpacket length (<= skb->len)}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hKIhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hKIhj>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.chKKhj>ubjX)}(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.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKLhj>ubeh}(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}(hjF@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjC@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjH@modnameN classnameNjj!)}j$]j')}jeth_get_headlensbc.eth_get_headlenasbuh1hhj?@hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj)}(h h]h }(hjh@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?@hhhjg@hKuubj)}(heth_get_headlenh]j%)}(hjd@h]heth_get_headlen}(hjz@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?@hhhjg@hKuubj)}(h9(const struct net_device *dev, const void *data, u32 len)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$]jb@c.eth_get_headlenasbuh1hhj@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}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hconst void *datah](h)}(hjh]hconst}(hj AhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hj-AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(hvoidh]hvoid}(hj;AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjIAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjWAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hdatah]hdata}(hjdAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hu32 lenh](h)}(hhh]j%)}(hu32h]hu32}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}Aubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jb@c.eth_get_headlenasbuh1hhjyAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyAubj%)}(hlenh]hlen}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?@hhhjg@hKuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;@hhhjg@hKuubah}(h]j6@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjg@hKuhj8@hhubjS)}(hhh]jX)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhjAhhubah}(h]h ]h"]h$]h&]uh1jRhj8@hhhjg@hKuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{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)}(hjAh]h Parameters}(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.chKyhjAubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to network device h](j)}(h ``const struct net_device *dev``h]j)}(hjBh]hconst struct net_device *dev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKvhjBubj)}(hhh]jX)}(hpointer to network deviceh]hpointer to network device}(hj0BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,BhKvhj-Bubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj,BhKvhjBubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hjPBh]hconst void *data}(hjRBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhjJBubj)}(hhh]jX)}(hpointer to start of frameh]hpointer to start of frame}(hjiBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjeBhKwhjfBubah}(h]h ]h"]h$]h&]uh1jhjJBubeh}(h]h ]h"]h$]h&]uh1jhjeBhKwhjBubj)}(h"``u32 len`` total length of frame h](j)}(h ``u32 len``h]j)}(hjBh]hu32 len}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKxhjBubj)}(hhh]jX)}(htotal length of frameh]htotal length of frame}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKxhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhKxhjBubeh}(h]h ]h"]h$]h&]uh1jhjAubjX)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKzhjAubjX)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKzhjAubeh}(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}(hj ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Cubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}jeth_type_transsbc.eth_type_transasbuh1hhjChhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hj.ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhj-ChKubj)}(heth_type_transh]j%)}(hj*Ch]heth_type_trans}(hj@ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWCubj%)}(hskbh]hskb}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSCubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j(Cc.eth_type_transasbuh1hhjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hdevh]hdev}(hj"DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSCubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhj-ChKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhj-ChKubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-ChKhjBhhubjS)}(hhh]jX)}(h#determine the packet's protocol ID.h]h%determine the packet’s protocol ID.}(hjLDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjIDhhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhj-ChKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdDjxjdDjyjzj{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)}(hjnDh]h Parameters}(hjpDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlDubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjhDubj)}(hhh](j)}(h-``struct sk_buff *skb`` received socket data 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjDubj)}(hhh]jX)}(hreceived socket datah]hreceived socket data}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjDubj)}(h4``struct net_device *dev`` receiving network device 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjDubj)}(hhh]jX)}(hreceiving network deviceh]hreceiving network device}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjDubeh}(h]h ]h"]h$]h&]uh1jhjhDubjX)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjhDubjX)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjhDubeh}(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}(hjFEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBEhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjUEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBEhhhjTEhKubj)}(heth_header_parseh]j%)}(heth_header_parseh]heth_header_parse}(hjgEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBEhhhjTEhKubj)}(h1(const struct sk_buff *skb, unsigned char *haddr)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjiEsbc.eth_header_parseasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hskbh]hskb}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{Eubj)}(hunsigned char *haddrh](j)}(hunsignedh]hunsigned}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Fubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Fubj)}(hcharh]hchar}(hj,FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Fubj)}(h h]h }(hj:FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Fubj;)}(hj>h]h*}(hjHFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj Fubj%)}(hhaddrh]hhaddr}(hjUFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{Eubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBEhhhjTEhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>EhhhjTEhKubah}(h]j9Eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjTEhKhj;EhhubjS)}(hhh]jX)}(h$extract hardware address from packeth]h$extract hardware address from packet}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj|Fhhubah}(h]h ]h"]h$]h&]uh1jRhj;EhhhjTEhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhjhNhNubj})}(h|**Parameters** ``const struct sk_buff *skb`` packet to extract header from ``unsigned char *haddr`` destination bufferh](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjFubj)}(hhh](j)}(h<``const struct sk_buff *skb`` packet to extract header from h](j)}(h``const struct sk_buff *skb``h]j)}(hjFh]hconst struct sk_buff *skb}(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.chKhjFubj)}(hhh]jX)}(hpacket to extract header fromh]hpacket to extract header from}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjFubj)}(h+``unsigned char *haddr`` destination bufferh](j)}(h``unsigned char *haddr``h]j)}(hjFh]hunsigned char *haddr}(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.chKhjFubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjFubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header_cache (C function)c.eth_header_cachehNtauh1hhjhhhNhNubh)}(hhh](h)}(hVint eth_header_cache (const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h]h)}(hUint eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](j)}(hinth]hint}(hjSGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOGhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjbGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOGhhhjaGhKubj)}(heth_header_cacheh]j%)}(heth_header_cacheh]heth_header_cache}(hjtGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOGhhhjaGhKubj)}(hA(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](j)}(hconst struct neighbour *neighh](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%)}(h neighbourh]h neighbour}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jjvGsbc.eth_header_cacheasbuh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hneighh]hneigh}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hstruct hh_cache *hhh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hj*HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hhh_cacheh]hhh_cache}(hj;HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8Hubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=HmodnameN classnameNjj!)}j$]jGc.eth_header_cacheasbuh1hhjHubj)}(h h]h }(hjYHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjgHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hhhh]hhh}(hjtHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h __be16 typeh](h)}(hhh]j%)}(h__be16h]h__be16}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jGc.eth_header_cacheasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(htypeh]htype}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOGhhhjaGhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKGhhhjaGhKubah}(h]jFGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjaGhKhjHGhhubjS)}(hhh]jX)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjHGhhhjaGhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{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)}(hjIh]h Parameters}(hj IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjIubj)}(hhh](j)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hj'Ih]hconst struct neighbour *neigh}(hj)IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Iubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj!Iubj)}(hhh]jX)}(hsource neighbourh]hsource neighbour}(hj@IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRJubj%)}(hhhh]hhh}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNJubj)}(hconst struct net_device *devh](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 net_deviceh]h net_device}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]jJc.eth_header_cache_updateasbuh1hhjJubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hj-KhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hdevh]hdev}(hj:KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNJubj)}(hconst unsigned char *haddrh](h)}(hjh]hconst}(hjSKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOKubj)}(h h]h }(hj`KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOKubj)}(hunsignedh]hunsigned}(hjnKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOKubj)}(h h]h }(hj|KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOKubj)}(hcharh]hchar}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOKubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOKubj%)}(hhaddrh]hhaddr}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhj'JhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj'JhKubah}(h]j Jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'JhKhjJhhubjS)}(hhh]jX)}(hupdate cache entryh]hupdate cache entry}(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&]uh1jRhjJhhhj'JhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{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)}(hjKh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjKubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjLh]hstruct hh_cache *hh}(hj LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjLubj)}(hhh]jX)}(hdestination cache entryh]hdestination cache entry}(hj7LhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3LhKhj4Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj3LhKhjLubj)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjWLh]hconst struct net_device *dev}(hjYLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjULubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjQLubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjpLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlLhKhjmLubah}(h]h ]h"]h$]h&]uh1jhjQLubeh}(h]h ]h"]h$]h&]uh1jhjlLhKhjLubj)}(h4``const unsigned char *haddr`` new hardware address h](j)}(h``const unsigned char *haddr``h]j)}(hjLh]hconst unsigned char *haddr}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjLubj)}(hhh]jX)}(hnew hardware addressh]hnew hardware address}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhKhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhKhjLubeh}(h]h ]h"]h$]h&]uh1jhjKubjX)}(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.chKhjKubjX)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjKubeh}(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}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jeth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhj MhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hj5MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Mhhhj4MhMubj)}(heth_header_parse_protocolh]j%)}(hj1Mh]heth_header_parse_protocol}(hjGMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj Mhhhj4MhMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjbMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^Mubj)}(h h]h }(hjoMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^Mubh)}(hjh]hstruct}(hj}MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^Mubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^Mubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j/Mc.eth_header_parse_protocolasbuh1hhj^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=uh1jhjZMubah}(h]h ]h"]h$]h&]j<j=uh1jhj Mhhhj4MhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhj4MhMubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4MhMhjMhhubjS)}(hhh]jX)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhj4MhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjhNhNubj})}(hO**Parameters** ``const struct sk_buff *skb`` packet to extract protocol fromh](jX)}(h**Parameters**h]j)}(hj Nh]h Parameters}(hj"NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjNubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](j)}(h``const struct sk_buff *skb``h]j)}(hj?Nh]hconst struct sk_buff *skb}(hjANhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Nubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hj9Nubj)}(hhh]jX)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hjXNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjUNubah}(h]h ]h"]h$]h&]uh1jhj9Nubeh}(h]h ]h"]h$]h&]uh1jhjTNhM hj6Nubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhjNhMubj)}(heth_prepare_mac_addr_changeh]j%)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhjNhMubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j')}jjNsbc.eth_prepare_mac_addr_changeasbuh1hhjNubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hj"OhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hdevh]hdev}(hj/OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjHOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDOubj)}(h h]h }(hjVOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDOubj;)}(hj>h]h*}(hjdOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDOubj%)}(hjGh]hp}(hjqOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(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)}(hprepare for mac changeh]hprepare for mac change}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjhNhNubj})}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jX)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjOubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjOh]hstruct net_device *dev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjOubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjPh]hvoid *p}(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.chMhjPubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hj-PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj*Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj)PhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'eth_commit_mac_addr_change (C function)c.eth_commit_mac_addr_changehNtauh1hhjhhhNhNubh)}(hhh](h)}(hAvoid eth_commit_mac_addr_change (struct net_device *dev, void *p)h]h)}(h@void eth_commit_mac_addr_change(struct net_device *dev, void *p)h](j)}(hvoidh]hvoid}(hjnPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjPhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM ubj)}(h h]h }(hj}PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjPhhhj|PhM ubj)}(heth_commit_mac_addr_changeh]j%)}(heth_commit_mac_addr_changeh]heth_commit_mac_addr_change}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjPhhhj|PhM ubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jjPsbc.eth_commit_mac_addr_changeasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hj+QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hj9QhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hjGh]hp}(hjFQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjPhhhj|PhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfPhhhj|PhM ubah}(h]jaPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|PhM hjcPhhubjS)}(hhh]jX)}(hcommit mac changeh]hcommit mac change}(hjoQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjlQhhubah}(h]h ]h"]h$]h&]uh1jRhjcPhhhj|PhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhjhNhNubj})}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jX)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM$hjQubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjQh]hstruct net_device *dev}(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.chM!hjQubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhM!hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM!hjQubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjQh]hvoid *p}(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.chM#hjQubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM"hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM#hjQubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(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}(hjCRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?RhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-ubj)}(h h]h }(hjRRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?RhhhjQRhM-ubj)}(h eth_mac_addrh]j%)}(h eth_mac_addrh]h eth_mac_addr}(hjdRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`Rubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?RhhhjQRhM-ubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|Rubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Rubh)}(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$]j')}jjfRsbc.eth_mac_addrasbuh1hhj|Rubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Rubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|Rubj%)}(hdevh]hdev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxRubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hjGh]hp}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxRubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?RhhhjQRhM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;RhhhjQRhM-ubah}(h]j6Rah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQRhM-hj8RhhubjS)}(hhh]jX)}(h!set new Ethernet hardware addressh]h!set new Ethernet hardware address}(hjDShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hjAShhubah}(h]h ]h"]h$]h&]uh1jRhj8RhhhjQRhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\Sjxj\Sjyjzj{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)}(hjfSh]h Parameters}(hjhShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdSubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM1hj`Subj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjSh]hstruct 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.chM.hjSubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM.hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM.hj|Subj)}(h``void *p`` socket address h](j)}(h ``void *p``h]j)}(hjSh]hvoid *p}(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.chM/hjSubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM/hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM/hj|Subeh}(h]h ]h"]h$]h&]uh1jhj`SubjX)}(h**Description**h]j)}(hjSh]h Description}(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.chM1hj`SubjX)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM1hj`SubjX)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM3hj`Subeh}(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}(hjMThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIThhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMTubj)}(h h]h }(hj\ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIThhhj[ThMTubj)}(h ether_setuph]j%)}(h ether_setuph]h ether_setup}(hjnThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIThhhj[ThMTubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjpTsb c.ether_setupasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hdevh]hdev}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubah}(h]h ]h"]h$]h&]j<j=uh1jhjIThhhj[ThMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEThhhj[ThMTubah}(h]j@Tah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[ThMThjBThhubjS)}(hhh]jX)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hj UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMThj Uhhubah}(h]h ]h"]h$]h&]uh1jRhjBThhhj[ThMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%Ujxj%Ujyjzj{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/Uh]h Parameters}(hj1UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Uubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMXhj)Uubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjNUh]hstruct net_device *dev}(hjPUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhjHUubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjgUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjcUhMUhjdUubah}(h]h ]h"]h$]h&]uh1jhjHUubeh}(h]h ]h"]h$]h&]uh1jhjcUhMUhjEUubah}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMWhj)UubjX)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMWhj)Uubeh}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUhhhjUhMmubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jalloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhjUhhhjUhMmubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUhhhjUhMmubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUhhhjUhMmubj)}(halloc_etherdev_mqsh]j%)}(hj Vh]halloc_etherdev_mqs}(hj-VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjUhhhjUhMmubj)}(h7(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j)}(hint sizeof_privh](j)}(hinth]hint}(hjHVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDVubj)}(h h]h }(hjVVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDVubj%)}(h sizeof_privh]h sizeof_priv}(hjdVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@Vubj)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(hj}VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyVubj)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyVubj%)}(htxqsh]htxqs}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@Vubj)}(hunsigned int rxqsh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hrxqsh]hrxqs}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@Vubeh}(h]h ]h"]h$]h&]j<j=uh1jhjUhhhjUhMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjUhMmubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhMmhjUhhubjS)}(hhh]jX)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hj0WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhj-Whhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjUhMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHWjxjHWjyjzj{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)}(hjRWh]h Parameters}(hjTWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPWubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhjLWubj)}(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)}(hjqWh]hint sizeof_priv}(hjsWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjkWubj)}(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}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjWubah}(h]h ]h"]h$]h&]uh1jhjkWubeh}(h]h ]h"]h$]h&]uh1jhjWhMohjhWubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hjWh]hunsigned int txqs}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjWubj)}(hhh]jX)}(h(The number of TX queues this device has.h]h(The number of TX queues this device has.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMphjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMphjhWubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hjWh]hunsigned int rxqs}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhjWubj)}(hhh]jX)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMqhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMqhjhWubeh}(h]h ]h"]h$]h&]uh1jhjLWubjX)}(h**Description**h]j)}(hjXh]h Description}(hj!XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMshjLWubjX)}(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.}(hj5XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMshjLWubjX)}(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.}(hjDXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMvhjLWubeh}(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}(hjsXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoXhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoXhhhjXhMubj)}(hplatform_get_ethdev_addressh]j%)}(hplatform_get_ethdev_addressh]hplatform_get_ethdev_address}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjoXhhhjXhMubj)}(h/(struct device *dev, struct net_device *netdev)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hdeviceh]hdevice}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjXsbc.platform_get_ethdev_addressasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hdevh]hdev}(hj YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hstruct net_device *netdevh](h)}(hjh]hstruct}(hj"YhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hj/YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj@YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=Yubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBYmodnameN classnameNjj!)}j$]jXc.platform_get_ethdev_addressasbuh1hhjYubj)}(h h]h }(hj^YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjlYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hnetdevh]hnetdev}(hjyYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjoXhhhjXhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkXhhhjXhMubah}(h]jfXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhMhjhXhhubjS)}(hhh]jX)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjhXhhhjXhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjYubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjYh]hstruct device *dev}(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.chMhjYubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjZh]hstruct net_device *netdev}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjZubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hj6ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2ZhMhj3Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj2ZhMhjYubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjXZh]h Description}(hjZZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVZubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjYubjX)}(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.}(hjnZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjYubeh}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjZhMAubj)}(hfwnode_get_mac_addressh]j%)}(hfwnode_get_mac_addressh]hfwnode_get_mac_address}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjZhMAubj)}(h*(struct fwnode_handle *fwnode, char *addr)h](j)}(hstruct fwnode_handle *fwnodeh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]j')}jjZsbc.fwnode_get_mac_addressasbuh1hhjZubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hj&[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hfwnodeh]hfwnode}(hj3[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(h char *addrh](j)}(hcharh]hchar}(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%)}(haddrh]haddr}(hju[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjZhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjZhMAubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhMAhjZhhubjS)}(hhh]jX)}(h"Get the MAC from the firmware nodeh]h"Get the MAC from the firmware node}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAhj[hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjZhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{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)}(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.chMEhj[ubj)}(hhh](j)}(h>``struct fwnode_handle *fwnode`` Pointer to the firmware node h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hj[h]hstruct fwnode_handle *fwnode}(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.chMBhj[ubj)}(hhh]jX)}(hPointer to the firmware nodeh]hPointer to the firmware node}(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)}(h5``char *addr`` Address of buffer to store the MAC in h](j)}(h``char *addr``h]j)}(hj\h]h char *addr}(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.chMChj\ubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hj2\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.\hMChj/\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj.\hMChj[ubeh}(h]h ]h"]h$]h&]uh1jhj[ubjX)}(h**Description**h]j)}(hjT\h]h Description}(hjV\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR\ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMEhj[ubjX)}(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.}(hjj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMEhj[ubjX)}(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.}(hjy\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMKhj[ubjX)}(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\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMOhj[ubeh}(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\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhj\hMbubj)}(hdevice_get_mac_addressh]j%)}(hdevice_get_mac_addressh]hdevice_get_mac_address}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhj\hMbubj)}(h (struct device *dev, char *addr)h](j)}(hstruct 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%)}(hdeviceh]hdevice}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj\sbc.device_get_mac_addressasbuh1hhj\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%)}(hdevh]hdev}(hjM]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubj)}(h char *addrh](j)}(hcharh]hchar}(hjf]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb]ubj)}(h h]h }(hjt]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb]ubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjb]ubj%)}(haddrh]haddr}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjb]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhj\hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhj\hMbubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMbhj\hhubjS)}(hhh]jX)}(hGet the MAC for a given deviceh]hGet the MAC for a given device}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbhj]hhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhj\hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{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)}(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.chMfhj]ubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hj]h]hstruct 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.chMchj]ubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(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)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hj3^h]h char *addr}(hj5^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMehj-^ubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjL^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMdhjI^ubah}(h]h ]h"]h$]h&]uh1jhj-^ubeh}(h]h ]h"]h$]h&]uh1jhjH^hMehj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubeh}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^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 hj^hhhj^hMmubj)}(hdevice_get_ethdev_addressh]j%)}(hdevice_get_ethdev_addressh]hdevice_get_ethdev_address}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj^hMmubj)}(h/(struct device *dev, struct net_device *netdev)h](j)}(hstruct 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%)}(hdeviceh]hdevice}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj^sbc.device_get_ethdev_addressasbuh1hhj^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 net_device *netdevh](h)}(hjh]hstruct}(hj<_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8_ubj)}(h h]h }(hjI_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8_ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjZ_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\_modnameN classnameNjj!)}j$]j_c.device_get_ethdev_addressasbuh1hhj8_ubj)}(h h]h }(hjx_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8_ubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8_ubj%)}(hnetdevh]hnetdev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubeh}(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)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given 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&]uh1jRhj^hhhj^hMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{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)}(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)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hj_h]hstruct 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.chMnhj_ubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(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)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to (h](j)}(h``struct net_device *netdev``h]j)}(hj7`h]hstruct net_device *netdev}(hj9`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohj1`ubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjP`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL`hMohjM`ubah}(h]h ]h"]h$]h&]uh1jhj1`ubeh}(h]h ]h"]h$]h&]uh1jhjL`hMohj_ubeh}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj_ubjX)}(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`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj_ubeh}(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`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMAubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhj`hMAubj)}(hnetif_carrier_onh]j%)}(hnetif_carrier_onh]hnetif_carrier_on}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhj`hMAubj)}(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 }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj`sbc.netif_carrier_onasbuh1hhj`ubj)}(h h]h }(hj2ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hj@ahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hdevh]hdev}(hjMahhhNhNubah}(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`hMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhj`hMAubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMAhj`hhubjS)}(hhh]jX)}(h set carrierh]h set carrier}(hjwahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMAhjtahhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhj`hMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjhNhNubj})}(hy**Parameters** ``struct net_device *dev`` network device **Description** Device has detected acquisition of carrier.h](jX)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMEhjaubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjah]hstruct net_device *dev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMBhjaubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMBhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMBhjaubah}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMDhjaubjX)}(h+Device has detected acquisition of carrier.h]h+Device has detected acquisition of carrier.}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMDhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_off (C function)c.netif_carrier_offhNtauh1hhjhhhNhNubh)}(hhh](h)}(h/void netif_carrier_off (struct net_device *dev)h]h)}(h.void netif_carrier_off(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj8bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4bhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMTubj)}(h h]h }(hjGbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4bhhhjFbhMTubj)}(hnetif_carrier_offh]j%)}(hnetif_carrier_offh]hnetif_carrier_off}(hjYbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4bhhhjFbhMTubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjubhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqbubh)}(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')}jj[bsbc.netif_carrier_offasbuh1hhjqbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqbubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqbubj%)}(hdevh]hdev}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmbubah}(h]h ]h"]h$]h&]j<j=uh1jhj4bhhhjFbhMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0bhhhjFbhMTubah}(h]j+bah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFbhMThj-bhhubjS)}(hhh]jX)}(h clear carrierh]h clear carrier}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMThjbhhubah}(h]h ]h"]h$]h&]uh1jRhj-bhhhjFbhMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhjhNhNubj})}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss of carrier.h](jX)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMXhjcubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj9ch]hstruct net_device *dev}(hj;chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7cubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMUhj3cubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjRchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNchMUhjOcubah}(h]h ]h"]h$]h&]uh1jhj3cubeh}(h]h ]h"]h$]h&]uh1jhjNchMUhj0cubah}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**Description**h]j)}(hjtch]h Description}(hjvchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrcubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMWhjcubjX)}(h$Device has detected loss of carrier.h]h$Device has detected loss of carrier.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMWhjcubeh}(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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMeubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjchMeubj)}(hnetif_carrier_eventh]j%)}(hnetif_carrier_eventh]hnetif_carrier_event}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjchMeubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jjcsbc.netif_carrier_eventasbuh1hhjcubj)}(h h]h }(hj4dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjBdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hdevh]hdev}(hjOdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubah}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjchMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjchMeubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchMehjchhubjS)}(hhh]jX)}(hreport carrier state eventh]hreport carrier state event}(hjydhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMehjvdhhubah}(h]h ]h"]h$]h&]uh1jRhjchhhjchMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{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)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMihjdubj)}(hhh]j)}(h*``struct net_device *dev`` network device 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&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMfhjdubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMfhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMfhjdubah}(h]h ]h"]h$]h&]uh1jhjdubjX)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhhjdubjX)}(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.}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhhjdubeh}(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}(hj:ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ehhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQubj)}(h h]h }(hjHehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ehhhjGehKQubj)}(his_link_local_ether_addrh]j%)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hjZehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6ehhhjGehKQubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjvehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjreubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjreubh)}(hhh]j%)}(hu8h]hu8}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jj\esbc.is_link_local_ether_addrasbuh1hhjreubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjreubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjreubj%)}(haddrh]haddr}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjreubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjneubah}(h]h ]h"]h$]h&]j<j=uh1jhj6ehhhjGehKQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2ehhhjGehKQubah}(h]j-eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGehKQhj/ehhubjS)}(hhh]jX)}(h1Determine if given Ethernet address is link-localh]h1Determine if given Ethernet address is link-local}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQhjehhubah}(h]h ]h"]h$]h&]uh1jRhj/ehhhjGehKQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{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)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKUhjfubj)}(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:fh]hconst u8 *addr}(hjh]h*}(hjighhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(haddrh]haddr}(hjvghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubah}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjfhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhjfhKhubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhKhhjfhhubjS)}(hhh]jX)}(h0Determine if give Ethernet address is all zeros.h]h0Determine if give Ethernet address is all zeros.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhhjghhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjfhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{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)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjgubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjgh]hconst u8 *addr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKihjgubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghKihjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghKihjgubah}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h **Return**h]j)}(hjhh]hReturn}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKkhjgubjX)}(h"true if the address is all zeroes.h]h"true if the address is all zeroes.}(hj2hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKkhjgubjX)}(h**Description**h]j)}(hjChh]h Description}(hjEhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAhubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjgubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjYhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjgubeh}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjhhK{ubj)}(his_multicast_ether_addrh]j%)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjhhK{ubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(hu8h]hu8}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jjhsbc.is_multicast_ether_addrasbuh1hhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(haddrh]haddr}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhjhhK{ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhjhhK{ubah}(h]j{hah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhK{hj}hhhubjS)}(hhh]jX)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hjGihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{hjDihhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhhjhhK{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_ijxj_ijyjzj{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)}(hjiih]h Parameters}(hjkihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgiubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjciubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjih]hconst u8 *addr}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hjiubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihK|hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihK|hjiubah}(h]h ]h"]h$]h&]uh1jhjciubjX)}(h **Return**h]j)}(hjih]hReturn}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK~hjciubjX)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK~hjciubeh}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhjjhKubj)}(his_local_ether_addrh]j%)}(his_local_ether_addrh]his_local_ether_addr}(hj(jhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$jubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhjjhKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjDjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@jubj)}(h h]h }(hjQjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@jubh)}(hhh]j%)}(hu8h]hu8}(hjbjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_jubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdjmodnameN classnameNjj!)}j$]j')}jj*jsbc.is_local_ether_addrasbuh1hhj@jubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@jubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@jubj%)}(haddrh]haddr}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@jubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjh]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(haddrh]haddr}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhjkhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjkhKubah}(h]j{kah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhKhj}khhubjS)}(hhh]jX)}(h.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hjGlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjDlhhubah}(h]h ]h"]h$]h&]uh1jRhj}khhhjkhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_ljxj_ljyjzj{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)}(hjilh]h Parameters}(hjklhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjglubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjclubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjlh]hconst u8 *addr}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjlubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhKhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjlubah}(h]h ]h"]h$]h&]uh1jhjclubjX)}(h **Return**h]j)}(hjlh]hReturn}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjclubjX)}(h-true if the address is the broadcast address.h]h-true if the address is the broadcast address.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjclubjX)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjclubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjclubeh}(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}(hj/mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+mhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hj=mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+mhhhjh]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgmubj%)}(haddrh]haddr}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcmubah}(h]h ]h"]h$]h&]j<j=uh1jhj+mhhhjh]h*}(hj7ohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(haddrh]haddr}(hjDohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubah}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhKubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhKhjnhhubjS)}(hhh]jX)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(hjnohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjkohhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjnhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhjhNhNubj})}(hXB**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)}(hjoh]h Parameters}(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.hhKhjoubj)}(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.hhKhjoubj)}(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&]uh1jWhjohKhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohKhjoubah}(h]h ]h"]h$]h&]uh1jhjoubjX)}(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.hhKhjoubjX)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjoubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjoubjX)}(h **Return**h]j)}(hj ph]hReturn}(hj"phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjoubjX)}(htrue if the address is valid.h]htrue if the address is valid.}(hj6phhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjoubeh}(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}(hjephhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaphhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjsphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaphhhjrphKubj)}(heth_proto_is_802_3h]j%)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjaphhhjrphKubj)}(h(__be16 proto)h]j)}(h __be16 protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjpsbc.eth_proto_is_802_3asbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hprotoh]hproto}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubah}(h]h ]h"]h$]h&]j<j=uh1jhjaphhhjrphKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]phhhjrphKubah}(h]jXpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrphKhjZphhubjS)}(hhh]jX)}(h3Determine if a given Ethertype/length is a protocolh]h3Determine if a given Ethertype/length is a protocol}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjphhubah}(h]h ]h"]h$]h&]uh1jRhjZphhhjrphKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{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)}(hjqh]h Parameters}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjqubj)}(hhh]j)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hj=qh]h __be16 proto}(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.hhKhj7qubj)}(hhh]jX)}(h#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(hjVqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRqhKhjSqubah}(h]h ]h"]h$]h&]uh1jhj7qubeh}(h]h ]h"]h$]h&]uh1jhjRqhKhj4qubah}(h]h ]h"]h$]h&]uh1jhjqubjX)}(h**Description**h]j)}(hjxqh]h Description}(hjzqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvqubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjqubjX)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjqubjX)}(h **Return**h]j)}(hjqh]hReturn}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjqubjX)}(h2true if the valid is an 802.3 supported Ethertype.h]h2true if the valid is an 802.3 supported Ethertype.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjqubeh}(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}(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)}(heth_random_addrh]j%)}(heth_random_addrh]heth_random_addr}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjqhKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hj$rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!rubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&rmodnameN classnameNjj!)}j$]j')}jjrsbc.eth_random_addrasbuh1hhjrubj)}(h h]h }(hjDrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjRrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(haddrh]haddr}(hj_rhhhNhNubah}(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)}(h2Generate software assigned random Ethernet addressh]h2Generate software assigned random Ethernet address}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjqhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{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)}(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)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjrh]hu8 *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**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:101: ./include/linux/etherdevice.hhKhjrubjX)}(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.}(hjshhhNhNubah}(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](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}(hjJshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFshhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjYshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFshhhjXshKubj)}(heth_broadcast_addrh]j%)}(heth_broadcast_addrh]heth_broadcast_addr}(hjkshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFshhhjXshKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jjmssbc.eth_broadcast_addrasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(haddrh]haddr}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubah}(h]h ]h"]h$]h&]j<j=uh1jhjFshhhjXshKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBshhhjXshKubah}(h]j=sah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXshKhj?shhubjS)}(hhh]jX)}(hAssign broadcast addressh]hAssign broadcast address}(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?shhhjXshKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{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)}(hjth]h Parameters}(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.hhKhj tubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hj0th]hu8 *addr}(hj2thhhNhNubah}(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}(hjIthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEthKhjFtubah}(h]h ]h"]h$]h&]uh1jhj*tubeh}(h]h ]h"]h$]h&]uh1jhjEthKhj'tubah}(h]h ]h"]h$]h&]uh1jhj tubjX)}(h**Description**h]j)}(hjkth]h Description}(hjmthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjitubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj tubjX)}(h8Assign the broadcast address to the given address array.h]h8Assign the broadcast address to the given address array.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj tubeh}(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}(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)}(h eth_zero_addrh]j%)}(h eth_zero_addrh]h eth_zero_addr}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjthKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jjtsbc.eth_zero_addrasbuh1hhjtubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(haddrh]haddr}(hj+uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubah}(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)}(hAssign zero addressh]hAssign zero address}(hjUuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjRuhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmujxjmujyjzj{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)}(hjwuh]h Parameters}(hjyuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuuubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjquubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjuh]hu8 *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.hhMhjuubj)}(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&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjquubjX)}(h**Description**h]j)}(hjuh]h Description}(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.hhMhjquubjX)}(h3Assign the zero address to the given address array.h]h3Assign the zero address to the given address array.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjquubeh}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM ubj)}(h h]h }(hj%vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhj$vhM ubj)}(heth_hw_addr_randomh]j%)}(heth_hw_addr_randomh]heth_hw_addr_random}(hj7vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhj$vhM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjSvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOvubj)}(h h]h }(hj`vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOvubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjqvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsvmodnameN classnameNjj!)}j$]j')}jj9vsbc.eth_hw_addr_randomasbuh1hhjOvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOvubj%)}(hdevh]hdev}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKvubah}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhj$vhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhj$vhM ubah}(h]j vah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$vhM hj vhhubjS)}(hhh]jX)}(h>Generate software assigned random Ethernet and set device flagh]h>Generate software assigned random Ethernet and set device flag}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjvhhubah}(h]h ]h"]h$]h&]uh1jRhj vhhhj$vhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{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)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjvubj)}(hhh]j)}(h;``struct net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjwh]hstruct net_device *dev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjwubj)}(hhh]jX)}(hpointer to net_device structureh]hpointer to net_device structure}(hj0whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,whM hj-wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj,whM hjwubah}(h]h ]h"]h$]h&]uh1jhjvubjX)}(h**Description**h]j)}(hjRwh]h Description}(hjTwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPwubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjvubjX)}(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.}(hjhwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjvubeh}(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}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jeth_hw_addr_crcsbc.eth_hw_addr_crcasbuh1hhjwhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjwhMubj)}(heth_hw_addr_crch]j%)}(hjwh]heth_hw_addr_crc}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjwhMubj)}(h(struct netdev_hw_addr *ha)h]j)}(hstruct netdev_hw_addr *hah](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(hnetdev_hw_addrh]hnetdev_hw_addr}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj xmodnameN classnameNjj!)}j$]jwc.eth_hw_addr_crcasbuh1hhjwubj)}(h h]h }(hj%xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hj3xhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hhah]hha}(hj@xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubah}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjwhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjwhMubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMhjwhhubjS)}(hhh]jX)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(hjjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjgxhhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjwhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{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)}(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.hhM hjxubj)}(hhh]j)}(h:``struct netdev_hw_addr *ha`` pointer to hardware address h](j)}(h``struct netdev_hw_addr *ha``h]j)}(hjxh]hstruct netdev_hw_addr *ha}(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.hhMhjxubj)}(hhh]jX)}(hpointer to hardware addressh]hpointer to hardware address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubjX)}(h**Description**h]j)}(hjxh]h Description}(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.hhMhjxubjX)}(hACalculate CRC from a hardware address as basis for filter hashes.h]hACalculate CRC from a hardware address as basis for filter hashes.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjxubeh}(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+yhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'yhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'ubj)}(h h]h }(hj:yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'yhhhj9yhM'ubj)}(hether_addr_copyh]j%)}(hether_addr_copyh]hether_addr_copy}(hjLyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'yhhhj9yhM'ubj)}(h(u8 *dst, const u8 *src)h](j)}(hu8 *dsth](h)}(hhh]j%)}(hu8h]hu8}(hjkyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmymodnameN classnameNjj!)}j$]j')}jjNysbc.ether_addr_copyasbuh1hhjdyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdyubj%)}(hdsth]hdst}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`yubj)}(h const u8 *srch](h)}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hu8h]hu8}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]jyc.ether_addr_copyasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hj zhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hsrch]hsrc}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`yubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'yhhhj9yhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#yhhhj9yhM'ubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9yhM'hj yhhubjS)}(hhh]jX)}(hCopy an Ethernet addressh]hCopy an Ethernet address}(hj@zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'hj=zhhubah}(h]h ]h"]h$]h&]uh1jRhj yhhhj9yhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXzjxjXzjyjzj{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)}(hjbzh]h Parameters}(hjdzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`zubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hj\zubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hjzh]hu8 *dst}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(hj{zubj)}(hhh]jX)}(h8Pointer to a six-byte array Ethernet address destinationh]h8Pointer to a six-byte array Ethernet address destination}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhM(hjzubah}(h]h ]h"]h$]h&]uh1jhj{zubeh}(h]h ]h"]h$]h&]uh1jhjzhM(hjxzubj)}(hF``const u8 *src`` Pointer to a six-byte array Ethernet address source h](j)}(h``const u8 *src``h]j)}(hjzh]h const u8 *src}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM)hjzubj)}(hhh]jX)}(h3Pointer to a six-byte array Ethernet address sourceh]h3Pointer to a six-byte array Ethernet address source}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhM)hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM)hjxzubeh}(h]h ]h"]h$]h&]uh1jhj\zubjX)}(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.hhM+hj\zubjX)}(h3Please note: dst & src must both be aligned to u16.h]h3Please note: dst & src must both be aligned to u16.}(hj {hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hj\zubeh}(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*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjs{ubj%)}(hdevh]hdev}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjo{ubj)}(hconst u8 *addrh](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)}(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.eth_hw_addr_setasbuh1hhj{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%)}(haddrh]haddr}(hj@|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjo{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6{hhhjH{hM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2{hhhjH{hM=ubah}(h]j-{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjH{hM=hj/{hhubjS)}(hhh]jX)}(h'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(hjj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM=hjg|hhubah}(h]h ]h"]h$]h&]uh1jRhj/{hhhjH{hM=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)}(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.hhMAhj|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|ubj)}(h%``const u8 *addr`` address to assign 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.hhM?hj|ubj)}(hhh]jX)}(haddress to assignh]haddress to assign}(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&]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.}(hj5}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhj|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}(hjd}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`}hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIubj)}(h h]h }(hjs}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`}hhhjr}hMIubj)}(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=uh1jhj`}hhhjr}hMIubj)}(h0(struct net_device *dst, struct net_device *src)h](j)}(hstruct net_device *dsth](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_inheritasbuh1hhj}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%)}(hdsth]hdst}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(hstruct net_device *srch](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}(hj1~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3~modnameN classnameNjj!)}j$]j}c.eth_hw_addr_inheritasbuh1hhj~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%)}(hsrch]hsrc}(hjj~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`}hhhjr}hMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\}hhhjr}hMIubah}(h]jW}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjr}hMIhjY}hhubjS)}(hhh]jX)}(h%Copy dev_addr from another net_deviceh]h%Copy dev_addr from another net_device}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIhj~hhubah}(h]h ]h"]h$]h&]uh1jRhjY}hhhjr}hMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhj~ubj)}(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)}(hj~h]hstruct net_device *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.hhMJhj~ubj)}(hhh]jX)}(h)pointer to net_device to copy dev_addr toh]h)pointer to net_device to copy dev_addr to}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMJhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMJhj~ubj)}(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&]uh1jhj ubah}(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#hMKhj~ubeh}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhj~ubjX)}(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).}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhj~ubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMXubj)}(hether_addr_equalh]j%)}(hether_addr_equalh]hether_addr_equal}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMXubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_equalasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr1h]haddr1}(hj#hhhNhNubah}(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&]uh1hhj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hu8h]hu8}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]jc.ether_addr_equalasbuh1hhj8ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMXubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMXhjhhubjS)}(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.hhMXhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjՀjxjՀjyjzj{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)}(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: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)}(hj7h]hconst u8 *addr2}(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.hhMZhj1ubj)}(hhh]jX)}(hbool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2)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.hhMpubj)}(h h]h }(hjԁhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjӁhMpubj)}(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=uh1jhjhhhjӁhMpubj)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_equal_64bitsasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr1h]haddr1}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(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_64bitsasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(haddr2h]haddr2}(hj˂hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjӁhMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjӁhMpubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjӁhMphjhhubjS)}(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&]uh1jRhjhhhjӁhMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(hj6h]hconst u8 *addr1}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMqhj0ubj)}(hhh]jX)}(hPointer to an array of 8 bytesh]hPointer to an array of 8 bytes}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMqhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMqhj-ubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes h](j)}(h``const u8 *addr2``h]j)}(hjoh]hconst u8 *addr2}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMrhjiubj)}(hhh]jX)}(h$Pointer to an other array of 8 bytesh]h$Pointer to an other array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMrhj-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: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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMthjubjX)}(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 }}(hjσhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMvhjubjX)}(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.}(hjރhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMzhjubeh}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(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=uh1jhj hhhjhMubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hu8h]hu8}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj/sbc.ether_addr_equal_unalignedasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(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}(hjلhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjքubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjۄmodnameN classnameNjj!)}j$]jc.ether_addr_equal_unalignedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjAubeh}(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.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{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)}(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.hhMhjXubj)}(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}(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.hhMhjwubj)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the 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)}(hh]h*}(hj͆hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ubj%)}(haddr1h]haddr1}(hjچhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(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$]jc.ether_addr_equal_maskedasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr2h]haddr2}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hconst u8 *maskh](h)}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.ether_addr_equal_maskedasbuh1hhj_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%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjRhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjRhMubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMhj: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:hhhjRhMubeh}(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.hhMhjubj)}(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}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(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.hhMhjXubj)}(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}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(hW``const u8 *mask`` Pointer to a six-byte array containing the Ethernet address bitmask h](j)}(h``const u8 *mask``h]j)}(hjh]hconst u8 *mask}(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)}(hCPointer to a six-byte array containing the Ethernet address bitmaskh]hCPointer to a six-byte array containing the Ethernet address bitmask}(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&]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 }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj;hMubj)}(hether_addr_to_u64h]j%)}(hj8h]hether_addr_to_u64}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj;hMubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j6c.ether_addr_to_u64asbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubah}(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-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&]uh1jRhj hhhj;hMubeh}(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)}(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: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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(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: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}(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)}(hu64_to_ether_addrh]j%)}(hu64_to_ether_addrh]hu64_to_ether_addr}(hj̊hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȊubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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')}jjΊsbc.u64_to_ether_addrasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jc.u64_to_ether_addrasbuh1hhj.ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(haddrh]haddr}(hjnhhhNhNubah}(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%Convert a u64 to an Ethernet address.h]h%Convert a u64 to an Ethernet 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&]jvjqjwjjxjjyjzj{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)}(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)}(h4``u64 u`` u64 to convert to an Ethernet MAC address h](j)}(h ``u64 u``h]j)}(hjًh]hu64 u}(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)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&]uh1jhjӋubeh}(h]h ]h"]h$]h&]uh1jhjhMhjЋubj)}(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.hhMhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjЋubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjzhMubj)}(h eth_addr_dech]j%)}(h eth_addr_dech]h eth_addr_dec}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjzhMubj)}(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')}jjsbc.eth_addr_decasbuh1hhjubj)}(h h]h }(hǰ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=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)}(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&]uh1jRhjahhhjzhMubeh}(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)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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)}(hjRh]hu8 *addr}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjLubj)}(hhh]jX)}(hDPointer to a six-byte array containing Ethernet address to decrementh]hDPointer to a six-byte array containing Ethernet address to decrement}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIubah}(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}(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_inch]j%)}(h eth_addr_inch]h eth_addr_inc}(hj͍hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjɍubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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')}jjύsbc.eth_addr_incasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h Increment the given MAC address.h]h Increment the given MAC address.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjhNhNubj})}(hd**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.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:101: ./include/linux/etherdevice.hhMhjmubj)}(hhh]j)}(hR``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.}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(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 }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(haddrh]haddr}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(h long offseth](j)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(hoffseth]hoffset}(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]jߎah ](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.}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjޏjxjޏjyjzj{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}(hj hhhNhNubah}(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&]uh1jWhjhMhjubah}(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)}(hj@h]h long offset}(hjBhhhNhNubah}(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)}(hOffset to add.h]hOffset to add.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(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}(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)}(his_etherdev_addrh]j%)}(his_etherdev_addrh]his_etherdev_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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&]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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.is_etherdev_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%)}(hdevh]hdev}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjҐubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjΐubj)}(hconst u8 addr[6 + 2]h](h)}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j+c.is_etherdev_addrasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubj;)}(h[h]h[}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubhdesc_sig_literal_number)}(h6h]h6}(hjˑhhhNhNubah}(h]h ]mah"]h$]h&]uh1jɑhj_ubj)}(h h]h }(hjڑhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubhdesc_sig_operator)}(h+h]h+}(hjhhhNhNubah}(h]h ]oah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubjʑ)}(h2h]h2}(hjhhhNhNubah}(h]h ]j֑ah"]h$]h&]uh1jɑhj_ubj;)}(h]h]h]}(hjhhhNhNubah}(h]h ]jGah"]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)}(h5Tell if given Ethernet address belongs to the device.h]h5Tell if given Ethernet address belongs to the device.}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{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)}(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:101: ./include/linux/etherdevice.hhMhj[ubj)}(hhh](j)}(h?``const struct net_device *dev`` Pointer to a device structure h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(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.hhMhjzubj)}(hhh]jX)}(hPointer to a device structureh]hPointer to a device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(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)}(hjh]hconst u8 addr[6 + 2]}(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 Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj[ubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj[ubjX)}(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.hhMhj[ubeh}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhM-ubj)}(hlongh]hlong}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhjVhM-ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhM-ubj)}(hcompare_ether_headerh]j%)}(hcompare_ether_headerh]hcompare_ether_header}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjVhM-ubj)}(h(const void *a, const void *b)h](j)}(h const void *ah](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%)}(hjDh]ha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const void *bh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(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*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjVh]hb}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(hCompare two Ethernet headersh]hCompare two Ethernet headers}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-hjghhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhjVhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.hhM1hjubj)}(hhh](j)}(h-``const void *a`` Pointer to Ethernet header h](j)}(h``const void *a``h]j)}(hjh]h const void *a}(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}(hjĔhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(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/hjޔubj)}(hhh]jX)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(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:101: ./include/linux/etherdevice.hhM1hjubjX)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hjubeh}(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}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMRubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjrhMRubj)}(heth_hw_addr_genh]j%)}(heth_hw_addr_genh]heth_hw_addr_gen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhjrhMRubj)}(h>(struct net_device *dev, const u8 *base_addr, unsigned int id)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.eth_hw_addr_genasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]jەc.eth_hw_addr_genasbuh1hhjubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h base_addrh]h base_addr}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int idh](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%)}(hidh]hid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhjrhMRubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhjrhMRubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMRhjYhhubjS)}(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&]uh1jRhjYhhhjrhMRubeh}(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}(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.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}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMShj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMShjubj)}(h.``const u8 *base_addr`` base Ethernet address h](j)}(h``const u8 *base_addr``h]j)}(hj_h]hconst u8 *base_addr}(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.hhMThjYubj)}(hhh]jX)}(hbase Ethernet addressh]hbase Ethernet address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMThjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMThjubj)}(h6``unsigned int id`` offset to add to the base address h](j)}(h``unsigned int id``h]j)}(hjh]hunsigned int id}(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.hhMUhjubj)}(hhh]jX)}(h!offset to add to the base addressh]h!offset to add to the base address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubeh}(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: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.hhMWhjubeh}(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}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jj;sbc.eth_skb_pkt_typeasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(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}(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$]jc.eth_skb_pkt_typeasbuh1hhjØ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}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjØubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj&hMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj&hMgubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hMghj hhubjS)}(hhh]jX)}(h8Assign packet type if destination address does not matchh]h8Assign packet type if destination address does not match}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMghj`hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj&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)}(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.hhMkhjubj)}(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)}(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.hhMhhjubj)}(hhh]jX)}(h@Assigned a packet type if address does not match **dev** addressh](h1Assigned a packet type if address does not match }(hjhhhNhNubj)}(h**dev**h]hdev}(hjřhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubj)}(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&]uh1jhjhMihjubeh}(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:101: ./include/linux/etherdevice.hhMkhjubjX)}(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.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMkhjubeh}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj}hMubj)}(h eth_skb_padh]j%)}(h eth_skb_padh]h eth_skb_pad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhj}hMubj)}(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}(hjʚhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjǚubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj̚modnameN classnameNjj!)}j$]j')}jjsb c.eth_skb_padasbuh1hhjubj)}(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=uh1jhjkhhhj}hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhj}hMubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hMhjdhhubjS)}(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&]uh1jRhjdhhhj}hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{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)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjKubj)}(hhh]j)}(h&``struct sk_buff *skb`` Buffer to pad 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&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjjubj)}(hhh]jX)}(h Buffer to padh]h Buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubah}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjKubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjKubeh}(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$hj ubah}(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}(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&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjJjxjJjyjzj{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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh:}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjNubjU)}(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; };}hjosbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjNubjX)}(h **Members**h]j)}(hjh]hMembers}(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.hhMkhjNubj)}(hhh](j)}(h9``bitmask`` bitmask to indicate used buckets in **hash** h](j)}(h ``bitmask``h]j)}(hjh]hbitmask}(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,bitmask to indicate used buckets in **hash**h](h$bitmask to indicate used buckets in }(hjhhhNhNubj)}(h**hash**h]hhash}(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)}(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`hjubj)}(h0``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hjh]hrx_list}(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.hhMahjubj)}(hhh]jX)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hj8hhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh skbs}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hMahj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMahjubj)}(h2``rx_count`` cached current length of **rx_list** h](j)}(h ``rx_count``h]j)}(hjjh]hrx_count}(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.hhMbhjdubj)}(hhh]jX)}(h$cached current length of **rx_list**h](hcached current length of }(hjhhhNhNubj)}(h **rx_list**h]hrx_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(hL``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](j)}(h``cached_napi_id``h]j)}(hjh]hcached_napi_id}(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)}(h9napi_struct::napi_id cached for hotpath, 0 for standaloneh]h9napi_struct::napi_id cached for hotpath, 0 for standalone}(hjʝhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjǝubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƝhMbhjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(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}(hj hhhNhNubah}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jj-sbc.napi_is_scheduledasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(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)}(htest if NAPI is scheduledh]htest if NAPI is scheduled}(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&]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)}(hj h]hstruct napi_struct *n}(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)}(h NAPI contexth]h NAPI context}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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.}(hj[hhhNhNubah}(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.}(hjjhhhNhNubah}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(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:104: ./include/linux/netdevice.hhMhjubjX)}(h+True if NAPI is scheduled, False otherwise.h]h+True if NAPI is scheduled, False otherwise.}(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](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}(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 napi_scheduleh]j%)}(h napi_scheduleh]h napi_schedule}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj˟hhhjܟhMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](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 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 }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(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]jŸah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjܟhMhjğhhubjS)}(hhh]jX)}(hschedule NAPI pollh]hschedule NAPI poll}(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})}(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)}(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)}(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.hhM hjȠubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(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)}(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:104: ./include/linux/netdevice.hhM"hjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjubjX)}(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:104: ./include/linux/netdevice.hhM%hjubjX)}(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.}(hjFhhhNhNubah}(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_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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjhM3ubj)}(hnapi_schedule_irqoffh]j%)}(hnapi_schedule_irqoffh]hnapi_schedule_irqoff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqhhhjhM3ubj)}(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_schedule_irqoffasbuh1hhjubj)}(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=uh1jhjqhhhjhM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjhM3ubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM3hjjhhubjS)}(hhh]jX)}(hschedule NAPI pollh]hschedule NAPI poll}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hj1hhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjhM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjPubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjuh]hstruct napi_struct *n}(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.hhM4hjoubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjlubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjPubjX)}(h:Variant of napi_schedule(), assuming hard irqs are masked.h]h:Variant of napi_schedule(), assuming hard irqs are masked.}(hjƢhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjPubeh}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjsbc.napi_complete_doneasbuh1hhj-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%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(h int work_doneh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h work_doneh]h work_done}(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)}(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)}(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.hhMChjubj)}(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.hhM@hj#ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjBhhhNhNubah}(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 work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hjbh]h int work_done}(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.hhMAhj\ubj)}(hhh]jX)}(hnumber of packets processedh]hnumber of packets processed}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMAhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMAhj 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.hhMChjubjX)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjubjX)}(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.hhMGhjubjX)}(h1false if device should avoid rearming interrupts.h]h1false if device should avoid rearming interrupts.}(hjڤhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhjubeh}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMXubj)}(hnapi_synchronizeh]j%)}(hnapi_synchronizeh]hnapi_synchronize}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMXubj)}(h(const struct napi_struct *n)h]j)}(hconst struct napi_struct *nh](h)}(hjh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj,sbc.napi_synchronizeasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMXubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMXhjhhubjS)}(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.hhMXhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMXubeh}(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.hhMYhjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMYhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMYhjubah}(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: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.}(hjuhhhNhNubah}(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}(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)}(hnapi_if_scheduled_mark_missedh]j%)}(hnapi_if_scheduled_mark_missedh]hnapi_if_scheduled_mark_missed}(hjĦhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMiubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](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 napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjƦsbc.napi_if_scheduled_mark_missedasbuh1hhjܦ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}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܦubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjئubah}(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.if napi is running, set the NAPIF_STATE_MISSEDh]h.if napi is running, set the NAPIF_STATE_MISSED}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihj_hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{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)}(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.hhMmhj~ubj)}(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.hhMkhjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(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:104: ./include/linux/netdevice.hhMmhj~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.hhMmhj~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&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMsubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hMsubj)}(hnetdev_priv_flagsh]j%)}(hjh]hnetdev_priv_flags}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj0hMsubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMshjhhubjS)}(hhh]jX)}(h3:c:type:`struct net_device ` priv_flagsh](h)}(h(:c:type:`struct net_device `h]j)}(hjkh]hstruct net_device}(hjmhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j')}jjsbc.netdev_priv_flagsasbj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhjeubh priv_flags}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~hjbhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj0hMsubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Constants}(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'``IFF_802_1Q_VLAN`` 802.1Q VLAN device h](j)}(h``IFF_802_1Q_VLAN``h]j)}(hjͨh]hIFF_802_1Q_VLAN}(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)}(h802.1Q VLAN deviceh]h802.1Q VLAN device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjǨubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h(``IFF_BONDING`` bonding master or slave h](j)}(h``IFF_BONDING``h]j)}(hj?h]h IFF_BONDING}(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)}(hbonding master or slaveh]hbonding master or slave}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjĨubj)}(h*``IFF_ISATAP`` ISATAP interface (RFC4214) h](j)}(h``IFF_ISATAP``h]j)}(hjxh]h IFF_ISATAP}(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)}(hISATAP interface (RFC4214)h]hISATAP interface (RFC4214)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h!``IFF_WAN_HDLC`` WAN HDLC device h](j)}(h``IFF_WAN_HDLC``h]j)}(hjh]h IFF_WAN_HDLC}(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)}(hWAN HDLC deviceh]hWAN HDLC 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)}(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&]uh1jhjhMhjĨubj)}(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&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h disallow bridging this ether devh]h disallow bridging this ether dev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjĨubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hj]h]hIFF_DISABLE_NETPOLL}(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)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjĨubj)}(h1``IFF_MACVLAN_PORT`` device used as macvlan port h](j)}(h``IFF_MACVLAN_PORT``h]j)}(hjh]hIFF_MACVLAN_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.hhMhjubj)}(hhh]jX)}(hdevice used as macvlan porth]hdevice used as macvlan port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h/``IFF_BRIDGE_PORT`` device used as bridge port h](j)}(h``IFF_BRIDGE_PORT``h]j)}(hjϪh]hIFF_BRIDGE_PORT}(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)}(hdevice used as bridge porth]hdevice used as bridge port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɪubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h?``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port h](j)}(h``IFF_OVS_DATAPATH``h]j)}(hjh]hIFF_OVS_DATAPATH}(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)}(h)device used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(hG``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit h](j)}(h``IFF_TX_SKB_SHARING``h]j)}(hjAh]hIFF_TX_SKB_SHARING}(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)}(h/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjĨubj)}(h/``IFF_UNICAST_FLT`` Supports unicast filtering h](j)}(h``IFF_UNICAST_FLT``h]j)}(hjzh]hIFF_UNICAST_FLT}(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)}(hSupports unicast filteringh]hSupports unicast filtering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h+``IFF_TEAM_PORT`` device used as team port h](j)}(h``IFF_TEAM_PORT``h]j)}(hjh]h IFF_TEAM_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.hhMhjubj)}(hhh]jX)}(hdevice used as team porth]hdevice used as team port}(hj̫hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjȫhMhjɫubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȫhMhjĨubj)}(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&]uh1jhjhMhjĨubj)}(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.hhMhjubj)}(hhh]jX)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(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:hMhjĨubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hj_h]h IFF_MACVLAN}(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.hhMhjYubj)}(hhh]jX)}(hMacvlan deviceh]hMacvlan device}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjĨubj)}(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)}(hjh]hIFF_XMIT_DST_RELEASE_PERM}(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)}(hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devicesh]hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devices}(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&]uh1jhjhMhjĨubj)}(h4``IFF_L3MDEV_MASTER`` device is an L3 master device h](j)}(h``IFF_L3MDEV_MASTER``h]j)}(hjҬh]hIFF_L3MDEV_MASTER}(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)}(hdevice is an L3 master deviceh]hdevice is an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj̬ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h7``IFF_NO_QUEUE`` device can run without qdisc attached h](j)}(h``IFF_NO_QUEUE``h]j)}(hj h]h IFF_NO_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.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 hMhjĨubj)}(h4``IFF_OPENVSWITCH`` device is a Open vSwitch master h](j)}(h``IFF_OPENVSWITCH``h]j)}(hjDh]hIFF_OPENVSWITCH}(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)}(hdevice is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjĨubj)}(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}(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)device is enslaved to an L3 master deviceh]h)device is enslaved to an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h%``IFF_TEAM`` device is a team device h](j)}(h ``IFF_TEAM``h]j)}(hjh]hIFF_TEAM}(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 team deviceh]hdevice is a team 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)}(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&]uh1jhjhMhjĨubj)}(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)}(hjAhhhNhNubah}(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&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjĨubj)}(h)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hjbh]h IFF_MACSEC}(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)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjĨubj)}(hA``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook h](j)}(h``IFF_NO_RX_HANDLER``h]j)}(hjh]hIFF_NO_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*device doesn't support the rx_handler hookh]h,device doesn’t support the rx_handler hook}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(h4``IFF_FAILOVER`` device is a failover master device h](j)}(h``IFF_FAILOVER``h]j)}(hjԮh]h IFF_FAILOVER}(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"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&]uh1jhjήubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(hG``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device h](j)}(h``IFF_FAILOVER_SLAVE``h]j)}(hj h]hIFF_FAILOVER_SLAVE}(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.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"hMhjĨubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hjFh]hIFF_L3MDEV_RX_HANDLER}(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.hhMhj@ubj)}(hhh]jX)}(h.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master 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)}(h*``IFF_NO_ADDRCONF`` prevent ipv6 addrconf h](j)}(h``IFF_NO_ADDRCONF``h]j)}(hjh]hIFF_NO_ADDRCONF}(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.hhMhjyubj)}(hhh]jX)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĨubj)}(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)}(hjh]hIFF_TX_SKB_NO_LINEAR}(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/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)}(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&]uh1jhjubeh}(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&]uh1jWhj7hMhjhhubjX)}(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.}(hjBhhhNhNubah}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjwhMubj)}(h net_deviceh]j%)}(hjdh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjwhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjwhMubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMhj_hhubjS)}(hhh]jX)}(hThe DEVICE structure.h]hThe DEVICE structure.}(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_hhhjwhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjİjxjİjyjzj{uh1hhhhjhNhNubj})}(hXRd**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; 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[4]; 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 threaded; 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 interface address info: ``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. ``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. ``threaded`` napi threaded mode is enabled ``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. FIXME: cleanup struct net_device such that network protocol info moves out. ``priv`` Flexible array containing private datah](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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjȰubjU)}(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; 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[4]; 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 threaded; 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; 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[4]; 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 threaded; 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.hhMhjȰubjX)}(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.hhMhjȰubj)}(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}(hj2hhhNhNubah}(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)}(hjSh]hlltx}(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.hhMhjMubj)}(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}(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&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubj)}(h(``netmem_tx`` device support netmem_tx. h](j)}(h ``netmem_tx``h]j)}(hjh]h netmem_tx}(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 support netmem_tx.h]hdevice support netmem_tx.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions h](j)}(h``netdev_ops``h]j)}(hjƱh]h netdev_ops}(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)}(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}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۱hM)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.hhM3hjubj)}(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.hhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hj:h]h_tx}(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)}(hArray of TX queuesh]hArray of TX queues}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h5``gso_partial_features`` value(s) from NETIF_F_GSO\* h](j)}(h``gso_partial_features``h]j)}(hjsh]hgso_partial_features}(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.hhMhjmubj)}(hhh]jX)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``real_num_tx_queues`` Number of TX queues currently active in device h](j)}(h``real_num_tx_queues``h]j)}(hjh]hreal_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)}(h.Number of TX queues currently active in deviceh]h.Number of TX queues currently active in device}(hjŲhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj²ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhj߲ubj)}(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&]uh1jhj߲ubeh}(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)}(hjh]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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(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)}(hjXh]h gso_max_segs}(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)}(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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h7``num_tc`` Number of traffic classes in the net device h](j)}(h ``num_tc``h]j)}(hjh]hnum_tc}(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 traffic classes in the net deviceh]h+Number of traffic classes in the net device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``mtu`` Interface MTU value h](j)}(h``mtu``h]j)}(hj˳h]hmtu}(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)}(hInterface MTU valueh]hInterface MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjųubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(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.hhMFhjubj)}(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}(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&]uh1jhjhMFhjubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hj>h]h tc_to_txq}(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.hhMhj8ubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h,``xps_maps`` XXX: need comments on this one h](j)}(h ``xps_maps``h]j)}(hjwh]hxps_maps}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``nf_hooks_egress`` netfilter hooks executed for egress packets h](j)}(h``nf_hooks_egress``h]j)}(hjh]hnf_hooks_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)}(h+netfilter hooks executed for egress packetsh]h+netfilter hooks executed for egress packets}(hjɴhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjŴhMhjƴubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŴhMhjubj)}(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}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjubj)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hj[h]hlstats}(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)}(h#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(h9``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes h](j)}(h ``tstats``h]j)}(hjh]htstats}(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-Tunnel statistics: RX/TX packets, RX/TX bytesh]h-Tunnel statistics: RX/TX packets, RX/TX bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes h](j)}(h ``dstats``h]j)}(hj͵h]hdstats}(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)}(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&]uh1jhjǵubeh}(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}(hjhhhNhNubah}(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)}(hj?h]hflags}(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.hhM5hj9ubj)}(hhh]jX)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM5hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM5hjubj)}(h4``hard_header_len`` Maximum hardware header length. h](j)}(h``hard_header_len``h]j)}(hjxh]hhard_header_len}(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.hhMBhjrubj)}(hhh]jX)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h.``features`` Currently active device features h](j)}(h ``features``h]j)}(hjh]hfeatures}(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 Currently active device featuresh]h Currently active device features}(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``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.hhMkhjubj)}(hhh]jX)}(hIPv6 specific datah]hIPv6 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(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.hhMzhjubj)}(hhh]jX)}(h"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMzhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMzhjubj)}(hF``ptype_specific`` Device-specific, protocol-specific packet handlers h](j)}(h``ptype_specific``h]j)}(hj\h]hptype_specific}(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.hhMhjVubj)}(hhh]jX)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(h``ifindex`` interface index h](j)}(h ``ifindex``h]j)}(hjh]hifindex}(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)}(hinterface indexh]hinterface index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``real_num_rx_queues`` Number of RX queues currently active in device h](j)}(h``real_num_rx_queues``h]j)}(hjηh]hreal_num_rx_queues}(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.Number of RX queues currently active in deviceh]h.Number of RX queues currently active in device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjȷubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubj)}(h``_rx`` Array of RX queues h](j)}(h``_rx``h]j)}(hjh]h_rx}(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.hhMvhjubj)}(hhh]jX)}(hArray of RX queuesh]hArray of RX queues}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(hT``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) h](j)}(h``gro_max_size``h]j)}(hj@h]h gro_max_size}(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)}(hBMaximum size of aggregated packet in generic receive offload (GRO)h]hBMaximum size of aggregated packet in generic receive offload (GRO)}(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&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(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)}(hjzh]hgro_ipv4_max_size}(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)}(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.}(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&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``rx_handler`` handler for received packets h](j)}(h``rx_handler``h]j)}(hjh]h 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.hhM|hjubj)}(hhh]jX)}(hhandler for received packetsh]hhandler for received packets}(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)}(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.hhM}hjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubj)}(hQ``nd_net`` Network namespace this network device is inside protected by **lock** h](j)}(h ``nd_net``h]j)}(hj&h]hnd_net}(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)}(hENetwork namespace this network device is inside protected by **lock**h](h=Network namespace this network device is inside protected by }(hj?hhhNhNubj)}(h**lock**h]hlock}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(h*``npinfo`` XXX: need comments on this one h](j)}(h ``npinfo``h]j)}(hjnh]hnpinfo}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing h](j)}(h``tcx_ingress``h]j)}(hjh]h tcx_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.hhM~hjubj)}(hhh]jX)}(h7BPF & clsact qdisc specific data for ingress processingh]h7BPF & clsact qdisc specific data for ingress processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubj)}(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&]uh1jhj޹ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjڹubj)}(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&]uh1jhjڹubeh}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h``ifalias`` SNMP alias h](j)}(h ``ifalias``h]j)}(hjSh]hifalias}(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.hhMhjMubj)}(hhh]jX)}(h SNMP aliash]h SNMP alias}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubj)}(h``mem_end`` Shared memory end h](j)}(h ``mem_end``h]j)}(hjh]hmem_end}(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)}(hShared memory endh]hShared memory end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``mem_start`` Shared memory start h](j)}(h ``mem_start``h]j)}(hjźh]h mem_start}(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)}(hShared memory starth]hShared memory start}(hj޺hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjںhMhjۺubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjںhMhjubj)}(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)}(hj7h]hdev_list}(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"The global list of network devicesh]h"The global list of network devices}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(h7``napi_list`` List entry used for polling NAPI devices h](j)}(h ``napi_list``h]j)}(hjph]h napi_list}(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.hhMhjjubj)}(hhh]jX)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hd``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev h](j)}(h``unreg_list``h]j)}(hjh]h unreg_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)}(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}(hj»hhhNhNubah}(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>``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.hhMhjݻubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݻubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jX)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hjUh]hadj_list}(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)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjubj)}(h8``xdp_features`` XDP capability supported by the device h](j)}(h``xdp_features``h]j)}(hjh]h xdp_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.hhM6hjubj)}(hhh]jX)}(h&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(hB``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. h](j)}(h``xdp_metadata_ops``h]j)}(hjǼh]hxdp_metadata_ops}(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,Includes pointers to XDP metadata callbacks.h]h,Includes pointers to XDP metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjܼhM*hjݼubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܼhM*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)}(hj9h]hgflags}(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.hhM7hj3ubj)}(hhh]jX)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM7hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM7hjubj)}(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 interface address info: h](j)}(h``needed_tailroom``h]j)}(hjrh]hneeded_tailroom}(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.hhMKhjlubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjubjX)}(hinterface address info:h]hinterface address info:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubeh}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(h)``hw_features`` User-changeable features h](j)}(h``hw_features``h]j)}(hjh]h hw_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.hhM hjubj)}(hhh]jX)}(hUser-changeable featuresh]hUser-changeable features}(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,``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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(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)}(hj,h]h vlan_features}(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,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(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)}(hjeh]hhw_enc_features}(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.hhMhj_ubj)}(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.}(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&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubj)}(h7``mpls_features`` Mask of features inheritable by MPLS h](j)}(h``mpls_features``h]j)}(hjh]h mpls_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 MPLSh]h$Mask of features inheritable by MPLS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``min_mtu`` Interface Minimum MTU value h](j)}(h ``min_mtu``h]j)}(hjؾh]hmin_mtu}(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)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjҾubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(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.hhM@hj ubj)}(hhh]jX)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(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!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjJh]htype}(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.hhMAhjDubj)}(hhh]jX)}(hInterface hardware typeh]hInterface hardware type}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMAhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMAhjubj)}(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.hhMChj}ubj)}(hhh]jX)}(hMinimum hardware header lengthh]hMinimum hardware header length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h<``name_assign_type`` network interface name assignment type h](j)}(h``name_assign_type``h]j)}(hjh]hname_assign_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.hhMXhjubj)}(hhh]jX)}(h&network interface name assignment typeh]h&network interface name assignment type}(hjտhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjѿhMXhjҿubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѿhMXhjubj)}(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&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hj.h]hstats}(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)}(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}(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&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(hD``core_stats`` core networking counters, do not use this in drivers h](j)}(h``core_stats``h]j)}(hjhh]h core_stats}(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)}(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.hhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM hjubj)}(h=``carrier_up_count`` Number of times the carrier has been up h](j)}(h``carrier_up_count``h]j)}(hjh]hcarrier_up_count}(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'Number of times the carrier has been uph]h'Number of times the carrier has been up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(hA``carrier_down_count`` Number of times the carrier has been down h](j)}(h``carrier_down_count``h]j)}(hjh]hcarrier_down_count}(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)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&]uh1jhjubeh}(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.}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM&hjubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hjNh]h ethtool_ops}(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)}(hManagement operationsh]hManagement operations}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM,hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM,hjubj)}(h0``l3mdev_ops`` Layer 3 master device operations h](j)}(h``l3mdev_ops``h]j)}(hjh]h l3mdev_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)}(h Layer 3 master device operationsh]h Layer 3 master device operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(hn``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. h](j)}(h ``ndisc_ops``h]j)}(hjh]h ndisc_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)}(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.}(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)}(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.hhM0hjubj)}(hhh]jX)}(h!Transformation offload operationsh]h!Transformation offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hj3h]h tlsdev_ops}(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.hhM1hj-ubj)}(hhh]jX)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM1hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM1hjubj)}(h ``operstate`` RFC2863 operstate h](j)}(h ``operstate``h]j)}(hjlh]h operstate}(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)}(hRFC2863 operstateh]hRFC2863 operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h*``link_mode`` Mapping policy to operstate h](j)}(h ``link_mode``h]j)}(hjh]h link_mode}(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)}(hMapping policy to operstateh]hMapping policy to operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(h$``if_port`` Selectable AUI, TP, ... h](j)}(h ``if_port``h]j)}(hjh]hif_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.hhM<hjubj)}(hhh]jX)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM=hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM=hjubj)}(h#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hjPh]h perm_addr}(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.hhMMhjJubj)}(hhh]jX)}(hPermanent hw addressh]hPermanent hw address}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMMhjubj)}(h0``addr_assign_type`` Hw address assignment type h](j)}(h``addr_assign_type``h]j)}(hjh]haddr_assign_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.hhMNhjubj)}(hhh]jX)}(hHw address assignment typeh]hHw address assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h%``addr_len`` Hardware address length h](j)}(h ``addr_len``h]j)}(hjh]haddr_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.hhMOhjubj)}(hhh]jX)}(hHardware address lengthh]hHardware address length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(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.hhMPhjubj)}(hhh]jX)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hj4h]h lower_level}(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.hhMQhj.ubj)}(hhh]jX)}(h%Maximum depth level of lower devices.h]h%Maximum depth level of lower devices.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMQhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMQhjubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hjmh]hneigh_priv_len}(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.hhMRhjgubj)}(hhh]jX)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(hP``dev_id`` Used to differentiate devices that share the same link layer address h](j)}(h ``dev_id``h]j)}(hjh]hdev_id}(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)}(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.hhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(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.hhMVhjubj)}(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.hhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubj)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h/``priv_len`` Size of the ->priv flexible array h](j)}(h ``priv_len``h]j)}(hjSh]hpriv_len}(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.hhM8hjMubj)}(hhh]jX)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM8hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM8hjubj)}(h2``addr_list_lock`` XXX: need comments on this one h](j)}(h``addr_list_lock``h]j)}(hjh]haddr_list_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.hhMWhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(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.hhM]hjubj)}(hhh]jX)}(hunicast mac addressesh]hunicast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(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.hhM^hjubj)}(hhh]jX)}(hmulticast mac addressesh]hmulticast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(h*``dev_addrs`` list of device hw addresses h](j)}(h ``dev_addrs``h]j)}(hj7h]h dev_addrs}(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.hhM_hj1ubj)}(hhh]jX)}(hlist of device hw addressesh]hlist of device hw addresses}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhM_hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM_hjubj)}(h>``queues_kset`` Group of all Kobjects in the Tx and RX queues h](j)}(h``queues_kset``h]j)}(hjph]h queues_kset}(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.hhM`hjjubj)}(hhh]jX)}(h-Group of all Kobjects in the Tx and RX queuesh]h-Group of all Kobjects in the Tx and RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjubj)}(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)}(hjh]h unlink_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)}(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&]uh1jhjubeh}(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.hhMchjubj)}(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.hhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(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.hhMdhjubj)}(hhh]jX)}(h.Counter, enables or disables allmulticast modeh]h.Counter, enables or disables allmulticast mode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMdhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMdhjubj)}(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)}(hjVh]h uc_promisc}(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)}(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()}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM\hjubj)}(hS``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. h](j)}(h``nested_level``h]j)}(hjh]h nested_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.hhMhjubj)}(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.}(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``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.hhMjhjubj)}(hhh]jX)}(hIPv4 specific datah]hIPv4 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(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.hhM$hjubj)}(hhh]jX)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(h``vlan_info`` VLAN info h](j)}(h ``vlan_info``h]j)}(hj<h]h vlan_info}(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.hhMfhj6ubj)}(hhh]jX)}(h VLAN infoh]h VLAN info}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMfhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMfhjubj)}(h``dsa_ptr`` dsa specific data h](j)}(h ``dsa_ptr``h]j)}(hjuh]hdsa_ptr}(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.hhMghjoubj)}(hhh]jX)}(hdsa specific datah]hdsa specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h ``tipc_ptr`` TIPC specific data h](j)}(h ``tipc_ptr``h]j)}(hjh]htipc_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.hhMhhjubj)}(hhh]jX)}(hTIPC specific datah]hTIPC specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubj)}(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.hhMihjubj)}(hhh]jX)}(hAppleTalk linkh]hAppleTalk link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(h!``ax25_ptr`` AX.25 specific data h](j)}(h ``ax25_ptr``h]j)}(hj h]hax25_ptr}(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.hhMlhjubj)}(hhh]jX)}(hAX.25 specific datah]hAX.25 specific data}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMlhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMlhjubj)}(hG``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering h](j)}(h``ieee80211_ptr``h]j)}(hjYh]h ieee80211_ptr}(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.hhMmhjSubj)}(hhh]jX)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMmhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMmhjubj)}(hW``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct h](j)}(h``ieee802154_ptr``h]j)}(hjh]hieee802154_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)}(hCIEEE 802.15.4 low-rate Wireless Personal Area Network device structh]hCIEEE 802.15.4 low-rate Wireless Personal Area Network device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(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.hhMphjubj)}(hhh]jX)}(hmpls_dev struct pointerh]hmpls_dev struct pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(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.hhMqhjubj)}(hhh]jX)}(hMCTP specific datah]hMCTP specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(hI``dev_addr`` Hw address (before bcast, because most packets are unicast) h](j)}(h ``dev_addr``h]j)}(hj>h]hdev_addr}(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.hhMthj8ubj)}(hhh]jX)}(h;Hw address (before bcast, because most packets are unicast)h]h;Hw address (before bcast, because most packets are unicast)}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMthjubj)}(hJ``num_rx_queues`` Number of RX queues allocated at register_netdev() time h](j)}(h``num_rx_queues``h]j)}(hjxh]h num_rx_queues}(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.hhMxhjrubj)}(hhh]jX)}(h7Number of RX queues allocated at register_netdev() timeh]h7Number of RX queues allocated at register_netdev() time}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(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.hhMhjubj)}(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&]uh1jhjubeh}(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)}(hj%h]hnf_hooks_ingress}(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,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hj>hhhNhNubah}(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}(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.hhMhjXubj)}(hhh]jX)}(hhw bcast addressh]hhw bcast address}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(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)}(hjh]h rx_cpu_rmap}(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)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj h]h num_tx_queues}(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)}(h7Number of TX queues allocated at alloc_netdev_mq() timeh]h7Number of TX queues allocated at alloc_netdev_mq() time}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(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)}(hjCh]hqdisc}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(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&]uh1jWhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubj)}(h.``tx_queue_len`` Max frames per queue allowed h](j)}(h``tx_queue_len``h]j)}(hj|h]h tx_queue_len}(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.hhMhjvubj)}(hhh]jX)}(hMax frames per queue allowedh]hMax frames per queue allowed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj'h]h qdisc_hash}(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)}(hqdisc hash tableh]hqdisc hash table}(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"``watchdog_timer`` List of timers h](j)}(h``watchdog_timer``h]j)}(hj`h]hwatchdog_timer}(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)}(hList of timersh]hList of timers}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(h\``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) h](j)}(h``watchdog_timeo``h]j)}(hjh]hwatchdog_timeo}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj h]h todo_list}(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.hhMhjubj)}(hhh]jX)}(hDelayed register/unregisterh]hDelayed register/unregister}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjEh]h pcpu_refcnt}(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.hhMhj?ubj)}(hhh]jX)}(h#Number of references to this deviceh]h#Number of references to this device}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(h3``dev_refcnt`` Number of references to this device h](j)}(h``dev_refcnt``h]j)}(hj~h]h dev_refcnt}(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.hhMhjxubj)}(hhh]jX)}(h#Number of references to this deviceh]h#Number of references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hj hhhNhNubah}(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)}(hj)h]h reg_state}(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!Register/unregister state machineh]h!Register/unregister state machine}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(h*``dismantle`` Device is going to be freed h](j)}(h ``dismantle``h]j)}(hjbh]h dismantle}(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)}(hDevice is going to be freedh]hDevice is going to be freed}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubj)}(h>``moving_ns`` device is changing netns, protected by **lock** h](j)}(h ``moving_ns``h]j)}(hjh]h moving_ns}(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.hhKhjubj)}(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&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.hhKhjubj)}(hhh]jX)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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?}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(h+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hjTh]hpriv_destructor}(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)}(hCalled from unregisterh]hCalled from unregister}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(h``ml_priv`` Mid-layer private h](j)}(h ``ml_priv``h]j)}(hjh]hml_priv}(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 privateh]hMid-layer private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj9h]h garp_port}(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)}(hGARPh]hGARP}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h``mrp_port`` MRP h](j)}(h ``mrp_port``h]j)}(hjrh]hmrp_port}(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)}(hMRPh]hMRP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``dm_private`` Drop monitor private h](j)}(h``dm_private``h]j)}(hjh]h dm_private}(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)}(hDrop monitor privateh]hDrop monitor private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(hD``sysfs_rx_queue_group`` Space for optional per-rx queue attributes h](j)}(h``sysfs_rx_queue_group``h]j)}(hjWh]hsysfs_rx_queue_group}(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)}(h*Space for optional per-rx queue attributesh]h*Space for optional per-rx queue attributes}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(h ``rtnl_link_ops`` Rtnl_link_ops h](j)}(h``rtnl_link_ops``h]j)}(hjh]h rtnl_link_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 Rtnl_link_opsh]h Rtnl_link_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh]jX)}(h3Device (as in HW) limit on the max TSO request sizeh]h3Device (as in HW) limit on the max TSO request size}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(hF``tso_max_segs`` Device (as in HW) limit on the max TSO segment count h](j)}(h``tso_max_segs``h]j)}(hjth]h tso_max_segs}(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)}(h4Device (as in HW) limit on the max TSO segment counth]h4Device (as in HW) limit on the max TSO segment count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``dcbnl_ops`` Data Center Bridging netlink ops h](j)}(h ``dcbnl_ops``h]j)}(hjh]h dcbnl_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 Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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)}(h#Max exchange id for FCoE LRO by ddph]h#Max exchange id for FCoE LRO by ddp}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h+``priomap`` XXX: need comments on this one h](j)}(h ``priomap``h]j)}(hjXh]hpriomap}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h<``link_topo`` Physical link topology tracking attached PHYs h](j)}(h ``link_topo``h]j)}(hjh]h link_topo}(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 link topology tracking attached PHYsh]h-Physical link topology tracking attached PHYs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``phydev`` Physical device may attach itself for hardware timestamping h](j)}(h ``phydev``Xh]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)}(hj'h]hstruct sfp_bus}(hj)hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj%ubah}(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)}(hj`h]hqdisc_tx_busylock}(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)}(h1lockdep class annotating Qdisc->busylock spinlockh]h1lockdep class annotating Qdisc->busylock spinlock}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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)}(hjh]h proto_down}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``threaded`` napi threaded mode is enabled 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.hhMhjubj)}(hhh]jX)}(hnapi threaded mode is enabledh]hnapi threaded mode is enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj h]hirq_affinity_auto}(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.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()).}(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)}(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)}(hjFh]hrx_cpu_rmap_auto}(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.hhMhj@ubj)}(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().}(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&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjzubj)}(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}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN h](j)}(h``change_proto_down``h]j)}(hjh]hchange_proto_down}(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 supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(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)}(hj,h]hfcoe_mtu}(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,device supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(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)}(hjeh]hnet_notifier_list}(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.hhMhj_ubj)}(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.}(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&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubj)}(h%``macsec_ops`` MACsec offloading ops h](j)}(h``macsec_ops``h]j)}(hjh]h macsec_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)}(hMACsec offloading opsh]hMACsec offloading ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]hudp_tunnel_nic_info}(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)}(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&]uh1jhjubeh}(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.hhMhj ubj)}(hhh]jX)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(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/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hjKh]hcfg}(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.hhKhjEubj)}(hhh]jX)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hKhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hKhjubj)}(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 hj~ubj)}(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 }(hjhhhNhNubj)}(h**cfg**h]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" but when device is being actively}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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.}(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 hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hj3h]h xdp_state}(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)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubj)}(hA``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. h](j)}(h``dev_addr_shadow``h]j)}(hjlh]hdev_addr_shadow}(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)}(h,Copy of **dev_addr** to catch direct writes.h](hCopy of }(hjhhhNhNubj)}(h **dev_addr**h]hdev_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to catch direct writes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hjh]hlinkwatch_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.hhMhjubj)}(hhh]jX)}(h#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.}(hj hhhNhNubah}(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)}(hj)h]hdev_registered_tracker}(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+tracker for reference held while registeredh]h+tracker for reference held while registered}(hjBhhhNhNubah}(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)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hjch]hoffload_xstats_l3}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj]ubj)}(hhh]jX)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM hjubj)}(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)}(hjh]h devlink_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.hhMhjubj)}(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.}(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```dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. h](j)}(h ``dpll_pin``h]j)}(hjh]hdpll_pin}(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)}(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&]uh1jhjubeh}(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.hhKhj ubj)}(hhh]jX)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(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@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hjIh]h irq_moder}(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.hhKhjCubj)}(hhh]jX)}(h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).h]h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hKhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hKhjubj)}(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.hhMhj|ubj)}(hhh]jX)}(h max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hjh]h napi_config}(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@An array of napi_config structures containing per-NAPI settings.h]h@An array of napi_config structures containing per-NAPI settings.}(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)}(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&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(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)}(hj.h]hnapi_defer_hard_irqs}(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)}(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.}(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&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(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)}(hjhh]hup}(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]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(’s IFF_UP, but safe to read with just }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhj}hM 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 (}(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, does not protect .ndo_open, or .ndo_close).}(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&]uh1jhj}hM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM 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}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh under the }(hjhhhNhNubj)}(h**lock**h]hlock}(hjGhhhNhNubah}(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)}(hjrh]hlock}(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)}(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.}(hjhhhNhNubah}(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 }(hjhhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(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 hjubjX)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE protection mixes with rtnl_lock in multiple ways, fields are either:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj1")}(hhh](j6")}(h+simply protected by the instance **lock**; h]jX)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(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&]uh1j5"hjubj6")}(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;}(hj hhhNhNubah}(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&]uh1j5"hjubj6")}(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;}(hj#hhhNhNubah}(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&]uh1j5"hjubj6")}(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.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj8ubah}(h]h ]h"]h$]h&]uh1j5"hjubeh}(h]h ]h"]h$]h&]j#jy uh1j0"hjhM 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:}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjZubj)}(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}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh, }(hjphhhNhNubj)}(h**napi_defer_hard_irqs**h]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh, }hjpsbj)}(h **napi_list**h]h napi_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh, }(hjphhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh, }hjpsbj)}(h **reg_state**h]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh, }hjpsbj)}(h **threaded**h]hthreaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjmubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjlhM hjWubj)}(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}(hj hhhNhNubah}(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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**xdp_features**h]h xdp_features}(hj?hhhNhNubah}(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 hjWubj)}(hDDouble ops protects: **real_num_rx_queues**, **real_num_tx_queues** h](j)}(hDouble ops protects:h]hDouble ops protects:}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj_ubj)}(hhh]jX)}(h.**real_num_rx_queues**, **real_num_tx_queues**h](j)}(h**real_num_rx_queues**h]hreal_num_rx_queues}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh, }(hjuhhhNhNubj)}(h**real_num_tx_queues**h]hreal_num_tx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jWhjqhM hjrubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjWubj)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h?struct napi_struct, struct netdev_queue, struct netdev_rx_queueh]h?struct napi_struct, struct netdev_queue, struct netdev_rx_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjWubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(hOrdering: take after rtnl_lock.h]hOrdering: take after rtnl_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjlubeh}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hhh]jX)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hj/ubah}(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)}(hjdh]h neighbours}(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)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(h``hwprov`` Tracks which PTP performs hardware packet time stamping. FIXME: cleanup struct net_device such that network protocol info moves out. h](j)}(h ``hwprov``h]j)}(hjh]hhwprov}(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)}(h8Tracks which PTP performs hardware packet time stamping.h]h8Tracks which PTP performs hardware packet time stamping.}(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.hhM!hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h/``priv`` Flexible array containing private datah](j)}(h``priv``h]j)}(hjh]hpriv}(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.hhM8hjubj)}(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.hhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubeh}(h]h ]h"]h$]h&]uh1jhjȰubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubjX)}(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<hjhhubj )}(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]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.}(hjDhhhNhNubah}(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 hjRhMhjhhubh)}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnhhhjhM ubj)}(h netdev_privh]j%)}(h netdev_privh]h netdev_priv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjhM 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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.netdev_privasbuh1hhjubj)}(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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjhM ubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjghhubjS)}(hhh]jX)}(h"access network device private datah]h"access network device private data}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjWhhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjvubj)}(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&]uh1jhjvubjX)}(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 hjvubjX)}(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 hjvubeh}(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 }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hM ubj)}(hnetif_napi_addh]j%)}(hnetif_napi_addh]hnetif_napi_add}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hM 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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jj>sbc.netif_napi_addasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(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_addasbuh1hhjubj)}(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=uh1jhjPubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hjh]h(}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hpollh]hpoll}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubj;)}(hjh]h)}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(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_addasbuh1hhj6ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj;)}(hjZIh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj;)}(hjh]h)}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(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)}(hinitialize a NAPI contexth]hinitialize a NAPI context}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj)hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{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)}(hjUh]h Parameters}(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.hhM hjOubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjth]hstruct net_device *dev}(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.hhM hjnubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM hjkubj)}(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 hjkubj)}(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 hjkubeh}(h]h ]h"]h$]h&]uh1jhjOubjX)}(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:104: ./include/linux/netdevice.hhM hjOubjX)}(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 }(hj7hhhNhNubj j)}(h*any*h]hany}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j jhj7ubh% of the other NAPI-related functions.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjOubeh}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhM ubj)}(hnetif_napi_add_configh]j%)}(hnetif_napi_add_configh]hnetif_napi_add_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhM 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}(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_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%)}(hdevh]hdev}(hjhhhNhNubah}(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 }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]jc.netif_napi_add_configasbuh1hhj#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%)}(hnapih]hnapi}(hj~hhhNhNubah}(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(}(hjhhhNhNubah}(h]h ]jGah"]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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_napi_add_configasbuh1hhjubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjZIh]h,}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj;)}(hjh]h)}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int indexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hindexh]hindex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(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)}(h0initialize a NAPI context with persistent configh]h0initialize a NAPI context with persistent config}(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&]uh1jRhjmhhhjhM 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)}(hj?h]hstruct napi_struct *napi}(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.hhM hj9ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM hjubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjxh]h&int (*poll)(struct napi_struct *, int)}(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.hhM hjrubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``int index`` the NAPI indexh](j)}(h ``int index``h]j)}(hjh]h int 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.hhM hjubj)}(hhh]jX)}(hthe NAPI indexh]hthe NAPI 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&]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](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}(hj hhhNhNubah}(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}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sbc.netif_napi_add_txasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(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_napi_add_txasbuh1hhjubj)}(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@ubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hjh]h(}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hpollh]hpoll}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubj;)}(hjh]h)}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj;)}(hjh]h(}(hj{hhhNhNubah}(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%)}(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_txasbuh1hhj&ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj;)}(hjZIh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]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)}(h0initialize a NAPI context to be used for Tx onlyh]h0initialize a NAPI context to be used for Tx only}(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&]uh1jRhjhhhjhM$ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{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)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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)}(hjdh]hstruct net_device *dev}(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)}(hnetwork deviceh]hnetwork device}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhM% hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM% hj[ubj)}(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& hj[ubj)}(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' 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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM) hj?ubjX)}(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.}(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__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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7 ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhjdhM7 ubj)}(h__netif_napi_delh]j%)}(h__netif_napi_delh]h__netif_napi_del}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRhhhjdhM7 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')}jjysbc.__netif_napi_delasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjRhhhjdhM7 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjdhM7 ubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhM7 hjKhhubjS)}(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.hhM7 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjdhM7 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM; hj2ubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjWh]hstruct napi_struct *napi}(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.hhM8 hjQubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM8 hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM8 hjNubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM: hj2ubjX)}(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 }(hjhhhNhNubj)}(h**napi**h]hnapi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM: hj2ubeh}(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.hhML ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhML ubj)}(hnetif_napi_delh]j%)}(hnetif_napi_delh]hnetif_napi_del}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhML ubj)}(h(struct napi_struct *napi)h]j)}(hstruct napi_struct *napih](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 napi_structh]h napi_struct}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj sbc.netif_napi_delasbuh1hhj"ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjrhhhNhNubah}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhML ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhML ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhML 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.hhML hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhML ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct napi_struct *napi`` NAPI context netif_napi_del() removes a NAPI context from the network device NAPI listh](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.hhMP hjubj)}(hhh]j)}(ht``struct napi_struct *napi`` NAPI context netif_napi_del() removes a NAPI context from the network device NAPI listh](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.hhMN hjubj)}(hhh](jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMM hjubjX)}(hInetif_napi_del() removes a NAPI context from the network device NAPI listh]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.hhMO hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMN hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjahM ubj)}(hnetif_start_queueh]j%)}(hnetif_start_queueh]hnetif_start_queue}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjahM 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')}jjvsbc.netif_start_queueasbuh1hhjubj)}(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=uh1jhjOhhhjahM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjahM ubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahM hjHhhubjS)}(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&]uh1jRhjHhhhjahM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhjhNhNubj})}(h}**Parameters** ``struct net_device *dev`` network device Allow upper layers to call the device hard_start_xmit routine.h](jX)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj/ubj)}(hhh]j)}(hi``struct net_device *dev`` network device Allow upper layers to call the device hard_start_xmit routine.h](j)}(h``struct net_device *dev``h]j)}(hjTh]hstruct net_device *dev}(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.hhM hjNubj)}(hhh](jX)}(hnetwork deviceh]hnetwork device}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjjubjX)}(h>Allow upper layers to call the device hard_start_xmit routine.h]h>Allow upper layers to call the device hard_start_xmit routine.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(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 }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjShhhNhNubah}(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}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjzhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device 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 hjubj)}(hhh]j)}(h``struct net_device *dev`` network device Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(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&]uh1jWhjhM hjubeh}(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|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 }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj4hMubj)}(hnetif_stop_queueh]j%)}(hnetif_stop_queueh]hnetif_stop_queue}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj4hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_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%)}(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_stop_queueasbuh1hhj_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=uh1jhj"hhhj4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj4hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMhjhhubjS)}(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&]uh1jRhjhhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device 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}(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.hhMhjubj)}(hhh]j)}(h``struct net_device *dev`` network device Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.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.hhMhj!ubj)}(hhh](jX)}(hnetwork deviceh]hnetwork device}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubjX)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_queue_stoppedasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(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=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}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjfhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device 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.hhM+hjubj)}(hhh]j)}(hn``const struct net_device *dev`` network device Test if transmit queue on device is currently unable to send.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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hjubjX)}(h=Test if transmit queue on device is currently unable to send.h]h=Test if transmit queue on device is currently unable to send.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjubeh}(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|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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMCubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj!hMCubj)}(hnetdev_queue_set_dql_min_limith]j%)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj!hMCubj)}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jj6sb c.netdev_queue_set_dql_min_limitasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hunsigned int min_limith](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 min_limith]h min_limit}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj!hMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hMCubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMChjhhubjS)}(hhh]jX)}(hset dql minimum limith]hset dql minimum limit}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChj!hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj!hMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{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)}(hjFh]h Parameters}(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.hhMGhj@ubj)}(hhh](j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjeh]hstruct netdev_queue *dev_queue}(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.hhMDhj_ubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMDhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMDhj\ubj)}(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.hhMEhjubj)}(hhh]jX)}(hdql minimum limith]hdql minimum limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj\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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhj@ubjX)}(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 }(hjhhhNhNubj)}(h **min_limit**h]h min_limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhk is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhj@ubeh}(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}(hj0hhhNhNubah}(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)}(h netdev_txq_bql_enqueue_prefetchwh]j%)}(h netdev_txq_bql_enqueue_prefetchwh]h netdev_txq_bql_enqueue_prefetchw}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj>hM_ubj)}(h (struct netdev_queue *dev_queue)h]j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(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')}jjSsb"c.netdev_txq_bql_enqueue_prefetchwasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubah}(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)}(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.hhM_hjhhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj>hM_ubeh}(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 ndo_start_xmit(), 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.hhMchj ubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj1h]hstruct netdev_queue *dev_queue}(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.hhM`hj+ubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM`hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhM`hj(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhj ubjX)}(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.hhMbhj ubeh}(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.hhMmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMmubj)}(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=uh1jhjhhhjhMmubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb#c.netdev_txq_bql_complete_prefetchwasbuh1hhjubj)}(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 dev_queueh]h dev_queue}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(hprefetch bql data for writeh]hprefetch bql data for write}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjnhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMmubeh}(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.hhMqhjubj)}(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.hhMnhjubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubah}(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.hhMphjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjubeh}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj@hM{ubj)}(hnetdev_tx_sent_queueh]j%)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj@hM{ubj)}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j)}(hstruct netdev_queue *dev_queueh](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 netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsbc.netdev_tx_sent_queueasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbytesh]hbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubeh}(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)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx queue}(hjChhhNhNubah}(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&]uh1jRhj'hhhj@hM{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int bytes`` number of bytes queued to the device queue 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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_ubj)}(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.hhM|hj~ubj)}(hhh]jX)}(hnetwork device queueh]hnetwork device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM|hj{ubj)}(hXH``unsigned int bytes`` number of bytes queued to the device queue 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](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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hjubjX)}(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. }(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.hhMhjubeh}(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|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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjXhMubj)}(hnetdev_sent_queueh]j%)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjXhMubj)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjmsbc.netdev_sent_queueasbuh1hhjubj)}(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 bytesh](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%)}(hbytesh]hbytes}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjXhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjXhMubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhMhj?hhubjS)}(hhh]jX)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjXhhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhjXhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int bytes`` number of bytes queued to the hardware device queue 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)}(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:104: ./include/linux/netdevice.hhMhjwubj)}(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)}(hXS``unsigned int bytes`` number of bytes queued to the hardware device queue 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](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)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(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.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjphMubj)}(hnetdev_tx_completed_queueh]j%)}(hnetdev_tx_completed_queueh]hnetdev_tx_completed_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhjphMubj)}(hG(struct netdev_queue *dev_queue, unsigned int pkts, 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_completed_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 pktsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(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%)}(hpktsh]hpkts}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int bytesh](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%)}(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=uh1jhj^hhhjphMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjphMubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMhjWhhubjS)}(hhh]jX)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(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&]uh1jRhjWhhhjphMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX\**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 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)}(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)}(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.hhMhj8ubj)}(hhh]jX)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h``unsigned int bytes`` number of bytes dequeued from the device queue Must be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h](j)}(h``unsigned int bytes``h]j)}(hjwh]hunsigned int bytes}(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)}(h.number of bytes dequeued from the device queueh]h.number of bytes dequeued from the device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(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](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}(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_completed_queueh]j%)}(hnetdev_completed_queueh]hnetdev_completed_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h?(struct net_device *dev, unsigned int pkts, unsigned int bytes)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$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jjsbc.netdev_completed_queueasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(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)}(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=uh1jhjubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbytesh]hbytes}(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,report bytes and packets completed by deviceh]h,report bytes and packets completed by device}(hjAhhhNhNubah}(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&]jvjqjwjYjxjYjyjzj{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 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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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)}(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.hhMhj|ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(hD``unsigned int pkts`` actual number of packets sent over the medium h](j)}(h``unsigned int pkts``h]j)}(hjh]hunsigned int pkts}(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-actual number of packets sent over the mediumh]h-actual number of packets sent over the medium}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(hX``unsigned int bytes`` actual number of bytes sent over the medium 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](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+actual number of bytes sent over the mediumh]h+actual number of bytes sent over the medium}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubjX)}(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, }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must exactly match the }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% amount passed to netdev_sent_queue()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjyubeh}(h]h ]h"]h$]h&]uh1jhj]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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}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)}(hnetdev_tx_reset_subqueueh]j%)}(hnetdev_tx_reset_subqueueh]hnetdev_tx_reset_subqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMubj)}(h'(const struct net_device *dev, u32 qid)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_tx_reset_subqueueasbuh1hhjubj)}(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}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu32 qidh](h)}(hhh]j%)}(hu32h]hu32}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jc.netdev_tx_reset_subqueueasbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hqidh]hqid}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(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)}(h/reset the BQL stats and state of a netdev queueh]h/reset the BQL stats and state of a netdev 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&]uh1jRhjvhhhjhMubeh}(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.hhM hjubj)}(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.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)}(h-``u32 qid`` stack index of the queue to reseth](j)}(h ``u32 qid``h]j)}(hjh]hu32 qid}(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)}(h!stack index of the queue to reseth]h!stack index of the queue to reset}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM hjubeh}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhMubj)}(hnetdev_reset_queueh]j%)}(hnetdev_reset_queueh]hnetdev_reset_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhMubj)}(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')}jjsbc.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=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)}(h5reset the packets and bytes count of a network deviceh]h5reset the packets and bytes count of a network device}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev_queue`` network device 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)}(hjZh]h Parameters}(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.hhMhjTubj)}(hhh]j)}(h``struct net_device *dev_queue`` network device Reset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh](j)}(h ``struct net_device *dev_queue``h]j)}(hjyh]hstruct net_device *dev_queue}(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)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(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&]uh1jWhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(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.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_cap_txqueueh]j%)}(hjh]hnetdev_cap_txqueue}(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}(hj3hhhNhNubah}(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}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jc.netdev_cap_txqueueasbuh1hhj/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%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(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$]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=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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` given tx queue index 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)}(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.hhM"hj 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.hhMhj7 ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(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)}(h``u16 queue_index`` given tx queue index Returns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h](j)}(h``u16 queue_index``h]j)}(hjv h]hu16 queue_index}(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.hhM"hjp ubj)}(hhh](jX)}(hgiven tx queue indexh]hgiven tx queue index}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM"hj ubeh}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jhj hM"hj4 ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(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}(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 netif_runningh]j%)}(h netif_runningh]h netif_running}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hM2ubj)}(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}(hj5 hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjB hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjS hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjP ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjU modnameN classnameNjj!)}j$]j')}jj sbc.netif_runningasbuh1hhj ubj)}(h h]h }(hjs 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 hM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hM2ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM2hj hhubjS)}(hhh]jX)}(h test if uph]h test if up}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(hl**Parameters** ``const struct net_device *dev`` network device Test if the device has been brought up.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.hhM6hj ubj)}(hhh]j)}(hX``const struct net_device *dev`` network device Test if the device has been brought up.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.hhM4hj ubj)}(hhh](jX)}(hnetwork deviceh]hnetwork device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hj ubjX)}(h'Test if the device has been brought up.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.hhM5hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM4hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(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}(hjb hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDubj)}(h h]h }(hjq hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ hhhjp hMDubj)}(hnetif_start_subqueueh]j%)}(hnetif_start_subqueueh]hnetif_start_subqueue}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^ hhhjp hMDubj)}(h)(struct net_device *dev, u16 queue_index)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.netif_start_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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu16 queue_indexh](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.netif_start_subqueueasbuh1hhj ubj)}(h h]h }(hj2 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(h queue_indexh]h queue_index}(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^ hhhjp hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZ hhhjp hMDubah}(h]jU ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjp hMDhjW hhubjS)}(hhh]jX)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjg hhubah}(h]h ]h"]h$]h&]uh1jRhjW hhhjp hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(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.hhMHhj 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.hhMEhj ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMEhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMEhj ubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hj h]hu16 queue_index}(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.hhMFhj ubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMFhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMFhj 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.hhMHhj ubjX)}(hJStart individual transmit queue of a device with multiple transmit queues.h]hJStart individual transmit queue of a device with multiple transmit queues.}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhj ubeh}(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}(hjd hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj` hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRubj)}(h h]h }(hjs hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj` hhhjr hMRubj)}(hnetif_stop_subqueueh]j%)}(hnetif_stop_subqueueh]hnetif_stop_subqueue}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj` hhhjr hMRubj)}(h)(struct net_device *dev, u16 queue_index)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.netif_stop_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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(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$]j c.netif_stop_subqueueasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h queue_indexh]h queue_index}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj` hhhjr hMRubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\ hhhjr hMRubah}(h]jW ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjr hMRhjY hhubjS)}(hhh]jX)}(h stop sending packets on subqueueh]h stop sending packets on subqueue}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhjihhubah}(h]h ]h"]h$]h&]uh1jRhjY hhhjr hMRubeh}(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.hhMVhjubj)}(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.hhMShjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(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.hhMThjubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hjhhhNhNubah}(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**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:104: ./include/linux/netdevice.hhMVhjubjX)}(hIStop individual transmit queue of a device with multiple transmit queues.h]hIStop individual transmit queue of a device with multiple transmit queues.}(hj7hhhNhNubah}(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_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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjshM_ubj)}(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=uh1jhjbhhhjshM_ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__netif_subqueue_stoppedasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]jc.__netif_subqueue_stoppedasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj%)}(h queue_indexh]h queue_index}(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=uh1jhjbhhhjshM_ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhjshM_ubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshM_hj[hhubjS)}(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.hhM_hjhhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhjshM_ubeh}(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.hhMchjubj)}(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$``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.hhMahjubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubjX)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubeh}(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&]uh1jhj~hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhjhMnubj)}(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=uh1jhj~hhhjhMnubj)}(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}(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_subqueue_stoppedasbuh1hhjubj)}(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}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]jc.netif_subqueue_stoppedasbuh1hhjGubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhMnubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhMnubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMnhjwhhubjS)}(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.hhMnhjhhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjhMnubeh}(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)}(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.hhMrhjubj)}(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}(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.hhMohjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMohj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMohjubj)}(h1``struct sk_buff *skb`` sub queue buffer pointer h](j)}(h``struct sk_buff *skb``h]j)}(hjFh]hstruct sk_buff *skb}(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.hhMphj@ubj)}(hhh]jX)}(hsub queue buffer pointerh]hsub queue buffer pointer}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMphj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMphjubeh}(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.hhMrhjubjX)}(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.hhMrhjubeh}(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.hhM{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM{ubj)}(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=uh1jhjhhhjhM{ubj)}(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}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j')}jjsbc.netif_wake_subqueueasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjOhhhNhNubah}(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}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j=c.netif_wake_subqueueasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(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!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.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`` sub queue index **Description** Resume 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.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&]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|hjubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjHh]hu16 queue_index}(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)}(hsub queue indexh]hsub queue index}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM}hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(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&]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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hjh]hj}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned long *maskh](h)}(hjh]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hunsignedh]hunsigned}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nr_bitsh](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%)}(hnr_bitsh]hnr_bits}(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$Test a CPU or Rx queue set in a maskh]h$Test a CPU or Rx queue set in a mask}(hj0hhhNhNubah}(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&]jvjqjwjHjxjHjyjzj{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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hjqh]hunsigned long j}(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)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubj)}(h<``const unsigned long *mask`` bitmask of all cpus/rx queues h](j)}(h``const unsigned long *mask``h]j)}(hjh]hconst unsigned long *mask}(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)}(hbitmask of all cpus/rx queuesh]hbitmask of all cpus/rx queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjh]hunsigned int nr_bits}(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)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubeh}(h]h ]h"]h$]h&]uh1jhjLubjX)}(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:104: ./include/linux/netdevice.hhMhjLubjX)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubeh}(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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjphMubj)}(hnetif_attr_test_onlineh]j%)}(hnetif_attr_test_onlineh]hnetif_attr_test_online}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhjphMubj)}(hI(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j)}(hunsigned long jh](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]hj}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const unsigned long *online_maskh](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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h online_maskh]h online_mask}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hnr_bitsh]hnr_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhjphMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjphMubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMhjXhhubjS)}(hhh]jX)}(hTest for online CPU/Rx queueh]hTest for online CPU/Rx 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&]uh1jRhjXhhhjphMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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'``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.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hP``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online h](j)}(h$``const unsigned long *online_mask``h]j)}(hjDh]h const unsigned long *online_mask}(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)}(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&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(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}(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)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(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 **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:104: ./include/linux/netdevice.hhMhjubjX)}(h!true if a CPU/Rx queue is online.h]h!true if a CPU/Rx queue is online.}(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_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(hnetif_attrmask_nexth]j%)}(hnetif_attrmask_nexth]hnetif_attrmask_next}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h8(int n, const unsigned long *srcp, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hj0h]hn}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hconst unsigned long *srcph](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%)}(hsrcph]hsrcp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hunsigned int nr_bitsh](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%)}(hnr_bitsh]hnr_bits}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(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)}(h1get the next CPU/Rx queue in a cpu/Rx queues maskh]h1get the next CPU/Rx queue in a cpu/Rx queues mask}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj 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)}(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``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjh]hint 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)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``const unsigned long *srcp`` the cpumask/Rx queue mask pointer h](j)}(h``const unsigned long *srcp``h]j)}(hjh]hconst unsigned long *srcp}(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 cpumask/Rx queue mask pointerh]h!the cpumask/Rx queue mask pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjh]hunsigned int nr_bits}(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)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(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&]uh1jhjubjX)}(h **Return**h]j)}(hjSh]hReturn}(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.hhMhjubjX)}(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.}(hjihhhNhNubah}(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_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}(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_attrmask_next_andh]j%)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned long *src1ph](h)}(hjh]hconst}(hj hhhNhNubah}(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 }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrc1ph]hsrc1p}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned long *src2ph](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hsrc2ph]hsrc2p}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nr_bitsh](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%)}(hnr_bitsh]hnr_bits}(hj3hhhNhNubah}(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 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.hhMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{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)}(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.hhMhjyubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjh]hint 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)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hjh]hconst unsigned long *src1p}(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 first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hj h]hconst unsigned long *src2p}(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 second CPUs/Rx queues mask pointerh]h&the second 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% hMhjubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjI h]hunsigned int nr_bits}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjC ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^ hMhj_ ubah}(h]h ]h"]h$]h&]uh1jhjC ubeh}(h]h ]h"]h$]h&]uh1jhj^ hMhjubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(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.hhMhjyubjX)}(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.hhMhjyubeh}(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}(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_is_multiqueueasbuh1hhj!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 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)}(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)}(h,Check if device has multiple transmit queuesh]h,Check if device has multiple transmit queues}(hj5"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}(hjd"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 }(hjs"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`"hhhjr"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`"hhhjr"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`"hhhjr"hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\"hhhjr"hM ubah}(h]jW"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjr"hM hjY"hhubjS)}(hhh]jX)}(hget reference to deviceh]hget reference to device}(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&]uh1jRhjY"hhhjr"hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<#jxj<#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)}(hjF#h]h Parameters}(hjH#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD#ubah}(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)}(hje#h]hstruct net_device *dev}(hjg#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc#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&]uh1jWhjz#hM!hj{#ubah}(h]h ]h"]h$]h&]uh1jhj_#ubeh}(h]h ]h"]h$]h&]uh1jhjz#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)}(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#hj@#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.hhM,ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj#hM,ubj)}(hdev_puth]j%)}(hdev_puth]hdev_put}(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 reftargetjB$modnameN classnameNjj!)}j$]j')}jj$sb c.dev_putasbuh1hhj$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%)}(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)}(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.hhM,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`` 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.hhM0hj$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&]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)}(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.}(hj7%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](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}(hjf%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMSubj)}(h h]h }(hju%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb%hhhjt%hMSubj)}(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=uh1jhjb%hhhjt%hMSubj)}(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=uh1jhjb%hhhjt%hMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^%hhhjt%hMSubah}(h]jY%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjt%hMShj[%hhubjS)}(hhh]jX)}(h#sync linkwatch for the given deviceh]h#sync linkwatch for the given device}(hj&&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShj#&hhubah}(h]h ]h"]h$]h&]uh1jRhj[%hhhjt%hMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>&jxj>&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)}(hjH&h]h Parameters}(hjJ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF&ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjB&ubj)}(hhh]j)}(h@``struct net_device *dev`` network device to sync linkwatch for h](j)}(h``struct net_device *dev``h]j)}(hjg&h]hstruct net_device *dev}(hji&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThja&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|&hMThj}&ubah}(h]h ]h"]h$]h&]uh1jhja&ubeh}(h]h ]h"]h$]h&]uh1jhj|&hMThj^&ubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhjB&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.hhMVhjB&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}(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)}(hnetif_carrier_okh]j%)}(hnetif_carrier_okh]hnetif_carrier_ok}(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 *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj#'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj0'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(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.netif_carrier_okasbuh1hhj'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)}(htest if carrier presenth]htest if carrier present}(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&]uh1jRhj&hhhj&hM]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjhNhNubj})}(hy**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is present on 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.hhMahj'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.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&]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%Check if carrier is present on deviceh]h%Check if carrier is present on device}(hjS(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](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}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~(hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMpubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~(hhhj(hMpubj)}(hnetif_dormant_onh]j%)}(hnetif_dormant_onh]hnetif_dormant_on}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~(hhhj(hMpubj)}(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.netif_dormant_onasbuh1hhj(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(hMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjz(hhhj(hMpubah}(h]ju(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMphjw(hhubjS)}(hhh]jX)}(hmark device as dormant.h]hmark device as dormant.}(hjB)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphj?)hhubah}(h]h ]h"]h$]h&]uh1jRhjw(hhhj(hMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZ)jxjZ)jyjzj{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)}(hjd)h]h Parameters}(hjf)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb)ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthj^)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.hhMqhj})ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMqhj)ubah}(h]h ]h"]h$]h&]uh1jhj})ubeh}(h]h ]h"]h$]h&]uh1jhj)hMqhjz)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.hhMshj^)ubjX)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshj^)ubjX)}(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.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhj^)ubeh}(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}(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_dormant_offh]j%)}(hnetif_dormant_offh]hnetif_dormant_off}(hj3*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj *hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](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%)}(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')}jj5*sbc.netif_dormant_offasbuh1hhjK*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%)}(hdevh]hdev}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjG*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)}(hset device as not dormant.h]hset device as not dormant.}(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})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in dormant state.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}(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)}(hjN+h]h Description}(hjP+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubjX)}(hDevice is not in dormant state.h]hDevice is not in dormant state.}(hjd+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_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}(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_dormanth]j%)}(h netif_dormanth]h netif_dormant}(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_dormantasbuh1hhj+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%)}(hdevh]hdev}(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=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 dormanth]htest if device is dormant}(hjm,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjj,hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj+hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhjhNhNubj})}(ho**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is dormant.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)}(hCheck if device is dormant.h]hCheck if device is dormant.}(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_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.-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_testing_onh]j%)}(hnetif_testing_onh]hnetif_testing_on}(hjO-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*-hhhj<-hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](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%)}(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')}jjQ-sbc.netif_testing_onasbuh1hhjg-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%)}(hdevh]hdev}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjc-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)}(hmark device as under test.h]hmark device as under test.}(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})}(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)}(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&.ubah}(h]h ]h"]h$]h&]uh1jhj .ubjX)}(h**Description**h]j)}(hjj.h]h Description}(hjl.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj .ubjX)}(h+Mark device as under test (as per RFC2863).h]h+Mark device as under test (as per RFC2863).}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj .ubjX)}(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.}(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_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}(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_testing_offh]j%)}(hnetif_testing_offh]hnetif_testing_off}(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)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.netif_testing_offasbuh1hhj.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%)}(hdevh]hdev}(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)}(hset device as not under test.h]hset device as not under test.}(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})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in testing state.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}(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)}(hDevice is not in testing state.h]hDevice is not in testing state.}(hj0hhhNhNubah}(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_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}(hj?0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjM0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;0hhhjL0hMubj)}(h netif_testingh]j%)}(h netif_testingh]h netif_testing}(hj_0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;0hhhjL0hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj{0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjw0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw0ubh)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjw0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw0ubh)}(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')}jja0sbc.netif_testingasbuh1hhjw0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjw0ubj%)}(hdevh]hdev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjs0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj;0hhhjL0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj70hhhjL0hMubah}(h]j20ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjL0hMhj40hhubjS)}(hhh]jX)}(htest if device is under testh]htest if device is under test}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhj40hhhjL0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj11jxj11jyjzj{uh1hhhhjhNhNubj})}(hq**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is under testh](jX)}(h**Parameters**h]j)}(hj;1h]h Parameters}(hj=1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj91ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj51ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjZ1h]hconst struct net_device *dev}(hj\1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjT1ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjs1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjo1hMhjp1ubah}(h]h ]h"]h$]h&]uh1jhjT1ubeh}(h]h ]h"]h$]h&]uh1jhjo1hMhjQ1ubah}(h]h ]h"]h$]h&]uh1jhj51ubjX)}(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:104: ./include/linux/netdevice.hhMhj51ubjX)}(hCheck if device is under testh]hCheck if device is under test}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj51ubeh}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hMubj)}(h netif_oper_uph]j%)}(h netif_oper_uph]h netif_oper_up}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj#2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hjh]hstruct}(hj12hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj>2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjO2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQ2modnameN classnameNjj!)}j$]j')}jj1sbc.netif_oper_upasbuh1hhj2ubj)}(h h]h }(hjo2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj}2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hdevh]hdev}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubah}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhj1hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhj1hMubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hMhj1hhubjS)}(hhh]jX)}(htest if device is operationalh]htest if device is operational}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhjhNhNubj})}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is operationalh](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.hhMhj2ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj2h]hconst struct 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.hhMhj2ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 3hMhj 3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj 3hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hj03h]h Description}(hj23hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubjX)}(hCheck if carrier is operationalh]hCheck if carrier is operational}(hjF3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubeh}(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}(hju3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq3hhhj3hMubj)}(hnetif_device_presenth]j%)}(hnetif_device_presenth]hnetif_device_present}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjq3hhhj3hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(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')}jj3sbc.netif_device_presentasbuh1hhj3ubj)}(h h]h }(hj 4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hdevh]hdev}(hj%4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubah}(h]h ]h"]h$]h&]j<j=uh1jhjq3hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjm3hhhj3hMubah}(h]jh3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhjj3hhubjS)}(hhh]jX)}(his device available or removedh]his device available or removed}(hjO4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjL4hhubah}(h]h ]h"]h$]h&]uh1jRhjj3hhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg4jxjg4jyjzj{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)}(hjq4h]h Parameters}(hjs4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk4ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj4h]hconst struct net_device *dev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjk4ubjX)}(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:104: ./include/linux/netdevice.hhMhjk4ubjX)}(h1Check if device has not been removed from system.h]h1Check if device has not been removed from system.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk4ubeh}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 5hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 5hhhj5hMvubj)}(h netif_tx_lockh]j%)}(h netif_tx_lockh]h netif_tx_lock}(hj15hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj 5hhhj5hMvubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjM5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjI5ubj)}(h h]h }(hjZ5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI5ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjk5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjm5modnameN classnameNjj!)}j$]j')}jj35sbc.netif_tx_lockasbuh1hhjI5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjI5ubj%)}(hdevh]hdev}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE5ubah}(h]h ]h"]h$]h&]j<j=uh1jhj 5hhhj5hMvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhj5hMvubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMvhj5hhubjS)}(hhh]jX)}(h!grab network device transmit lockh]h!grab network device transmit lock}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhj5hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhj5hMvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjhNhNubj})}(hn**Parameters** ``struct net_device *dev`` network device **Description** Get network device transmit lockh](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.hhMzhj5ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj6h]hstruct net_device *dev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhj 6ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj*6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&6hMwhj'6ubah}(h]h ]h"]h$]h&]uh1jhj 6ubeh}(h]h ]h"]h$]h&]uh1jhj&6hMwhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(h**Description**h]j)}(hjL6h]h Description}(hjN6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj5ubjX)}(h Get network device transmit lockh]h Get network device transmit lock}(hjb6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj5ubeh}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhj6hM-ubj)}(h __dev_uc_synch]j%)}(h __dev_uc_synch]h __dev_uc_sync}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhj6hM-ubj)}(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}(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.__dev_uc_syncasbuh1hhj6ubj)}(h h]h }(hj 7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hdevh]hdev}(hj'7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(h5int (*sync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hj@7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<7ubj)}(h h]h }(hjN7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<7ubj;)}(hjh]h(}(hj\7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubj;)}(hj>h]h*}(hji7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubj%)}(hsynch]hsync}(hjv7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<7ubj;)}(hjh]h)}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubj;)}(hjh]h(}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubh)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<7ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j7c.__dev_uc_syncasbuh1hhj<7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubj;)}(hjZIh]h,}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<7ubh)}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<7ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<7ubj)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<7ubj)}(h h]h }(hj+8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<7ubj)}(hcharh]hchar}(hj98hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<7ubj;)}(hj>h]h*}(hjG8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubj;)}(hjh]h)}(hjT8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjl8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh8ubj)}(h h]h }(hjz8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh8ubj;)}(hjh]h(}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubj%)}(hunsynch]hunsync}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh8ubj;)}(hjh]h)}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubj;)}(hjh]h(}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubh)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh8ubh)}(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$]j7c.__dev_uc_syncasbuh1hhjh8ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubj;)}(hjZIh]h,}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubj)}(h h]h }(hj 9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh8ubh)}(hjh]hconst}(hj.9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh8ubj)}(h h]h }(hj;9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh8ubj)}(hunsignedh]hunsigned}(hjI9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh8ubj)}(h h]h }(hjW9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh8ubj)}(hcharh]hchar}(hje9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh8ubj;)}(hj>h]h*}(hjs9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubj;)}(hjh]h)}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhj6hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhj6hM-ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hM-hj6hhubjS)}(hhh]jX)}(h!Synchronize device's unicast listh]h#Synchronize device’s unicast list}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hj9hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhj6hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjhNhNubj})}(hXt**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 Add newly added addresses to the interface, and release addresses that have been deleted.h](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hj9ubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hj9h]hstruct net_device *dev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hj9ubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hM.hj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM.hj9ubj)}(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)}(hj#:h]h7int (*sync)(struct net_device *, const unsigned char *)}(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+function to call if address should be addedh]h+function to call if address should be added}(hj<:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8:hM/hj9:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj8:hM/hj9ubj)}(h``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed Add newly added addresses to the interface, and release addresses that have been deleted.h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hj\:h]h9int (*unsync)(struct net_device *, const unsigned char *)}(hj^:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjV:ubj)}(hhh](jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hju:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjr:ubjX)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjq:hM2hjr:ubeh}(h]h ]h"]h$]h&]uh1jhjV:ubeh}(h]h ]h"]h$]h&]uh1jhjq:hM2hj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(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}(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)}(h__dev_uc_unsynch]j%)}(h__dev_uc_unsynch]h__dev_uc_unsync}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhj:hM?ubj)}(hQ(struct net_device *dev, 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_unsyncasbuh1hhj:ubj)}(h h]h }(hj?;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hjM;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hdevh]hdev}(hjZ;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjs;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo;ubj;)}(hjh]h(}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;ubj%)}(hunsynch]hunsync}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo;ubj;)}(hjh]h)}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;ubj;)}(hjh]h(}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;ubh)}(hjh]hstruct}(hj;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;;c.__dev_uc_unsyncasbuh1hhjo;ubj;)}(hj>h]h*}(hj <hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;ubj;)}(hjZIh]h,}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;ubj)}(h h]h }(hj'<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo;ubh)}(hjh]hconst}(hj5<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjo;ubj)}(h h]h }(hjB<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo;ubj)}(hunsignedh]hunsigned}(hjP<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo;ubj)}(h h]h }(hj^<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo;ubj)}(hcharh]hchar}(hjl<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo;ubj;)}(hj>h]h*}(hjz<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;ubj;)}(hjh]h)}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo;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)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(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&]uh1jRhj:hhhj:hM?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed Remove all addresses that were added to the device by dev_uc_sync().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.hhMChj<ubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync 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)}(hdevice to synch]hdevice to sync}(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 (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed Remove all addresses that were added to the device by dev_uc_sync().h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hj*=h]h9int (*unsync)(struct net_device *, const unsigned char *)}(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.hhMBhj$=ubj)}(hhh](jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjC=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMAhj@=ubjX)}(hDRemove all addresses that were added to the device by dev_uc_sync().h]hDRemove all addresses that were added to the device by dev_uc_sync().}(hjR=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChj@=ubeh}(h]h ]h"]h$]h&]uh1jhj$=ubeh}(h]h ]h"]h$]h&]uh1jhj?=hMBhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_sync (C function)c.__dev_mc_synchNtauh1hhjhhhNhNubh)}(hhh](h)}(hint __dev_mc_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_mc_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.hhMYubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhj=hMYubj)}(h __dev_mc_synch]j%)}(h __dev_mc_synch]h __dev_mc_sync}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhj=hMYubj)}(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_mc_syncasbuh1hhj=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)}(h5int (*sync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjB>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>>ubj)}(h h]h }(hjP>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>>ubj;)}(hjh]h(}(hj^>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>>ubj;)}(hj>h]h*}(hjk>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>>ubj%)}(hsynch]hsync}(hjx>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]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.__dev_mc_syncasbuh1hhj>>ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>>ubj;)}(hjZIh]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)}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>>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;)}(hj>h]h*}(hjI?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>>ubj;)}(hjh]h)}(hjV?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](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;)}(hjh]h(}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubj%)}(hunsynch]hunsync}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj?ubj;)}(hjh]h)}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubj;)}(hjh]h(}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubh)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj?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_mc_syncasbuh1hhjj?ubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubj;)}(hjZIh]h,}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubj)}(h h]h }(hj"@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj?ubh)}(hjh]hconst}(hj0@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjj?ubj)}(h h]h }(hj=@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj?ubj)}(hunsignedh]hunsigned}(hjK@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj?ubj)}(h h]h }(hjY@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj?ubj)}(hcharh]hchar}(hjg@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj?ubj;)}(hj>h]h*}(hju@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubj;)}(hjh]h)}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=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)}(h#Synchronize device's multicast listh]h%Synchronize device’s multicast list}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj=hMYubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjhNhNubj})}(hXt**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 Add newly added addresses to the interface, and release addresses that have been deleted.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.hhM]hj@ubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync 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.hhMZhj@ubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMZhjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjAhMZhj@ubj)}(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)}(hj%Ah]h7int (*sync)(struct net_device *, const unsigned char *)}(hj'AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Aubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjAubj)}(hhh]jX)}(h+function to call if address should be addedh]h+function to call if address should be added}(hj>AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:AhM[hj;Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj:AhM[hj@ubj)}(h``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed Add newly added addresses to the interface, and release addresses that have been deleted.h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hj^Ah]h9int (*unsync)(struct net_device *, const unsigned char *)}(hj`AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Aubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjXAubj)}(hhh](jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjwAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hjtAubjX)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjsAhM^hjtAubeh}(h]h ]h"]h$]h&]uh1jhjXAubeh}(h]h ]h"]h$]h&]uh1jhjsAhM^hj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_unsync (C function)c.__dev_mc_unsynchNtauh1hhjhhhNhNubh)}(hhh](h)}(hhvoid __dev_mc_unsync (struct net_device *dev, int (*unsync)(struct net_device *, const unsigned char *))h]h)}(hevoid __dev_mc_unsync(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhMkubj)}(h__dev_mc_unsynch]j%)}(h__dev_mc_unsynch]h__dev_mc_unsync}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhMkubj)}(hQ(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj!BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#BmodnameN classnameNjj!)}j$]j')}jjAsbc.__dev_mc_unsyncasbuh1hhjAubj)}(h h]h }(hjABhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjOBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hdevh]hdev}(hj\BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjuBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqBubj;)}(hjh]h(}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubj%)}(hunsynch]hunsync}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqBubj;)}(hjh]h)}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubj;)}(hjh]h(}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubh)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqBubh)}(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=Bc.__dev_mc_unsyncasbuh1hhjqBubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubj;)}(hjZIh]h,}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubj)}(h h]h }(hj)ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqBubh)}(hjh]hconst}(hj7ChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqBubj)}(h h]h }(hjDChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqBubj)}(hunsignedh]hunsigned}(hjRChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqBubj)}(h h]h }(hj`ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqBubj)}(hcharh]hchar}(hjnChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqBubj;)}(hj>h]h*}(hj|ChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubj;)}(hjh]h)}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjAhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjAhMkubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMkhjAhhubjS)}(hhh]jX)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhjChhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed Remove all addresses that were added to the device by dev_mc_sync().h](jX)}(h**Parameters**h]j)}(hjCh]h Parameters}(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.hhMohjCubj)}(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.hhMlhjCubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hj DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMlhj Dubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhMlhjCubj)}(h``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed Remove all addresses that were added to the device by dev_mc_sync().h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hj,Dh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hj.DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Dubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhj&Dubj)}(hhh](jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjEDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjBDubjX)}(hDRemove all addresses that were added to the device by dev_mc_sync().h]hDRemove all addresses that were added to the device by dev_mc_sync().}(hjTDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjBDubeh}(h]h ]h"]h$]h&]uh1jhj&Dubeh}(h]h ]h"]h$]h&]uh1jhjADhMnhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjDhKubj)}(h net_shaperh]j%)}(hjDh]h net_shaper}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjDhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhKubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhKhjDhhubjS)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK!hjDhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjDhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhjhjDhNubj})}(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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh:}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hjDubjU)}(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; };}hjEsbah}(h]h ]h"]h$]h&]j<j=uh1jThY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hjDubjX)}(h **Members**h]j)}(hj&Eh]hMembers}(hj(EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Eubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK2hjDubj)}(hhh](j)}(hD``parent`` Unique identifier for the shaper parent, usually implied h](j)}(h ``parent``h]j)}(hjEEh]hparent}(hjGEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCEubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK$hj?Eubj)}(hhh]jX)}(h8Unique identifier for the shaper parent, usually impliedh]h8Unique identifier for the shaper parent, usually implied}(hj^EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZEhK$hj[Eubah}(h]h ]h"]h$]h&]uh1jhj?Eubeh}(h]h ]h"]h$]h&]uh1jhjZEhK$hjFhK(hj?Fubah}(h]h ]h"]h$]h&]uh1jhj#Fubeh}(h]h ]h"]h$]h&]uh1jhj>FhK(hjh]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hphydevh]hphydev}(hj!KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubah}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhjJhKtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhjJhKtubah}(h]j~Jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhKthjJhhubjS)}(hhh]jX)}(h8Convenience function to print out the current phy statush]h8Convenience function to print out the current phy status}(hjKKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKthjHKhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjJhKtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcKjxjcKjyjzj{uh1hhhhjaJhNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjmKh]h Parameters}(hjoKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkKubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKxhjgKubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjKh]hstruct phy_device *phydev}(hjKhhhNhNubah}(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.chKzhjKubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKuhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhKzhjKubah}(h]h ]h"]h$]h&]uh1jhjgKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_get_rate_matching (C function)c.phy_get_rate_matchinghNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hLint phy_get_rate_matching (struct phy_device *phydev, phy_interface_t iface)h]h)}(hKint phy_get_rate_matching(struct phy_device *phydev, phy_interface_t iface)h](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjKhKubj)}(hphy_get_rate_matchingh]j%)}(hphy_get_rate_matchingh]hphy_get_rate_matching}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhjKhKubj)}(h2(struct phy_device *phydev, phy_interface_t iface)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj#LhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj0LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjALhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>Lubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCLmodnameN classnameNjj!)}j$]j')}jj Lsbc.phy_get_rate_matchingasbuh1hhjLubj)}(h h]h }(hjaLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjoLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hphydevh]hphydev}(hj|LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j]Lc.phy_get_rate_matchingasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hifaceh]hiface}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhjKhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhKubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhKhjKhhubjS)}(hhh]jX)}(h'determine if rate matching is supportedh]h'determine if rate matching is supported}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjLhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj Mubj)}(hhh](j)}(hI``struct phy_device *phydev`` The phy device to return rate matching for h](j)}(h``struct phy_device *phydev``h]j)}(hj/Mh]hstruct phy_device *phydev}(hj1MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Mubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj)Mubj)}(hhh]jX)}(h*The phy device to return rate matching forh]h*The phy device to return rate matching for}(hjHMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDMhKhjEMubah}(h]h ]h"]h$]h&]uh1jhj)Mubeh}(h]h ]h"]h$]h&]uh1jhjDMhKhj&Mubj)}(h4``phy_interface_t iface`` The interface mode to use h](j)}(h``phy_interface_t iface``h]j)}(hjhMh]hphy_interface_t iface}(hjjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfMubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjbMubj)}(hhh]jX)}(hThe interface mode to useh]hThe interface mode to use}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}MhKhj~Mubah}(h]h ]h"]h$]h&]uh1jhjbMubeh}(h]h ]h"]h$]h&]uh1jhj}MhKhj&Mubeh}(h]h ]h"]h$]h&]uh1jhj MubjX)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj MubjX)}(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 }(hjMhhhNhNubj)}(h**phy**h]hphy}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh supports using }(hjMhhhNhNubj)}(h **iface**h]hiface}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh. }(hjMhhhNhNubj)}(h **iface**h]hiface}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh may be }(hjMhhhNhNubj)}(h``PHY_INTERFACE_MODE_NA``h]hPHY_INTERFACE_MODE_NA}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh6 to determine if any interface supports rate matching.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj MubjX)}(h **Return**h]j)}(hjNh]hReturn}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj Mubj)}(hhh]j)}(hQThe type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](j)}(hh]h*}(hj=OhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hphydevh]hphydev}(hjJOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhjNhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjNhKubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhKhjNhhubjS)}(hhh]jX)}(hrestart auto-negotiationh]hrestart auto-negotiation}(hjtOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjqOhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjNhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjOubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjOh]hstruct phy_device *phydev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjOubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhKhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhKhjOubah}(h]h ]h"]h$]h&]uh1jhjOubjX)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjOubjX)}(h_Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](hRestart the autonegotiation on }(hjPhhhNhNubj)}(h **phydev**h]hphydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh6. Returns >= 0 on success or negative errno on error.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhjaJhhhNhNubh)}(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}(hjGPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCPhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjVPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCPhhhjUPhKubj)}(h phy_aneg_doneh]j%)}(h phy_aneg_doneh]h phy_aneg_done}(hjhPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjCPhhhjUPhKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jjjPsbc.phy_aneg_doneasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hphydevh]hphydev}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|Pubah}(h]h ]h"]h$]h&]j<j=uh1jhjCPhhhjUPhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?PhhhjUPhKubah}(h]j:Pah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUPhKhj 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](jX)}(h**Parameters**h]j)}(hj)Qh]h Parameters}(hj+QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Qubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj#Qubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjHQh]hstruct phy_device *phydev}(hjJQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjBQubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjaQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]QhKhj^Qubah}(h]h ]h"]h$]h&]uh1jhjBQubeh}(h]h ]h"]h$]h&]uh1jhj]QhKhj?Qubah}(h]h ]h"]h$]h&]uh1jhj#QubjX)}(h**Description**h]j)}(hjQh]h Description}(hjQhhhNhNubah}(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.chKhj#QubjX)}(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 }(hjQhhhNhNubj)}(h **phydev**h]hphydev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj#Qubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhjaJhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhKubj)}(hphy_check_validh]j%)}(hphy_check_validh]hphy_check_valid}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhKubj)}(h0(int speed, int duplex, unsigned long *features)h](j)}(h int speedh](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hj$RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hspeedh]hspeed}(hj2RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(h int duplexh](j)}(hinth]hint}(hjKRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGRubj)}(h h]h }(hjYRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGRubj%)}(hduplexh]hduplex}(hjgRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hunsigned long *featuresh](j)}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Rubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Rubj)}(hlongh]hlong}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Rubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Rubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|Rubj%)}(hfeaturesh]hfeatures}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubeh}(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)}(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}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjQhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjSh]h Parameters}(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.chKhj Subj)}(hhh](j)}(h``int speed`` speed to match h](j)}(h ``int speed``h]j)}(hj0Sh]h int speed}(hj2ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Subah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj*Subj)}(hhh]jX)}(hspeed to matchh]hspeed to match}(hjIShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEShKhjFSubah}(h]h ]h"]h$]h&]uh1jhj*Subeh}(h]h ]h"]h$]h&]uh1jhjEShKhj'Subj)}(h``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hjiSh]h int duplex}(hjkShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjcSubj)}(hhh]jX)}(hduplex to matchh]hduplex to match}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~ShKhjSubah}(h]h ]h"]h$]h&]uh1jhjcSubeh}(h]h ]h"]h$]h&]uh1jhj~ShKhj'Subj)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hjSh]hunsigned long *features}(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.chKhjSubj)}(hhh]jX)}(hA mask of the valid settingsh]hA mask of the valid settings}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShKhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShKhj'Subeh}(h]h ]h"]h$]h&]uh1jhj SubjX)}(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.chKhj SubjX)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj Subeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhjaJhhhNhNubh)}(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"ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-ubj)}(h h]h }(hj1ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhj0ThM-ubj)}(h phy_mii_ioctlh]j%)}(h phy_mii_ioctlh]h phy_mii_ioctl}(hjCThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?Tubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhj0ThM-ubj)}(h7(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj_ThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[Tubj)}(h h]h }(hjlThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[Tubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj}ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjETsbc.phy_mii_ioctlasbuh1hhj[Tubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[Tubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[Tubj%)}(hphydevh]hphydev}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[Tubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWTubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hifreqh]hifreq}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jTc.phy_mii_ioctlasbuh1hhjTubj)}(h h]h }(hj UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hifrh]hifr}(hj(UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWTubj)}(hint cmdh](j)}(hinth]hint}(hjAUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=Uubj)}(h h]h }(hjOUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=Uubj%)}(hcmdh]hcmd}(hj]UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=Uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhj0ThM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhj0ThM-ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0ThM-hjThhubjS)}(hhh]jX)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(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&]uh1jRhjThhhj0ThM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjUh]h Parameters}(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.chM1hjUubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjUh]hstruct phy_device *phydev}(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)}(hthe phy_device structh]hthe phy_device struct}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM.hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM.hjUubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjVh]hstruct ifreq *ifr}(hjVhhhNhNubah}(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)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hj Vh]h struct ifreq}(hj"VhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjVhM/hjVubh for socket ioctl’s}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjVhM/hjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhM/hjUubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjYVh]hint cmd}(hj[VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjSVubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjrVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnVhM0hjoVubah}(h]h ]h"]h$]h&]uh1jhjSVubeh}(h]h ]h"]h$]h&]uh1jhjnVhM0hjUubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjUubjX)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhjaJhhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjVhMubj)}(h phy_do_ioctlh]j%)}(h phy_do_ioctlh]h phy_do_ioctl}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjVhMubj)}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hj#WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj4WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1Wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6WmodnameN classnameNjj!)}j$]j')}jjVsbc.phy_do_ioctlasbuh1hhjWubj)}(h h]h }(hjTWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjbWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hdevh]hdev}(hjoWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hifreqh]hifreq}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jPWc.phy_do_ioctlasbuh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hifrh]hifr}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(hint cmdh](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hcmdh]hcmd}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubeh}(h]h ]h"]h$]h&]j<j=uh1jhjVhhhjVhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjVhMubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMhjVhhubjS)}(hhh]jX)}(h$generic ndo_eth_ioctl implementationh]h$generic ndo_eth_ioctl implementation}(hj>XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj;Xhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjVhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVXjxjVXjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj`Xh]h Parameters}(hjbXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Xubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjZXubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjXh]hstruct net_device *dev}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Xubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjyXubj)}(hhh]jX)}(hthe net_device structh]hthe net_device struct}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjyXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjvXubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjXh]hstruct ifreq *ifr}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjXubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjXh]h struct ifreq}(hjXhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjXhMhjXubh for socket ioctl’s}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjvXubj)}(h ``int cmd`` ioctl cmd to executeh](j)}(h ``int cmd``h]j)}(hjYh]hint cmd}(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.chMhj Yubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hj)YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj&Yubah}(h]h ]h"]h$]h&]uh1jhj Yubeh}(h]h ]h"]h$]h&]uh1jhj%YhMhjvXubeh}(h]h ]h"]h$]h&]uh1jhjZXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhjaJhhhNhNubh)}(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}(hjjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfYhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjyYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfYhhhjxYhMubj)}(hphy_do_ioctl_runningh]j%)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfYhhhjxYhMubj)}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j')}jjYsbc.phy_do_ioctl_runningasbuh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hdevh]hdev}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hj&ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hifreqh]hifreq}(hj7ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4Zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9ZmodnameN classnameNjj!)}j$]jYc.phy_do_ioctl_runningasbuh1hhjZubj)}(h h]h }(hjUZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjcZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hifrh]hifr}(hjpZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(hint cmdh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hcmdh]hcmd}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubeh}(h]h ]h"]h$]h&]j<j=uh1jhjfYhhhjxYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbYhhhjxYhMubah}(h]j]Yah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxYhMhj_YhhubjS)}(hhh]jX)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(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&]uh1jRhj_YhhhjxYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h1``struct net_device *dev`` the net_device struct 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj [ubj)}(hhh]jX)}(hthe net_device structh]hthe net_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)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjI[h]hstruct ifreq *ifr}(hjK[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjC[ubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjh[h]h struct ifreq}(hjj[hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjf[ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhj^[hMhjb[ubh for socket ioctl’s}(hjb[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^[hMhj_[ubah}(h]h ]h"]h$]h&]uh1jhjC[ubeh}(h]h ]h"]h$]h&]uh1jhj^[hMhj[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.chMhj[ubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(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&]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.chMhjZubjX)}(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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h4void phy_trigger_machine (struct phy_device *phydev)h]h)}(h3void phy_trigger_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 }(hj0\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhj/\hMubj)}(hphy_trigger_machineh]j%)}(hphy_trigger_machineh]hphy_trigger_machine}(hjB\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&]uh1hhjZ\ubj)}(h h]h }(hjk\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZ\ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj|\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~\modnameN classnameNjj!)}j$]j')}jjD\sbc.phy_trigger_machineasbuh1hhjZ\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZ\ubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZ\ubj%)}(hphydevh]hphydev}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZ\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjV\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$Trigger the state machine to run nowh]h$Trigger the state machine to run now}(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{uh1hhhhjaJhNhNubj})}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj\ubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hj]ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj;]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj8]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj7]hM hj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhjaJhhhNhNubh)}(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|]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx]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 hjx]hhhj]hMubj)}(hphy_ethtool_get_stringsh]j%)}(hphy_ethtool_get_stringsh]hphy_ethtool_get_strings}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjx]hhhj]hMubj)}(h%(struct phy_device *phydev, u8 *data)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_ethtool_get_stringsasbuh1hhj]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)}(hu8 *datah](h)}(hhh]j%)}(hu8h]hu8}(hj.^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0^modnameN classnameNjj!)}j$]j]c.phy_ethtool_get_stringsasbuh1hhj'^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%)}(hdatah]hdata}(hjg^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=uh1jhjx]hhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjt]hhhj]hMubah}(h]jo]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhjq]hhubjS)}(hhh]jX)}(hGet the statistic counter namesh]hGet the statistic counter names}(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&]uh1jRhjq]hhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjaJhNhNubj})}(hn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u8 *data`` Where to put the stringsh](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^ubj)}(h%``u8 *data`` Where to put the stringsh](j)}(h ``u8 *data``h]j)}(hj _h]hu8 *data}(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)}(hWhere to put the stringsh]hWhere to put the strings}(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^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_ethtool_get_sset_count (C function)c.phy_ethtool_get_sset_counthNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h:int phy_ethtool_get_sset_count (struct phy_device *phydev)h]h)}(h9int phy_ethtool_get_sset_count(struct phy_device *phydev)h](j)}(hinth]hint}(hje_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-ubj)}(h h]h }(hjt_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hja_hhhjs_hM-ubj)}(hphy_ethtool_get_sset_counth]j%)}(hphy_ethtool_get_sset_counth]hphy_ethtool_get_sset_count}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhja_hhhjs_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_ethtool_get_sset_countasbuh1hhj_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=uh1jhja_hhhjs_hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]_hhhjs_hM-ubah}(h]jX_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjs_hM-hjZ_hhubjS)}(hhh]jX)}(h$Get the number of statistic countersh]h$Get the number of statistic counters}(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&]uh1jRhjZ_hhhjs_hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=`jxj=`jyjzj{uh1hhhhjaJhNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjG`h]h Parameters}(hjI`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE`ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjA`ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjf`h]hstruct phy_device *phydev}(hjh`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hj``ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hj|`ubah}(h]h ]h"]h$]h&]uh1jhj``ubeh}(h]h ]h"]h$]h&]uh1jhj{`hM3hj]`ubah}(h]h ]h"]h$]h&]uh1jhjA`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhjaJhhhNhNubh)}(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}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhj`hMGubj)}(hphy_ethtool_get_statsh]j%)}(hphy_ethtool_get_statsh]hphy_ethtool_get_stats}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhj`hMGubj)}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](j)}(hstruct phy_device *phydevh](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%)}(h phy_deviceh]h phy_device}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj`sbc.phy_ethtool_get_statsasbuh1hhj`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%)}(hphydevh]hphydev}(hjVahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct ethtool_stats *statsh](h)}(hjh]hstruct}(hjoahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkaubj)}(h h]h }(hj|ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkaubh)}(hhh]j%)}(h ethtool_statsh]h ethtool_stats}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j7ac.phy_ethtool_get_statsasbuh1hhjkaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkaubj%)}(hstatsh]hstats}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(h u64 *datah](h)}(hhh]j%)}(hu64h]hu64}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j7ac.phy_ethtool_get_statsasbuh1hhjaubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hdatah]hdata}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhj`hMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhj`hMGubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMGhj`hhubjS)}(hhh]jX)}(hGet the statistic countersh]hGet the statistic counters}(hjEbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjBbhhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhj`hMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]bjxj]bjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjgbh]h Parameters}(hjibhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjebubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjabubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjbh]hstruct phy_device *phydev}(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.chMIhjbubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMIhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMIhj}bubj)}(h5``struct ethtool_stats *stats`` What counters to get h](j)}(h``struct ethtool_stats *stats``h]j)}(hjbh]hstruct ethtool_stats *stats}(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.chMJhjbubj)}(hhh]jX)}(hWhat counters to geth]hWhat counters to get}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMJhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMJhj}bubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hjbh]h u64 *data}(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.chMLhjbubj)}(hhh]jX)}(hWhere to store the countersh]hWhere to store the counters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj chMLhj}bubeh}(h]h ]h"]h$]h&]uh1jhjabubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhjaJhhhNhNubh)}(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}(hjRchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNchhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGubj)}(h h]h }(hjachhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNchhhj`chMGubj)}(hphy_start_cable_testh]j%)}(hphy_start_cable_testh]hphy_start_cable_test}(hjschhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjocubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNchhhj`chMGubj)}(h;(struct phy_device *phydev, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jjucsbc.phy_start_cable_testasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hphydevh]hphydev}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!dmodnameN classnameNjj!)}j$]jcc.phy_start_cable_testasbuh1hhjcubj)}(h h]h }(hj=dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjKdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hextackh]hextack}(hjXdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhjNchhhj`chMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJchhhj`chMGubah}(h]jEcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`chMGhjGchhubjS)}(hhh]jX)}(hStart a cable testh]hStart a cable test}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjdhhubah}(h]h ]h"]h$]h&]uh1jRhjGchhhj`chMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjdubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjdh]hstruct phy_device *phydev}(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.chMIhjdubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMIhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMIhjdubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjdh]hstruct netlink_ext_ack *extack}(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.chMKhjdubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMJhjeubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjehMKhjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhjaJhhhNhNubh)}(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}(hjVehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRehhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjeehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRehhhjdehMubj)}(hphy_start_cable_test_tdrh]j%)}(hphy_start_cable_test_tdrh]hphy_start_cable_test_tdr}(hjwehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjseubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRehhhjdehMubj)}(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}(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}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jjyesbc.phy_start_cable_test_tdrasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hphydevh]hphydev}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj#fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj fubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%fmodnameN classnameNjj!)}j$]jec.phy_start_cable_test_tdrasbuh1hhjfubj)}(h h]h }(hjAfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjOfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hextackh]hextack}(hj\fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h#const struct phy_tdr_config *configh](h)}(hjh]hconst}(hjufhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqfubh)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqfubh)}(hhh]j%)}(hphy_tdr_configh]hphy_tdr_config}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]jec.phy_start_cable_test_tdrasbuh1hhjqfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqfubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqfubj%)}(hconfigh]hconfig}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhjRehhhjdehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNehhhjdehMubah}(h]jIeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdehMhjKehhubjS)}(hhh]jX)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjghhubah}(h]h ]h"]h$]h&]uh1jRhjKehhhjdehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)gjxj)gjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj3gh]h Parameters}(hj5ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1gubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj-gubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjRgh]hstruct phy_device *phydev}(hjTghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPgubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjLgubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjkghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgghMhjhgubah}(h]h ]h"]h$]h&]uh1jhjLgubeh}(h]h ]h"]h$]h&]uh1jhjgghMhjIgubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjgh]hstruct netlink_ext_ack *extack}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjgubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIgubj)}(hH``const struct phy_tdr_config *config`` Configuration of the test to runh](j)}(h'``const struct phy_tdr_config *config``h]j)}(hjgh]h#const struct phy_tdr_config *config}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjgubj)}(hhh]jX)}(h Configuration of the test to runh]h Configuration of the test to run}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIgubeh}(h]h ]h"]h$]h&]uh1jhj-gubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhjaJhhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj)}(h h]h }(hj-hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhj,hhM ubj)}(hinth]hint}(hj;hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhj,hhM ubj)}(h h]h }(hjIhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhj,hhM ubj)}(hphy_inband_capsh]j%)}(hphy_inband_capsh]hphy_inband_caps}(hj[hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhj,hhM ubj)}(h6(struct phy_device *phydev, phy_interface_t interface)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjwhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjshubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj]hsbc.phy_inband_capsasbuh1hhjshubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjshubj%)}(hphydevh]hphydev}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjshubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjohubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jhc.phy_inband_capsasbuh1hhjhubj)}(h h]h }(hj ihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(h interfaceh]h interface}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjohubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhj,hhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhj,hhM ubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hhM hjhhhubjS)}(hhh]jX)}(h2query which in-band signalling modes are supportedh]h2query which in-band signalling modes are supported}(hjBihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hj?ihhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhj,hhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZijxjZijyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjdih]h Parameters}(hjfihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbiubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj^iubj)}(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)}(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.chM hj}iubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjihhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjih]hstruct phy_device}(hjihhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjihM hjiubeh}(h]h ]h"]h$]h&]uh1jWhjihM hjiubah}(h]h ]h"]h$]h&]uh1jhj}iubeh}(h]h ]h"]h$]h&]uh1jhjihM hjziubj)}(h=``phy_interface_t interface`` the interface mode for the PHY h](j)}(h``phy_interface_t interface``h]j)}(hjih]hphy_interface_t interface}(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.chMhjiubj)}(hhh]jX)}(hthe interface mode for the PHYh]hthe interface mode for the PHY}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjziubeh}(h]h ]h"]h$]h&]uh1jhj^iubjX)}(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:113: ./drivers/net/phy/phy.chMhj^iubjX)}(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 }(hj,jhhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hj6jh]henum link_inband_signalling}(hj8jhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj4jubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjlink_inband_signallinguh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj,jubhQ to describe which inband modes are supported by the PHY for this interface mode.}(hj,jhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjSjhMhj^iubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhjaJhhhNhNubh)}(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~jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM!ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzjhhhjjhM!ubj)}(hphy_config_inbandh]j%)}(hphy_config_inbandh]hphy_config_inband}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzjhhhjjhM!ubj)}(h/(struct phy_device *phydev, unsigned int modes)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')}jjjsbc.phy_config_inbandasbuh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hphydevh]hphydev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(hunsigned int modesh](j)}(hunsignedh]hunsigned}(hj-khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)kubj)}(h h]h }(hj;khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)kubj)}(hinth]hint}(hjIkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)kubj)}(h h]h }(hjWkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)kubj%)}(hmodesh]hmodes}(hjekhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzjhhhjjhM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvjhhhjjhM!ubah}(h]jqjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhM!hjsjhhubjS)}(hhh]jX)}(h&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM!hjkhhubah}(h]h ]h"]h$]h&]uh1jRhjsjhhhjjhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chM%hjkubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjkh]hstruct phy_device *phydev}(hjkhhhNhNubah}(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.chM"hjkubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhM"hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhM"hjkubj)}(h2``unsigned int modes`` in-band modes to configure h](j)}(h``unsigned int modes``h]j)}(hj lh]hunsigned int modes}(hj lhhhNhNubah}(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.chM#hjlubj)}(hhh]jX)}(hin-band modes to configureh]hin-band modes to configure}(hj"lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM#hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhM#hjkubeh}(h]h ]h"]h$]h&]uh1jhjkubjX)}(h**Description**h]j)}(hjDlh]h Description}(hjFlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBlubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM%hjkubj)}(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}(hjalhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM&hj]lubj)}(hhh]jX)}(h between the PHY and host system.h]h between the PHY and host system.}(hjslhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjolhM&hjplubah}(h]h ]h"]h$]h&]uh1jhj]lubeh}(h]h ]h"]h$]h&]uh1jhjolhM&hjZlubah}(h]h ]h"]h$]h&]uh1jhjkubjX)}(h **Return**h]j)}(hjlh]hReturn}(hjlhhhNhNubah}(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.chM(hjkubjX)}(h)zero on success, or negative errno value.h]h)zero on success, or negative errno value.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhjaJhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMAubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhMAubj)}(h_phy_start_anegh]j%)}(h_phy_start_anegh]h_phy_start_aneg}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhMAubj)}(h(struct phy_device *phydev)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}(hj5mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7mmodnameN classnameNjj!)}j$]j')}jjlsbc._phy_start_anegasbuh1hhjmubj)}(h h]h }(hjUmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjcmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hphydevh]hphydev}(hjpmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubah}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhMAubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMAhjlhhubjS)}(hhh]jX)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMAhjmhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMEhjmubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjmh]hstruct phy_device *phydev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBhjmubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMBhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMBhjmubah}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMDhjmubj)}(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}(hj3nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhj/nubj)}(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.}(hjEnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMEhjBnubah}(h]h ]h"]h$]h&]uh1jhj/nubeh}(h]h ]h"]h$]h&]uh1jhjAnhMFhj,nubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhjaJhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMaubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhMaubj)}(hphy_start_anegh]j%)}(hphy_start_anegh]hphy_start_aneg}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhMaubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jjnsbc.phy_start_anegasbuh1hhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hphydevh]hphydev}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubah}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~nhhhjnhMaubah}(h]jynah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMahj{nhhubjS)}(hhh]jX)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjFohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMahjCohhubah}(h]h ]h"]h$]h&]uh1jRhj{nhhhjnhMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^ojxj^ojyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjhoh]h Parameters}(hjjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfoubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMehjboubj)}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMbhjoubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMbhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMbhj~oubah}(h]h ]h"]h$]h&]uh1jhjboubjX)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhjboubj)}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMfhjoubj)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMehjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMfhjoubah}(h]h ]h"]h$]h&]uh1jhjboubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhjaJhhhNhNubh)}(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}(hj2phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.phhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjAphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.phhhj@phMubj)}(hphy_speed_downh]j%)}(hphy_speed_downh]hphy_speed_down}(hjSphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.phhhj@phMubj)}(h&(struct phy_device *phydev, bool sync)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjophhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkpubj)}(h h]h }(hj|phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkpubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjUpsbc.phy_speed_downasbuh1hhjkpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkpubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkpubj%)}(hphydevh]hphydev}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgpubj)}(h bool synch](j)}(hjTh]hbool}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hsynch]hsync}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.phhhj@phMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*phhhj@phMubah}(h]j%pah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@phMhj'phhubjS)}(hhh]jX)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(hj&qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj#qhhubah}(h]h ]h"]h$]h&]uh1jRhj'phhhj@phMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>qjxj>qjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjHqh]h Parameters}(hjJqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFqubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjBqubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjgqh]hstruct phy_device *phydev}(hjiqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjequbah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjaqubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|qhMhj}qubah}(h]h ]h"]h$]h&]uh1jhjaqubeh}(h]h ]h"]h$]h&]uh1jhj|qhMhj^qubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjqh]h bool sync}(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)}(hperform action synchronouslyh]hperform action synchronously}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj^qubeh}(h]h ]h"]h$]h&]uh1jhjBqubjX)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(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.chMhjBqubjX)}(h;Typically used to save energy when waiting for a WoL packeth]h;Typically used to save energy when waiting for a WoL packet}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjBqubjX)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjBqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhjaJhhhNhNubh)}(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/rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+rhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj>rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+rhhhj=rhMubj)}(h phy_speed_uph]j%)}(h phy_speed_uph]h phy_speed_up}(hjPrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+rhhhj=rhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjlrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhrubj)}(h h]h }(hjyrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhrubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j')}jjRrsbc.phy_speed_upasbuh1hhjhrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhrubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhrubj%)}(hphydevh]hphydev}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdrubah}(h]h ]h"]h$]h&]j<j=uh1jhj+rhhhj=rhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'rhhhj=rhMubah}(h]j"rah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=rhMhj$rhhubjS)}(hhh]jX)}(h1(re)set advertised speeds to all supported speedsh]h1(re)set advertised speeds to all supported speeds}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jRhj$rhhhj=rhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjsh]h Parameters}(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.chMhj subj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj0sh]hstruct phy_device *phydev}(hj2shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.subah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj*subj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjIshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEshMhjFsubah}(h]h ]h"]h$]h&]uh1jhj*subeh}(h]h ]h"]h$]h&]uh1jhjEshMhj'subah}(h]h ]h"]h$]h&]uh1jhj subjX)}(h**Description**h]j)}(hjksh]h Description}(hjmshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjisubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj subjX)}(h+Used to revert the effect of phy_speed_downh]h+Used to revert the effect of phy_speed_down}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj subeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h2void phy_start_machine (struct phy_device *phydev)h]h)}(h1void phy_start_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjshMubj)}(hphy_start_machineh]j%)}(hphy_start_machineh]hphy_start_machine}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjshMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj tmodnameN classnameNjj!)}j$]j')}jjssbc.phy_start_machineasbuh1hhjsubj)}(h h]h }(hj+thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hj9thhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hphydevh]hphydev}(hjFthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubah}(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)}(h start PHY state machine trackingh]h start PHY state machine tracking}(hjpthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjmthhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjtubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjth]hstruct phy_device *phydev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjtubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjtubj)}(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 uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjuubj)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhjaJhhhNhNubh)}(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\uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXuhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKubj)}(h h]h }(hjkuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXuhhhjjuhMKubj)}(h phy_errorh]j%)}(h phy_errorh]h phy_error}(hj}uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXuhhhjjuhMKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jjusb c.phy_errorasbuh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hphydevh]hphydev}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubah}(h]h ]h"]h$]h&]j<j=uh1jhjXuhhhjjuhMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjTuhhhjjuhMKubah}(h]jOuah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjuhMKhjQuhhubjS)}(hhh]jX)}(h%enter ERROR state for this PHY deviceh]h%enter ERROR state for this PHY device}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjQuhhhjjuhMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4vjxj4vjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj>vh]h Parameters}(hj@vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlock 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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMNhj8vubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h6void phy_request_interrupt (struct phy_device *phydev)h]h)}(h5void phy_request_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjvhMubj)}(hphy_request_interrupth]j%)}(hphy_request_interrupth]hphy_request_interrupt}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjvhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hj'whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj8whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:wmodnameN classnameNjj!)}j$]j')}jjwsbc.phy_request_interruptasbuh1hhjwubj)}(h h]h }(hjXwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjfwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hphydevh]hphydev}(hjswhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubah}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjvhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjvhMubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMhjvhhubjS)}(hhh]jX)}(h-request and enable interrupt for a PHY deviceh]h-request and enable interrupt for a PHY device}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjvhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjwh]h Parameters}(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.chMhjwubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjwh]hstruct phy_device *phydev}(hjwhhhNhNubah}(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.chMhjwubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubjX)}(h**Description**h]j)}(hjxh]h Description}(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.chMhjwubj)}(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.}(hj6xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj2xubj)}(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.}(hjHxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDxhMhjExubah}(h]h ]h"]h$]h&]uh1jhj2xubeh}(h]h ]h"]h$]h&]uh1jhjDxhMhj/xubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h3void phy_free_interrupt (struct phy_device *phydev)h]h)}(h2void phy_free_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjxhMubj)}(hphy_free_interrupth]j%)}(hphy_free_interrupth]hphy_free_interrupt}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxhhhjxhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(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')}jjxsbc.phy_free_interruptasbuh1hhjxubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hphydevh]hphydev}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubah}(h]h ]h"]h$]h&]j<j=uh1jhjxhhhjxhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjxhMubah}(h]j{xah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMhj}xhhubjS)}(hhh]jX)}(h+disable and free interrupt for a PHY deviceh]h+disable and free interrupt for a PHY device}(hjHyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjEyhhubah}(h]h ]h"]h$]h&]uh1jRhj}xhhhjxhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`yjxj`yjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjjyh]h Parameters}(hjlyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhyubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjdyubj)}(hhh]j)}(h7``struct phy_device *phydev`` target 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.chMhjyubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjdyubjX)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjdyubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjyubj)}(hhh]jX)}(h3This should only be called with a valid IRQ number.h]h3This should only be called with a valid IRQ number.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjdyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h)void phy_stop (struct phy_device *phydev)h]h)}(h(void phy_stop(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj4zhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0zhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMSubj)}(h h]h }(hjCzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0zhhhjBzhMSubj)}(hphy_stoph]j%)}(hphy_stoph]hphy_stop}(hjUzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0zhhhjBzhMSubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjqzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmzubj)}(h h]h }(hj~zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmzubh)}(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')}jjWzsb c.phy_stopasbuh1hhjmzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmzubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmzubj%)}(hphydevh]hphydev}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjizubah}(h]h ]h"]h$]h&]j<j=uh1jhj0zhhhjBzhMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,zhhhjBzhMSubah}(h]j'zah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBzhMShj)zhhubjS)}(hhh]jX)}(h5Bring down the PHY link, and stop checking the statush]h5Bring down the PHY link, and stop checking the status}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMShjzhhubah}(h]h ]h"]h$]h&]uh1jRhj)zhhhjBzhMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj {jxj {jyjzj{uh1hhhhjaJhNhNubj})}(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:113: ./drivers/net/phy/phy.chMWhj{ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj5{h]hstruct phy_device *phydev}(hj7{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMYhj/{ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjN{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMThjK{ubah}(h]h ]h"]h$]h&]uh1jhj/{ubeh}(h]h ]h"]h$]h&]uh1jhjJ{hMYhj,{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h*void phy_start (struct phy_device *phydev)h]h)}(h)void phy_start(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)}(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=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{sb c.phy_startasbuh1hhj{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{hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhj{hMubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMhj{hhubjS)}(hhh]jX)}(hstart or restart a PHY deviceh]hstart or restart a PHY device}(hjO|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjL|hhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhj{hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg|jxjg|jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjq|h]h Parameters}(hjs|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo|ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjk|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&]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}(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&]uh1jhjk|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.chMhjk|ubj)}(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}(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)}(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.}(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&]uh1jhjk|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhjaJhhhNhNubh)}(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&]uh1jhj7}hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjJ}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7}hhhjI}hMubj)}(hphy_mac_interrupth]j%)}(hphy_mac_interrupth]hphy_mac_interrupt}(hj\}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7}hhhjI}hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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%)}(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_mac_interruptasbuh1hhjt}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%)}(hphydevh]hphydev}(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}hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3}hhhjI}hMubah}(h]j.}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjI}hMhj0}hhubjS)}(hhh]jX)}(hMAC says the link has changedh]hMAC says the link has changed}(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&]uh1jRhj0}hhhjI}hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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.chMhj6~ubj)}(hhh]jX)}(h#phy_device struct with changed linkh]h#phy_device struct with changed link}(hjU~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQ~hMhjR~ubah}(h]h ]h"]h$]h&]uh1jhj6~ubeh}(h]h ]h"]h$]h&]uh1jhjQ~hMhj3~ubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hjw~h]h Description}(hjy~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju~ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj~ubjX)}(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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhjaJhhhNhNubh)}(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}(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_loopbackh]j%)}(h phy_loopbackh]h phy_loopback}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hMubj)}(h3(struct phy_device *phydev, bool enable, int speed)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_loopbackasbuh1hhj~ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hphydevh]hphydev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(h bool enableh](j)}(hjTh]hbool}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(henableh]henable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(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~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 loopback mode of PHYh]hConfigure loopback mode of PHY}(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{uh1hhhhjaJhNhNubj})}(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}(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.chMhjubj)}(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}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(h0``bool enable`` enable or disable loopback mode h](j)}(h``bool enable``h]j)}(hj_h]h bool enable}(hjahhhNhNubah}(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.chMhjYubj)}(hhh]jX)}(henable or disable loopback modeh]henable or disable loopback mode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(h.``int speed`` enable loopback mode with speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(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 loopback mode with speedh]henable loopback mode with speed}(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&]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.}(hjhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]h)}(hh]h*}(hjȁhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hphydevh]hphydev}(hjՁhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubah}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhjMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhjMhMubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMhj4hhubjS)}(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&]uh1jRhj4hhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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: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}(hjBhhhNhNubah}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubah}(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: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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_eee_rx_clock_stop (C function)c.phy_eee_rx_clock_stophNtauh1hhjaJhhhNhNubh)}(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}(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_eee_rx_clock_stoph]j%)}(hphy_eee_rx_clock_stoph]hphy_eee_rx_clock_stop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj݂ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj΂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 }(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_eee_rx_clock_stopasbuh1hhjubj)}(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)}(hbool clk_stop_enableh](j)}(hjTh]hbool}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hclk_stop_enableh]hclk_stop_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(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"configure PHY receive clock in LPIh]h"configure PHY receive clock in LPI}(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&]jvjqjwj̃jxj̃jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hK``bool clk_stop_enable`` flag to indicate whether the clock can be stopped h](j)}(h``bool clk_stop_enable``h]j)}(hj.h]hbool clk_stop_enable}(hj0hhhNhNubah}(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)}(h1flag to indicate whether the clock can be stoppedh]h1flag to indicate whether the clock can be stopped}(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&]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}(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!hjЃubjX)}(h0 or negative error.h]h0 or negative error.}(hjhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_init_eee (C function)c.phy_init_eeehNtauh1hhjaJhhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjфhhhjhM/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фhhhjhM/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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jjsbc.phy_init_eeeasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hbool clk_stop_enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhj ubeh}(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)}(hinit and check the EEE featureh]hinit and check the EEE feature}(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ʄhhhjhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chM3hjubj)}(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&]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}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hj ubah}(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)}(hjCh]hbool clk_stop_enable}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(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}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM1hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM1hjubeh}(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:113: ./drivers/net/phy/phy.chM3hjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhjaJhhhNhNubh)}(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}(hjÆhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj)}(h h]h }(hj҆hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjцhMMubj)}(hphy_get_eee_errh]j%)}(hphy_get_eee_errh]hphy_get_eee_err}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjц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 }(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_get_eee_errasbuh1hhjubj)}(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цhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjцhMMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjцhMMhjhhubjS)}(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&]uh1jRhjhhhjцhMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMQhjubj)}(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.chMNhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj݇hhhNhNubah}(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)}(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.chMPhjubjX)}(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.chMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhjaJhhhNhNubh)}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMcubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhMcubj)}(hphy_ethtool_get_eeeh]j%)}(hphy_ethtool_get_eeeh]hphy_ethtool_get_eee}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhMcubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjgsbc.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%)}(hphydevh]hphydev}(hjڈhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(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 reftargetjmodnameN classnameNjj!)}j$]jc.phy_ethtool_get_eeeasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjRhMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhMcubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMchj9hhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and status}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMchjqhhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjRhMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMghjubj)}(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.chMdhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjΉhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjʉhMdhjˉubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʉhMdhjubj)}(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.chMehjubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubeh}(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.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}(hjGhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(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_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%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_keee *datah](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 ethtool_keeeh]h ethtool_keee}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jc.phy_ethtool_set_eeeasbuh1hhj+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%)}(hdatah]hdata}(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=jDuh1hjEjFhjxhhhjhMubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjuhhubjS)}(hhh]jX)}(hset EEE supported and statush]hset EEE supported and status}(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&]uh1jRhjuhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjȋjxjȋjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hj*h]hstruct ethtool_keee *data}(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)}(hethtool_keee datah]hethtool_keee data}(hjChhhNhNubah}(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)}(hjeh]h Description}(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̋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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_ethtool_set_wolh]j%)}(hphy_ethtool_set_wolh]hphy_ethtool_set_wol}(hjˌhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)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_set_wolasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj3hhhNhNubah}(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)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j!c.phy_ethtool_set_wolasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hwolh]hwol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(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)}(hConfigure Wake On LANh]hConfigure Wake On LAN}(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&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjTh]hstruct ethtool_wolinfo *wol}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjNubj)}(hhh]jX)}(hConfiguration requestedh]hConfiguration requested}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_ethtool_get_wolh]j%)}(hphy_ethtool_get_wolh]hphy_ethtool_get_wol}(hjώhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˎubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)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')}jjюsbc.phy_ethtool_get_wolasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjDhhhNhNubah}(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&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j%c.phy_ethtool_get_wolasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hwolh]hwol}(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)}(h)Get the current Wake On LAN configurationh]h)Get the current Wake On LAN configuration}(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&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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}(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&]uh1jhj4hMhjubj)}(hD``struct ethtool_wolinfo *wol`` Store the current configuration hereh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjXh]hstruct ethtool_wolinfo *wol}(hjZhhhNhNubah}(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.chMhjRubj)}(hhh]jX)}(h$Store the current configuration hereh]h$Store the current configuration here}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_ethtool_nway_reseth]j%)}(hphy_ethtool_nway_reseth]hphy_ethtool_nway_reset}(hjӐhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϐubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct net_device *ndev)h]j)}(hstruct net_device *ndevh](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 reftargetjmodnameN classnameNjj!)}j$]j')}jjՐsbc.phy_ethtool_nway_resetasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hndevh]hndev}(hjHhhhNhNubah}(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)}(hRestart auto negotiationh]hRestart auto negotiation}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjohhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(hS**Parameters** ``struct net_device *ndev`` Network device to restart autoneg forh](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)}(hA``struct net_device *ndev`` Network device to restart autoneg forh](j)}(h``struct net_device *ndev``h]j)}(hjh]hstruct net_device *ndev}(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%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.chMhjɑ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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhjaJhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhKubj)}(hphy_config_interrupth]j%)}(hphy_config_interrupth]hphy_config_interrupt}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhKubj)}(h,(struct phy_device *phydev, bool interrupts)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj0sbc.phy_config_interruptasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hbool interruptsh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjɒhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interruptsh]h interrupts}(hjגhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhKubeh}(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{uh1hhhhjaJhNhNubj})}(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)}(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.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjBh]hstruct phy_device *phydev}(hjDhhhNhNubah}(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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhKhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhKhj9ubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjuubj)}(hhh]jX)}(h0interrupt flags to configure for this **phydev**h](h&interrupt flags to configure for this }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhj9ubeh}(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: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.}(hjړhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhjaJhhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_supported_speedsh]j%)}(hphy_supported_speedsh]hphy_supported_speeds}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(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}(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')}jjHsbc.phy_supported_speedsasbuh1hhj^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%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(hunsigned int *speedsh](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;)}(hj>h]h*}(hj hhhNhNubah}(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=uh1jhjZubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hsizeh]hsize}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(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}(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{uh1hhhhjaJhNhNubj})}(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)}(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)}(hI``struct phy_device *phy`` The phy device to return supported speeds of. 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&]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjϕubeh}(h]h ]h"]h$]h&]uh1jhjhKhj̕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&]uh1jhj ubah}(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.}(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-``unsigned int size`` size of speeds buffer. h](j)}(h``unsigned int size``h]j)}(hjGh]hunsigned int size}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjAubj)}(hhh]jX)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hKhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubjX)}(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.}(hjhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]h)}(h5void phy_sanitize_settings(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:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hj֖hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjÖhhhjՖhKubj)}(hphy_sanitize_settingsh]j%)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjÖhhhjՖhKubj)}(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.phy_sanitize_settingsasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(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ՖhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjՖhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjՖhKhjhhubjS)}(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&]uh1jRhjhhhjՖhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h;``struct phy_device *phydev`` the 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:116: ./drivers/net/phy/phy.chKhj—ubj)}(hhh]jX)}(hthe target phy_device structh]hthe target phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjݗhKhjޗubah}(h]h ]h"]h$]h&]uh1jhj—ubeh}(h]h ]h"]h$]h&]uh1jhjݗhKhjubah}(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.chKhjubj)}(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}(hj hhhNhNubah}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hKhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhjaJhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjhMubj)}(h__phy_hwtstamp_geth]j%)}(h__phy_hwtstamp_geth]h__phy_hwtstamp_get}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjhMubj)}(hB(struct phy_device *phydev, struct kernel_hwtstamp_config *config)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_hwtstamp_getasbuh1hhjubj)}(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%struct kernel_hwtstamp_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%)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jc.__phy_hwtstamp_getasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjhMubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjghhubjS)}(hhh]jX)}(h0Get hardware timestamping configuration from PHYh]h0Get hardware timestamping configuration from PHY}(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&]uh1jRhjghhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h7``struct phy_device *phydev`` 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.chMhjݙubj)}(hhh]jX)}(hthe PHY device structureh]hthe PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݙubeh}(h]h ]h"]h$]h&]uh1jhjhMhjڙubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjڙubeh}(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:116: ./drivers/net/phy/phy.chMhjubjX)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(hjmhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhjaJhhhNhNubh)}(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}(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_seth]j%)}(h__phy_hwtstamp_seth]h__phy_hwtstamp_set}(hjhhhNhNubah}(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, struct netlink_ext_ack *extack)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_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%)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj՚ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjњubj)}(h%struct kernel_hwtstamp_config *configh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]jc.__phy_hwtstamp_setasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjњubj)}(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$hj֛ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjۛmodnameN classnameNjj!)}j$]jc.__phy_hwtstamp_setasbuh1hhjubj)}(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=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.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.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMhjXubj)}(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.chMhjwubj)}(hhh]jX)}(hthe PHY device structureh]hthe PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(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&]uh1jWhj˜hMhj̜ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˜hMhjtubj)}(hV``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhjaJhhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhMubj)}(hphy_queue_state_machineh]j%)}(hphy_queue_state_machineh]hphy_queue_state_machine}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhMubj)}(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 }(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')}jjlsbc.phy_queue_state_machineasbuh1hhjubj)}(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)}(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 }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hjiffiesh]hjiffies}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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%Trigger the state machine to run soonh]h%Trigger the state machine to run soon}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjvubj)}(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&]uh1jhjhMhjubj)}(hC``unsigned long jiffies`` Run the state machine after these jiffiesh](j)}(h``unsigned long jiffies``h]j)}(hjԞh]hunsigned long jiffies}(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)}(h)Run the state machine after these jiffiesh]h)Run the state machine after these jiffies}(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&]uh1jhjΞubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhjaJhhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhV/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 hj*hhhj<hM\ubj)}(h__phy_ethtool_get_phy_statsh]j%)}(h__phy_ethtool_get_phy_statsh]h__phy_ethtool_get_phy_stats}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj<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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(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_ethtool_get_phy_statsasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hphydevh]hphydev}(hjğhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(h'struct ethtool_eth_phy_stats *phy_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_eth_phy_statsh]hethtool_eth_phy_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__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 phy_statsh]h phy_stats}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjٟubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(h&struct ethtool_phy_stats *phydev_statsh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hethtool_phy_statsh]hethtool_phy_stats}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jc.__phy_ethtool_get_phy_statsasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(h phydev_statsh]h phydev_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(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$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\hjˠhhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj<hM\ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hjubj)}(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&]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)}(hPointer to the PHY deviceh]hPointer to the PHY 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]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)}(hjHh]h'struct ethtool_eth_phy_stats *phy_stats}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM^hjBubj)}(hhh]jX)}(h*Pointer to ethtool_eth_phy_stats structureh]h*Pointer to ethtool_eth_phy_stats structure}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM^hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM^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}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMahjubjX)}(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.}(hjҡhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMahjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhjaJhhhNhNubh)}(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}(hj"hhhNhNubah}(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 }(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$sb"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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(h)struct ethtool_link_ext_stats *link_statsh](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_ext_statsh]hethtool_link_ext_stats}(hj΢hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˢubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjТmodnameN classnameNjj!)}j$]jx"c.__phy_ethtool_get_link_ext_statsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h link_statsh]h link_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMrhj.hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMvhjMubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device 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.chMshjlubj)}(hhh]jX)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMshjiubj)}(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)}(hjh]h)struct ethtool_link_ext_stats *link_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.chMthjubj)}(hhh]jX)}(h:Pointer to the structure to store extended link statisticsh]h:Pointer to the structure to store extended link statistics}(hjģhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjiubeh}(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.chMvhjMubjX)}(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.chMvhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhjaJhhhNhNubh)}(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}(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)}(hphy_ethtool_get_plca_cfgh]j%)}(hphy_ethtool_get_plca_cfgh]hphy_ethtool_get_plca_cfg}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hMubj)}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)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_ethtool_get_plca_cfgasbuh1hhjdubj)}(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)}(hstruct phy_plca_cfg *plca_cfgh](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_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_ethtool_get_plca_cfgasbuh1hhj֤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%)}(hplca_cfgh]hplca_cfg}(hj1hhhNhNubah}(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'hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhj hhubjS)}(hhh]jX)}(hGet PLCA RS configurationh]hGet PLCA RS configuration}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjaJhNhNubj})}(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.chMhjwubj)}(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&]uh1jhjhMhjubj)}(hM``struct phy_plca_cfg *plca_cfg`` where to store the retrieved 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&]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}(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&]uh1jhjwubjX)}(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.chMhjwubjX)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhjaJhhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjchMubj)}(hplca_check_validh]j%)}(hplca_check_validh]hplca_check_valid}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjchMubj)}(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&]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')}jjxsbc.plca_check_validasbuh1hhjubj)}(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#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 }(hj,hhhNhNubah}(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 }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplca_cfgh]hplca_cfg}(hjvhhhNhNubah}(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 }(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$]j̦c.plca_check_validasbuh1hhjubj)}(h h]h }(hj˧hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj٧hhhNhNubah}(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=uh1jhjQhhhjchMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjchMubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchMhjJhhubjS)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjchMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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)}(hjQh]hstruct phy_device *phydev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.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&]uh1jhjfhMhjHubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(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}(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)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjܨhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjبhMhj٨ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjبhMhjHubeh}(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)}(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.chMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhjaJhhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjQhMubj)}(hphy_ethtool_set_plca_cfgh]j%)}(hphy_ethtool_set_plca_cfgh]hphy_ethtool_set_plca_cfg}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhjQhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjfsbc.phy_ethtool_set_plca_cfgasbuh1hhj|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=uh1jhjxubj)}(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}(hj hhhNhNubah}(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$]jc.phy_ethtool_set_plca_cfgasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplca_cfgh]hplca_cfg}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(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.phy_ethtool_set_plca_cfgasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjǪhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hextackh]hextack}(hjԪhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhjQhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjQhMubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMhj8hhubjS)}(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&]uh1jRhj8hhhjQhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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: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}(hjAhhhNhNubah}(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.chMhj9ubj)}(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)}(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)}(hjxh]h#const struct phy_plca_cfg *plca_cfg}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjrubj)}(hhh]jX)}(hnew PLCA configuration to applyh]hnew PLCA configuration to apply}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjʫhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjƫhMhjǫubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƫhMhj6ubeh}(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)}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhjaJhhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhV/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 hj-hhhj?hM(ubj)}(hphy_ethtool_get_plca_statush]j%)}(hphy_ethtool_get_plca_statush]hphy_ethtool_get_plca_status}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hM(ubj)}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjTsbc.phy_ethtool_get_plca_statusasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hphydevh]hphydev}(hjǬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hstruct phy_plca_status *plca_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%)}(hphy_plca_statush]hphy_plca_status}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_ethtool_get_plca_statusasbuh1hhjܬ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%)}(hplca_sth]hplca_st}(hj7hhhNhNubah}(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)}(hGet PLCA RS status informationh]hGet PLCA RS status information}(hjahhhNhNubah}(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&hhhj?hM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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)}(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)}(hjۭh]hstruct phy_plca_status *plca_st}(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/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&]uh1jhjխubeh}(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&]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.}(hj,hhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhjaJhhhNhNubh)}(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}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjihMubj)}(hphy_check_link_statush]j%)}(hphy_check_link_statush]hphy_check_link_status}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjihMubj)}(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_check_link_statusasbuh1hhjubj)}(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=uh1jhjWhhhjihMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjihMubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihMhjPhhubjS)}(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&]uh1jRhjPhhhjihMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhjaJhNhNubj})}(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.chMhj7ubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjVubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(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.chMhj7ubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h1void phy_stop_machine (struct phy_device *phydev)h]h)}(h0void phy_stop_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:116: ./drivers/net/phy/phy.chM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjدhhhjhM'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=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 }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jjsbc.phy_stop_machineasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjrhhhNhNubah}(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=jDuh1hjEjFhjԯhhhjhM'ubah}(h]jϯah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hjѯhhubjS)}(hhh]jX)}(h#stop the PHY state machine trackingh]h#stop the PHY state machine tracking}(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ѯhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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:116: ./drivers/net/phy/phy.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(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:116: ./drivers/net/phy/phy.chM*hjubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM+hj1ubj)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM+hjDubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjChM+hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhjaJhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMZubj)}(hphy_disable_interruptsh]j%)}(hphy_disable_interruptsh]hphy_disable_interrupts}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMZubj)}(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 }(hjѱhhhNhNubah}(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')}jjsbc.phy_disable_interruptsasbuh1hhjubj)}(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=uh1jhjhhhjhMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMZubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMZhj|hhubjS)}(hhh]jX)}(h,Disable the PHY interrupts from the PHY sideh]h,Disable the PHY interrupts from the PHY side}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMZhjDhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhjaJhNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](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:116: ./drivers/net/phy/phy.chM^hjcubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j phy_interruptsbc.phy_interruptasbuh1hhj޲hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޲hhhjhMdubj)}(h phy_interrupth]j%)}(hjh]h phy_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj޲hhhjhMdubj)}(h(int irq, void *phy_dat)h](j)}(hint irqh](j)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hirqh]hirq}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(h void *phy_dath](j)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hphy_dath]hphy_dat}(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޲hhhjhMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjڲhhhjhMdubah}(h]jղah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMdhjײhhubjS)}(hhh]jX)}(hPHY interrupt handlerh]hPHY interrupt handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMdhjhhubah}(h]h ]h"]h$]h&]uh1jRhjײhhhjhMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjԳjxjԳjyjzj{uh1hhhhjaJhNhNubj})}(h{**Parameters** ``int irq`` interrupt line ``void *phy_dat`` phy_device pointer **Description** Handle PHY interrupth](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.chMhhjسubj)}(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)}(hj6h]h void *phy_dat}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhj0ubj)}(hhh]jX)}(hphy_device pointerh]hphy_device pointer}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMfhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMfhjubeh}(h]h ]h"]h$]h&]uh1jhjسubjX)}(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:116: ./drivers/net/phy/phy.chMhhjسubjX)}(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.chMhhjسubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h5int phy_enable_interrupts (struct phy_device *phydev)h]h)}(h4int phy_enable_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.chMubj)}(h h]h }(hjŴhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjĴhMubj)}(hphy_enable_interruptsh]j%)}(hphy_enable_interruptsh]hphy_enable_interrupts}(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_enable_interruptsasbuh1hhjubj)}(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)}(h'Enable the interrupts from the PHY sideh]h'Enable the interrupts from the PHY side}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjshhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjĴhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̵hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhjaJhhhNhNubh)}(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&]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 hhhjhMubj)}(hphy_update_statsh]j%)}(hphy_update_statsh]hphy_update_stats}(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.phy_update_statsasbuh1hhjJubj)}(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*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&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMhjubj)}(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.chMhj ubj)}(hhh]jX)}(h$Pointer to the PHY device structure.h]h$Pointer to the PHY device structure.}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(h **Return**h]j)}(hjth]hReturn}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhjaJhhhNhNubh)}(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}(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)}(hinth]hint}(hjַhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjǷhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjǷhMubj)}(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=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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jjsbc.phy_get_next_update_timeasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(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"Determine the next PHY update timeh]h"Determine the next PHY update time}(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{uh1hhhhjaJhNhNubj})}(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)}(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)}(hB``struct phy_device *phydev`` Pointer to the 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&]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}(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:116: ./drivers/net/phy/phy.chMhjubjX)}(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.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(h **Return**h]j)}(hj8h]hReturn}(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.chMhjubjX)}(h.The time for the next polling event in jiffiesh]h.The time for the next polling event in jiffies}(hjNhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhjaJhhhNhNubh)}(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&]uh1jhjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMAubj)}(hphy_state_machineh]j%)}(hphy_state_machineh]hphy_state_machine}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhMAubj)}(h(struct work_struct *work)h]j)}(hstruct work_struct *workh](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 work_structh]h work_struct}(hjعhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjչubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjڹmodnameN classnameNjj!)}j$]j')}jjsbc.phy_state_machineasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hworkh]hwork}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhMAubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMAhjrhhubjS)}(hhh]jX)}(hHandle the state machineh]hHandle the state machine}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMAhj:hhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjaJhNhNubj})}(h]**Parameters** ``struct work_struct *work`` work_struct that describes the work to be doneh](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:116: ./drivers/net/phy/phy.chMEhjYubj)}(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.chMGhjxubj)}(hhh]jX)}(h.work_struct that describes the work to be doneh]h.work_struct that describes the work to be done}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMBhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhjaJhhhNhNubh)}(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}(hjغhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԺhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԺhhhjhM{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=uh1jhjԺhhhjhM{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 }(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_ethtool_set_eee_nonegasbuh1hhjubj)}(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)}(h const struct eee_config *old_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 eee_configh]h eee_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj»modnameN classnameNjj!)}j$]jOc.phy_ethtool_set_eee_nonegasbuh1hhjubj)}(h h]h }(hj޻hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(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=uh1jhj ubeh}(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)}(h7Adjusts MAC LPI configuration without PHY renegotiationh]h7Adjusts MAC LPI configuration without PHY renegotiation}(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ͺhhhjhM{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMhj?ubj)}(hhh](j)}(hI``struct phy_device *phydev`` pointer to the target PHY device structure 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:116: ./drivers/net/phy/phy.chM}hj^ubj)}(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&]uh1jWhjyhM}hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM}hj[ubj)}(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)}(hjh]h const struct eee_config *old_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.chM~hjubj)}(hhh]jX)}(hCpointer to the eee_config structure containing the old EEE settingsh]hCpointer to the eee_config structure containing the old EEE settings}(hjhhhNhNubah}(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&]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)}(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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhjaJhhhNhNubh)}(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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hKubj)}(hcharh]hchar}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj*hKubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hKubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj*hKubj)}(hphy_speed_to_strh]j%)}(hphy_speed_to_strh]hphy_speed_to_str}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hKubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubah}(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)}(h/Return a string representing the PHY link speedh]h/Return a string representing the PHY link speed}(hjȽhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjŽhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(h1**Parameters** ``int speed`` Speed of the linkh](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)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hj h]h int speed}(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.chKhjubj)}(hhh]jX)}(hSpeed of the linkh]hSpeed of the link}(hj"hhhNhNubah}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhjaJhhhNhNubh)}(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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKCubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjphKCubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhjphKCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjphKCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_hhhjphKCubj)}(hphy_duplex_to_strh]j%)}(hphy_duplex_to_strh]hphy_duplex_to_str}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhjphKCubj)}(h(unsigned int duplex)h]j)}(hunsigned int duplexh](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%)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjľubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhjphKCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjphKCubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphKChjXhhubjS)}(hhh]jX)}(h#Return string describing the duplexh]h#Return string describing the duplex}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKChj'hhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhjphKCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhjaJhNhNubj})}(hD**Parameters** ``unsigned int duplex`` Duplex setting to describeh](jX)}(h**Parameters**h]j)}(hjLh]h Parameters}(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.chKGhjFubj)}(hhh]j)}(h2``unsigned int duplex`` Duplex setting to describeh](j)}(h``unsigned int duplex``h]j)}(hjkh]hunsigned int duplex}(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.chKIhjeubj)}(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&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhKIhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhjaJhhhNhNubh)}(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}(hjſhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKTubj)}(h h]h }(hjӿhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjҿhKTubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjҿhKTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjҿhKTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjҿhKTubj)}(hphy_rate_matching_to_strh]j%)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjҿhKTubj)}(h(int rate_matching)h]j)}(hint rate_matchingh](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(h rate_matchingh]h rate_matching}(hjFhhhNhNubah}(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ҿhKTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjҿhKTubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjҿhKThjhhubjS)}(hhh]jX)}(h,Return a string describing the rate matchingh]h,Return a string describing the rate matching}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKThjmhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjҿhKTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(hI**Parameters** ``int rate_matching`` Type of rate matching 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.chKXhjubj)}(hhh]j)}(h7``int rate_matching`` Type of rate matching to describeh](j)}(h``int rate_matching``h]j)}(hjh]hint rate_matching}(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.chKZhjubj)}(hhh]jX)}(h!Type of rate matching to describeh]h!Type of rate matching to describe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhjaJhhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(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}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jj.sbc.phy_interface_num_portsasbuh1hhjDubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj%)}(h interfaceh]h interface}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKihjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(he**Parameters** ``phy_interface_t interface`` The interface mode we want to get the number of portsh](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.chKmhjubj)}(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)}(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:119: ./drivers/net/phy/phy-core.chKohjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhjaJhhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjLhKubj)}(hphy_set_max_speedh]j%)}(hphy_set_max_speedh]hphy_set_max_speed}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhjLhKubj)}(h*(struct phy_device *phydev, u32 max_speed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(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')}jjasbc.phy_set_max_speedasbuh1hhjwubj)}(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=uh1jhjsubj)}(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.phy_set_max_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=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhjLhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhjLhKubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhKhj3hhubjS)}(hhh]jX)}(h,Set the maximum speed the PHY should supporth]h,Set the maximum speed the PHY should support}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjChhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhjLhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjbubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj~ubj)}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh]jX)}(h Maximum speedh]h Maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj~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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjbubjX)}(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.chKhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhjaJhhhNhNubh)}(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}(hj@hhhNhNubah}(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 }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjNhMubj)}(hphy_resolve_aneg_pauseh]j%)}(hphy_resolve_aneg_pauseh]hphy_resolve_aneg_pause}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhjNhMubj)}(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_resolve_aneg_pauseasbuh1hhjyubj)}(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<hhhjNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhjNhMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhMhj5hhubjS)}(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&]uh1jRhj5hhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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: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)}(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:119: ./drivers/net/phy/phy-core.chMhj;ubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(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&]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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhjaJhhhNhNubh)}(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}(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_linkmodeh]j%)}(hphy_resolve_aneg_linkmodeh]hphy_resolve_aneg_linkmode}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_resolve_aneg_linkmodeasbuh1hhjubj)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhjaJhhhNhNubh)}(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}(hjBhhhNhNubah}(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 }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhMubj)}(h__phy_read_mmdh]j%)}(h__phy_read_mmdh]h__phy_read_mmd}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjPhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesbc.__phy_read_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=uh1jhjwubj)}(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=uh1jhjwubj)}(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 }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hregnumh]hregnum}(hjUhhhNhNubah}(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)}(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&]uh1jRhj7hhhjPhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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 (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&]uh1jhjhMhjubj)}(h:``u32 regnum`` The register on the MMD to read (0..65535) h](j)}(h``u32 regnum``h]j)}(hj2h]h u32 regnum}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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*The register on the MMD to read (0..65535)h]h*The register on the MMD to read (0..65535)}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubeh}(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)}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhjaJhhhNhNubh)}(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}(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&]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_read_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}(hjHhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j)c.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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMhj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj0h]hstruct phy_device *phydev}(hj2hhhNhNubah}(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 phy_device structh]hThe phy_device struct}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjih]h int devad}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjcubj)}(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&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubj)}(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&]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: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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhjaJhhhNhNubh)}(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}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hMubj)}(h__phy_write_mmdh]j%)}(h__phy_write_mmdh]h__phy_write_mmd}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hMubj)}(h;(struct phy_device *phydev, int devad, 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 }(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjEsbc.__phy_write_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=uh1jhjWubj)}(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=uh1jhjWubj)}(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_write_mmdasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jc.__phy_write_mmdasbuh1hhjJubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hvalh]hval}(hj}hhhNhNubah}(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)}(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.}(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&]uh1jRhjhhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(hj!h]h int devad}(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)}(hThe MMD to read fromh]hThe MMD to read from}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjZh]h u32 regnum}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjTubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(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&]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 }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhjaJhhhNhNubh)}(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}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/hMubj)}(h phy_write_mmdh]j%)}(h phy_write_mmdh]h phy_write_mmd}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/hMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(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')}jjDsbc.phy_write_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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.phy_write_mmdasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jc.phy_write_mmdasbuh1hhjIubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(hvalh]hval}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(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)}(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.}(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{uh1hhhhjaJhNhNubj})}(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)}(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)}(hj h]h int devad}(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)}(hThe MMD to read fromh]hThe MMD to read from}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjYh]h u32 regnum}(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.chMhjSubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(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&]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 }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__phy_package_read_mmd (C function)c.__phy_package_read_mmdhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hgint __phy_package_read_mmd (struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum)h]h)}(hfint __phy_package_read_mmd(struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum)h](j)}(hinth]hint}(hj hhhNhNubah}(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_package_read_mmdh]j%)}(h__phy_package_read_mmdh]h__phy_package_read_mmd}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hMubj)}(hL(struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum)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_package_read_mmdasbuh1hhjYubj)}(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=uh1jhjUubj)}(hunsigned int addr_offseth](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 addr_offseth]h addr_offset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(h int devadh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(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=uh1jhjUubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jc.__phy_package_read_mmdasbuh1hhjQubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(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.read MMD reg relative to PHY package base addrh]h.read MMD reg relative to PHY package base addr}(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{uh1hhhhjaJhNhNubj})}(hX **Parameters** ``struct phy_device *phydev`` The phy_device struct ``unsigned int addr_offset`` The offset to be added to PHY package base_addr ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read **Description** Convenience helper for reading a register of an MMD on a given PHY using the PHY package base address. The base address is added to the addr_offset value. Same calling rules as for __phy_read(); **NOTE** It's assumed that the entire PHY package is either C22 or C45.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)}(hM``unsigned int addr_offset`` The offset to be added to PHY package base_addr h](j)}(h``unsigned int addr_offset``h]j)}(hj(h]hunsigned int addr_offset}(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)}(h/The offset to be added to PHY package base_addrh]h/The offset to be added to PHY package base_addr}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjah]h int devad}(hjchhhNhNubah}(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 MMD to read fromh]hThe MMD to read from}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(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&]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)}(hConvenience helper for reading a register of an MMD on a given PHY using the PHY package base address. The base address is added to the addr_offset value.h]hConvenience helper for reading a register of an MMD on a given PHY using the PHY package base address. The base address is added to the addr_offset value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(h'Same calling rules as for __phy_read();h]h'Same calling 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.chMhjubjX)}(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:119: ./drivers/net/phy/phy-core.chMhjubjX)}(h>It's assumed that the entire PHY package is either C22 or C45.h]h@It’s assumed that the entire PHY package is either C22 or C45.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$__phy_package_write_mmd (C function)c.__phy_package_write_mmdhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hqint __phy_package_write_mmd (struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum, u16 val)h]h)}(hpint __phy_package_write_mmd(struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj^hM ubj)}(h__phy_package_write_mmdh]j%)}(h__phy_package_write_mmdh]h__phy_package_write_mmd}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hM ubj)}(hU(struct phy_device *phydev, unsigned int addr_offset, 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')}jjssbc.__phy_package_write_mmdasbuh1hhjubj)}(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)}(hunsigned int addr_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h addr_offseth]h addr_offset}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hdevadh]hdevad}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(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_package_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$]jc.__phy_package_write_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=uh1jhjLhhhj^hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhj^hM ubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hM hjEhhubjS)}(hhh]jX)}(h/write MMD reg relative to PHY package base addrh]h/write MMD reg relative to PHY package base addr}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hj#hhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj^hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhjaJhNhNubj})}(hX:**Parameters** ``struct phy_device *phydev`` The phy_device struct ``unsigned int addr_offset`` The offset to be added to PHY package base_addr ``int devad`` The MMD to write to ``u32 regnum`` The register on the MMD to write ``u16 val`` value to write to **regnum** **Description** Convenience helper for writing a register of an MMD on a given PHY using the PHY package base address. The base address is added to the addr_offset value. Same calling rules as for __phy_write(); **NOTE** It's assumed that the entire PHY package is either C22 or C45.h](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjBubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct 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:119: ./drivers/net/phy/phy-core.chM hjaubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(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)}(hM``unsigned int addr_offset`` The offset to be added to PHY package base_addr h](j)}(h``unsigned int addr_offset``h]j)}(hjh]hunsigned int addr_offset}(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)}(h/The offset to be added to PHY package base_addrh]h/The offset to be added to PHY package base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj^ubj)}(h"``int devad`` The MMD to write to 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.chM hjubj)}(hhh]jX)}(hThe MMD to write toh]hThe MMD to write to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj^ubj)}(h0``u32 regnum`` The register on the MMD 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.chM hj ubj)}(hhh]jX)}(h The register on the MMD to writeh]h The register on the MMD to write}(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)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjKh]hu16 val}(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)}(hvalue to write to **regnum**h](hvalue to write to }(hjdhhhNhNubj)}(h **regnum**h]hregnum}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj^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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjBubjX)}(hConvenience helper for writing a register of an MMD on a given PHY using the PHY package base address. The base address is added to the addr_offset value.h]hConvenience helper for writing a register of an MMD on a given PHY using the PHY package base address. The base address is added to the addr_offset value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjBubjX)}(h(Same calling rules as for __phy_write();h]h(Same calling 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.chMhjBubjX)}(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.chMhjBubjX)}(h>It's assumed that the entire PHY package is either C22 or C45.h]h@It’s assumed that the entire PHY package is either C22 or C45.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhjaJhhhNhNubh)}(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&]uh1jhj hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM*ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM*ubj)}(hphy_modify_changedh]j%)}(hphy_modify_changedh]hphy_modify_changed}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM*ubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)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_modify_changedasbuh1hhjHubj)}(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)}(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_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=uh1jhjDubj)}(hu16 maskh](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.phy_modify_changedasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jc.phy_modify_changedasbuh1hhjJubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hseth]hset}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(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)}(h%Function for modifying a PHY registerh]h%Function for modifying a PHY 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&]uh1jRhjhhhjhM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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. **Description** 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.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)}(hj!h]h u32 regnum}(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)}(hregister number to modifyh]hregister number to modify}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM,hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM,hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjZh]hu16 mask}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM-hjTubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohM-hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM-hjubj)}(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.chM.hjubj)}(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&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.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.chM0hjubjX)}(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.chM0hjubjX)}(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.chM4hjubjX)}(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.chM4hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhjaJhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMCubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhMCubj)}(h __phy_modifyh]j%)}(h __phy_modifyh]h __phy_modify}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjVhMCubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjksbc.__phy_modifyasbuh1hhjubj)}(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)}(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_modifyasbuh1hhjubj)}(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=uh1jhj}ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]jc.__phy_modifyasbuh1hhj;ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(hmaskh]hmask}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(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_modifyasbuh1hhjubj)}(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=uh1jhjDhhhjVhMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjVhMCubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMChj=hhubjS)}(hhh]jX)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMChjhhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhjVhMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMGhjubj)}(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.chMDhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMDhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMDhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjZh]h u32 regnum}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMEhjTubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMEhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMEhjubj)}(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)}(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.chMGhjubj)}(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&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubeh}(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.chMIhjubjX)}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhjaJhhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjhhMXubj)}(h phy_modifyh]j%)}(h phy_modifyh]h phy_modify}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjhhMXubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj}sb c.phy_modifyasbuh1hhjubj)}(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 u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_modifyasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j c.phy_modifyasbuh1hhjMubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(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_modifyasbuh1hhjubj)}(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=uh1jhjVhhhjhhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjRhhhjhhMXubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhMXhjOhhubjS)}(hhh]jX)}(h7Convenience function for modifying a given PHY registerh]h7Convenience function for modifying a given PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjhhMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj3h]hstruct phy_device *phydev}(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.chMYhj-ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMYhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMYhj*ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjlh]h u32 regnum}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMZhjfubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMZhj*ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj*ubj)}(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.chM\hjubj)}(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&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj*ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(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: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.}(hj=hhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhjaJhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhh[/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 hjhhhhjzhMoubj)}(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=uh1jhjhhhhjzhMoubj)}(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*}(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 }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jc.__phy_modify_mmd_changedasbuh1hhjLubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhjzhMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjzhMoubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMohjahhubjS)}(hhh]jX)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMohj6hhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjzhMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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:119: ./drivers/net/phy/phy-core.chMshjUubj)}(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}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMphjtubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMphjqubj)}(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.chMqhjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjqubj)}(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&]uh1jhjhMrhjqubj)}(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.chMshjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMshj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMshjqubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** 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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMthjXubj)}(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 }(hjwhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jWhjshMthjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMthjqubeh}(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:119: ./drivers/net/phy/phy-core.chMvhjUubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMvhjUubjX)}(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.chMyhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhjaJhhhNhNubh)}(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.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(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=uh1jhjhhhj hMubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjsbc.phy_modify_mmd_changedasbuh1hhj4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(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=uh1jhj0ubj)}(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$]jrc.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=uh1jhj0ubj)}(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$]jrc.phy_modify_mmd_changedasbuh1hhj#ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj%)}(hmaskh]hmask}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]jrc.phy_modify_mmd_changedasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(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(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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. **Description** 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.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&]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}(hj"hhhNhNubah}(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)}(hjBh]h int devad}(hjDhhhNhNubah}(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%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjuubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(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)}(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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hj6h]hNOTE}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(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)}(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}(hjshhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhjaJhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_modify_mmdh]j%)}(h__phy_modify_mmdh]h__phy_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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(hdevadh]hdevad}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(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_modify_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 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_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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjEhhhNhNubah}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.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)}(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)}(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:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjUubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhjaJhhhNhNubh)}(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}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hMubj)}(hphy_modify_mmdh]j%)}(hphy_modify_mmdh]hphy_modify_mmd}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hMubj)}(hE(struct phy_device *phydev, int devad, 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 }(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjEsbc.phy_modify_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=uh1jhjWubj)}(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=uh1jhjWubj)}(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_modify_mmdasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jc.phy_modify_mmdasbuh1hhjJubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hmaskh]hmask}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(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=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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj0h]hstruct phy_device *phydev}(hj2hhhNhNubah}(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 phy_device structh]hthe phy_device struct}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjih]h int devad}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjcubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubj)}(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&]uh1jhjhMhj'ubj)}(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&]uh1jhjhMhj'ubj)}(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.chMhjubj)}(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 }(hj-hhhNhNubj)}(h **regnum**h]hregnum}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(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**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: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.}(hjshhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhjaJhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h phy_save_pageh]j%)}(h phy_save_pageh]h phy_save_page}(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.phy_save_pageasbuh1hhjubj)}(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}(hj8hhhNhNubah}(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+take the bus lock and save the current pageh]h+take the bus lock and save the current page}(hjbhhhNhNubah}(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&]jvjqjwjzjxjzjyjzj{uh1hhhhjaJhNhNubj})}(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.chMhj~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)}(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}(hjhhhNhNubah}(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&]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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj~ubjX)}(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.chMhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhjaJhhhNhNubh)}(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}(hjBhhhNhNubah}(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 }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhMubj)}(hphy_select_pageh]j%)}(hphy_select_pageh]hphy_select_page}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjPhMubj)}(h%(struct phy_device *phydev, int page)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_select_pageasbuh1hhj{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=uh1jhjwubj)}(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}(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>hhhjPhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhjPhMubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhMhj7hhubjS)}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhjPhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMhjSubj)}(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)}(hjxh]hstruct phy_device *phydev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjrubj)}(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}(hjhhhNhNubah}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(h``int page`` desired page 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.chMhjubj)}(hhh]jX)}(h desired pageh]h desired page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubeh}(h]h ]h"]h$]h&]uh1jhjSubjX)}(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.chMhjSubjX)}(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.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhjaJhhhNhNubh)}(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}(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_restore_pageh]j%)}(hphy_restore_pageh]hphy_restore_page}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hMubj)}(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 }(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_restore_pageasbuh1hhjubj)}(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 int oldpageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(holdpageh]holdpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint reth](j)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hreth]hret}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(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)}(h2restore the page register and release the bus lockh]h2restore the page register and release the bus lock}(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&]uh1jRhjEhhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(hXT**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)}(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}(hjhhhNhNubah}(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)}(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()}(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$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hjLh]hint ret}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjFubj)}(hhh]jX)}(hoperation's return codeh]hoperation’s return code}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubeh}(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 }(hjhhhNhNubj)}(h **oldpage**h]holdpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hjhhhNhNubeh}(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)}(hjh]hReturn}(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 )}(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]jX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' if it was a negative value, otherwise }(hjhhhNhNubj)}(h**ret**h]hret}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhp if it was a negative errno value, otherwise phy_write_page()’s negative value if it were in error, otherwise }(hjhhhNhNubj)}(h**ret**h]hret}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhjaJhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjOhM=ubj)}(hphy_read_pagedh]j%)}(hphy_read_pagedh]hphy_read_paged}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhjOhM=ubj)}(h1(struct phy_device *phydev, int page, 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_pagedasbuh1hhjzubj)}(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)}(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}(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_pagedasbuh1hhj!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=hhhjOhM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhjOhM=ubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhM=hj6hhubjS)}(hhh]jX)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading a paged register}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hj{hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhjOhM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMAhjubj)}(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.chM>hjubj)}(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}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhM>hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM?hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM?hjubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjPh]h u32 regnum}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM@hjJubj)}(hhh]jX)}(hregister numberh]hregister number}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM@hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM@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:119: ./drivers/net/phy/phy-core.chMBhjubjX)}(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.chMBhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMQubj)}(hphy_write_pagedh]j%)}(hphy_write_pagedh]hphy_write_paged}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMQubj)}(h:(struct phy_device *phydev, int page, 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}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjsbc.phy_write_pagedasbuh1hhj 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)}(hint pageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hpageh]hpage}(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$]jGc.phy_write_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=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$]jGc.phy_write_pagedasbuh1hhjubj)}(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=uh1jhjhhhjhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMQubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMQhjhhubjS)}(hhh]jX)}(h1Convenience function for writing a paged registerh]h1Convenience function for writing a paged register}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMQhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMUhjqubj)}(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.chMRhjubj)}(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}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(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.chMShjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h``u32 regnum`` register number 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:119: ./drivers/net/phy/phy-core.chMThj!ubj)}(hhh]jX)}(hregister numberh]hregister number}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMThj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMThjubj)}(h``u16 val`` value to write h](j)}(h ``u16 val``h]j)}(hj`h]hu16 val}(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.chMUhjZubj)}(hhh]jX)}(hvalue to writeh]hvalue to write}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMUhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMUhjubeh}(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:119: ./drivers/net/phy/phy-core.chMWhjqubjX)}(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.chMWhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMfubj)}(hphy_modify_paged_changedh]j%)}(hphy_modify_paged_changedh]hphy_modify_paged_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMfubj)}(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}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jjsbc.phy_modify_paged_changedasbuh1hhjubj)}(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)}(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=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$]jWc.phy_modify_paged_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=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jWc.phy_modify_paged_changedasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jWc.phy_modify_paged_changedasbuh1hhjPubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMfubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMfhjhhubjS)}(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.chMfhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMjhjubj)}(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.chMghjubj)}(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}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMghjubeh}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjFh]hint page}(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.chMhhj@ubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(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``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(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.chMihjyubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(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.chMjhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(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.chMkhjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubeh}(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.chMmhjubjX)}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhjaJhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjhM}ubj)}(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=uh1jhjmhhhjhM}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')}jjsbc.phy_modify_pagedasbuh1hhjubj)}(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)}(hint pageh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpageh]hpage}(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}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jc.phy_modify_pagedasbuh1hhjQubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(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_pagedasbuh1hhjubj)}(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_pagedasbuh1hhjubj)}(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=uh1jhjmhhhjhM}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhM}ubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM}hjfhhubjS)}(hhh]jX)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM}hj;hhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjhM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj`h]h Parameters}(hjbhhhNhNubah}(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.chMhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM~hjyubj)}(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}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhM~hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjvubj)}(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.chMhjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(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.chMhj ubj)}(hhh]jX)}(hregister numberh]hregister number}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjvubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjIh]hu16 mask}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjCubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjvubj)}(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.chMhj|ubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjZubjX)}(h-Same rules as for phy_read() and phy_write().h]h-Same rules as for phy_read() and phy_write().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK1ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK1ubj)}(hgenphy_c45_pma_resumeh]j%)}(hgenphy_c45_pma_resumeh]hgenphy_c45_pma_resume}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK1ubj)}(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.genphy_c45_pma_resumeasbuh1hhj;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=uh1jhjhhhjhK1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhK1ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK1hjhhubjS)}(hhh]jX)}(hwakes up the PMA moduleh]hwakes up the PMA module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK1hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhK1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chK5hjubj)}(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.chK7hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhjaJhhhNhNubh)}(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}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK?ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhK?ubj)}(hgenphy_c45_pma_suspendh]j%)}(hgenphy_c45_pma_suspendh]hgenphy_c45_pma_suspend}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhK?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_c45_pma_suspendasbuh1hhjubj)}(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=uh1jhjYhhhjkhK?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhK?ubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhK?hjRhhubjS)}(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&]uh1jRhjRhhhjkhK?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjaJhNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(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.chKChj9ubj)}(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.chKEhjXubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKEhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5genphy_c45_pma_baset1_setup_master_slave (C function)*c.genphy_c45_pma_baset1_setup_master_slavehNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKMubj)}(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_baset1_setup_master_slaveasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKMhjhhubjS)}(hhh]jX)}(h6configures forced master/slave role of BaseT1 devices.h]h6configures forced master/slave role of BaseT1 devices.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKMhjuhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chKQhjubj)}(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.chKShjubj)}(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.chKOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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 hjhhhj!hKkubj)}(hgenphy_c45_pma_setup_forcedh]j%)}(hgenphy_c45_pma_setup_forcedh]hgenphy_c45_pma_setup_forced}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj!hKkubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jj6sbc.genphy_c45_pma_setup_forcedasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj!hKkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hKkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hKkhjhhubjS)}(hhh]jX)}(hconfigures a forced speedh]hconfigures a forced speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj!hKkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chKohjubj)}(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.chKqhj 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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj) hKqhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhjaJhhhNhNubh)}(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}(hjn hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj 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 hjj 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=uh1jhjj 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_an_config_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=uh1jhjj hhhj| hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjf hhhj| hMubah}(h]ja ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj| hMhjc 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&]uh1jRhjc hhhj| hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjF jxjF jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjP h]h Parameters}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjJ ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h3](j)}(h``struct phy_device *phydev``h]j)}(hjo h]hstruct phy_device *phydev}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhji 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&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjf 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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjJ 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.chMhjJ 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hjJ ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhjaJhhhNhNubh)}(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}(hj 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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj 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 hhhj hM8ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj; hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7 ubj)}(h h]h }(hjH hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7 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')}jj! sbc.genphy_c45_an_disable_anegasbuh1hhj7 ubj)}(h h]h }(hjy hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7 ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7 ubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7 ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3 ubah}(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)}(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&]uh1jRhj hhhj hM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chM9hj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM9hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM9hj ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj: h]h Description}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(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.}(hjP hhhNhNubah}(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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhjaJhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMMubj)}(hgenphy_c45_restart_anegh]j%)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMMubj)}(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_restart_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 hhhj hMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMMhj hhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMMhjK hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjf jxjf jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjp h]h Parameters}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMQhjj 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.chMNhj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMNhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMNhj 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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhjj ubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhjj ubjX)}(h$Enable and restart auto-negotiation.h]h$Enable and restart auto-negotiation.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhjaJhhhNhNubh)}(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 }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj,hMaubj)}(h!genphy_c45_check_and_restart_anegh]j%)}(h!genphy_c45_check_and_restart_anegh]h!genphy_c45_check_and_restart_aneg}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj,hMaubj)}(h)(struct phy_device *phydev, bool restart)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.genphy_c45_check_and_restart_anegasbuh1hhjWubj)}(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=uh1jhjSubj)}(h bool restarth](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrestarth]hrestart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj,hMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj,hMaubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hMahjhhubjS)}(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.chMahjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj,hMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(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.chMehj.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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhjMubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMbhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMbhjJubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjJubeh}(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.chMehj.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.chMehj.ubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMghj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhjaJhhhNhNubh)}(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&]uh1jhjhhhZ/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 hjhhhj)hMubj)}(hgenphy_c45_aneg_doneh]j%)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jj>sbc.genphy_c45_aneg_doneasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubah}(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'return auto-negotiation complete statush]h'return auto-negotiation complete status}(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&]uh1jRhjhhhj)hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(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}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhjaJhhhNhNubh)}(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&]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_linkh]j%)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(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_linkasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjAhhhNhNubah}(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 overall link status from the MMDsh]h*read the overall link status from the MMDs}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.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&]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.}(hjhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhjaJhhhNhNubh)}(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}(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_read_lpah]j%)}(hgenphy_c45_read_lpah]hgenphy_c45_read_lpa}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj:hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjOsbc.genphy_c45_read_lpaasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubah}(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-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(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&]uh1jRhj!hhhj:hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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: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)}(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}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjhh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(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 }(hj~hhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh. 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.}(hj~hhhNhNubeh}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_pma_baset1_read_master_slave (C function))c.genphy_c45_pma_baset1_read_master_slavehNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM9ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM9ubj)}(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')}jjsb)c.genphy_c45_pma_baset1_read_master_slaveasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM9ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM9ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM9hjhhubjS)}(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.chM9hj|hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM9ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM?hjubj)}(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.chM;hjubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhjaJhhhNhNubh)}(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&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMUubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hMUubj)}(hgenphy_c45_read_pmah]j%)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hMUubj)}(h(struct phy_device *phydev)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.genphy_c45_read_pmaasbuh1hhjSubj)}(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=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hMUubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hMUubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMUhjhhubjS)}(hhh]jX)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMUhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hMUubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMYhjubj)}(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[hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhjaJhhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhZ/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 hjqhhhjhMubj)}(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=uh1jhjqhhhjhMubj)}(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_mdixasbuh1hhjubj)}(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=uh1jhjqhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjhMubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjjhhubjS)}(hhh]jX)}(hread mdix status from PMAh]hread mdix status from PMA}(hj5hhhNhNubah}(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&]uh1jRhjjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjaJhNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](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:122: ./drivers/net/phy/phy-c45.chMhjQubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h=int genphy_c45_read_eee_abilities (struct phy_device *phydev)h]h)}(hh]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=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)}(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&]uh1jRhjhhhjhM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_an_config_eee_aneg (C function)c.genphy_c45_an_config_eee_aneghNtauh1hhjaJhhhNhNubh)}(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:hjdubj%)}(hphydevh]hphydev}(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'hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhj hhubjS)}(hhh]jX)}(hconfigure EEE advertisementh]hconfigure EEE advertisement}(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&]uh1jRhj hhhj9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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&]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)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1genphy_c45_pma_baset1_read_abilities (C function)&c.genphy_c45_pma_baset1_read_abilitieshNtauh1hhjaJhhhNhNubh)}(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}(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')}jjsb&c.genphy_c45_pma_baset1_read_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}(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]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj{hhubjS)}(hhh]jX)}(h)read supported baset1 link modes from PMAh]h)read supported baset1 link modes from PMA}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjChhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubj)}(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&]uh1jhjhMhj~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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubjX)}(hHRead the supported link modes from the extended BASE-T1 ability registerh]hHRead the supported link modes from the extended BASE-T1 ability register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_pma_read_ext_abilities (C function)#c.genphy_c45_pma_read_ext_abilitieshNtauh1hhjaJhhhNhNubh)}(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}(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_read_ext_abilitiesh]j%)}(h!genphy_c45_pma_read_ext_abilitiesh]h!genphy_c45_pma_read_ext_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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jj*sb#c.genphy_c45_pma_read_ext_abilitiesasbuh1hhj@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<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 link modes from PMAh]h"read supported 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{uh1hhhhjaJhNhNubj})}(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)}(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}(hj hhhNhNubah}(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}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(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).}(hjYhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_pma_read_abilities (C function)c.genphy_c45_pma_read_abilitieshNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h=int genphy_c45_pma_read_abilities (struct phy_device *phydev)h]h)}(hh]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=uh1jhjhhhjhM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM(ubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM(hj}hhubjS)}(hhh]jX)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM(hjEhhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chM,hjdubj)}(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.c"hM)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&]uh1jhjdubjX)}(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+hjdubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM+hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_read_status (C function)c.genphy_c45_read_statushNtauh1hhjaJhhhNhNubh)}(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}(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_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=uh1jhj hhhj hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjd hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjf modnameN classnameNjj!)}j$]j')}jj, sbc.genphy_c45_read_statusasbuh1hhjB 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%)}(hphydevh]hphydev}(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 hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(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&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(hjE!h]h Description}(hjG!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC!ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj 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.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhjaJhhhNhNubh)}(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}(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_config_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!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}(hjJ"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjG"hhubah}(h]h ]h"]h$]h&]uh1jRhj!hhhj!hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjb"jxjb"jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjl"h]h Parameters}(hjn"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj"ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjf"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&]uh1jhjf"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.chMhjf"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}(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)}(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&]uh1jWhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjf"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_fast_retrain (C function)c.genphy_c45_fast_retrainhNtauh1hhjaJhhhNhNubh)}(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}(hj5#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1#hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjD#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1#hhhjC#hMubj)}(hgenphy_c45_fast_retrainh]j%)}(hgenphy_c45_fast_retrainh]hgenphy_c45_fast_retrain}(hjV#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1#hhhjC#hMubj)}(h((struct phy_device *phydev, bool enable)h](j)}(hstruct phy_device *phydevh](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%)}(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')}jjX#sbc.genphy_c45_fast_retrainasbuh1hhjn#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%)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj#ubj)}(h bool enableh](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%)}(henableh]henable}(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=uh1jhj1#hhhjC#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-#hhhjC#hMubah}(h]j(#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjC#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*#hhhjC#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjA$jxjA$jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjK$h]h Parameters}(hjM$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI$ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjE$ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjj$h]hstruct phy_device *phydev}(hjl$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjd$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&]uh1jhjd$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhja$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$hMhja$ubeh}(h]h ]h"]h$]h&]uh1jhjE$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.chMhjE$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}(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)}(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.}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj %ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj %hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjE$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_get_cfg (C function)c.genphy_c45_plca_get_cfghNtauh1hhjaJhhhNhNubh)}(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}(hjN%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ%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 hjJ%hhhj\%hMubj)}(hgenphy_c45_plca_get_cfgh]j%)}(hgenphy_c45_plca_get_cfgh]hgenphy_c45_plca_get_cfg}(hjo%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJ%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')}jjq%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}(hj%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}(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_get_cfgasbuh1hhj%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%)}(hplca_cfgh]hplca_cfg}(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=uh1jhjJ%hhhj\%hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjF%hhhj\%hMubah}(h]jA%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\%hMhjC%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&]uh1jRhjC%hhhj\%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhjaJhNhNubj})}(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.chMhj&ubj)}(hhh]jX)}(h0output structure to store the PLCA configurationh]h0output structure to store the PLCA configuration}(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)}(hj3'h]h Description}(hj5'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1'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}(hjP'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjL'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.}(hjb'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^'hMhj_'ubah}(h]h ]h"]h$]h&]uh1jhjL'ubeh}(h]h ]h"]h$]h&]uh1jhj^'hMhjI'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_set_cfg (C function)c.genphy_c45_plca_set_cfghNtauh1hhjaJhhhNhNubh)}(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}(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_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%)}(hphydevh]hphydev}(hj8(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(h#const struct phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hjQ(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjM(ubj)}(h h]h }(hj^(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM(ubh)}(hjh]hstruct}(hjl(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjM(ubj)}(h h]h }(hjy(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM(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_cfgasbuh1hhjM(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%)}(hplca_cfgh]hplca_cfg}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM(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}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM3hj(hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj'hM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)jxj)jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chM7hj )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}(hj0)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}(hjG)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjC)hM4hjD)ubah}(h]h ]h"]h$]h&]uh1jhj()ubeh}(h]h ]h"]h$]h&]uh1jhjC)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)}(hjg)h]h#const struct phy_plca_cfg *plca_cfg}(hji)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM6hja)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&]uh1jhja)ubeh}(h]h ]h"]h$]h&]uh1jhj|)hM6hj%)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.chM8hj )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.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM9hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM9hj)ubah}(h]h ]h"]h$]h&]uh1jhj )ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_plca_get_status (C function)c.genphy_c45_plca_get_statushNtauh1hhjaJhhhNhNubh)}(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}(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_statush]j%)}(hgenphy_c45_plca_get_statush]hgenphy_c45_plca_get_status}(hj3*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_status *plca_st)h](j)}(hstruct phy_device *phydevh](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%)}(h phy_deviceh]h phy_device}(hjm*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjo*modnameN classnameNjj!)}j$]j')}jj5*sbc.genphy_c45_plca_get_statusasbuh1hhjK*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%)}(hphydevh]hphydev}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjG*ubj)}(hstruct phy_plca_status *plca_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%)}(hphy_plca_statush]hphy_plca_status}(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_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%)}(hplca_sth]hplca_st}(hj+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 *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 status from standard registersh]h'get PLCA status from standard registers}(hjB+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&]jvjqjwjZ+jxjZ+jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjd+h]h Parameters}(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)}(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+hMhjz+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&]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&]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}(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 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&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj",hMhj ,ubah}(h]h ]h"]h$]h&]uh1jhj^+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c45_eee_is_active (C function)c.genphy_c45_eee_is_activehNtauh1hhjaJhhhNhNubh)}(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}(hjf,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb,hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hju,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb,hhhjt,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=uh1jhjb,hhhjt,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 }(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)}(hunsigned long *lph](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}(hj1-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj?-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hjM-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hlph]hlp}(hjZ-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=uh1jhjb,hhhjt,hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^,hhhjt,hMubah}(h]jY,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjt,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[,hhhjt,hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhjaJhNhNubj})}(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-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@``unsigned long *lp`` variable to store LP advertised linkmodes h](j)}(h``unsigned long *lp``h]j)}(hj-h]hunsigned long *lp}(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)variable to store LP advertised linkmodesh]h)variable to store LP advertised linkmodes}(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)}(hj9.h]h Description}(hj;.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-ubjX)}(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.}(hjO.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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_get_eee (C function)c.genphy_c45_ethtool_get_eeehNtauh1hhjaJhhhNhNubh)}(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}(hj~.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz.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 hjz.hhhj.hMubj)}(hgenphy_c45_ethtool_get_eeeh]j%)}(hgenphy_c45_ethtool_get_eeeh]hgenphy_c45_ethtool_get_eee}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjz.hhhj.hMubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)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_ethtool_get_eeeasbuh1hhj.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 ethtool_keee *datah](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 ethtool_keeeh]h ethtool_keee}(hjK/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjM/modnameN classnameNjj!)}j$]j.c.genphy_c45_ethtool_get_eeeasbuh1hhj)/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%)}(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=uh1jhjz.hhhj.hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjv.hhhj.hMubah}(h]jq.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMhjs.hhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and 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&]uh1jRhjs.hhhj.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hj(0h]hstruct ethtool_keee *data}(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)}(hethtool_keee datah]hethtool_keee data}(hjA0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=0hMhj>0ubah}(h]h ]h"]h$]h&]uh1jhj"0ubeh}(h]h ]h"]h$]h&]uh1jhj=0hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hjc0h]h Description}(hje0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj/ubjX)}(hEit reports the Supported/Advertisement/LP Advertisement capabilities.h]hEit reports the Supported/Advertisement/LP Advertisement capabilities.}(hjy0hhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_set_eee (C function)c.genphy_c45_ethtool_set_eeehNtauh1hhjaJhhhNhNubh)}(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}(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_set_eeeh]j%)}(hgenphy_c45_ethtool_set_eeeh]hgenphy_c45_ethtool_set_eee}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jj0sbc.genphy_c45_ethtool_set_eeeasbuh1hhj0ubj)}(h h]h }(hj#1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj11hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hphydevh]hphydev}(hj>1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjW1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjS1ubj)}(h h]h }(hjd1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS1ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hju1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjw1modnameN classnameNjj!)}j$]j1c.genphy_c45_ethtool_set_eeeasbuh1hhjS1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjS1ubj%)}(hdatah]hdata}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS1ubeh}(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)}(hset EEE supported and statush]hset EEE supported and status}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj1ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj2h]hstruct phy_device *phydev}(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)}(htarget phy_device structh]htarget phy_device struct}(hj22hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.2hMhj/2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj.2hMhj2ubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjR2h]hstruct ethtool_keee *data}(hjT2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjL2ubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjk2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjg2hMhjh2ubah}(h]h ]h"]h$]h&]uh1jhjL2ubeh}(h]h ]h"]h$]h&]uh1jhjg2hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(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.chMhj1ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interface_t (C enum)c.phy_interface_thNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hphy_interface_th]h)}(henum phy_interface_th](h)}(hhh]henum}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhj2hKubj)}(hphy_interface_th]j%)}(hj2h]hphy_interface_t}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhj2hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj2hKubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hKhj2hhubjS)}(hhh]jX)}(hInterface Mode definitionsh]hInterface Mode definitions}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKFhj3hhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhj2hKubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwj,3jxj,3jyjzj{uh1hhhhjaJhNhNubj})}(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_MAX`` Book keepingh](jX)}(h **Constants**h]j)}(hj63h]h Constants}(hj83hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj43ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKJhj03ubj)}(hhh](j)}(h7``PHY_INTERFACE_MODE_NA`` Not Applicable - don't touch h](j)}(h``PHY_INTERFACE_MODE_NA``h]j)}(hjU3h]hPHY_INTERFACE_MODE_NA}(hjW3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS3ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKMhjO3ubj)}(hhh]jX)}(hNot Applicable - don't touchh]hNot Applicable - don’t touch}(hjn3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjj3hKMhjk3ubah}(h]h ]h"]h$]h&]uh1jhjO3ubeh}(h]h ]h"]h$]h&]uh1jhjj3hKMhjL3ubj)}(hC``PHY_INTERFACE_MODE_INTERNAL`` No interface, MAC and PHY combined h](j)}(h``PHY_INTERFACE_MODE_INTERNAL``h]j)}(hj3h]hPHY_INTERFACE_MODE_INTERNAL}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKPhj3ubj)}(hhh]jX)}(h"No interface, MAC and PHY combinedh]h"No interface, MAC and PHY combined}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hKPhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKPhjL3ubj)}(h7``PHY_INTERFACE_MODE_MII`` Media-independent interface h](j)}(h``PHY_INTERFACE_MODE_MII``h]j)}(hj3h]hPHY_INTERFACE_MODE_MII}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKShj3ubj)}(hhh]jX)}(hMedia-independent interfaceh]hMedia-independent interface}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hKShj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKShjL3ubj)}(h@``PHY_INTERFACE_MODE_GMII`` Gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_GMII``h]j)}(hj4h]hPHY_INTERFACE_MODE_GMII}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKVhj3ubj)}(hhh]jX)}(h#Gigabit media-independent interfaceh]h#Gigabit media-independent interface}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hKVhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hKVhjL3ubj)}(hH``PHY_INTERFACE_MODE_SGMII`` Serial gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_SGMII``h]j)}(hj94h]hPHY_INTERFACE_MODE_SGMII}(hj;4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj74ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKYhj34ubj)}(hhh]jX)}(h*Serial gigabit media-independent interfaceh]h*Serial gigabit media-independent interface}(hjR4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjN4hKYhjO4ubah}(h]h ]h"]h$]h&]uh1jhj34ubeh}(h]h ]h"]h$]h&]uh1jhjN4hKYhjL3ubj)}(h-``PHY_INTERFACE_MODE_TBI`` Ten Bit Interface h](j)}(h``PHY_INTERFACE_MODE_TBI``h]j)}(hjr4h]hPHY_INTERFACE_MODE_TBI}(hjt4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK\hjl4ubj)}(hhh]jX)}(hTen Bit Interfaceh]hTen Bit Interface}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hK\hj4ubah}(h]h ]h"]h$]h&]uh1jhjl4ubeh}(h]h ]h"]h$]h&]uh1jhj4hK\hjL3ubj)}(hB``PHY_INTERFACE_MODE_REVMII`` Reverse Media Independent Interface h](j)}(h``PHY_INTERFACE_MODE_REVMII``h]j)}(hj4h]hPHY_INTERFACE_MODE_REVMII}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK_hj4ubj)}(hhh]jX)}(h#Reverse Media Independent Interfaceh]h#Reverse Media Independent Interface}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hK_hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hK_hjL3ubj)}(h@``PHY_INTERFACE_MODE_RMII`` Reduced Media Independent Interface h](j)}(h``PHY_INTERFACE_MODE_RMII``h]j)}(hj4h]hPHY_INTERFACE_MODE_RMII}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKbhj4ubj)}(hhh]jX)}(h#Reduced Media Independent Interfaceh]h#Reduced Media Independent Interface}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hKbhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hKbhjL3ubj)}(hO``PHY_INTERFACE_MODE_REVRMII`` Reduced Media Independent Interface in PHY role h](j)}(h``PHY_INTERFACE_MODE_REVRMII``h]j)}(hj5h]hPHY_INTERFACE_MODE_REVRMII}(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.hhKehj5ubj)}(hhh]jX)}(h/Reduced Media Independent Interface in PHY roleh]h/Reduced Media Independent Interface in PHY role}(hj65hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj25hKehj35ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj25hKehjL3ubj)}(hI``PHY_INTERFACE_MODE_RGMII`` Reduced gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_RGMII``h]j)}(hjV5h]hPHY_INTERFACE_MODE_RGMII}(hjX5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhhjP5ubj)}(hhh]jX)}(h+Reduced gigabit media-independent interfaceh]h+Reduced gigabit media-independent interface}(hjo5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjk5hKhhjl5ubah}(h]h ]h"]h$]h&]uh1jhjP5ubeh}(h]h ]h"]h$]h&]uh1jhjk5hKhhjL3ubj)}(h@``PHY_INTERFACE_MODE_RGMII_ID`` RGMII with Internal RX+TX delay h](j)}(h``PHY_INTERFACE_MODE_RGMII_ID``h]j)}(hj5h]hPHY_INTERFACE_MODE_RGMII_ID}(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.hhKkhj5ubj)}(hhh]jX)}(hRGMII with Internal RX+TX delayh]hRGMII with Internal RX+TX delay}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hKkhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hKkhjL3ubj)}(h?``PHY_INTERFACE_MODE_RGMII_RXID`` RGMII with Internal RX delay h](j)}(h!``PHY_INTERFACE_MODE_RGMII_RXID``h]j)}(hj5h]hPHY_INTERFACE_MODE_RGMII_RXID}(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.hhKnhj5ubj)}(hhh]jX)}(hRGMII with Internal RX delayh]hRGMII with Internal RX delay}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hKnhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hKnhjL3ubj)}(h?``PHY_INTERFACE_MODE_RGMII_TXID`` RGMII with Internal TX delay h](j)}(h!``PHY_INTERFACE_MODE_RGMII_TXID``h]j)}(hj6h]hPHY_INTERFACE_MODE_RGMII_TXID}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKqhj5ubj)}(hhh]jX)}(hRGMII with Internal TX delayh]hRGMII with Internal TX delay}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hKqhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hKqhjL3ubj)}(h(``PHY_INTERFACE_MODE_RTBI`` Reduced TBI h](j)}(h``PHY_INTERFACE_MODE_RTBI``h]j)}(hj:6h]hPHY_INTERFACE_MODE_RTBI}(hj<6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj86ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKthj46ubj)}(hhh]jX)}(h Reduced TBIh]h Reduced TBI}(hjS6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjO6hKthjP6ubah}(h]h ]h"]h$]h&]uh1jhj46ubeh}(h]h ]h"]h$]h&]uh1jhjO6hKthjL3ubj)}(h'``PHY_INTERFACE_MODE_SMII`` Serial MII h](j)}(h``PHY_INTERFACE_MODE_SMII``h]j)}(hjs6h]hPHY_INTERFACE_MODE_SMII}(hju6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKwhjm6ubj)}(hhh]jX)}(h Serial MIIh]h Serial MII}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hKwhj6ubah}(h]h ]h"]h$]h&]uh1jhjm6ubeh}(h]h ]h"]h$]h&]uh1jhj6hKwhjL3ubj)}(hD``PHY_INTERFACE_MODE_XGMII`` 10 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XGMII``h]j)}(hj6h]hPHY_INTERFACE_MODE_XGMII}(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.hhKzhj6ubj)}(hhh]jX)}(h&10 gigabit media-independent interfaceh]h&10 gigabit media-independent interface}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hKzhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hKzhjL3ubj)}(hE``PHY_INTERFACE_MODE_XLGMII`` 40 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XLGMII``h]j)}(hj6h]hPHY_INTERFACE_MODE_XLGMII}(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)}(h&40 gigabit media-independent interfaceh]h&40 gigabit media-independent interface}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hK}hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hK}hjL3ubj)}(h1``PHY_INTERFACE_MODE_MOCA`` Multimedia over Coax h](j)}(h``PHY_INTERFACE_MODE_MOCA``h]j)}(hj7h]hPHY_INTERFACE_MODE_MOCA}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj7ubj)}(hhh]jX)}(hMultimedia over Coaxh]hMultimedia over Coax}(hj77hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj37hKhj47ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj37hKhjL3ubj)}(h*``PHY_INTERFACE_MODE_PSGMII`` Penta SGMII h](j)}(h``PHY_INTERFACE_MODE_PSGMII``h]j)}(hjW7h]hPHY_INTERFACE_MODE_PSGMII}(hjY7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU7ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjQ7ubj)}(hhh]jX)}(h Penta SGMIIh]h Penta SGMII}(hjp7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl7hKhjm7ubah}(h]h ]h"]h$]h&]uh1jhjQ7ubeh}(h]h ]h"]h$]h&]uh1jhjl7hKhjL3ubj)}(h)``PHY_INTERFACE_MODE_QSGMII`` Quad SGMII h](j)}(h``PHY_INTERFACE_MODE_QSGMII``h]j)}(hj7h]hPHY_INTERFACE_MODE_QSGMII}(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.hhKhj7ubj)}(hhh]jX)}(h Quad SGMIIh]h Quad SGMII}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjL3ubj)}(h*``PHY_INTERFACE_MODE_TRGMII`` Turbo RGMII h](j)}(h``PHY_INTERFACE_MODE_TRGMII``h]j)}(hj7h]hPHY_INTERFACE_MODE_TRGMII}(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.hhKhj7ubj)}(hhh]jX)}(h Turbo RGMIIh]h Turbo RGMII}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hKhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjL3ubj)}(h*``PHY_INTERFACE_MODE_100BASEX`` 100 BaseX h](j)}(h``PHY_INTERFACE_MODE_100BASEX``h]j)}(hj8h]hPHY_INTERFACE_MODE_100BASEX}(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.hhKhj7ubj)}(hhh]jX)}(h 100 BaseXh]h 100 BaseX}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjL3ubj)}(h,``PHY_INTERFACE_MODE_1000BASEX`` 1000 BaseX h](j)}(h ``PHY_INTERFACE_MODE_1000BASEX``h]j)}(hj;8h]hPHY_INTERFACE_MODE_1000BASEX}(hj=8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj98ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj58ubj)}(hhh]jX)}(h 1000 BaseXh]h 1000 BaseX}(hjT8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjP8hKhjQ8ubah}(h]h ]h"]h$]h&]uh1jhj58ubeh}(h]h ]h"]h$]h&]uh1jhjP8hKhjL3ubj)}(h,``PHY_INTERFACE_MODE_2500BASEX`` 2500 BaseX h](j)}(h ``PHY_INTERFACE_MODE_2500BASEX``h]j)}(hjt8h]hPHY_INTERFACE_MODE_2500BASEX}(hjv8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjn8ubj)}(hhh]jX)}(h 2500 BaseXh]h 2500 BaseX}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjn8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjL3ubj)}(h(``PHY_INTERFACE_MODE_5GBASER`` 5G BaseR h](j)}(h``PHY_INTERFACE_MODE_5GBASER``h]j)}(hj8h]hPHY_INTERFACE_MODE_5GBASER}(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.hhKhj8ubj)}(hhh]jX)}(h5G BaseRh]h5G BaseR}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjL3ubj)}(h*``PHY_INTERFACE_MODE_RXAUI`` Reduced XAUI h](j)}(h``PHY_INTERFACE_MODE_RXAUI``h]j)}(hj8h]hPHY_INTERFACE_MODE_RXAUI}(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.hhKhj8ubj)}(hhh]jX)}(h Reduced XAUIh]h Reduced XAUI}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjL3ubj)}(hA``PHY_INTERFACE_MODE_XAUI`` 10 Gigabit Attachment Unit Interface h](j)}(h``PHY_INTERFACE_MODE_XAUI``h]j)}(hj9h]hPHY_INTERFACE_MODE_XAUI}(hj!9hhhNhNubah}(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$10 Gigabit Attachment Unit Interfaceh]h$10 Gigabit Attachment Unit Interface}(hj89hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj49hKhj59ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj49hKhjL3ubj)}(h*``PHY_INTERFACE_MODE_10GBASER`` 10G BaseR h](j)}(h``PHY_INTERFACE_MODE_10GBASER``h]j)}(hjX9h]hPHY_INTERFACE_MODE_10GBASER}(hjZ9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjR9ubj)}(hhh]jX)}(h 10G BaseRh]h 10G BaseR}(hjq9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjm9hKhjn9ubah}(h]h ]h"]h$]h&]uh1jhjR9ubeh}(h]h ]h"]h$]h&]uh1jhjm9hKhjL3ubj)}(h*``PHY_INTERFACE_MODE_25GBASER`` 25G BaseR h](j)}(h``PHY_INTERFACE_MODE_25GBASER``h]j)}(hj9h]hPHY_INTERFACE_MODE_25GBASER}(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 25G BaseRh]h 25G BaseR}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjL3ubj)}(h9``PHY_INTERFACE_MODE_USXGMII`` Universal Serial 10GE MII h](j)}(h``PHY_INTERFACE_MODE_USXGMII``h]j)}(hj9h]hPHY_INTERFACE_MODE_USXGMII}(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)}(hUniversal Serial 10GE MIIh]hUniversal Serial 10GE MII}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjL3ubj)}(h<``PHY_INTERFACE_MODE_10GKR`` 10GBASE-KR - with Clause 73 AN h](j)}(h``PHY_INTERFACE_MODE_10GKR``h]j)}(hj:h]hPHY_INTERFACE_MODE_10GKR}(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.hhKhj9ubj)}(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&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjL3ubj)}(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.hhKhj6:ubj)}(hhh]jX)}(hQuad Universal SGMIIh]hQuad Universal SGMII}(hjU:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQ:hKhjR:ubah}(h]h ]h"]h$]h&]uh1jhj6:ubeh}(h]h ]h"]h$]h&]uh1jhjQ:hKhjL3ubj)}(hB``PHY_INTERFACE_MODE_1000BASEKX`` 1000Base-KX - with Clause 73 AN h](j)}(h!``PHY_INTERFACE_MODE_1000BASEKX``h]j)}(hju:h]hPHY_INTERFACE_MODE_1000BASEKX}(hjw:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjo: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&]uh1jhjo:ubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjL3ubj)}(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:hKhjL3ubj)}(h'``PHY_INTERFACE_MODE_MAX`` Book keepingh](j)}(h``PHY_INTERFACE_MODE_MAX``h]j)}(hj:h]hPHY_INTERFACE_MODE_MAX}(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 Book keepingh]h Book keeping}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjL3ubeh}(h]h ]h"]h$]h&]uh1jhj03ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubjX)}(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.hhKhjaJhhubjX)}(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.hhKlhjaJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modes (C function) c.phy_modeshNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h2const char * phy_modes (phy_interface_t interface)h]h)}(h0const char *phy_modes(phy_interface_t interface)h](h)}(hjh]hconst}(hjh;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjd;hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj)}(h h]h }(hjv;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd;hhhju;hKubj)}(hcharh]hchar}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd;hhhju;hKubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd;hhhju;hKubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjd;hhhju;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=uh1jhjd;hhhju;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}(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=uh1jhjd;hhhju;hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`;hhhju;hKubah}(h]j[;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhju;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}(hj(<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj%<hhubah}(h]h ]h"]h$]h&]uh1jRhj];hhhju;hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@<jxj@<jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjJ<h]h Parameters}(hjL<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH<ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjD<ubj)}(hhh]j)}(h9``phy_interface_t interface`` enum phy_interface_t value h](j)}(h``phy_interface_t interface``h]j)}(hji<h]hphy_interface_t interface}(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)}(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&]uh1jhjc<ubeh}(h]h ]h"]h$]h&]uh1jhj~<hKhj`<ubah}(h]h ]h"]h$]h&]uh1jhjD<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.hhKhjD<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<hKhjD<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrgmii_clock (C function) c.rgmii_clockhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hlong rgmii_clock (int speed)h]h)}(hlong rgmii_clock(int speed)h](j)}(hlongh]hlong}(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 }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhj=hM ubj)}(h rgmii_clockh]j%)}(h rgmii_clockh]h rgmii_clock}(hj-=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhj=hM ubj)}(h (int speed)h]j)}(h int speedh](j)}(hinth]hint}(hjI=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE=ubj)}(h h]h }(hjW=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE=ubj%)}(hspeedh]hspeed}(hje=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjA=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 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.hhM hj=hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj=hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhjaJhNhNubj})}(h**Parameters** ``int speed`` link speed value **Description** maps RGMII supported link speeds into the clock rates. **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.hhMhj=ubj)}(hhh]j)}(h``int speed`` link speed value 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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=ubj)}(hhh]jX)}(hlink speed valueh]hlink speed value}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=ubjX)}(h6maps RGMII supported link speeds into the clock rates.h]h6maps RGMII supported link speeds into the clock rates.}(hj!>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=ubjX)}(h **Return**h]j)}(hj2>h]hReturn}(hj4>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0>ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=ubjX)}(hclock rate or negative errnoh]hclock rate or negative errno}(hjH>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_stats (C struct)c.mdio_bus_statshNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hmdio_bus_statsh]h)}(hstruct mdio_bus_statsh](h)}(hjh]hstruct}(hjw>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjs>hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs>hhhj>hMubj)}(hmdio_bus_statsh]j%)}(hjq>h]hmdio_bus_stats}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjs>hhhj>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjo>hhhj>hMubah}(h]jj>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMhjl>hhubjS)}(hhh]jX)}(h#Statistics counters for MDIO bussesh]h#Statistics counters for MDIO busses}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hj>hhubah}(h]h ]h"]h$]h&]uh1jRhjl>hhhj>hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhjaJhNhNubj})}(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>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh:}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM7hj>ubjU)}(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>sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hj>ubjX)}(h **Members**h]j)}(hj?h]hMembers}(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.hhMAhj>ubj)}(hhh](j)}(hE``transfers`` Total number of transfers, i.e. **writes** + **reads** h](j)}(h ``transfers``h]j)}(hj&?h]h transfers}(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.hhM5hj ?ubj)}(hhh]jX)}(h6Total number of transfers, i.e. **writes** + **reads**h](h Total number of transfers, i.e. }(hj??hhhNhNubj)}(h **writes**h]hwrites}(hjG?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj??ubh + }(hj??hhhNhNubj)}(h **reads**h]hreads}(hjY?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj??ubeh}(h]h ]h"]h$]h&]uh1jWhj;?hM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmii_bus (C struct) c.mii_bushNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hmii_bush]h)}(hstruct mii_bush](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@hhhT/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 hj@hhhj@hM?ubj)}(hmii_bush]j%)}(hj~@h]hmii_bus}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hM?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|@hhhj@hM?ubah}(h]jw@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hM?hjy@hhubjS)}(hhh]jX)}(hRepresents an MDIO bush]hRepresents an MDIO bus}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhj@hhubah}(h]h ]h"]h$]h&]uh1jRhjy@hhhj@hM?ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjaJhNhNubj})}(hX5 **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; struct phy_package_shared *shared[PHY_MAX_ADDR]; }; **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}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh:}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhj@ubjU)}(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; struct phy_package_shared *shared[PHY_MAX_ADDR]; };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; struct phy_package_shared *shared[PHY_MAX_ADDR]; };}hjAsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhj@ubjX)}(h **Members**h]j)}(hjAh]hMembers}(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.hhMihj@ubj)}(hhh](j)}(h``owner`` Who owns this device h](j)}(h ``owner``h]j)}(hj3Ah]howner}(hj5AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Aubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhj-Aubj)}(hhh]jX)}(hWho owns this deviceh]hWho owns this device}(hjLAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHAhMGhjIAubah}(h]h ]h"]h$]h&]uh1jhj-Aubeh}(h]h ]h"]h$]h&]uh1jhjHAhMGhj*Aubj)}(hA``name`` User friendly name for this MDIO device, or driver name h](j)}(h``name``h]j)}(hjlAh]hname}(hjnAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjfAubj)}(hhh]jX)}(h7User friendly name for this MDIO device, or driver nameh]h7User friendly name for this MDIO device, or driver name}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMHhjAubah}(h]h ]h"]h$]h&]uh1jhjfAubeh}(h]h ]h"]h$]h&]uh1jhjAhMHhj*Aubj)}(hB``id`` Unique identifier for this bus, typical from bus hierarchy h](j)}(h``id``h]j)}(hjAh]hid}(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.hhMIhjAubj)}(hhh]jX)}(h:Unique identifier for this bus, typical from bus hierarchyh]h:Unique identifier for this bus, typical from bus hierarchy}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMIhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMIhj*Aubj)}(h``priv`` Driver private data h](j)}(h``priv``h]j)}(hjAh]hpriv}(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.hhMJhjAubj)}(hhh]jX)}(hDriver private datah]hDriver private data}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMJhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMJhj*Aubj)}(h,``read`` Perform a read transfer on the bus h](j)}(h``read``h]j)}(hjBh]hread}(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.hhMOhjBubj)}(hhh]jX)}(h"Perform a read transfer on the bush]h"Perform a read transfer on the bus}(hj0BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,BhMOhj-Bubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj,BhMOhj*Aubj)}(h.``write`` Perform a write transfer on the bus h](j)}(h ``write``h]j)}(hjPBh]hwrite}(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.hhKhjJBubj)}(hhh]jX)}(h#Perform a write transfer on the bush]h#Perform a write transfer on the bus}(hjiBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjeBhKhjfBubah}(h]h ]h"]h$]h&]uh1jhjJBubeh}(h]h ]h"]h$]h&]uh1jhjeBhKhj*Aubj)}(h4``read_c45`` Perform a C45 read transfer on the bus h](j)}(h ``read_c45``h]j)}(hjBh]hread_c45}(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.hhKhjBubj)}(hhh]jX)}(h&Perform a C45 read transfer on the bush]h&Perform a C45 read transfer on the bus}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhKhj*Aubj)}(h6``write_c45`` Perform a C45 write transfer on the bus h](j)}(h ``write_c45``h]j)}(hjBh]h write_c45}(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.hhKhjBubj)}(hhh]jX)}(h'Perform a C45 write transfer on the bush]h'Perform a C45 write transfer on the bus}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhKhj*Aubj)}(h%``reset`` Perform a reset of the bus h](j)}(h ``reset``h]j)}(hjBh]hreset}(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.hhKhjBubj)}(hhh]jX)}(hPerform a reset of the bush]hPerform a reset of the bus}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChKhj*Aubj)}(h3``stats`` Statistic counters per device on the bus h](j)}(h ``stats``h]j)}(hj4Ch]hstats}(hj6ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Cubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj.Cubj)}(hhh]jX)}(h(Statistic counters per device on the bush]h(Statistic counters per device on the bus}(hjMChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIChKhjJCubah}(h]h ]h"]h$]h&]uh1jhj.Cubeh}(h]h ]h"]h$]h&]uh1jhjIChKhj*Aubj)}(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)}(hjmCh]h mdio_lock}(hjoChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjgCubj)}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjCubah}(h]h ]h"]h$]h&]uh1jhjgCubeh}(h]h ]h"]h$]h&]uh1jhjChMehj*Aubj)}(h%``parent`` Parent device of this bus h](j)}(h ``parent``h]j)}(hjCh]hparent}(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.hhKhjCubj)}(hhh]jX)}(hParent device of this bush]hParent device of this bus}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhj*Aubj)}(h!``state`` State of bus structure h](j)}(h ``state``h]j)}(hjCh]hstate}(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.hhKhjCubj)}(hhh]jX)}(hState of bus structureh]hState of bus structure}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhj*Aubj)}(h%``dev`` Kernel device representation h](j)}(h``dev``h]j)}(hjDh]hdev}(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.hhKhjDubj)}(hhh]jX)}(hKernel device representationh]hKernel device representation}(hj2DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.DhKhj/Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj.DhKhj*Aubj)}(h-``mdio_map`` list of all MDIO devices on bus h](j)}(h ``mdio_map``h]j)}(hjRDh]hmdio_map}(hjTDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjLDubj)}(hhh]jX)}(hlist of all MDIO devices on bush]hlist of all MDIO devices on bus}(hjkDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgDhKhjhDubah}(h]h ]h"]h$]h&]uh1jhjLDubeh}(h]h ]h"]h$]h&]uh1jhjgDhKhj*Aubj)}(h6``phy_mask`` PHY addresses to be ignored when probing h](j)}(h ``phy_mask``h]j)}(hjDh]hphy_mask}(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.hhKhjDubj)}(hhh]jX)}(h(PHY addresses to be ignored when probingh]h(PHY addresses to be ignored when probing}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj*Aubj)}(hC``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure h](j)}(h``phy_ignore_ta_mask``h]j)}(hjDh]hphy_ignore_ta_mask}(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.hhKhjDubj)}(hhh]jX)}(h+PHY addresses to ignore the TA/read failureh]h+PHY addresses to ignore the TA/read failure}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj*Aubj)}(hW``irq`` An array of interrupts, each PHY's interrupt at the index matching its address h](j)}(h``irq``h]j)}(hjDh]hirq}(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.hhMhjDubj)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj*Aubj)}(h:``reset_delay_us`` GPIO reset pulse width in microseconds h](j)}(h``reset_delay_us``h]j)}(hj7Eh]hreset_delay_us}(hj9EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Eubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj1Eubj)}(hhh]jX)}(h&GPIO reset pulse width in microsecondsh]h&GPIO reset pulse width in microseconds}(hjPEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLEhKhjMEubah}(h]h ]h"]h$]h&]uh1jhj1Eubeh}(h]h ]h"]h$]h&]uh1jhjLEhKhj*Aubj)}(hB``reset_post_delay_us`` GPIO reset deassert delay in microseconds h](j)}(h``reset_post_delay_us``h]j)}(hjpEh]hreset_post_delay_us}(hjrEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjjEubj)}(hhh]jX)}(h)GPIO reset deassert delay in microsecondsh]h)GPIO reset deassert delay in microseconds}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjjEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhj*Aubj)}(h.``reset_gpiod`` Reset GPIO descriptor pointer h](j)}(h``reset_gpiod``h]j)}(hjEh]h reset_gpiod}(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.hhKhjEubj)}(hhh]jX)}(hReset GPIO descriptor pointerh]hReset GPIO descriptor pointer}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhj*Aubj)}(h5``shared_lock`` protect access to the shared element h](j)}(h``shared_lock``h]j)}(hjEh]h shared_lock}(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.hhKhjEubj)}(hhh]jX)}(h$protect access to the shared elementh]h$protect access to the shared element}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhj*Aubj)}(h-``shared`` shared state across different PHYsh](j)}(h ``shared``h]j)}(hjFh]hshared}(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.hhKhjFubj)}(hhh]jX)}(h"shared state across different PHYsh]h"shared state across different PHYs}(hj4FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj1Fubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhj0FhKhj*Aubeh}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubjX)}(h**Description**h]j)}(hj^Fh]h Description}(hj`FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Fubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjaJhhubjX)}(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}(hjtFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjaJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_alloc (C function)c.mdiobus_allochNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h%struct mii_bus * mdiobus_alloc (void)h]h)}(h#struct mii_bus *mdiobus_alloc(void)h](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhMubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}j mdiobus_allocsbc.mdiobus_allocasbuh1hhjFhhhjFhMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhMubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFhhhjFhMubj)}(h mdiobus_alloch]j%)}(hjFh]h mdiobus_alloc}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjFhMubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubah}(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)}(hAllocate an MDIO bus structureh]hAllocate an MDIO bus structure}(hj@GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=Ghhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhjFhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXGjxjXGjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjbGh]h Parameters}(hjdGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj\Gubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjGh]hvoid}(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.hhKhj{Gubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhKhjGubah}(h]h ]h"]h$]h&]uh1jhj{Gubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjxGubah}(h]h ]h"]h$]h&]uh1jhj\GubjX)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj\GubjX)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj\Gubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state (C enum) c.phy_statehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h phy_stateh]h)}(henum phy_stateh](h)}(hhh]henum}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjHhMubj)}(h phy_stateh]j%)}(hjGh]h phy_state}(hj!HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjHhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhjHhMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMhjGhhubjS)}(hhh]jX)}(hPHY state machine states:h]hPHY state machine states:}(hjCHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj@Hhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjHhMubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwj[Hjxj[Hjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjeHh]h Constants}(hjgHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcHubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj_Hubj)}(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)}(hjHh]hPHY_DOWN}(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)}(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 }(hjHhhhNhNubj)}(h **PHY_READY**h]h PHY_READY}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubah}(h]h ]h"]h$]h&]uh1jhj~Hubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj{Hubj)}(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)}(hjHh]h PHY_READY}(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)}(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}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj{Hubj)}(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)}(hjIh]h PHY_HALTED}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubj)}(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 }(hjIhhhNhNubj)}(h **PHY_UP**h]hPHY_UP}(hj'IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj{Hubj)}(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)}(hjNIh]h PHY_ERROR}(hjPIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLIubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHIubj)}(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 }(hjgIhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjoIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgIubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdIubah}(h]h ]h"]h$]h&]uh1jhjHIubeh}(h]h ]h"]h$]h&]uh1jhjcIhMhj{Hubj)}(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)}(hjIh]hPHY_UP}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubj)}(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 }(hjIhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh or }(hjIhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj{Hubj)}(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)}(hjIh]h PHY_RUNNING}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubj)}(hhh]jX)}(hPHY 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](hdPHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set }(hj JhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Jubh' if link goes down - phy_stop moves to }(hj JhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hj#JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Jubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj{Hubj)}(h``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** h](j)}(h``PHY_NOLINK``h]j)}(hjJJh]h PHY_NOLINK}(hjLJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHJubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjDJubj)}(hhh]jX)}(hPHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED**h](hAPHY is up, but not currently plugged in. - irq or timer will set }(hjcJhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjkJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcJubh( if link comes back - phy_stop moves to }(hjcJhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hj}JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcJubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj`Jubah}(h]h ]h"]h$]h&]uh1jhjDJubeh}(h]h ]h"]h$]h&]uh1jhj_JhMhj{Hubj)}(hX;``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](j)}(h``PHY_CABLETEST``h]j)}(hjJh]h PHY_CABLETEST}(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.hhMhjJubj)}(hhh]jX)}(hX)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](hXPHY 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 }(hjJhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj{Hubeh}(h]h ]h"]h$]h&]uh1jhj_Hubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_c45_device_ids (C struct)c.phy_c45_device_idshNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hphy_c45_device_idsh]h)}(hstruct phy_c45_device_idsh](h)}(hjh]hstruct}(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjKhMubj)}(hphy_c45_device_idsh]j%)}(hjKh]hphy_c45_device_ids}(hj,KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Kubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhjKhhubjS)}(hhh]jX)}(h802.3-c45 Device Identifiersh]h802.3-c45 Device Identifiers}(hjNKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKKhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjfKjxjfKjyjzj{uh1hhhhjaJhNhNubj})}(hXS**Definition**:: struct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; }; **Members** ``devices_in_package`` IEEE 802.3 devices in package register value. ``mmds_present`` bit vector of MMDs present. ``device_ids`` The device identifer for each present device.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjrKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnKubh:}(hjnKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjKubjU)}(hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };h]hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };}hjKsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjKubjX)}(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.hhMhjjKubj)}(hhh](j)}(hE``devices_in_package`` IEEE 802.3 devices in package register value. h](j)}(h``devices_in_package``h]j)}(hjKh]hdevices_in_package}(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)}(h-IEEE 802.3 devices in package register value.h]h-IEEE 802.3 devices in package register value.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubj)}(h-``mmds_present`` bit vector of MMDs present. h](j)}(h``mmds_present``h]j)}(hjKh]h mmds_present}(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)}(hbit vector of MMDs present.h]hbit vector of MMDs present.}(hj LhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj LhMhj Lubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj LhMhjKubj)}(h<``device_ids`` The device identifer for each present device.h](j)}(h``device_ids``h]j)}(hj-Lh]h device_ids}(hj/LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Lubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj'Lubj)}(hhh]jX)}(h-The device identifer for each present device.h]h-The device identifer for each present device.}(hjFLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCLubah}(h]h ]h"]h$]h&]uh1jhj'Lubeh}(h]h ]h"]h$]h&]uh1jhjBLhMhjKubeh}(h]h ]h"]h$]h&]uh1jhjjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device (C struct) c.phy_devicehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h phy_deviceh]h)}(hstruct phy_deviceh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhMubj)}(h phy_deviceh]j%)}(hjLh]h phy_device}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjLhMubah}(h]jzLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMhj|LhhubjS)}(hhh]jX)}(hAn instance of a PHYh]hAn instance of a PHY}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLhhubah}(h]h ]h"]h$]h&]uh1jRhj|LhhhjLhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhjaJhNhNubj})}(hX2**Definition**:: struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; int pause; int asym_pause; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; struct phy_package_shared *shared; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; }; **Members** ``mdio`` MDIO bus this PHY is on ``drv`` Pointer to the driver for this PHY instance ``devlink`` Create a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface. ``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. ``phy_id`` UID for this device found during discovery ``c45_ids`` 802.3-c45 Device Identifiers if is_c45. ``is_c45`` Set to true if this PHY uses clause 45 addressing. ``is_internal`` Set to true if this PHY is internal to a MAC. ``is_pseudo_fixed_link`` Set to true if this PHY is an Ethernet switch, etc. ``is_gigabit_capable`` Set to true if PHY supports 1000Mbps ``has_fixups`` Set to true if this PHY has fixups/quirks. ``suspended`` Set to true if this PHY has been suspended successfully. ``suspended_by_mdio_bus`` Set to true if this PHY was suspended by MDIO bus. ``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. ``loopback_enabled`` Set true if this PHY has been loopbacked successfully. ``downshifted_rate`` Set true if link speed has been downshifted. ``is_on_sfp_module`` Set true if PHY is located on an SFP module. ``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY ``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. ``autoneg`` Flag autoneg being used ``link`` Current link state ``autoneg_complete`` Flag auto negotiation of the link has completed ``interrupts`` Flag interrupts have been enabled ``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed ``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume ``default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one ``rate_matching`` Current rate matching mode ``state`` State of the PHY for management purposes ``dev_flags`` Device-specific flags used by the PHY driver. - 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. ``interface`` enum phy_interface_t value ``possible_interfaces`` bitmap if interface modes that the attached PHY will switch between depending on media speed. ``speed`` Current link speed ``duplex`` Current duplex ``port`` Current port ``pause`` Current pause ``asym_pause`` Current asymmetric pause ``master_slave_get`` Current master/slave advertisement ``master_slave_set`` User requested master/slave configuration ``master_slave_state`` Current master/slave configuration ``supported`` Combined MAC/PHY supported linkmodes ``advertising`` Currently advertised linkmodes ``lp_advertising`` Current link partner advertised linkmodes ``adv_old`` Saved advertised while power saving for WoL ``supported_eee`` supported PHY EEE linkmodes ``advertising_eee`` Currently advertised EEE linkmodes ``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised ``enable_tx_lpi`` When True, MAC should transmit LPI to PHY ``eee_active`` phylib private state, indicating that EEE has been negotiated ``eee_cfg`` User configuration of EEE ``host_interfaces`` PHY interface modes supported by host ``phy_led_triggers`` Array of LED triggers ``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** ``last_triggered`` last LED trigger for link speed ``led_link_trigger`` LED trigger for link up/down ``leds`` list of PHY LED structures ``irq`` IRQ number of the PHY's interrupt (-1 if none) ``priv`` Pointer to driver private data ``shared`` Pointer to private data shared by phys in one package ``skb`` Netlink message for cable diagnostics ``ehdr`` nNtlink header for cable diagnostics ``nest`` Netlink nest used for cable diagnostics ``state_queue`` Work queue for state machine ``lock`` Mutex for serialization access to PHY ``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached ``sfp_bus`` SFP bus attached to this PHY's fiber port ``phylink`` Pointer to phylink instance for this PHY ``attached_dev`` The attached enet driver's device instance ptr ``mii_ts`` Pointer to time stamper callbacks ``psec`` Pointer to Power Sourcing Equipment control struct ``mdix`` Current crossover ``mdix_ctrl`` User setting of crossover ``pma_extable`` Cached value of PMA/PMD Extended Abilities Register ``link_down_events`` Number of times link was lost ``phy_link_change`` Callback for phylink for notification of link change ``adjust_link`` Callback for the enet controller to respond to changes: in the link state. ``macsec_ops`` MACsec offloading ops.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh:}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubjU)}(hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; int pause; int asym_pause; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; struct phy_package_shared *shared; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; };h]hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; int pause; int asym_pause; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; struct phy_package_shared *shared; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; };}hjMsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubjX)}(h **Members**h]j)}(hjMh]hMembers}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjLubj)}(hhh](j)}(h!``mdio`` MDIO bus this PHY is on h](j)}(h``mdio``h]j)}(hj6Mh]hmdio}(hj8MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Mubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0Mubj)}(hhh]jX)}(hMDIO bus this PHY is onh]hMDIO bus this PHY is on}(hjOMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKMhMhjLMubah}(h]h ]h"]h$]h&]uh1jhj0Mubeh}(h]h ]h"]h$]h&]uh1jhjKMhMhj-Mubj)}(h4``drv`` Pointer to the driver for this PHY instance h](j)}(h``drv``h]j)}(hjoMh]hdrv}(hjqMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmMubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjiMubj)}(hhh]jX)}(h+Pointer to the driver for this PHY instanceh]h+Pointer to the driver for this PHY instance}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjiMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj-Mubj)}(h``devlink`` Create a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface. h](j)}(h ``devlink``h]j)}(hjMh]hdevlink}(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)}(hCreate a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface.h]hCreate a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface.}(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&]uh1jhjMhMhj-Mubj)}(h``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. h](j)}(h ``phyindex``h]j)}(hjMh]hphyindex}(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)}(hUnique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet.h]hUnique id across the phy’s parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn’t assigned an id yet.}(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&]uh1jhjMhMhj-Mubj)}(h6``phy_id`` UID for this device found during discovery h](j)}(h ``phy_id``h]j)}(hjNh]hphy_id}(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*UID for this device found during discoveryh]h*UID for this device found during discovery}(hj5NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1NhMhj2Nubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhj1NhMhj-Mubj)}(h4``c45_ids`` 802.3-c45 Device Identifiers if is_c45. h](j)}(h ``c45_ids``h]j)}(hjUNh]hc45_ids}(hjWNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSNubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjONubj)}(hhh]jX)}(h'802.3-c45 Device Identifiers if is_c45.h]h'802.3-c45 Device Identifiers if is_c45.}(hjnNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjNhMhjkNubah}(h]h ]h"]h$]h&]uh1jhjONubeh}(h]h ]h"]h$]h&]uh1jhjjNhMhj-Mubj)}(h>``is_c45`` Set to true if this PHY uses clause 45 addressing. h](j)}(h ``is_c45``h]j)}(hjNh]his_c45}(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)}(h2Set to true if this PHY uses clause 45 addressing.h]h2Set to true if this PHY uses clause 45 addressing.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhj-Mubj)}(h>``is_internal`` Set to true if this PHY is internal to a MAC. h](j)}(h``is_internal``h]j)}(hjNh]h is_internal}(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-Set to true if this PHY is internal to a MAC.h]h-Set to true if this PHY is internal to a MAC.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhj-Mubj)}(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)}(hjOh]his_pseudo_fixed_link}(hjOhhhNhNubah}(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)}(h3Set to true if this PHY is an Ethernet switch, etc.h]h3Set to true if this PHY is an Ethernet switch, etc.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj-Mubj)}(h<``is_gigabit_capable`` Set to true if PHY supports 1000Mbps h](j)}(h``is_gigabit_capable``h]j)}(hj9Oh]his_gigabit_capable}(hj;OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Oubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3Oubj)}(hhh]jX)}(h$Set to true if PHY supports 1000Mbpsh]h$Set to true if PHY supports 1000Mbps}(hjROhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNOhMhjOOubah}(h]h ]h"]h$]h&]uh1jhj3Oubeh}(h]h ]h"]h$]h&]uh1jhjNOhMhj-Mubj)}(h:``has_fixups`` Set to true if this PHY has fixups/quirks. h](j)}(h``has_fixups``h]j)}(hjrOh]h has_fixups}(hjtOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpOubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlOubj)}(hhh]jX)}(h*Set to true if this PHY has fixups/quirks.h]h*Set to true if this PHY has fixups/quirks.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjlOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj-Mubj)}(hG``suspended`` Set to true if this PHY has been suspended successfully. h](j)}(h ``suspended``h]j)}(hjOh]h suspended}(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.hhM hjOubj)}(hhh]jX)}(h8Set to true if this PHY has been suspended successfully.h]h8Set to true if this PHY has been suspended successfully.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hj-Mubj)}(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)}(hjOh]hsuspended_by_mdio_bus}(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.hhM hjOubj)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hj-Mubj)}(hN``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. h](j)}(h``sysfs_links``h]j)}(hjPh]h sysfs_links}(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.hhM hjPubj)}(hhh]jX)}(h=Internal boolean tracking sysfs symbolic links setup/removal.h]h=Internal boolean tracking sysfs symbolic links setup/removal.}(hj6PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2PhM hj3Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj2PhM hj-Mubj)}(hL``loopback_enabled`` Set true if this PHY has been loopbacked successfully. h](j)}(h``loopback_enabled``h]j)}(hjVPh]hloopback_enabled}(hjXPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTPubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjPPubj)}(hhh]jX)}(h6Set true if this PHY has been loopbacked successfully.h]h6Set true if this PHY has been loopbacked successfully.}(hjoPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkPhM hjlPubah}(h]h ]h"]h$]h&]uh1jhjPPubeh}(h]h ]h"]h$]h&]uh1jhjkPhM hj-Mubj)}(hB``downshifted_rate`` Set true if link speed has been downshifted. h](j)}(h``downshifted_rate``h]j)}(hjPh]hdownshifted_rate}(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.hhM hjPubj)}(hhh]jX)}(h,Set true if link speed has been downshifted.h]h,Set true if link speed has been downshifted.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhM hjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhM hj-Mubj)}(hB``is_on_sfp_module`` Set true if PHY is located on an SFP module. h](j)}(h``is_on_sfp_module``h]j)}(hjPh]his_on_sfp_module}(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)}(h,Set true if PHY is located on an SFP module.h]h,Set true if PHY is located on an SFP module.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj-Mubj)}(hK``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY h](j)}(h``mac_managed_pm``h]j)}(hjQh]hmac_managed_pm}(hjQhhhNhNubah}(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)}(h7Set true if MAC driver takes of suspending/resuming PHYh]h7Set true if MAC driver takes of suspending/resuming PHY}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj-Mubj)}(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)}(hj:Qh]h wol_enabled}(hjhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhM?hj-Mubj)}(h```default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one h](j)}(h``default_timestamp``h]j)}(hjRh]hdefault_timestamp}(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.hhMAhjRubj)}(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}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMAhj-Mubj)}(h-``rate_matching`` Current rate matching mode h](j)}(h``rate_matching``h]j)}(hjSh]h rate_matching}(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.hhM5hjSubj)}(hhh]jX)}(hCurrent rate matching modeh]hCurrent rate matching mode}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM5hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM5hj-Mubj)}(h3``state`` State of the PHY for management purposes h](j)}(h ``state``h]j)}(hj?Sh]hstate}(hjAShhhNhNubah}(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.hhMhj9Subj)}(hhh]jX)}(h(State of the PHY for management purposesh]h(State of the PHY for management purposes}(hjXShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjTShMhjUSubah}(h]h ]h"]h$]h&]uh1jhj9Subeh}(h]h ]h"]h$]h&]uh1jhjTShMhj-Mubj)}(hX``dev_flags`` Device-specific flags used by the PHY driver. - 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](j)}(h ``dev_flags``h]j)}(hjxSh]h dev_flags}(hjzShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrSubj)}(hhh](jX)}(h-Device-specific flags used by the PHY driver.h]h-Device-specific flags used by the PHY driver.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjSubj1")}(hhh](j6")}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjSubah}(h]h ]h"]h$]h&]uh1j5"hjSubj6")}(h3Bits [23:16] are currently reserved for future use.h]jX)}(hjSh]h3Bits [23:16] are currently reserved for future use.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjSubah}(h]h ]h"]h$]h&]uh1j5"hjSubj6")}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjSubah}(h]h ]h"]h$]h&]uh1j5"hjSubeh}(h]h ]h"]h$]h&]j#jy uh1j0"hjShMhjSubeh}(h]h ]h"]h$]h&]uh1jhjrSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj-Mubj)}(h)``interface`` enum phy_interface_t value h](j)}(h ``interface``h]j)}(hjTh]h interface}(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.hhMBhjSubj)}(hhh]jX)}(henum phy_interface_t valueh]henum phy_interface_t value}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMBhjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThMBhj-Mubj)}(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)}(hj>Th]hpossible_interfaces}(hj@ThhhNhNubah}(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)hj:Vubj)}(hhh]jX)}(h$Combined MAC/PHY supported linkmodesh]h$Combined MAC/PHY supported linkmodes}(hjYVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUVhM)hjVVubah}(h]h ]h"]h$]h&]uh1jhj:Vubeh}(h]h ]h"]h$]h&]uh1jhjUVhM)hj-Mubj)}(h/``advertising`` Currently advertised linkmodes h](j)}(h``advertising``h]j)}(hjyVh]h advertising}(hj{VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjsVubj)}(hhh]jX)}(hCurrently advertised linkmodesh]hCurrently advertised linkmodes}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhM*hjVubah}(h]h ]h"]h$]h&]uh1jhjsVubeh}(h]h ]h"]h$]h&]uh1jhjVhM*hj-Mubj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hjVh]hlp_advertising}(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.hhM1hjVubj)}(hhh]jX)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhM1hjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhM1hj-Mubj)}(h8``adv_old`` Saved advertised while power saving for WoL h](j)}(h ``adv_old``h]j)}(hjVh]hadv_old}(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+Saved advertised while power saving for WoLh]h+Saved advertised while power saving for WoL}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM+hjWubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjWhM+hj-Mubj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hj$Wh]h supported_eee}(hj&WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Wubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM,hjWubj)}(hhh]jX)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hj=WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9WhM,hj:Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj9WhM,hj-Mubj)}(h7``advertising_eee`` Currently advertised EEE linkmodes h](j)}(h``advertising_eee``h]j)}(hj]Wh]hadvertising_eee}(hj_WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Wubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM-hjWWubj)}(hhh]jX)}(h"Currently advertised EEE linkmodesh]h"Currently advertised EEE linkmodes}(hjvWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrWhM-hjsWubah}(h]h ]h"]h$]h&]uh1jhjWWubeh}(h]h ]h"]h$]h&]uh1jhjrWhM-hj-Mubj)}(hL``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised h](j)}(h``eee_disabled_modes``h]j)}(hjWh]heee_disabled_modes}(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.hhM3hjWubj)}(hhh]jX)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM3hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM3hj-Mubj)}(h<``enable_tx_lpi`` When True, MAC should transmit LPI to PHY h](j)}(h``enable_tx_lpi``h]j)}(hjWh]h enable_tx_lpi}(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)}(h)When True, MAC should transmit LPI to PHYh]h)When True, MAC should transmit LPI to PHY}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM.hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM.hj-Mubj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(hjXh]h eee_active}(hj XhhhNhNubah}(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=phylib private state, indicating that EEE has been negotiatedh]h=phylib private state, indicating that EEE has been negotiated}(hj!XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM/hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM/hj-Mubj)}(h&``eee_cfg`` User configuration of EEE h](j)}(h ``eee_cfg``h]j)}(hjAXh]heee_cfg}(hjCXhhhNhNubah}(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.hhM0hj;Xubj)}(hhh]jX)}(hUser configuration of EEEh]hUser configuration of EEE}(hjZXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVXhM0hjWXubah}(h]h ]h"]h$]h&]uh1jhj;Xubeh}(h]h ]h"]h$]h&]uh1jhjVXhM0hj-Mubj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hjzXh]hhost_interfaces}(hj|XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjtXubj)}(hhh]jX)}(h%PHY interface modes supported by hosth]h%PHY interface modes supported by host}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM2hjXubah}(h]h ]h"]h$]h&]uh1jhjtXubeh}(h]h ]h"]h$]h&]uh1jhjXhM2hj-Mubj)}(h+``phy_led_triggers`` Array of LED triggers h](j)}(h``phy_led_triggers``h]j)}(hjXh]hphy_led_triggers}(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.hhMHhjXubj)}(hhh]jX)}(hArray of LED triggersh]hArray of LED triggers}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMHhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMHhj-Mubj)}(hD``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** h](j)}(h``phy_num_led_triggers``h]j)}(hjXh]hphy_num_led_triggers}(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.hhMIhjXubj)}(hhh]jX)}(h*Number of triggers in **phy_led_triggers**h](hNumber of triggers in }(hjYhhhNhNubj)}(h**phy_led_triggers**h]hphy_led_triggers}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jWhjYhMIhjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhMIhj-Mubj)}(h3``last_triggered`` last LED trigger for link speed h](j)}(h``last_triggered``h]j)}(hj3Yh]hlast_triggered}(hj5YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Yubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhj-Yubj)}(hhh]jX)}(hlast LED trigger for link speedh]hlast LED trigger for link speed}(hjLYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHYhMKhjIYubah}(h]h ]h"]h$]h&]uh1jhj-Yubeh}(h]h ]h"]h$]h&]uh1jhjHYhMKhj-Mubj)}(h2``led_link_trigger`` LED trigger for link up/down h](j)}(h``led_link_trigger``h]j)}(hjlYh]hled_link_trigger}(hjnYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjfYubj)}(hhh]jX)}(hLED trigger for link up/downh]hLED trigger for link up/down}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMJhjYubah}(h]h ]h"]h$]h&]uh1jhjfYubeh}(h]h ]h"]h$]h&]uh1jhjYhMJhj-Mubj)}(h$``leds`` list of PHY LED structures h](j)}(h``leds``h]j)}(hjYh]hleds}(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.hhMLhjYubj)}(hhh]jX)}(hlist of PHY LED structuresh]hlist of PHY LED structures}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMLhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMLhj-Mubj)}(h7``irq`` IRQ number of the PHY's interrupt (-1 if none) h](j)}(h``irq``h]j)}(hjYh]hirq}(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.hhMhjYubj)}(hhh]jX)}(h.IRQ number of the PHY's interrupt (-1 if none)h]h0IRQ number of the PHY’s interrupt (-1 if none)}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj-Mubj)}(h(``priv`` Pointer to driver private data h](j)}(h``priv``h]j)}(hjZh]hpriv}(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.hhMVhjZubj)}(hhh]jX)}(hPointer to driver private datah]hPointer to driver private data}(hj0ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,ZhMVhj-Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj,ZhMVhj-Mubj)}(hA``shared`` Pointer to private data shared by phys in one package h](j)}(h ``shared``h]j)}(hjPZh]hshared}(hjRZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjJZubj)}(hhh]jX)}(h5Pointer to private data shared by phys in one packageh]h5Pointer to private data shared by phys in one package}(hjiZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjeZhMUhjfZubah}(h]h ]h"]h$]h&]uh1jhjJZubeh}(h]h ]h"]h$]h&]uh1jhjeZhMUhj-Mubj)}(h.``skb`` Netlink message for cable diagnostics h](j)}(h``skb``h]j)}(hjZh]hskb}(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.hhMEhjZubj)}(hhh]jX)}(h%Netlink message for cable diagnosticsh]h%Netlink message for cable diagnostics}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMEhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMEhj-Mubj)}(h.``ehdr`` nNtlink header for cable diagnostics h](j)}(h``ehdr``h]j)}(hjZh]hehdr}(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.hhMGhjZubj)}(hhh]jX)}(h$nNtlink header for cable diagnosticsh]h$nNtlink header for cable diagnostics}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMGhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMGhj-Mubj)}(h1``nest`` Netlink nest used for cable diagnostics h](j)}(h``nest``h]j)}(hjZh]hnest}(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.hhMFhjZubj)}(hhh]jX)}(h'Netlink nest used for cable diagnosticsh]h'Netlink nest used for cable diagnostics}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMFhj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj[hMFhj-Mubj)}(h-``state_queue`` Work queue for state machine h](j)}(h``state_queue``h]j)}(hj4[h]h state_queue}(hj6[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj.[ubj)}(hhh]jX)}(hWork queue for state machineh]hWork queue for state machine}(hjM[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjI[hMShjJ[ubah}(h]h ]h"]h$]h&]uh1jhj.[ubeh}(h]h ]h"]h$]h&]uh1jhjI[hMShj-Mubj)}(h/``lock`` Mutex for serialization access to PHY h](j)}(h``lock``h]j)}(hjm[h]hlock}(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.hhMRhjg[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[hMRhj[ubah}(h]h ]h"]h$]h&]uh1jhjg[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMRhj-Mubj)}(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.hhMhj[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[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj-Mubj)}(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.hhMhj[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[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj-Mubj)}(h5``phylink`` Pointer to phylink instance for this PHY h](j)}(h ``phylink``h]j)}(hj\h]hphylink}(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(Pointer to phylink instance for this PHYh]h(Pointer to phylink instance for this PHY}(hj1\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-\hMhj.\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj-\hMhj-Mubj)}(h@``attached_dev`` The attached enet driver's device instance ptr h](j)}(h``attached_dev``h]j)}(hjQ\h]h attached_dev}(hjS\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjK\ubj)}(hhh]jX)}(h.The attached enet driver's device instance ptrh]h0The attached enet driver’s device instance ptr}(hjj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjf\hMhjg\ubah}(h]h ]h"]h$]h&]uh1jhjK\ubeh}(h]h ]h"]h$]h&]uh1jhjf\hMhj-Mubj)}(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.hhMPhj\ubj)}(hhh]jX)}(h!Pointer to time stamper callbacksh]h!Pointer to time stamper callbacks}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMPhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMPhj-Mubj)}(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.hhMQhj\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\hMQhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMQhj-Mubj)}(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.hhM8hj\ubj)}(hhh]jX)}(hCurrent crossoverh]hCurrent crossover}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM8hj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj]hM8hj-Mubj)}(h(``mdix_ctrl`` User setting of crossover h](j)}(h ``mdix_ctrl``h]j)}(hj5]h]h mdix_ctrl}(hj7]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hj/]ubj)}(hhh]jX)}(hUser setting of crossoverh]hUser setting of crossover}(hjN]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJ]hM9hjK]ubah}(h]h ]h"]h$]h&]uh1jhj/]ubeh}(h]h ]h"]h$]h&]uh1jhjJ]hM9hj-Mubj)}(hD``pma_extable`` Cached value of PMA/PMD Extended Abilities Register h](j)}(h``pma_extable``h]j)}(hjn]h]h pma_extable}(hjp]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjh]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]hM:hj]ubah}(h]h ]h"]h$]h&]uh1jhjh]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM:hj-Mubj)}(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.hhMThj]ubj)}(hhh]jX)}(hNumber of times link was losth]hNumber of times link was lost}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMThj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMThj-Mubj)}(hI``phy_link_change`` Callback for phylink for notification of link change h](j)}(h``phy_link_change``h]j)}(hj]h]hphy_link_change}(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)}(h4Callback for phylink for notification of link changeh]h4Callback for phylink for notification of link change}(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-Mubj)}(h[``adjust_link`` Callback for the enet controller to respond to changes: in the link state. h](j)}(h``adjust_link``h]j)}(hj^h]h adjust_link}(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)}(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.}(hj2^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&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj.^hM hj-Mubj)}(h%``macsec_ops`` MACsec offloading ops.h](j)}(h``macsec_ops``h]j)}(hjS^h]h macsec_ops}(hjU^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ^ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hjM^ubj)}(hhh]jX)}(hMACsec offloading ops.h]hMACsec offloading ops.}(hjl^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM"hji^ubah}(h]h ]h"]h$]h&]uh1jhjM^ubeh}(h]h ]h"]h$]h&]uh1jhjh^hM!hj-Mubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubjX)}(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%hjaJhhubjX)}(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}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjaJhhubjX)}(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}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjaJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hphy_tdr_configh]h)}(hstruct phy_tdr_configh](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMaubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhj^hMaubj)}(hphy_tdr_configh]j%)}(hj^h]hphy_tdr_config}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj^hMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhj^hMaubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hMahj^hhubjS)}(hhh]jX)}(hConfiguration of a TDR raw testh]hConfiguration of a TDR raw test}(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&]uh1jRhj^hhhj^hMaubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj=_jxj=_jyjzj{uh1hhhhjaJhNhNubj})}(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}(hjI_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE_ubh:}(hjE_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjA_ubjU)}(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; };}hjb_sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjA_ubjX)}(h **Members**h]j)}(hjs_h]hMembers}(hju_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq_ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjA_ubj)}(hhh](j)}(h3``first`` Distance for first data collection point h](j)}(h ``first``h]j)}(hj_h]hfirst}(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(Distance for first data collection pointh]h(Distance for first data collection point}(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)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hj_h]hlast}(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'Distance for last data collection pointh]h'Distance for last data collection point}(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-``step`` Step between data collection points h](j)}(h``step``h]j)}(hj`h]hstep}(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#Step between data collection pointsh]h#Step between data collection points}(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``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hj=`h]hpair}(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.hhMhj7`ubj)}(hhh]jX)}(h)Bitmap of cable pairs to collect data forh]h)Bitmap of cable pairs to collect data for}(hjV`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjS`ubah}(h]h ]h"]h$]h&]uh1jhj7`ubeh}(h]h ]h"]h$]h&]uh1jhjR`hMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjA_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubjX)}(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.hhMhjaJhhubjX)}(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`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjaJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hlink_inband_signallingh]h)}(henum link_inband_signallingh](h)}(hhh]henum}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhj`hMubj)}(hlink_inband_signallingh]j%)}(hj`h]hlink_inband_signalling}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]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+in-band signalling modes that are supportedh]h+in-band signalling modes that are supported}(hjahhhNhNubah}(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&]uh1jRhj`hhhj`hMubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj"ah]h Constants}(hj$ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjaubj)}(hhh](j)}(h;``LINK_INBAND_DISABLE`` in-band signalling can be disabled h](j)}(h``LINK_INBAND_DISABLE``h]j)}(hjAah]hLINK_INBAND_DISABLE}(hjCahhhNhNubah}(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.hhM hj;aubj)}(hhh]jX)}(h"in-band signalling can be disabledh]h"in-band signalling can be disabled}(hjZahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVahM hjWaubah}(h]h ]h"]h$]h&]uh1jhj;aubeh}(h]h ]h"]h$]h&]uh1jhjVahM hj8aubj)}(hH``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass h](j)}(h``LINK_INBAND_ENABLE``h]j)}(hjzah]hLINK_INBAND_ENABLE}(hj|ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjtaubj)}(hhh]jX)}(h0in-band signalling can be enabled without bypassh]h0in-band signalling can be enabled without bypass}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjtaubeh}(h]h ]h"]h$]h&]uh1jhjahM hj8aubj)}(hD``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](j)}(h``LINK_INBAND_BYPASS``h]j)}(hjah]hLINK_INBAND_BYPASS}(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)}(h-in-band signalling can be enabled with bypassh]h-in-band signalling can be enabled with bypass}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj8aubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubjX)}(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.hhMhjaJhhubjX)}(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.}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjaJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h phy_plca_cfgh]h)}(hstruct phy_plca_cfgh](h)}(hjh]hstruct}(hj4bhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0bhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjBbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0bhhhjAbhMubj)}(h phy_plca_cfgh]j%)}(hj.bh]h phy_plca_cfg}(hjTbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0bhhhjAbhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,bhhhjAbhMubah}(h]j'bah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAbhMhj)bhhubjS)}(hhh]jX)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjvbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjsbhhubah}(h]h ]h"]h$]h&]uh1jRhj)bhhhjAbhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhjaJhNhNubj})}(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}(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.hhMhjbubjU)}(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; };}hjbsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjbubjX)}(h **Members**h]j)}(hjbh]hMembers}(hjbhhhNhNubah}(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%hjbubj)}(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)}(hjbh]hversion}(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.hhMhjbubj)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hjch]henabled}(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.hhMhjcubj)}(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.}(hj6chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3cubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj2chMhjbubj)}(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)}(hjWch]hnode_id}(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.hhMhjQcubj)}(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.}(hjpchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmcubah}(h]h ]h"]h$]h&]uh1jhjQcubeh}(h]h ]h"]h$]h&]uh1jhjlchMhjbubj)}(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)}(hjch]hnode_cnt}(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)}(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].}(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"hjbubj)}(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)}(hjch]hto_tmr}(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)}(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].}(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&hjbubj)}(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)}(hjdh]h burst_cnt}(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+hjcubj)}(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].}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhM+hjbubj)}(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)}(hj?dh]h burst_tmr}(hjAdhhhNhNubah}(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.hhM.hj9dubj)}(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].}(hjXdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM,hjUdubah}(h]h ]h"]h$]h&]uh1jhj9dubeh}(h]h ]h"]h$]h&]uh1jhjTdhM.hjbubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubjX)}(h**Description**h]j)}(hjdh]h Description}(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.hhM2hjaJhhubjX)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM0hjaJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_status (C struct)c.phy_plca_statushNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hphy_plca_statush]h)}(hstruct phy_plca_statush](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM7ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjdhM7ubj)}(hphy_plca_statush]j%)}(hjdh]hphy_plca_status}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjdhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjdhM7ubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhM7hjdhhubjS)}(hhh]jX)}(hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjehhhNhNubah}(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&]uh1jRhjdhhhjdhM7ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjaJhNhNubj})}(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}(hj&ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"eubh:}(hj"ehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjeubjU)}(h)struct phy_plca_status { bool pst; };h]h)struct phy_plca_status { bool pst; };}hj?esbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjeubjX)}(h **Members**h]j)}(hjPeh]hMembers}(hjRehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNeubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjeubj)}(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)}(hjoeh]hpst}(hjqehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjieubj)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMChjeubah}(h]h ]h"]h$]h&]uh1jhjieubeh}(h]h ]h"]h$]h&]uh1jhjehMChjfeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubjX)}(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.hhMGhjaJhhubjX)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjaJhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_led (C struct) c.phy_ledhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hphy_ledh]h)}(hstruct phy_ledh](h)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjehhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMLubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjehMLubj)}(hphy_ledh]j%)}(hjeh]hphy_led}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj fubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjehMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhjehMLubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMLhjehhubjS)}(hhh]jX)}(hAn LED driven by the PHYh]hAn LED driven by the PHY}(hj1fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhj.fhhubah}(h]h ]h"]h$]h&]uh1jRhjehhhjehMLubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjIfjxjIfjyjzj{uh1hhhhjaJhNhNubj})}(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}(hjUfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQfubh:}(hjQfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjMfubjU)}(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; };}hjnfsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjMfubjX)}(h **Members**h]j)}(hjfh]hMembers}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}fubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjMfubj)}(hhh](j)}(h``list`` List of LEDs h](j)}(h``list``h]j)}(hjfh]hlist}(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)}(h List of LEDsh]h List of LEDs}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhM[hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM[hjfubj)}(h'``phydev`` PHY this LED is attached to h](j)}(h ``phydev``h]j)}(hjfh]hphydev}(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)}(hPHY this LED is attached toh]hPHY this LED is attached to}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhM\hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM\hjfubj)}(h*``led_cdev`` Standard LED class structure h](j)}(h ``led_cdev``h]j)}(hjgh]hled_cdev}(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]hj gubj)}(hhh]jX)}(hStandard LED class structureh]hStandard LED class structure}(hj)ghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%ghM]hj&gubah}(h]h ]h"]h$]h&]uh1jhj gubeh}(h]h ]h"]h$]h&]uh1jhj%ghM]hjfubj)}(h``index`` Number of the LEDh](j)}(h ``index``h]j)}(hjIgh]hindex}(hjKghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjCgubj)}(hhh]jX)}(hNumber of the LEDh]hNumber of the LED}(hjbghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hj_gubah}(h]h ]h"]h$]h&]uh1jhjCgubeh}(h]h ]h"]h$]h&]uh1jhj^ghM]hjfubeh}(h]h ]h"]h$]h&]uh1jhjMfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_driver (C struct) c.phy_driverhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h phy_driverh]h)}(hstruct phy_driverh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjghhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjghMdubj)}(h phy_driverh]j%)}(hjgh]h phy_driver}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjghMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhjghMdubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghMdhjghhubjS)}(hhh]jX)}(h*Driver structure for a particular PHY typeh]h*Driver structure for a particular PHY type}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihjghhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjghMdubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhjaJhNhNubj})}(hX2**Definition**:: struct 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); }; **Members** ``mdiodrv`` Data common to all MDIO devices ``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 ``name`` The friendly name of this PHY type ``phy_id_mask`` Defines the important bits of the phy_id ``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY ``flags`` A bitfield defining certain other features this PHY supports (like interrupts) ``driver_data`` Static driver data ``soft_reset`` Called to issue a PHY software reset ``config_init`` Called to initialize the PHY, including after a reset ``probe`` Called during discovery. Used to set up device-specific structures, if any ``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. ``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}(hj hhhhNhNubah}(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.hhMmhjhubjU)}(hXGstruct 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]hXGstruct 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); };}hj"hsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohjhubjX)}(h **Members**h]j)}(hj3hh]hMembers}(hj5hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1hubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhubj)}(hhh](j)}(h,``mdiodrv`` Data common to all MDIO devices h](j)}(h ``mdiodrv``h]j)}(hjRhh]hmdiodrv}(hjThhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjLhubj)}(hhh]jX)}(hData common to all MDIO devicesh]hData common to all MDIO devices}(hjkhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghhMlhjhhubah}(h]h ]h"]h$]h&]uh1jhjLhubeh}(h]h ]h"]h$]h&]uh1jhjghhMlhjIhubj)}(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)}(hjhh]hphy_id}(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.hhMohjhubj)}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMohjIhubj)}(h,``name`` The friendly name of this PHY type h](j)}(h``name``h]j)}(hjhh]hname}(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.hhMphjhubj)}(hhh]jX)}(h"The friendly name of this PHY typeh]h"The friendly name of this PHY type}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMphjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMphjIhubj)}(h9``phy_id_mask`` Defines the important bits of the phy_id h](j)}(h``phy_id_mask``h]j)}(hjhh]h phy_id_mask}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhjhubj)}(hhh]jX)}(h(Defines the important bits of the phy_idh]h(Defines the important bits of the phy_id}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMqhjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihMqhjIhubj)}(hU``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY h](j)}(h ``features``h]j)}(hj7ih]hfeatures}(hj9ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5iubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshj1iubj)}(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}(hjPihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjMiubah}(h]h ]h"]h$]h&]uh1jhj1iubeh}(h]h ]h"]h$]h&]uh1jhjLihMshjIhubj)}(hY``flags`` A bitfield defining certain other features this PHY supports (like interrupts) h](j)}(h ``flags``h]j)}(hjqih]hflags}(hjsihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoiubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjkiubj)}(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)}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjiubah}(h]h ]h"]h$]h&]uh1jhjkiubeh}(h]h ]h"]h$]h&]uh1jhjihMuhjIhubj)}(h#``driver_data`` Static driver data h](j)}(h``driver_data``h]j)}(hjih]h driver_data}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhjiubj)}(hhh]jX)}(hStatic driver datah]hStatic driver data}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMvhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMvhjIhubj)}(h4``soft_reset`` Called to issue a PHY software reset h](j)}(h``soft_reset``h]j)}(hjih]h soft_reset}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjiubj)}(hhh]jX)}(h$Called to issue a PHY software reseth]h$Called to issue a PHY software reset}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjIhubj)}(hF``config_init`` Called to initialize the PHY, including after a reset h](j)}(h``config_init``h]j)}(hjjh]h config_init}(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.hhMhjjubj)}(hhh]jX)}(h5Called to initialize the PHY, including after a reseth]h5Called to initialize the PHY, including after a reset}(hj6jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj2jhMhjIhubj)}(hV``probe`` Called during discovery. Used to set up device-specific structures, if any h](j)}(h ``probe``h]j)}(hjWjh]hprobe}(hjYjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjQjubj)}(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}(hjpjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmjubah}(h]h ]h"]h$]h&]uh1jhjQjubeh}(h]h ]h"]h$]h&]uh1jhjljhMhjIhubj)}(hl``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. h](j)}(h``get_features``h]j)}(hjjh]h get_features}(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.hhMhjjubj)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjIhubj)}(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)}(hjjh]h inband_caps}(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.hhMhjjubj)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjIhubj)}(h5``config_inband`` configure in-band mode for the PHY h](j)}(h``config_inband``h]j)}(hjkh]h config_inband}(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.hhMhjjubj)}(hhh]jX)}(h"configure in-band mode for the PHYh]h"configure in-band mode for the PHY}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjIhubj)}(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)}(hj>kh]hget_rate_matching}(hj@khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjautoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off h](j)}(h``config_aneg``h]j)}(hjkh]h config_aneg}(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)}(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}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjIhubj)}(h5``aneg_done`` Determines the auto negotiation result h](j)}(h ``aneg_done``h]j)}(hj6lh]h aneg_done}(hj8lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4lubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj0lubj)}(hhh]jX)}(h&Determines the auto negotiation resulth]h&Determines the auto negotiation result}(hjOlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKlhKhjLlubah}(h]h ]h"]h$]h&]uh1jhj0lubeh}(h]h ]h"]h$]h&]uh1jhjKlhKhjIhubj)}(h;``read_status`` Determines the negotiated speed and duplex h](j)}(h``read_status``h]j)}(hjolh]h read_status}(hjqlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjilubj)}(hhh]jX)}(h*Determines the negotiated speed and duplexh]h*Determines the negotiated speed and duplex}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhKhjlubah}(h]h ]h"]h$]h&]uh1jhjilubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjIhubj)}(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)}(hjlh]h config_intr}(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)}(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.}(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&]uh1jhjlhMhjIhubj)}(h9``handle_interrupt`` Override default interrupt handling h](j)}(h``handle_interrupt``h]j)}(hjlh]hhandle_interrupt}(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.hhKhjlubj)}(hhh]jX)}(h#Override default interrupt handlingh]h#Override default interrupt handling}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhKhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjIhubj)}(h*``remove`` Clears up any memory if needed h](j)}(h ``remove``h]j)}(hjmh]hremove}(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.hhKhjmubj)}(hhh]jX)}(hClears up any memory if neededh]hClears up any memory if needed}(hj4mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0mhKhj1mubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhj0mhKhjIhubj)}(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)}(hjTmh]hmatch_phy_device}(hjVmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNmubj)}(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.}(hjmmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjmubah}(h]h ]h"]h$]h&]uh1jhjNmubeh}(h]h ]h"]h$]h&]uh1jhjimhMhjIhubj)}(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)}(hjmh]hset_wol}(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)}(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.}(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&]uh1jhjmhMhjIhubj)}(hJ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. h](j)}(h ``get_wol``h]j)}(hjmh]hget_wol}(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)}(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.}(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&]uh1jhjmhMhjIhubj)}(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)}(hjnh]hlink_change_notify}(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.hhMhjmubj)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjIhubj)}(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)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:nubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj6nubj)}(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.}(hjUnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRnubah}(h]h ]h"]h$]h&]uh1jhj6nubeh}(h]h ]h"]h$]h&]uh1jhjQnhMhjIhubj)}(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)}(hjvnh]h write_mmd}(hjxnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjpnubj)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjpnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjIhubj)}(h:``read_page`` Return the current PHY register page number h](j)}(h ``read_page``h]j)}(hjnh]h read_page}(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.hhKhjnubj)}(hhh]jX)}(h+Return the current PHY register page numberh]h+Return the current PHY register page number}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhKhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjIhubj)}(h8``write_page`` Set the current PHY register page number h](j)}(h``write_page``h]j)}(hjnh]h write_page}(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.hhKhjnubj)}(hhh]jX)}(h(Set the current PHY register page numberh]h(Set the current PHY register page number}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhKhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjIhubj)}(hV``module_info`` Get the size and type of the eeprom contained within a plug-in module h](j)}(h``module_info``h]j)}(hj"oh]h module_info}(hj$ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj oubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoubj)}(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}(hj;ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj8oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj7ohMhjIhubj)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hj\oh]h module_eeprom}(hj^ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hjVoubj)}(hhh]jX)}(h2Get the eeprom information from the plug-in moduleh]h2Get the eeprom information from the plug-in module}(hjuohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjroubah}(h]h ]h"]h$]h&]uh1jhjVoubeh}(h]h ]h"]h$]h&]uh1jhjqohM!hjIhubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hjoh]hcable_test_start}(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.hhKhjoubj)}(hhh]jX)}(hStart a cable testh]hStart a cable test}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohKhjIhubj)}(h4``cable_test_tdr_start`` Start a raw TDR cable test h](j)}(h``cable_test_tdr_start``h]j)}(hjoh]hcable_test_tdr_start}(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.hhKhjoubj)}(hhh]jX)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohKhjIhubj)}(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)}(hjph]hcable_test_get_status}(hj phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjpubj)}(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.}(hj!phhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM.hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphM/hjIhubj)}(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)}(hjBph]h get_phy_stats}(hjDphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@pubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjhjIhubj)}(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)}(hjph]hget_link_stats}(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.hhMMhjpubj)}(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. }(hjphhhNhNubj)}(h**dev**h]hdev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh9: The PHY device for which the statistics are retrieved. }(hjphhhNhNubj)}(h**link_stats**h]h link_stats}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh5: structure where link-specific stats will be stored.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjpubjX)}(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 }(hj1qhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj9qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1qubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hj1qhhhNhNubj)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjKqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1qubh' and will not be returned to userspace.}(hj1qhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMMhjIhubj)}(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)}(hjvqh]h update_stats}(hjxqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjpqubj)}(hhh](jX)}(hhTrigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered.h](h%Trigger periodic statistics updates. }(hjqhhhNhNubj)}(h**dev**h]hdev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh<: The PHY device for which statistics updates are triggered.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjqubjX)}(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 }(hjqhhhNhNubj)}(h`get_phy_stats`h]h get_phy_stats}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh and }(hjqhhhNhNubj)}(h`get_link_stats`h]hget_link_stats}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh interfaces.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjqubjX)}(h9Return: 0 on success or a negative error code on failure.h]h9Return: 0 on success or a negative error code on failure.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhM_hjqubeh}(h]h ]h"]h$]h&]uh1jhjpqubeh}(h]h ]h"]h$]h&]uh1jhjqhM_hjIhubj)}(h0``get_sset_count`` Number of statistic counters h](j)}(h``get_sset_count``h]j)}(hjrh]hget_sset_count}(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.hhKhjqubj)}(hhh]jX)}(hNumber of statistic countersh]hNumber of statistic counters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjIhubj)}(h0``get_strings`` Names of the statistic counters h](j)}(h``get_strings``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.hhKhj6rubj)}(hhh]jX)}(hNames of the statistic countersh]hNames of the statistic counters}(hjUrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQrhKhjRrubah}(h]h ]h"]h$]h&]uh1jhj6rubeh}(h]h ]h"]h$]h&]uh1jhjQrhKhjIhubj)}(h2``get_stats`` Return the statistic counter values h](j)}(h ``get_stats``h]j)}(hjurh]h get_stats}(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.hhKhjorubj)}(hhh]jX)}(h#Return the statistic counter valuesh]h#Return the statistic counter values}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjorubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjIhubj)}(h.``get_tunable`` Return the value of a tunable h](j)}(h``get_tunable``h]j)}(hjrh]h get_tunable}(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.hhKhjrubj)}(hhh]jX)}(hReturn the value of a tunableh]hReturn the value of a tunable}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjIhubj)}(h+``set_tunable`` Set the value of a tunable h](j)}(h``set_tunable``h]j)}(hjrh]h set_tunable}(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.hhKhjrubj)}(hhh]jX)}(hSet the value of a tunableh]hSet the value of a tunable}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjIhubj)}(hX``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. h](j)}(h``set_loopback``h]j)}(hj sh]h set_loopback}(hj"shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjsubj)}(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.}(hj9shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthj6subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj5shMzhjIhubj)}(h.``get_sqi`` Get the signal quality indication h](j)}(h ``get_sqi``h]j)}(hjZsh]hget_sqi}(hj\shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjTsubj)}(hhh]jX)}(h!Get the signal quality indicationh]h!Get the signal quality indication}(hjsshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjoshKhjpsubah}(h]h ]h"]h$]h&]uh1jhjTsubeh}(h]h ]h"]h$]h&]uh1jhjoshKhjIhubj)}(h:``get_sqi_max`` Get the maximum signal quality indication h](j)}(h``get_sqi_max``h]j)}(hjsh]h get_sqi_max}(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.hhKhjsubj)}(hhh]jX)}(h)Get the maximum signal quality indicationh]h)Get the maximum signal quality indication}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshKhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshKhjIhubj)}(h7``get_plca_cfg`` Return the current PLCA configuration h](j)}(h``get_plca_cfg``h]j)}(hjsh]h get_plca_cfg}(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.hhKhjsubj)}(hhh]jX)}(h%Return the current PLCA configurationh]h%Return the current PLCA configuration}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshKhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshKhjIhubj)}(h,``set_plca_cfg`` Set the PLCA configuration h](j)}(h``set_plca_cfg``h]j)}(hjth]h set_plca_cfg}(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.hhKhjsubj)}(hhh]jX)}(hSet the PLCA configurationh]hSet the PLCA configuration}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthKhjIhubj)}(h8``get_plca_status`` Return the current PLCA status info h](j)}(h``get_plca_status``h]j)}(hj>th]hget_plca_status}(hj@thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh]h*}(hjZ{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)}(hu32 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$]jH{c.phydev_id_compareasbuh1hhj|{ubj)}(h h]h }(hj{hhhNhNubah}(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=uh1jhjzhhhjzhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjzhMubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMhjzhhubjS)}(hhh]jX)}(h*compare **id** with the PHY's Clause 22 IDh](hcompare }(hj{hhhNhNubj)}(h**id**h]hid}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh with the PHY’s Clause 22 ID}(hj{hhhNhNubeh}(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&]uh1jRhjzhhhjzhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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-``struct phy_device *phydev`` the 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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj&|ubj)}(hhh]jX)}(hthe PHY deviceh]hthe PHY device}(hjE|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA|hMhjB|ubah}(h]h ]h"]h$]h&]uh1jhj&|ubeh}(h]h ]h"]h$]h&]uh1jhjA|hMhj#|ubj)}(h$``u32 id`` the PHY ID to be matched h](j)}(h ``u32 id``h]j)}(hje|h]hu32 id}(hjg|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc|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 ID to be matchedh]hthe PHY ID to be matched}(hj~|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjz|hMhj{|ubah}(h]h ]h"]h$]h&]uh1jhj_|ubeh}(h]h ]h"]h$]h&]uh1jhjz|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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubjX)}(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 }(hj|hhhNhNubj)}(h **phydev**h]hphydev}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh clause 22 ID with the provided }(hj|hhhNhNubj)}(h**id**h]hid}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubhY and return true or false depending whether it matches, using the bound driver mask. The }(hj|hhhNhNubj)}(h **phydev**h]hphydev}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh must be bound to a driver.}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhjaJhhhNhNubh)}(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}(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 }(hj)}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj(}hMubj)}(hphy_is_startedh]j%)}(hphy_is_startedh]hphy_is_started}(hj;}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7}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}(hjW}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjS}ubj)}(h h]h }(hjd}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS}ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hju}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjw}modnameN classnameNjj!)}j$]j')}jj=}sbc.phy_is_startedasbuh1hhjS}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjS}ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjS}ubj%)}(hphydevh]hphydev}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjO}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)}(h4Convenience function to check whether PHY is startedh]h4Convenience function to check whether PHY is started}(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&]uh1jRhj}hhhj(}hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjaJhNhNubj})}(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.hhM hj}ubj)}(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.hhM hj~ubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hj4~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj1~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj0~hM hj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhjaJhhhNhNubh)}(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}(hju~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq~hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq~hhhj~hMubj)}(hphy_disable_eee_modeh]j%)}(hphy_disable_eee_modeh]hphy_disable_eee_mode}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjq~hhhj~hMubj)}(h*(struct phy_device *phydev, u32 link_mode)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_disable_eee_modeasbuh1hhj~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)}(h u32 link_modeh](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_disable_eee_modeasbuh1hhj ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(h link_modeh]h link_mode}(hjShhhNhNubah}(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)}(hDon't advertise an EEE mode.h]hDon’t advertise an EEE mode.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjj~hhhj~hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(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.hhMhj 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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhjaJhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj_hMubj)}(hphy_readh]j%)}(hphy_readh]hphy_read}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hMubj)}(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')}jjtsb c.phy_readasbuh1hhjubj)}(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 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_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=uh1jhjMhhhj_hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMhjFhhubjS)}(hhh]jX)}(h5Convenience function for reading a given PHY registerh]h5Convenience function for reading a given PHY register}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hjuubj)}(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)}(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!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&]uh1jhjuubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(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.hhM#hjuubjX)}(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.hhM#hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhjaJhhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjahM;ubj)}(h __phy_readh]j%)}(h __phy_readh]h __phy_read}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjahM;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')}jjvsb c.__phy_readasbuh1hhjubj)}(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 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_readasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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)}(h5convenience function for reading a given PHY registerh]h5convenience function for reading a given PHY register}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjXhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjahM;ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj}h]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.hhM?hjwubj)}(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)}(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=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&]uh1jhjwubjX)}(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?hjwubjX)}(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?hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhjaJhhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjchMGubj)}(h phy_writeh]j%)}(h phy_writeh]h phy_write}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjchMGubj)}(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')}jjxsb c.phy_writeasbuh1hhjubj)}(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 u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j̄ c.phy_writeasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j̄ c.phy_writeasbuh1hhjHubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hvalh]hval}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjchMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjchMGubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchMGhjJhhubjS)}(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.hhMGhjhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjchMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjDž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.hhMKhjubj)}(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.hhMHhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj݅ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMIhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMIhj݅ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjXh]hu16 val}(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.hhMJhjRubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjqhhhNhNubj)}(h **regnum**h]hregnum}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jWhjmhMJhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMJhj݅ubeh}(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.hhMLhjubjX)}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMLhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhjaJhhhNhNubh)}(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.hhMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMVubj)}(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=uh1jhjhhhjhMVubj)}(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&]uh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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 sb c.__phy_writeasbuh1hhjubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjohhhNhNubah}(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 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_writeasbuh1hhjubj)}(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=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj݇ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j] c.__phy_writeasbuh1hhjهubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjކhhhjhMVubah}(h]jنah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMVhjۆhhubjS)}(hhh]jX)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given PHY register}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhj3hhubah}(h]h ]h"]h$]h&]uh1jRhjۆhhhjhMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjXh]h Parameters}(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.hhMZhjRubj)}(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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjqubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjnubj)}(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.hhMXhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjɈhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjňhMXhjƈubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjňhMXhjnubj)}(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.hhMYhjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjRubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhjaJhhhNhNubh)}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjhMdubj)}(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=uh1jhjshhhjhMdubj)}(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$hjωubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjԉmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_modify_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}(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$]jc.__phy_modify_changedasbuh1hhj"ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hregnumh]hregnum}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jc.__phy_modify_changedasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(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_changedasbuh1hhjubj)}(h h]h }(hj׊hhhNhNubah}(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=uh1jhjshhhjhMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjhMdubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMdhjlhhubjS)}(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.hhMdhj hhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjhMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.hhMhhj+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)}(hjPh]hstruct phy_device *phydev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjJubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjihhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjsh]hstruct phy_device}(hjuhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjehMehjiubeh}(h]h ]h"]h$]h&]uh1jWhjehMehjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMehjGubj)}(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.hhMfhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjGubj)}(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&]uh1jhjߋubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjۋubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjۋubeh}(h]h ]h"]h$]h&]uh1jhjhMghjGubj)}(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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhhjGubeh}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhj+ubjX)}(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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhj+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}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhjaJhhhNhNubh)}(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.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{uh1hhhhjaJhNhNubjX)}(hk``phy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)``h]j)}(hjߌh]hgphy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)}(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.hhMhjaJhhubj )}(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.hhM}hjubah}(h]h ]h"]h$]h&]uh1j hjhM}hjaJhhubj})}(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)}(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!``phydev`` The phy_device struct h](j)}(h ``phydev``h]j)}(hj3h]hphydev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*ubj)}(h!``devaddr`` The MMD to read from h](j)}(h ``devaddr``h]j)}(hjlh]hdevaddr}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjfubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhj*ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj*ubj)}(h+``val`` Variable to read the register into h](j)}(h``val``h]j)}(hjލh]hval}(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"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&]uh1jhj؍ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj*ubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hjh]hcond}(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+Break condition (usually involving **val**)h](h#Break condition (usually involving }(hj0hhhNhNubj)}(h**val**h]hval}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh)}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj*ubj)}(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)}(hjbh]hsleep_us}(hjdhhhNhNubah}(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)}(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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj*ubj)}(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&]uh1jhjhMhj*ubj)}(hE``sleep_before_read`` if it is true, sleep **sleep_us** before read. h](j)}(h``sleep_before_read``h]j)}(hjՎh]hsleep_before_read}(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.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&]uh1jhjhMhj*ubeh}(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&]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 }(hj8hhhNhNubj)}(h**args**h]hargs}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh is stored in }(hj8hhhNhNubj)}(h**val**h]hval}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhL. Must not be called from atomic context if sleep_us or timeout_us are used.}(hj8hhhNhNubeh}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhjaJhhhNhNubh)}(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 }(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')}jjsbc.__phy_set_bitsasbuh1hhjď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}(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}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]jc.__phy_set_bitsasbuh1hhj6ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(hregnumh]hregnum}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(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$]jc.__phy_set_bitsasbuh1hhj~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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]j~ah ](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}(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{uh1hhhhjaJhNhNubj})}(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)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjUh]h u32 regnum}(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.hhMhjOubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(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.}(hjߑhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhjaJhhhNhNubh)}(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&]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)}(h__phy_clear_bitsh]j%)}(h__phy_clear_bitsh]h__phy_clear_bits}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(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')}jj1sbc.__phy_clear_bitsasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]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 u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj’modnameN classnameNjj!)}j$]jc.__phy_clear_bitsasbuh1hhjubj)}(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=uh1jhjCubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.__phy_clear_bitsasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hj4hhhNhNubah}(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)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(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&]jvjqjwjvjxjvjyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubj)}(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}(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)}(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.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.hhMhj ubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(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&]uh1jhjzubjX)}(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.hhMhjzubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhjaJhhhNhNubh)}(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 }(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')}jjsbc.phy_set_bitsasbuh1hhjʔ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 u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.phy_set_bitsasbuh1hhj<ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hregnumh]hregnum}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(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.hhMhjޕhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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&]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.hhMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhjaJhhhNhNubh)}(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.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_clear_bitsh]j%)}(hphy_clear_bitsh]hphy_clear_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(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 }(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_clear_bitsasbuh1hhj'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#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$]jec.phy_clear_bitsasbuh1hhjubj)}(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=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$]jec.phy_clear_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)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(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&]jvjqjwjVjxjVjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj`h]h Parameters}(hjbhhhNhNubah}(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.hhMhjZubj)}(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.hhMhjyubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(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.hhMhjubj)}(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͘hMhjvubj)}(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}(hj hhhNhNubah}(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&]uh1jhjhMhjvubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhjaJhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjYhMubj)}(h__phy_set_bits_mmdh]j%)}(h__phy_set_bits_mmdh]h__phy_set_bits_mmd}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjYhMubj)}(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')}jjnsbc.__phy_set_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}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j™c.__phy_set_bits_mmdasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(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}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j™c.__phy_set_bits_mmdasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(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)}(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&]uh1jRhj@hhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.hhMhj 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&hMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjJh]h int devad}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjDubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(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.hhMhj}ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(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 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}(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)}(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.}(hj hhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhjaJhhhNhNubh)}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhMubj)}(h__phy_clear_bits_mmdh]j%)}(h__phy_clear_bits_mmdh]h__phy_clear_bits_mmd}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjJhMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(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_clear_bits_mmdasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjŜhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hphydevh]hphydev}(hjҜhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(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=uh1jhjqubj)}(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_bits_mmdasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jc.__phy_clear_bits_mmdasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(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;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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjٝjxjٝjyjzj{uh1hhhhjaJhNhNubj})}(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.hhMhjݝ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.hhMhjubj)}(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)}(hj;h]h int devad}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj5ubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(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}(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&]uh1jhjݝubjX)}(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 hjݝubjX)}(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.hhM hjݝubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhjaJhhhNhNubh)}(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}(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 }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hMubj)}(hphy_set_bits_mmdh]j%)}(hphy_set_bits_mmdh]hphy_set_bits_mmd}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(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.phy_set_bits_mmdasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hphydevh]hphydev}(hjßhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(h int devadh](j)}(hinth]hint}(hjܟhhhNhNubah}(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=uh1jhjbubj)}(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_set_bits_mmdasbuh1hhj ubj)}(h h]h }(hj2hhhNhNubah}(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=uh1jhjbubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]jc.phy_set_bits_mmdasbuh1hhjUubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(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: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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjʠjxjʠjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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&]uh1jWhjhMhj ubah}(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)}(hj,h]h int devad}(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%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjeh]h u32 regnum}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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 modifyh]hregister number to modify}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjΠubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhjaJhhhNhNubh)}(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.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_clear_bits_mmdh]j%)}(hphy_clear_bits_mmdh]hphy_clear_bits_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjsbc.phy_clear_bits_mmdasbuh1hhj1ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(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}(hjâhhhNhNubah}(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 reftargetjmodnameN classnameNjj!)}j$]joc.phy_clear_bits_mmdasbuh1hhjآubj)}(h h]h }(hjhhhNhNubah}(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$]joc.phy_clear_bits_mmdasbuh1hhj ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hvalh]hval}(hjShhhNhNubah}(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)}(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 hjzhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.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&]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}(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)}(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.hhM#hjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM#hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM#hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj0h]h u32 regnum}(hj2hhhNhNubah}(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 modifyh]hregister number to modify}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhM$hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM$hjubj)}(h``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjih]hu16 val}(hjkhhhNhNubah}(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&hjcubj)}(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&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM&hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhjaJhhhNhNubh)}(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&]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 hjhhhjФhM.ubj)}(hphy_interrupt_is_validh]j%)}(hphy_interrupt_is_validh]hphy_interrupt_is_valid}(hjhhhNhNubah}(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}(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_interrupt_is_validasbuh1hhjubj)}(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=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)}(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.hhM.hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjФhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.hhM2hjubj)}(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&]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/hjubah}(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.hhM1hjubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h1bool phy_polling_mode (struct phy_device *phydev)h]h)}(h0bool phy_polling_mode(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjPhM:ubj)}(hphy_polling_modeh]j%)}(hphy_polling_modeh]hphy_polling_mode}(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_polling_modeasbuh1hhj{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=uh1jhjwubah}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhjPhM:ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjPhM:ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhM:hj8hhubjS)}(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:hjhhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhjPhM:ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.hhM>hjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hj=ubj)}(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.hhM<hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM@hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhjaJhhhNhNubh)}(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.hhMKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMKubj)}(hphy_has_hwtstamph]j%)}(hphy_has_hwtstamph]hphy_has_hwtstamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMKubj)}(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')}jjsbc.phy_has_hwtstampasbuh1hhjէ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ѧ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)}(h-Tests whether a PHY time stamp configuration.h]h-Tests whether a PHY time stamp configuration.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhjaJhNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the 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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjxubj)}(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.hhMQhjubj)}(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.hhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhjaJhhhNhNubh)}(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.hhMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMTubj)}(hphy_has_rxtstamph]j%)}(hphy_has_rxtstamph]hphy_has_rxtstamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMTubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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%)}(h phy_deviceh]h phy_device}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjsbc.phy_has_rxtstampasbuh1hhj/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%)}(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=uh1jhjhhhjhMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMTubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMThjhhubjS)}(hhh]jX)}(h3Tests whether a PHY supports receive time stamping.h]h3Tests whether a PHY supports receive time stamping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjΩjxjΩjyjzj{uh1hhhhjaJhNhNubj})}(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.hhMXhjҩ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.hhMZhjubj)}(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.hhMUhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMZhjubah}(h]h ]h"]h$]h&]uh1jhjҩubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhjaJhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhT/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 hjMhhhj^hM]ubj)}(hphy_has_tsinfoh]j%)}(hphy_has_tsinfoh]hphy_has_tsinfo}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj^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')}jjssbc.phy_has_tsinfoasbuh1hhjubj)}(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=uh1jhjMhhhj^hM]ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj^hM]ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hM]hjFhhubjS)}(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.hhM]hj hhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj^hM]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjaJhNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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)}(hjQh]hstruct phy_device *phydev}(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.hhMchjKubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjjhhhNhNubah}(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&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMchjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhjaJhhhNhNubh)}(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.hhMgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMgubj)}(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=uh1jhjhhhjhMgubj)}(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 }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj3hhhNhNubah}(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=uh1jhjhhhjhMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMgubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMghjhhubjS)}(hhh]jX)}(h4Tests whether a PHY supports transmit time stamping.h]h4Tests whether a PHY supports transmit time stamping.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjghhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.hhMkhjubj)}(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.hhMmhjubj)}(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.hhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhjaJhhhNhNubh)}(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&]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_default_hwtstamph]j%)}(hphy_is_default_hwtstamph]hphy_is_default_hwtstamp}(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}(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_is_default_hwtstampasbuh1hhj=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=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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjܭjxjܭjyjzj{uh1hhhhjaJhNhNubj})}(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.hhMhjubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to phy_device}(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}(hjBhhhNhNubah}(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)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h **Return**h]j)}(hjgh]hReturn}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(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.}(hj}hhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhjaJhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=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')}jjήsb c.phy_on_sfpasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjAhhhNhNubah}(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=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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhjaJhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_interface_mode_is_rgmiih]j%)}(hphy_interface_mode_is_rgmiih]hphy_interface_mode_is_rgmii}(hj&hhhNhNubah}(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}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jj(sbc.phy_interface_mode_is_rgmiiasbuh1hhj>ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj%)}(hmodeh]hmode}(hjshhhNhNubah}(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)}(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{uh1hhhhjaJhNhNubj})}(hM**Parameters** ``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](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;``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](j)}(h``phy_interface_t mode``h]j)}(hjްh]hphy_interface_t mode}(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"the :c:type:`phy_interface_t` enumh](hthe }(hjhhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hjh]hphy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(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&]uh1jWhjhMhjubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhjaJhhhNhNubh)}(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}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjhhMubj)}(hphy_interface_mode_is_8023zh]j%)}(hphy_interface_mode_is_8023zh]hphy_interface_mode_is_8023z}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjhhMubj)}(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')}jj}sbc.phy_interface_mode_is_8023zasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjWhhhjhhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjhhMubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhMhjPhhubjS)}(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&]uh1jRhjPhhhjhhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(hQ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` h](j)}(h``phy_interface_t mode``h]j)}(hj3h]hphy_interface_t mode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj-ubj)}(hhh]jX)}(h7one of :c:type:`enum phy_interface_t `h](hone of }(hjLhhhNhNubh)}(h0:c:type:`enum phy_interface_t `h]j)}(hjVh]henum phy_interface_t}(hjXhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjHhMhjLubeh}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*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&]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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhjaJhhhNhNubh)}(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βhhhj߲hMubj)}(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βhhhj߲hMubj)}(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}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jjsbc.phy_interface_is_rgmiiasbuh1hhj 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=uh1jhjubah}(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߲hMhjDzhhubjS)}(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&]uh1jRhjDzhhhj߲hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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}(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}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhjaJhhhNhNubh)}(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}(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 }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(hhhj9hMubj)}(hphy_is_pseudo_fixed_linkh]j%)}(hphy_is_pseudo_fixed_linkh]hphy_is_pseudo_fixed_link}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj9hMubj)}(h(struct phy_device *phydev)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_is_pseudo_fixed_linkasbuh1hhjdubj)}(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`ubah}(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)}(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!hhhj9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the 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&]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}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhjaJhhhNhNubh)}(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.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhjhMubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj{hhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhj{hhhjhMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubjX)}(h.``phy_module_driver (__phy_drivers, __count)``h]j)}(hjh]h*phy_module_driver (__phy_drivers, __count)}(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.hhMhjaJhhubj )}(h)Helper macro for registering PHY drivers h]jX)}(h(Helper macro for registering PHY driversh]h(Helper macro for registering PHY drivers}(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&]uh1j hjhMhjaJhhubj})}(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.hhMhj ubj)}(hhh]jX)}(h array of PHY drivers to registerh]h array of PHY drivers to register}(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(``__count`` Numbers of members in array h](j)}(h ``__count``h]j)}(hjIh]h__count}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCubj)}(hhh]jX)}(hNumbers of members in arrayh]hNumbers of members in array}(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&]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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_unregister_fixup (C function)c.phy_unregister_fixuphNtauh1hhjaJhhhNhNubh)}(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 }(hjضhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjŶhhhj׶hMubj)}(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Ŷhhhj׶hMubj)}(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*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbus_idh]hbus_id}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jjsbc.phy_unregister_fixupasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hphy_uidh]hphy_uid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(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Ŷhhhj׶hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj׶hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj׶hMhjhhubjS)}(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&]uh1jRhjhhhj׶hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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)}(hjGh]hconst char *bus_id}(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.chMhjAubj)}(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}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(hL``u32 phy_uid_mask`` Applied to phy_uid and fixup->phy_uid before comparisonh](j)}(h``u32 phy_uid_mask``h]j)}(hjh]hu32 phy_uid_mask}(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)}(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θhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhjaJhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jj6sbc.genphy_match_phy_deviceasbuh1hhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hconst struct phy_driver *phydrvh](h)}(hjh]hconst}(hj¹hhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_driverh]h phy_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.genphy_match_phy_deviceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydrvh]hphydrv}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubeh}(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)}(h$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(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&]uh1jRhjhhhj!hM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM'hjzubj)}(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$hjubj)}(h=``const struct phy_driver *phydrv`` target phy_driver struct h](j)}(h#``const struct phy_driver *phydrv``h]j)}(hjغh]hconst struct phy_driver *phydrv}(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)}(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&]uh1jhjzubjX)}(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'hjzubjX)}(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.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM'hjzubjX)}(h **Return**h]j)}(hj:h]hReturn}(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.chM-hjzubjX)}(h41 if the PHY device matches the driver, 0 otherwise.h]h41 if the PHY device matches the driver, 0 otherwise.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM-hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhjaJhhhNhNubh)}(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&]uh1hhj{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{hhhjhMubh)}(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_deviceasbuh1hhj{hhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhjhMubj;)}(hj>h]h*}(hjͻhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{hhhjhMubj)}(hget_phy_deviceh]j%)}(hjh]hget_phy_device}(hj޻hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڻubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.get_phy_deviceasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(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=uh1jhj{hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjhMubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjthhubjS)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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 bus h](j)}(h``struct mii_bus *bus``h]j)}(hj6h]hstruct mii_bus *bus}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj0ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj-ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjoh]hint addr}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjiubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhj-ubj)}(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.chMhjubj)}(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&]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:128: ./drivers/net/phy/phy_device.chMhjubjX)}(h'Probe for a PHY at **addr** on **bus**.h](hProbe for a PHY at }(hjhhhNhNubj)}(h**addr**h]haddr}(hjhhhNhNubah}(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.chMhjubjX)}(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 }(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_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj,ubh.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjShMhjubjX)}(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 }(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_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj^ubh.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubjX)}(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.chMhjubh 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}(hjξhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on bus access error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhjaJhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_device_registerh]j%)}(hphy_device_registerh]hphy_device_register}(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}(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.phy_device_registerasbuh1hhj?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;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'Register the phy device on the MDIO bush]h'Register the phy device on 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj޿jxj޿jyjzj{uh1hhhhjaJhNhNubj})}(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.chMhjubj)}(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}(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)}(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.chMhjubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h2void phy_device_remove (struct phy_device *phydev)h]h)}(h1void phy_device_remove(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjahhhNhNubah}(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 }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohM+ubj)}(hphy_device_removeh]j%)}(hphy_device_removeh]hphy_device_remove}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhjohM+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_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=uh1jhj]hhhjohM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjohM+ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohM+hjVhhubjS)}(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.chM+hjhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjohM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h=``struct phy_device *phydev`` phy_device structure to remove h](j)}(h``struct phy_device *phydev``h]j)}(hjbh]hstruct phy_device *phydev}(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.chM,hj\ubj)}(hhh]jX)}(hphy_device structure to removeh]hphy_device structure to remove}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhM,hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM,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)}(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.chM.hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhjaJhhhNhNubh)}(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.chMAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMAubj)}(hphy_get_c45_idsh]j%)}(hphy_get_c45_idsh]hphy_get_c45_ids}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMAubj)}(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}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jjsbc.phy_get_c45_idsasbuh1hhjubj)}(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=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"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.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMEhjubj)}(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.chMBhjubj)}(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&]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}(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.chMDhjubjX)}(hmReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](hReturns zero on success, }(hj4hhhNhNubj)}(h``-EIO``h]h-EIO}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh on bus access error, or }(hj4hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh, if the “devices in package” is invalid.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMDhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_first (C function)c.phy_find_firsthNtauh1hhjaJhhhNhNubh)}(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.chMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMOubh)}(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_firstasbuh1hhjhhhjhMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMOubj)}(hphy_find_firsth]j%)}(hjh]hphy_find_first}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMOubj)}(h(struct mii_bus *bus)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]jc.phy_find_firstasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMOubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMOhj|hhubjS)}(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.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMShjubj)}(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.chMUhjubj)}(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.chMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMsubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj+hMsubj)}(hphy_connect_directh]j%)}(hphy_connect_directh]hphy_connect_direct}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj+hMsubj)}(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}(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.phy_connect_directasbuh1hhjVubj)}(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 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*}(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=uh1jhjRubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(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%)}(hhandlerh]hhandler}(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 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_directasbuh1hhj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(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_connect_directasbuh1hhjubj)}(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=uh1jhjRubeh}(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)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific phy_device}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMshjQhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj+hMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMwhjpubj)}(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.chMthjubj)}(hhh]jX)}(hthe network device to connecth]hthe network device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(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.chMuhjubj)}(hhh]jX)}(hthe pointer to the phy deviceh]hthe pointer to the phy device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubj)}(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 *)}(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.chMvhjubj)}(hhh]jX)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(h4``phy_interface_t interface`` PHY device's interfaceh](j)}(h``phy_interface_t interface``h]j)}(hj@h]hphy_interface_t interface}(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.chMxhj:ubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMwhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMxhjubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhjaJhhhNhNubh)}(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}(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}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j c.phy_connectasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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=uh1jhj ubj)}(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(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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 c.phy_connectasbuh1hhjubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(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.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=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*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{uh1hhhhjaJhNhNubj})}(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)}(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)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hj:h]hstruct net_device *dev}(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)}(hthe network device to connecth]hthe network device to connect}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubj)}(hB``const char *bus_id`` the id string of the PHY device to connect 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*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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(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&]uh1jhjhMhj1ubj)}(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&]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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj9ubj)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhjaJhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_disconnecth]j%)}(hphy_disconnecth]hphy_disconnect}(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.phy_disconnectasbuh1hhjubj)}(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?disable interrupts, stop state machine, and detach a PHY deviceh]h?disable interrupts, stop state machine, and detach a PHY device}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhjaJhNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](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:128: ./drivers/net/phy/phy_device.chMhjlubj)}(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.chMhjubj)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhjaJhhhNhNubh)}(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.chMpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMpubj)}(hphy_sfp_connect_phyh]j%)}(hphy_sfp_connect_phyh]hphy_sfp_connect_phy}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMpubj)}(h((void *upstream, struct phy_device *phy)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hupstreamh]hupstream}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(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_phyasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(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)}(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.chMphjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMthj ubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hj.h]hvoid *upstream}(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.chMqhj(ubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMqhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMqhj%ubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjgh]hstruct phy_device *phy}(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.chMrhjaubj)}(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&]uh1jWhj|hMrhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMrhj%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.chMthj ubjX)}(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.chMthj 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.chMwhj ubjX)}(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.chMwhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhjaJhhhNhNubh)}(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&]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_sfp_disconnect_phyh]j%)}(hphy_sfp_disconnect_phyh]hphy_sfp_disconnect_phy}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h((void *upstream, struct phy_device *phy)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hupstreamh]hupstream}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1 j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(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')}jj1sbc.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=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)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj,ubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjQh]hvoid *upstream}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjKubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(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&]uh1jhjhMhjHubeh}(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,ubjX)}(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.chMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhjaJhhhNhNubh)}(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}(hj hhhNhNubah}(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_attachh]j%)}(hphy_sfp_attachh]hphy_sfp_attach}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h%(void *upstream, struct sfp_bus *bus)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hupstreamh]hupstream}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(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')}jj-sbc.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=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)}(h5attach the SFP bus to the PHY upstream network deviceh]h5attach the SFP bus to the PHY upstream network 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhjaJhNhNubj})}(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}(hj0hhhNhNubah}(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)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjMh]hvoid *upstream}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjGubj)}(hhh]jX)}(hpointer to the phy deviceh]hpointer to the phy device}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(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&]uh1jhjhMhjDubeh}(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(ubjX)}(hh]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hupstreamh]hupstream}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(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')}jj)sbc.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=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)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjIh]hvoid *upstream}(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)}(hpointer to the phy deviceh]hpointer to the phy device}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj@ubj)}(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.chMhj|ubj)}(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&]uh1jhj|ubeh}(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$ubjX)}(hh]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=uh1jhj7ubj)}(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$]jyc.phy_sfp_probeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(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=uh1jhj7ubeh}(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)}(h0probe for a SFP cage attached to this PHY deviceh]h0probe for a SFP cage attached to this PHY device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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.chMhjubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhjaJhhhNhNubh)}(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&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/hMubj)}(hphy_attach_directh]j%)}(hphy_attach_directh]hphy_attach_direct}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/hMubj)}(hY(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(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')}jjDsbc.phy_attach_directasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(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 }(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=uh1jhjVubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.phy_attach_directasbuh1hhj<ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hflagsh]hflags}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(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=uh1jhjVubeh}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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}(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)}(hnetwork device to attachh]hnetwork device to attach}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h>``struct phy_device *phydev`` Pointer to phy_device to attach 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.chMhjUubj)}(hhh]jX)}(hPointer to phy_device to attachh]hPointer to phy_device to attach}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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.chMhjubj)}(hhh]jX)}(hPHY device's dev_flagsh]hPHY device’s dev_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubeh}(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.chMhjubj)}(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}(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)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach (C function) c.phy_attachhNtauh1hhjaJhhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjthhh]/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 hjthhhjhMubh)}(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_attachasbuh1hhjthhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjthhhjhMubj)}(h phy_attachh]j%)}(hjh]h phy_attach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhMubj)}(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 }(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 c.phy_attachasbuh1hhjubj)}(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=uh1jhjubj)}(hconst char *bus_idh](h)}(hjh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(hcharh]hchar}(hj}hhhNhNubah}(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%)}(hbus_idh]hbus_id}(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}(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=uh1jhjthhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhMubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjmhhubjS)}(hhh]jX)}(h2attach a network device to a particular PHY deviceh]h2attach a network device to a particular 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&]uh1jRhjmhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h4``struct net_device *dev`` network device to attach h](j)}(h``struct net_device *dev``h]j)}(hjYh]hstruct net_device *dev}(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)}(hnetwork device to attachh]hnetwork device to attach}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubj)}(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&]uh1jhjhMhjPubj)}(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&]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.chMhj4ubj)}(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.chMhjubj)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h+void phy_detach (struct phy_device *phydev)h]h)}(h*void phy_detach(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhh]/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 hjrhhhjhMubj)}(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=uh1jhjrhhhjhMubj)}(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*}(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=uh1jhjrhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhMubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjkhhubjS)}(hhh]jX)}(h+detach a PHY device from its network deviceh]h+detach a PHY device from its network device}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjXh]h Parameters}(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.chMhjRubj)}(hhh]j)}(h7``struct phy_device *phydev`` 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjqubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubah}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjRubjX)}(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.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhjaJhhhNhNubh)}(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.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMQubj)}(hphy_reset_after_clk_enableh]j%)}(hphy_reset_after_clk_enableh]hphy_reset_after_clk_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMQubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(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')}jjsbc.phy_reset_after_clk_enableasbuh1hhj0ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubah}(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)}(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.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMUhjubj)}(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.chMRhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMRhjubah}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMThjubj)}(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}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMVhjLubj)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMUhj_ubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj^hMVhjIubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_setup_forcedasbuh1hhjubj)}(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}(hj9hhhNhNubah}(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 }(hjchhhNhNubj)}(h **phydev**h]hphydev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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}(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)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h3int genphy_restart_aneg (struct phy_device *phydev)h]h)}(h2int genphy_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM&ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjjhM&ubj)}(hgenphy_restart_anegh]j%)}(hgenphy_restart_anegh]hgenphy_restart_aneg}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjjhM&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=uh1jhjXhhhjjhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjjhM&ubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhM&hjQhhubjS)}(hhh]jX)}(h"Enable and Restart Autonegotiationh]h"Enable and Restart Autonegotiation}(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&]uh1jRhjQhhhjjhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhjaJhNhNubj})}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM*hj8ubj)}(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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM,hjWubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM'hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM,hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhjaJhhhNhNubh)}(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.chM2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM2ubj)}(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=uh1jhjhhhjhM2ubj)}(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')}jjsbc.genphy_check_and_restart_anegasbuh1hhjubj)}(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=uh1jhjubj)}(h bool restarth](j)}(hjTh]hbool}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hrestarth]hrestart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM2ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM2hjhhubjS)}(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.chM2hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chM6hjubj)}(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.chM3hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hj%h]h bool restart}(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.chM4hjubj)}(hhh]jX)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hM4hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM4hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(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.chM6hjubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM6hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhjaJhhhNhNubh)}(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.chMPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMPubj)}(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=uh1jhjhhhjhMPubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool changedh](j)}(hjTh]hbool}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hchangedh]hchanged}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(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.chMPhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMThjubj)}(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.chMQhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h.``bool changed`` whether autoneg is requested 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.chMRhj ubj)}(hhh]jX)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMRhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMRhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjNh]h Description}(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.chMThjubj)}(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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMUhjgubj)}(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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMUhjzubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjyhMUhjdubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c37_config_anegasbuh1hhjubj)}(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=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}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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}(hjhhhNhNubah}(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.}(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$hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhjaJhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhMubj)}(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=uh1jhjehhhjwhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(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&]uh1jRhj^hhhjwhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjEubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjjh]hstruct phy_device *phydev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjdubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubah}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjEubj)}(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.chMhjubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_update_link (C function)c.genphy_update_linkhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h2int genphy_update_link (struct phy_device *phydev)h]h)}(h1int genphy_update_link(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 }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubj)}(hgenphy_update_linkh]j%)}(hgenphy_update_linkh]hgenphy_update_link}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sbc.genphy_update_linkasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hphydevh]hphydev}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMhjubj)}(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.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubah}(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.chMhjubj)}(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}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjwubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhjaJhhhNhNubh)}(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}(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.genphy_read_status_fixedasbuh1hhjubj)}(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=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{uh1hhhhjaJhNhNubj})}(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.chM1 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)}(hj h]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.chM0 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h2int genphy_read_status (struct phy_device *phydev)h]h)}(h1int genphy_read_status(struct phy_device *phydev)h](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhh]/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 hjJhhhj\hMK ubj)}(hgenphy_read_statush]j%)}(hgenphy_read_statush]hgenphy_read_status}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJhhhj\hMK 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.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=uh1jhjJhhhj\hMK ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhj\hMK ubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMK hjChhubjS)}(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.chMK hj hhubah}(h]h ]h"]h$]h&]uh1jRhjChhhj\hMK ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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:128: ./drivers/net/phy/phy_device.chMO hj*ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target 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:128: ./drivers/net/phy/phy_device.chML hjIubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhML hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhML hjFubah}(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.chMN hj*ubj)}(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.chMP 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.chMO hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMP hjubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhjaJhhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM~ ubj)}(hgenphy_c37_read_statush]j%)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(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.genphy_c37_read_statusasbuh1hhj3ubj)}(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 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{uh1hhhhjaJhNhNubj})}(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)}(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&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj6ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hj3ubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hjuh]h bool *changed}(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.chM hjoubj)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM hj3ubeh}(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 hjubj)}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h1int genphy_soft_reset (struct phy_device *phydev)h]h)}(h0int genphy_soft_reset(struct phy_device *phydev)h](j)}(hinth]hint}(hjAhhhNhNubah}(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 }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjOhM ubj)}(hgenphy_soft_reseth]j%)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhjOhM ubj)}(h(struct phy_device *phydev)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.genphy_soft_resetasbuh1hhjzubj)}(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=uh1jhjvubah}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhjOhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhjOhM ubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhM hj6hhubjS)}(hhh]jX)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(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&]uh1jRhj6hhhjOhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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}(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)}(hjBh]hstruct phy_device *phydev}(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.chM hj<ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM hj9ubah}(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.chM hjubjX)}(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 hjubjX)}(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 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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhjaJhhhNhNubh)}(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.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hgenphy_read_abilitiesh]j%)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(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&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj sbc.genphy_read_abilitiesasbuh1hhj"ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjrhhhNhNubah}(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=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM 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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.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)}(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)}(hFReads the PHY's abilities and populates phydev->supported accordingly.h]hHReads the PHY’s abilities and populates phydev->supported accordingly.}(hj;hhhNhNubah}(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)}(hjLh]hReturn}(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.chM hjubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjbhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhjaJhhhNhNubh)}(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.chMe ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMe 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=uh1jhjhhhjhMe 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 }(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 u32 link_modeh](h)}(hhh]j%)}(hu32h]hu32}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.phy_remove_link_modeasbuh1hhj<ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(h link_modeh]h link_mode}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMe ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMe ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMe 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.chMe hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMe ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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.chMi 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.chMf 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&]uh1jWhjhMf hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMf hjubj)}(h*``u32 link_mode`` Link mode to be removed h](j)}(h``u32 link_mode``h]j)}(hjh]h u32 link_mode}(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.chMg hj ubj)}(hhh]jX)}(hLink mode to be removedh]hLink mode to be removed}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMg hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMg hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjNh]h Description}(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.chMi 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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMi hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhjaJhhhNhNubh)}(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*}(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=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}(hjShhhNhNubah}(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&]jvjqjwjkjxjkjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjoubj)}(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&]uh1jhjoubjX)}(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 hjoubjX)}(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 hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhjaJhhhNhNubh)}(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}(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_advertise_eee_allh]j%)}(hphy_advertise_eee_allh]hphy_advertise_eee_all}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sbc.phy_advertise_eee_allasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hphydevh]hphydev}(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!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&]uh1jRhj hhhj"hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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&]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&]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.}(hjfhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhjaJhhhNhNubh)}(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*}(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=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}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjRhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(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&]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 hjqubjX)}(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 hjqubjX)}(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 hjqubjX)}(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 hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disable_eee (C function)c.phy_disable_eeehNtauh1hhjaJhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhjBhM ubj)}(hphy_disable_eeeh]j%)}(hphy_disable_eeeh]hphy_disable_eee}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhjBhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjWsbc.phy_disable_eeeasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubah}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhjBhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhjBhM ubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhM hj)hhubjS)}(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&]uh1jRhj)hhhjBhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(hj5h]hstruct phy_device *phydev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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}(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&]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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_support_sym_pause (C function)c.phy_support_sym_pausehNtauh1hhjaJhhhNhNubh)}(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 }(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')}jjsbc.phy_support_sym_pauseasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjKhhhNhNubah}(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}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjrhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_support_asym_pause (C function)c.phy_support_asym_pausehNtauh1hhjaJhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhjDhM ubj)}(hphy_support_asym_pauseh]j%)}(hphy_support_asym_pauseh]hphy_support_asym_pause}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhjDhM ubj)}(h(struct phy_device *phydev)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_support_asym_pauseasbuh1hhjoubj)}(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=uh1jhj2hhhjDhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhM ubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhM hj+hhubjS)}(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&]uh1jRhj+hhhjDhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(hj7h]hstruct phy_device *phydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj1ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhM hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM hj.ubah}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM 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.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_sym_pause (C function)c.phy_set_sym_pausehNtauh1hhjaJhhhNhNubh)}(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 }(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_set_sym_pauseasbuh1hhjubj)}(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=uh1jhjubj)}(hbool rxh](j)}(hjTh]hbool}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hrxh]hrx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(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&]jvjqjwj+jxj+jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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)}(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:128: ./drivers/net/phy/phy_device.chM hjNubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM hjKubj)}(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 hjKubj)}(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 hjKubj)}(h)``bool autoneg`` Auto neg should be used h](j)}(h``bool autoneg``h]j)}(hjh]h bool autoneg}(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)}(hAuto neg should be usedh]hAuto neg should be used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hj:h]h Description}(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.chM 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.}(hjPhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_asym_pause (C function)c.phy_set_asym_pausehNtauh1hhjaJhhhNhNubh)}(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}(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)}(hphy_set_asym_pauseh]j%)}(hphy_set_asym_pauseh]hphy_set_asym_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhjhM ubj)}(h-(struct phy_device *phydev, bool rx, bool tx)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_set_asym_pauseasbuh1hhjubj)}(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)}(hbool rxh](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%)}(hrxh]hrx}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool txh](j)}(hjTh]hbool}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(htxh]htx}(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{hhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjhM ubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjthhubjS)}(hhh]jX)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and 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&]uh1jRhjthhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(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)}(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 hjubj)}(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&]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}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hjubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjZh]hbool tx}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjTubj)}(hhh]jX)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM 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:128: ./drivers/net/phy/phy_device.chM hjubjX)}(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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhjaJhhhNhNubh)}(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}(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_validate_pauseh]j%)}(hphy_validate_pauseh]hphy_validate_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h:(struct phy_device *phydev, struct ethtool_pauseparam *pp)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.phy_validate_pauseasbuh1hhjubj)}(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=uh1jhjubj)}(hstruct ethtool_pauseparam *pph](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$]jPc.phy_validate_pauseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpph]hpp}(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)}(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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjJh]hstruct phy_device *phydev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM hjAubj)}(h@``struct ethtool_pauseparam *pp`` requested pause configuration h](j)}(h!``struct ethtool_pauseparam *pp``h]j)}(hjh]hstruct ethtool_pauseparam *pp}(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)}(hrequested pause configurationh]hrequested pause configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjAubeh}(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)}(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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_pause (C function)c.phy_get_pausehNtauh1hhjaJhhhNhNubh)}(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}(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)}(h phy_get_pauseh]j%)}(h phy_get_pauseh]h phy_get_pause}(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, bool *tx_pause, bool *rx_pause)h](j)}(hstruct phy_device *phydevh](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%)}(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_get_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=uh1jhj8 ubj)}(hbool *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;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(htx_pauseh]htx_pause}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8 ubj)}(hbool *rx_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;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hrx_pauseh]hrx_pause}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8 ubeh}(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)}(hresolve negotiated pause modesh]hresolve negotiated pause modes}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM. hjB hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hM. ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj] jxj] jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjg h]h Parameters}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hja 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}(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)}(hphy_device structh]hphy_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} ubj)}(hY``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. h](j)}(h``bool *tx_pause``h]j)}(hj h]hbool *tx_pause}(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.chM1 hj ubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM1 hj} ubj)}(hX``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. h](j)}(h``bool *rx_pause``h]j)}(hj h]hbool *rx_pause}(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.chM3 hj ubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM3 hj} ubeh}(h]h ]h"]h$]h&]uh1jhja ubjX)}(h**Description**h]j)}(hj5 h]h Description}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM5 hja ubjX)}(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.}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM5 hja ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_get_internal_delay (C function)c.phy_get_internal_delayhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hys32 phy_get_internal_delay (struct phy_device *phydev, struct device *dev, const int *delay_values, int size, bool is_rx)h]h)}(hxs32 phy_get_internal_delay(struct phy_device *phydev, struct device *dev, const int *delay_values, int size, bool is_rx)h](h)}(hhh]j%)}(hs32h]hs32}(hj} hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jphy_get_internal_delaysbc.phy_get_internal_delayasbuh1hhjv hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMT ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv hhhj hMT ubj)}(hphy_get_internal_delayh]j%)}(hj h]hphy_get_internal_delay}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjv hhhj hMT ubj)}(h^(struct phy_device *phydev, struct device *dev, const int *delay_values, int size, bool is_rx)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 c.phy_get_internal_delayasbuh1hhj 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 device *devh](h)}(hjh]hstruct}(hj< hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8 ubj)}(h h]h }(hjI hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8 ubh)}(hhh]j%)}(hdeviceh]hdevice}(hjZ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\ modnameN classnameNjj!)}j$]j c.phy_get_internal_delayasbuh1hhj8 ubj)}(h h]h }(hjx hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8 ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8 ubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8 ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hconst int *delay_valuesh](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)}(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%)}(h delay_valuesh]h delay_values}(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)}(h bool is_rxh](j)}(hjTh]hbool}(hj> hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj: ubj)}(h h]h }(hjK hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj: ubj%)}(his_rxh]his_rx}(hjY 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 hhhj hMT ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjr hhhj hMT ubah}(h]jm ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMT hjo hhubjS)}(hhh]jX)}(h'returns the index of the internal delayh]h'returns the index of the internal delay}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMT hj hhubah}(h]h ]h"]h$]h&]uh1jRhjo hhhj hMT ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjaJhNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` phy_device struct ``struct device *dev`` pointer to the devices 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)}(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.chMX 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}(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)}(hphy_device structh]hphy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMU hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMU hj ubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hj h]hstruct 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:128: ./drivers/net/phy/phy_device.chMV hj ubj)}(hhh]jX)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMV hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMV hj ubj)}(h=``const int *delay_values`` array of delays the PHY supports h](j)}(h``const int *delay_values``h]j)}(hj6h]hconst int *delay_values}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMW hj0ubj)}(hhh]jX)}(h array of delays the PHY supportsh]h array of delays the PHY supports}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMW hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMW hj ubj)}(h)``int size`` the size of the delay array h](j)}(h ``int size``h]j)}(hjoh]hint size}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hjiubj)}(hhh]jX)}(hthe size of the delay arrayh]hthe size of the delay array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMX hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMX hj ubj)}(h@``bool is_rx`` boolean to indicate to get the rx internal delay h](j)}(h``bool is_rx``h]j)}(hjh]h bool is_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.chMY hjubj)}(hhh]jX)}(h0boolean to indicate to get the rx internal delayh]h0boolean to indicate to get the rx internal delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMY hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMY 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 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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_get_tx_amplitude_gain (C function)c.phy_get_tx_amplitude_gainhNtauh1hhjaJhhhNhNubh)}(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}(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 }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj6hM ubj)}(hphy_get_tx_amplitude_gainh]j%)}(hphy_get_tx_amplitude_gainh]hphy_get_tx_amplitude_gain}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$hhhj6hM 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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(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_get_tx_amplitude_gainasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(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$]jc.phy_get_tx_amplitude_gainasbuh1hhjubj)}(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}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(h+enum ethtool_link_mode_bit_indices linkmodeh](h)}(hhh]henum}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hethtool_link_mode_bit_indicesh]hethtool_link_mode_bit_indices}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jc.phy_get_tx_amplitude_gainasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(hlinkmodeh]hlinkmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hu32 *valh](h)}(hhh]j%)}(hu32h]hu32}(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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]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=uh1jhj$hhhj6hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj6hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hM hjhhubjS)}(hhh]jX)}(h#stores tx amplitude gain in **val**h](hstores tx amplitude gain in }(hjhhhNhNubj)}(h**val**h]hval}(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 hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj6hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj@h]h Parameters}(hjBhhhNhNubah}(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}(hjahhhNhNubah}(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 hjYubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjVubj)}(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 hjVubj)}(hm``enum ethtool_link_mode_bit_indices linkmode`` linkmode for which the tx amplitude gain should be retrieved h](j)}(h/``enum ethtool_link_mode_bit_indices linkmode``h]j)}(hjh]h+enum ethtool_link_mode_bit_indices linkmode}(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)}(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=uh1jhjubj)}(hstruct device *devh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hdeviceh]hdevice}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jc.phy_get_mac_terminationasbuh1hhj5ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu32 *valh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.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%)}(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=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h!stores MAC termination in **val**h](hstores MAC termination in }(hjhhhNhNubj)}(h**val**h]hval}(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 hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(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}(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 hjXubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjUubj)}(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 hjUubj)}(h``u32 *val`` MAC termination h](j)}(h ``u32 *val``h]j)}(hjh]hu32 *val}(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)}(hMAC terminationh]hMAC termination}(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 **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:128: ./drivers/net/phy/phy_device.chM hj9ubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$fwnode_mdio_find_device (C function)c.fwnode_mdio_find_devicehNtauh1hhjaJhhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLhhh]/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 hjLhhhj]hM ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jfwnode_mdio_find_devicesbc.fwnode_mdio_find_deviceasbuh1hhjLhhhj]hM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj]hM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLhhhj]hM 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=uh1jhjLhhhj]hM ubj)}(h(struct fwnode_handle *fwnode)h]j)}(hstruct fwnode_handle *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 reftargetjmodnameN classnameNjj!)}j$]jc.fwnode_mdio_find_deviceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhj]hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhj]hM ubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hM hjEhhubjS)}(hhh]jX)}(h$Given a fwnode, find the mdio_deviceh]h$Given a fwnode, find the mdio_device}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjHhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj]hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjgubj)}(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&]uh1jhjgubjX)}(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 hjgubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_phy_find_device (C function)c.fwnode_phy_find_devicehNtauh1hhjaJhhhNhNubh)}(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}(hj hhhNhNubah}(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 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')}jfwnode_phy_find_devicesbc.fwnode_phy_find_deviceasbuh1hhjhhhjhM ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(hfwnode_phy_find_deviceh]j%)}(hjIh]hfwnode_phy_find_device}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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 reftargetjmodnameN classnameNjj!)}j$]jGc.fwnode_phy_find_deviceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h phy_fwnodeh]h phy_fwnode}(hjhhhNhNubah}(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)For provided phy_fwnode, find phy_device.h]h)For provided phy_fwnode, find phy_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{uh1hhhhjaJhNhNubj})}(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)}(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)}(hB``struct fwnode_handle *phy_fwnode`` Pointer to the phy's fwnode. h](j)}(h$``struct fwnode_handle *phy_fwnode``h]j)}(hjHh]h struct fwnode_handle *phy_fwnode}(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)}(hPointer to the phy's fwnode.h]hPointer to the phy’s fwnode.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj?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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#ubjX)}(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 hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h fwnode_get_phy_node (C function)c.fwnode_get_phy_nodehNtauh1hhjaJhhhNhNubh)}(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}(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 fwnode_handleh]h fwnode_handle}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jfwnode_get_phy_nodesbc.fwnode_get_phy_nodeasbuh1hhjhhhjhM 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_get_phy_nodeh]j%)}(hjh]hfwnode_get_phy_node}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jc.fwnode_get_phy_nodeasbuh1hhj>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%)}(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+Get the phy_node using the named reference.h]h+Get the phy_node using the named reference.}(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{uh1hhhhjaJhNhNubj})}(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)}(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)}(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}(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)}(h9Pointer to fwnode from which phy_node has to be obtained.h]h9Pointer to fwnode from which phy_node has to be obtained.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjubah}(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)}(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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_driverh]h phy_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_driver_registerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h new_driverh]h new_driver}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct module *ownerh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hmoduleh]hmodule}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]jc.phy_driver_registerasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hownerh]howner}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(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(register a phy_driver with the PHY layerh]h(register a phy_driver with 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 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjaJhNhNubj})}(h**Parameters** ``struct phy_driver *new_driver`` new phy_driver to register ``struct module *owner`` module owning this PHYh](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)}(h=``struct phy_driver *new_driver`` new phy_driver to register h](j)}(h!``struct phy_driver *new_driver``h]j)}(hjh]hstruct phy_driver *new_driver}(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)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM hjubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hjIh]hstruct module *owner}(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.chM hjCubj)}(hhh]jX)}(hmodule owning this PHYh]hmodule owning this PHY}(hjbhhhNhNubah}(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&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_uses_state_machine (C function)c.phy_uses_state_machinehNtauh1hhjaJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_uses_state_machineh]j%)}(hphy_uses_state_machineh]hphy_uses_state_machine}(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.phy_uses_state_machineasbuh1hhjubj)}(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}(hj8hhhNhNubah}(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)}(h3test whether consumer driver uses PAL state machineh]h3test whether consumer driver uses PAL state machine}(hjbhhhNhNubah}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj~ubj)}(hhh]j)}(h>``struct phy_device *phydev`` 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hthe target PHY device structureh]hthe target 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&]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().}(hjhhhNhNubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj~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.}(hjhhhNhNubah}(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.}(hj9hhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhjaJhhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhMubj)}(hphy_register_fixuph]j%)}(hphy_register_fixuph]hphy_register_fixup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjvhMubj)}(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}(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 u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_register_fixupasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hphy_uidh]hphy_uid}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu32 phy_uid_maskh](h)}(hhh]j%)}(hu32h]hu32}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j!c.phy_register_fixupasbuh1hhjHubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(h phy_uid_maskh]h phy_uid_mask}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint (*run)(struct phy_device*)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%)}(hrunh]hrun}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]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_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!c.phy_register_fixupasbuh1hhjubj;)}(hj>h]h*}(hj. hhhNhNubah}(h]h ]jGah"]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=uh1jhjdhhhjvhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhMubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMhj]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}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhja hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj| jxj| jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj h]h u32 phy_uid}(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)}(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}(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 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&]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>Applied to phydev->phy_id and fixup->phy_uid before comparisonh]h>Applied to phydev->phy_id and fixup->phy_uid before comparison}(hj1!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 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)}(hjR!h]hint (*run)(struct phy_device *)}(hjT!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP!ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjL!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}(hjk!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjh!ubah}(h]h ]h"]h$]h&]uh1jhjL!ubeh}(h]h ]h"]h$]h&]uh1jhjg!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhjaJhhhNhNubh)}(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.chM0ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj!hM0ubj)}(hget_phy_c45_idsh]j%)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj!hM0ubj)}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)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}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj "modnameN classnameNjj!)}j$]j')}jj!sbc.get_phy_c45_idsasbuh1hhj!ubj)}(h h]h }(hj'"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj5"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hbush]hbus}(hjB"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&]uh1jhjW"ubj)}(h h]h }(hji"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW"ubj%)}(haddrh]haddr}(hjw"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!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}(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!hM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhj!hM0ubah}(h]j!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hM0hj!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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM0hj#hhubah}(h]h ]h"]h$]h&]uh1jRhj!hhhj!hM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)#jxj)#jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj3#h]h Parameters}(hj5#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1#ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM4hj-#ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjR#h]hstruct mii_bus *bus}(hjT#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP#ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM1hjL#ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hjk#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjg#hM1hjh#ubah}(h]h ]h"]h$]h&]uh1jhjL#ubeh}(h]h ]h"]h$]h&]uh1jhjg#hM1hjI#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.chM2hj#ubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM2hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM2hjI#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.chM3hj#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#hM3hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM3hjI#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.chM5hj-#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 }(hj$hhhNhNubj)}(h **c45_ids**h]hc45_ids}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM5hj-#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, }(hj6$hhhNhNubj)}(h``-EIO``h]h-EIO}(hj>$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6$ubh on bus access error, or }(hj6$hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjP$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6$ubhB if the “devices in package” is invalid or no device responds.}(hj6$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM9hj-#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c22_id (C function)c.get_phy_c22_idhNtauh1hhjaJhhhNhNubh)}(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 }(hj$hhhNhNubah}(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$]j')}jj$sbc.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%)}(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}(hj8%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4%ubj)}(h h]h }(hjF%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4%ubj%)}(haddrh]haddr}(hjT%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubj)}(h u32 *phy_idh](h)}(hhh]j%)}(hu32h]hu32}(hjp%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr%modnameN classnameNjj!)}j$]j%c.get_phy_c22_idasbuh1hhji%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%)}(hphy_idh]hphy_id}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji%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.}(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{uh1hhhhjaJhNhNubj})}(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)}(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)}(hjM&h]hint addr}(hjO&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjG&ubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjf&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb&hMhjc&ubah}(h]h ]h"]h$]h&]uh1jhjG&ubeh}(h]h ]h"]h$]h&]uh1jhjb&hMhj &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&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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%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}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh on the }(hj&hhhNhNubj)}(h**bus**h]hbus}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh, placing it in }(hj&hhhNhNubj)}(h **phy_id**h]hphy_id}(hj'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}(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&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.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhjaJhhhNhNubh)}(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.chMaubj)}(h h]h }(hjo'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\'hhhjn'hMaubj)}(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\'hhhjn'hMaubj)}(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*}(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#void (*handler)(struct net_device*)h](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;)}(hjh]h(}(hj+(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj (ubj;)}(hj>h]h*}(hj8(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj (ubj%)}(hhandlerh]hhandler}(hjE(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj (ubj;)}(hjh]h)}(hjS(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj (ubj;)}(hjh]h(}(hj`(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj (ubh)}(hjh]hstruct}(hjm(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj (ubj)}(h h]h }(hjz(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.phy_prepare_linkasbuh1hhj (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\'hhhjn'hMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjX'hhhjn'hMaubah}(h]jS'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjn'hMahjU'hhubjS)}(hhh]jX)}(h-prepares the PHY layer to monitor link statush]h-prepares the PHY layer to monitor link status}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMahj(hhubah}(h]h ]h"]h$]h&]uh1jRhjU'hhhjn'hMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMehj(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.chMbhj)ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj9)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5)hMbhj6)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj5)hMbhj)ubj)}(h```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjY)h]h$void (*handler)(struct net_device *)}(hj[)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW)ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMchjS)ubj)}(hhh]jX)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hjr)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjn)hMchjo)ubah}(h]h ]h"]h$]h&]uh1jhjS)ubeh}(h]h ]h"]h$]h&]uh1jhjn)hMchj)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.chMehj(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.chMihj)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.chMfhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMihj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhjaJhhhNhNubh)}(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}(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_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=uh1jhj*hhhj*hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjA*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=*ubj)}(h h]h }(hjN*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 reftargetja*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=uh1jhj9*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)}(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.chMhj*hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h5``struct phy_device *phydev`` The PHY device to poll 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)}(hThe PHY device to pollh]hThe PHY device to poll}(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}(hjB+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)}(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.chMhjY+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.}(hjo+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjl+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.chMhjl+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+hhhNhNubj j)}(h *REQUIRE*h]hREQUIRE}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j jhj+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.chMhjl+ubeh}(h]h ]h"]h$]h&]uh1jhjY+ubeh}(h]h ]h"]h$]h&]uh1jhjk+hMhjV+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_config_advert (C function)c.genphy_config_adverthNtauh1hhjaJhhhNhNubh)}(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}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMkubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj+hMkubj)}(hgenphy_config_adverth]j%)}(hgenphy_config_adverth]hgenphy_config_advert}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj+hMkubj)}(h8(struct phy_device *phydev, const unsigned long *advert)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$hj8,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=,modnameN classnameNjj!)}j$]j')}jj,sbc.genphy_config_advertasbuh1hhj,ubj)}(h h]h }(hj[,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hji,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hphydevh]hphydev}(hjv,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(hconst unsigned long *adverth](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%)}(hadverth]hadvert}(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+hMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj+hMkubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hMkhj+hhubjS)}(hhh]jX)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMkhj-hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj+hMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1-jxj1-jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj;-h]h Parameters}(hj=-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9-ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMohj5-ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMlhjT-ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjs-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjo-hMlhjp-ubah}(h]h ]h"]h$]h&]uh1jhjT-ubeh}(h]h ]h"]h$]h&]uh1jhjo-hMlhjQ-ubj)}(hI``const unsigned long *advert`` auto-negotiation parameters to advertise h](j)}(h``const unsigned long *advert``h]j)}(hj-h]hconst unsigned long *advert}(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.chMmhj-ubj)}(hhh]jX)}(h(auto-negotiation parameters to advertiseh]h(auto-negotiation parameters to advertise}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMmhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMmhjQ-ubeh}(h]h ]h"]h$]h&]uh1jhj5-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.chMohj5-ubj)}(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,}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMqhj-ubj)}(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-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMphj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMqhj-ubah}(h]h ]h"]h$]h&]uh1jhj5-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c37_config_advert (C function)c.genphy_c37_config_adverthNtauh1hhjaJhhhNhNubh)}(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}(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 }(hjM.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:.hhhjL.hMubj)}(hgenphy_c37_config_adverth]j%)}(hgenphy_c37_config_adverth]hgenphy_c37_config_advert}(hj_.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:.hhhjL.hMubj)}(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 }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw.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')}jja.sbc.genphy_c37_config_advertasbuh1hhjw.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:.hhhjL.hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6.hhhjL.hMubah}(h]j1.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjL.hMhj3.hhubjS)}(hhh]jX)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(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&]uh1jRhj3.hhhjL.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj?/h]hstruct phy_device *phydev}(hjA/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.chMhj9/ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjX/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjT/hMhjU/ubah}(h]h ]h"]h$]h&]uh1jhj9/ubeh}(h]h ]h"]h$]h&]uh1jhjT/hMhj6/ubah}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj/ubj)}(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,}(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)}(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/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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h"int phy_probe (struct device *dev)h]h)}(h!int phy_probe(struct device *dev)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.chM ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhj/hM ubj)}(h phy_probeh]j%)}(h phy_probeh]h phy_probe}(hj 0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhj/hM ubj)}(h(struct device *dev)h]j)}(hstruct device *devh](h)}(hjh]hstruct}(hj'0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#0ubj)}(h h]h }(hj40hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#0ubh)}(hhh]j%)}(hdeviceh]hdevice}(hjE0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjG0modnameN classnameNjj!)}j$]j')}jj 0sb c.phy_probeasbuh1hhj#0ubj)}(h h]h }(hje0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#0ubj;)}(hj>h]h*}(hjs0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#0ubj%)}(hdevh]hdev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(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)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj/hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj0ubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hj0h]hstruct device *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj0ubj)}(hhh]jX)}(hdevice to probe and inith]hdevice to probe and init}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM hj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj1hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(h**Description**h]j)}(hj&1h]h Description}(hj(1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$1ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj0ubjX)}(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.}(hj<1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_find_bus (C function)c.mdio_find_bushNtauh1hhjaJhhhNhNubh)}(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}(hjk1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjg1hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMqubj)}(h h]h }(hjy1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg1hhhjx1hMqubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}j mdio_find_bussbc.mdio_find_busasbuh1hhjg1hhhjx1hMqubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg1hhhjx1hMqubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjg1hhhjx1hMqubj)}(h mdio_find_bush]j%)}(hj1h]h mdio_find_bus}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjg1hhhjx1hMqubj)}(h(const char *mdio_name)h]j)}(hconst char *mdio_nameh](h)}(hjh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(hcharh]hchar}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(h mdio_nameh]h mdio_name}(hj)2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(h]h ]h"]h$]h&]j<j=uh1jhjg1hhhjx1hMqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjc1hhhjx1hMqubah}(h]j^1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjx1hMqhj`1hhubjS)}(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.}(hjS2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMqhjP2hhubah}(h]h ]h"]h$]h&]uh1jRhj`1hhhjx1hMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjk2jxjk2jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hju2h]h Parameters}(hjw2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs2ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMuhjo2ubj)}(hhh]j)}(h1``const char *mdio_name`` The name of a mdiobus. h](j)}(h``const char *mdio_name``h]j)}(hj2h]hconst char *mdio_name}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhj2ubj)}(hhh]jX)}(hThe name of a mdiobus.h]hThe name of a mdiobus.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMrhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMrhj2ubah}(h]h ]h"]h$]h&]uh1jhjo2ubjX)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjo2ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjo2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hof_mdio_find_bus (C function)c.of_mdio_find_bushNtauh1hhjaJhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj"3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj!3hMubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj33hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj03ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj53modnameN classnameNjj!)}j$]j')}jof_mdio_find_bussbc.of_mdio_find_busasbuh1hhj3hhhj!3hMubj)}(h h]h }(hjT3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj!3hMubj;)}(hj>h]h*}(hjb3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3hhhj!3hMubj)}(hof_mdio_find_bush]j%)}(hjQ3h]hof_mdio_find_bus}(hjs3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj!3hMubj)}(h!(struct device_node *mdio_bus_np)h]j)}(hstruct device_node *mdio_bus_nph](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h device_nodeh]h device_node}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]jO3c.of_mdio_find_busasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(h mdio_bus_nph]h mdio_bus_np}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubah}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj!3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj 3hhhj!3hMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!3hMhj 3hhubjS)}(hhh]jX)}(h(Given an mii_bus node, find the mii_bus.h]h(Given an mii_bus node, find the mii_bus.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj 4hhubah}(h]h ]h"]h$]h&]uh1jRhj 3hhhj!3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'4jxj'4jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj14h]h Parameters}(hj34hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/4ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj+4ubj)}(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)}(hjP4h]hstruct device_node *mdio_bus_np}(hjR4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN4ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjJ4ubj)}(hhh]jX)}(hPointer to the mii_bus.h]hPointer to the mii_bus.}(hji4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhje4hMhjf4ubah}(h]h ]h"]h$]h&]uh1jhjJ4ubeh}(h]h ]h"]h$]h&]uh1jhje4hMhjG4ubah}(h]h ]h"]h$]h&]uh1jhj+4ubjX)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj+4ubjX)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj+4ubjX)}(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().}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj+4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhjaJhhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hMubj)}(h__mdiobus_readh]j%)}(h__mdiobus_readh]h__mdiobus_read}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hMubj)}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj)5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj:5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj75ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<5modnameN classnameNjj!)}j$]j')}jj5sbc.__mdiobus_readasbuh1hhj5ubj)}(h h]h }(hjZ5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjh5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hbush]hbus}(hju5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hint addrh](j)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj%)}(haddrh]haddr}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]jV5c.__mdiobus_readasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj%)}(hregnumh]hregnum}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(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-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj46jxj46jyjzj{uh1hhhhjaJhNhNubj})}(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>6h]h Parameters}(hj@6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<6ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj86ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj]6h]hstruct mii_bus *bus}(hj_6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjW6ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjv6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjr6hMhjs6ubah}(h]h ]h"]h$]h&]uh1jhjW6ubeh}(h]h ]h"]h$]h&]uh1jhjr6hMhjT6ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj6h]hint addr}(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.chMhj6ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjT6ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj6h]h u32 regnum}(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.chMhj6ubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjT6ubeh}(h]h ]h"]h$]h&]uh1jhj86ubjX)}(h**Description**h]j)}(hj 7h]h Description}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj86ubjX)}(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 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj86ubjX)}(h**NOTE**h]j)}(hj17h]hNOTE}(hj37hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/7ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj86ubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjG7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj86ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhjaJhhhNhNubh)}(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}(hjv7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr7hhh[/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 hjr7hhhj7hMubj)}(h__mdiobus_writeh]j%)}(h__mdiobus_writeh]h__mdiobus_write}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjr7hhhj7hMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jj7sbc.__mdiobus_writeasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(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)}(hint addrh](j)}(hinth]hint}(hj%8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!8ubj)}(h h]h }(hj38hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!8ubj%)}(haddrh]haddr}(hjA8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj]8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZ8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_8modnameN classnameNjj!)}j$]j7c.__mdiobus_writeasbuh1hhjV8ubj)}(h h]h }(hj{8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV8ubj%)}(hregnumh]hregnum}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j7c.__mdiobus_writeasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hvalh]hval}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjr7hhhj7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjn7hhhj7hMubah}(h]ji7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMhjk7hhubjS)}(hhh]jX)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jRhjk7hhhj7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj9ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj<9h]hstruct mii_bus *bus}(hj>9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj69ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjU9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQ9hMhjR9ubah}(h]h ]h"]h$]h&]uh1jhj69ubeh}(h]h ]h"]h$]h&]uh1jhjQ9hMhj39ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hju9h]hint addr}(hjw9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjo9ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjo9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj39ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj9h]h u32 regnum}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj9ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj39ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj9h]hu16 val}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj9ubj)}(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&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj39ubeh}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hj0:h]h Description}(hj2: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.chMhj9ubjX)}(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.}(hjF:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj9ubjX)}(h**NOTE**h]j)}(hjW:h]hNOTE}(hjY:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU:ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj9ubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjm:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhjaJhhhNhNubh)}(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}(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}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jj:sbc.__mdiobus_modify_changedasbuh1hhj: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}(hj2;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hint addrh](j)}(hinth]hint}(hjK;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG;ubj)}(h h]h }(hjY;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG;ubj%)}(haddrh]haddr}(hjg;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG;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_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=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$]j;c.__mdiobus_modify_changedasbuh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(hmaskh]hmask}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(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$]j;c.__mdiobus_modify_changedasbuh1hhj <ubj)}(h h]h }(hj1<hhhNhNubah}(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=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_modify functionh]h/Unlocked version of the mdiobus_modify function}(hji<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjf<hhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhj:hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhjaJhNhNubj})}(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<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 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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hj5=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1=hMhj2=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj1=hMhj<ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjU=h]hu16 mask}(hjW=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS=ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjO=ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjn=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjj=hMhjk=ubah}(h]h ]h"]h$]h&]uh1jhjO=ubeh}(h]h ]h"]h$]h&]uh1jhjj=hMhj<ubj)}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=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=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&]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.}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhjaJhhhNhNubh)}(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}(hj5>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1>hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM ubj)}(h h]h }(hjD>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1>hhhjC>hM ubj)}(h__mdiobus_c45_readh]j%)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hjV>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1>hhhjC>hM ubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](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%)}(hmii_bush]hmii_bus}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jjX>sbc.__mdiobus_c45_readasbuh1hhjn>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%)}(hbush]hbus}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj>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=uh1jhjj>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}(hj5?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj>ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjQ?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjS?modnameN classnameNjj!)}j$]j>c.__mdiobus_c45_readasbuh1hhjJ?ubj)}(h h]h }(hjo?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ?ubj%)}(hregnumh]hregnum}(hj}?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1>hhhjC>hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj->hhhjC>hM ubah}(h]j(>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjC>hM hj*>hhubjS)}(hhh]jX)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked version of the mdiobus_c45_read function}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hj?hhubah}(h]h ]h"]h$]h&]uh1jRhj*>hhhjC>hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhjaJhNhNubj})}(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?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.chM hj?ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus 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?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&]uh1jWhj6@hM hj7@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj6@hM hj?ubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjZ@h]h int devad}(hj\@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX@ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjT@ubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjs@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjo@hM hjp@ubah}(h]h ]h"]h$]h&]uh1jhjT@ubeh}(h]h ]h"]h$]h&]uh1jhjo@hM hj?ubj)}(h'``u32 regnum`` register number to read 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 readh]hregister number to read}(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&]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 AhhhNhNubah}(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|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhjaJhhhNhNubh)}(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}(hj:AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6Ahhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM'ubj)}(h h]h }(hjIAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6AhhhjHAhM'ubj)}(h__mdiobus_c45_writeh]j%)}(h__mdiobus_c45_writeh]h__mdiobus_c45_write}(hj[AhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6AhhhjHAhM'ubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjwAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsAubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jj]Asbc.__mdiobus_c45_writeasbuh1hhjsAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsAubj%)}(hbush]hbus}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoAubj)}(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}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoAubj)}(h int devadh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hj,BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hdevadh]hdevad}(hj:BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoAubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjVBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXBmodnameN classnameNjj!)}j$]jAc.__mdiobus_c45_writeasbuh1hhjOBubj)}(h h]h }(hjtBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOBubj%)}(hregnumh]hregnum}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoAubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]jAc.__mdiobus_c45_writeasbuh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hvalh]hval}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoAubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6AhhhjHAhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2AhhhjHAhM'ubah}(h]j-Aah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHAhM'hj/AhhubjS)}(hhh]jX)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM'hjBhhubah}(h]h ]h"]h$]h&]uh1jRhj/AhhhjHAhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj Cjxj Cjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM+hjCubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj5Ch]hstruct mii_bus *bus}(hj7ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Cubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM(hj/Cubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjNChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJChM(hjKCubah}(h]h ]h"]h$]h&]uh1jhj/Cubeh}(h]h ]h"]h$]h&]uh1jhjJChM(hj,Cubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjnCh]hint addr}(hjpChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlCubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM)hjhCubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM)hjCubah}(h]h ]h"]h$]h&]uh1jhjhCubeh}(h]h ]h"]h$]h&]uh1jhjChM)hj,Cubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjCh]h int devad}(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.chM*hjCubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM*hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM*hj,Cubj)}(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.chM+hjCubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM+hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM+hj,Cubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjDh]hu16 val}(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.chM,hjDubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj2DhhhNhNubj)}(h **regnum**h]hregnum}(hj:DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Dubeh}(h]h ]h"]h$]h&]uh1jWhj.DhM,hj/Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj.DhM,hj,Cubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjbDh]h Description}(hjdDhhhNhNubah}(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.chM.hjCubjX)}(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.}(hjxDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM.hjCubjX)}(h**NOTE**h]j)}(hjDh]hNOTE}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM0hjCubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM0hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhjaJhhhNhNubh)}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMgubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjDhMgubj)}(hmdiobus_read_nestedh]j%)}(hmdiobus_read_nestedh]hmdiobus_read_nested}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjDhMgubj)}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj EhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj)EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&Eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+EmodnameN classnameNjj!)}j$]j')}jjDsbc.mdiobus_read_nestedasbuh1hhjEubj)}(h h]h }(hjIEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjWEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hbush]hbus}(hjdEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hint addrh](j)}(hinth]hint}(hj}EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyEubj%)}(haddrh]haddr}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jEEc.mdiobus_read_nestedasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hregnumh]hregnum}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjDhMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhMgubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMghjDhhubjS)}(hhh]jX)}(h+Nested version of the mdiobus_read functionh]h+Nested version of the mdiobus_read function}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMghjFhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjDhMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#Fjxj#Fjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj-Fh]h Parameters}(hj/FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Fubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMkhj'Fubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjLFh]hstruct mii_bus *bus}(hjNFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJFubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhhjFFubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjeFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjaFhMhhjbFubah}(h]h ]h"]h$]h&]uh1jhjFFubeh}(h]h ]h"]h$]h&]uh1jhjaFhMhhjCFubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjFh]hint addr}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMihjFubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMihjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMihjCFubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjFh]h u32 regnum}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMjhjFubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMjhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMjhjCFubeh}(h]h ]h"]h$]h&]uh1jhj'FubjX)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMlhj'FubjX)}(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().}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMlhj'FubjX)}(h**NOTE**h]j)}(hj Gh]hNOTE}(hj"GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMohj'FubjX)}(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.}(hj6GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMohj'Fubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hh]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hbush]hbus}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hint addrh](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hj"HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(haddrh]haddr}(hj0HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjLHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNHmodnameN classnameNjj!)}j$]jGc.mdiobus_readasbuh1hhjEHubj)}(h h]h }(hjjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEHubj%)}(hregnumh]hregnum}(hjxHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjaGhhhjsGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]GhhhjsGhMubah}(h]jXGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjsGhMhjZGhhubjS)}(hhh]jX)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjZGhhhjsGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjHh]h Parameters}(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.chMhjHubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjHh]hstruct mii_bus *bus}(hjHhhhNhNubah}(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.chMhjHubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjHubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjIh]hint addr}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjIubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj5IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1IhMhj2Iubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj1IhMhjHubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjUIh]h u32 regnum}(hjWIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSIubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOIubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjnIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjIhMhjkIubah}(h]h ]h"]h$]h&]uh1jhjOIubeh}(h]h ]h"]h$]h&]uh1jhjjIhMhjHubeh}(h]h ]h"]h$]h&]uh1jhjHubjX)}(h**NOTE**h]j)}(hjIh]hNOTE}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjHubjX)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhjaJhhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjIhMubj)}(hmdiobus_c45_readh]j%)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhjIhMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj0JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-Jubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2JmodnameN classnameNjj!)}j$]j')}jjIsbc.mdiobus_c45_readasbuh1hhjJubj)}(h h]h }(hjPJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hj^JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hbush]hbus}(hjkJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Jubj)}(hint addrh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(haddrh]haddr}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Jubj)}(h int devadh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hdevadh]hdevad}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Jubj)}(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$]jLJc.mdiobus_c45_readasbuh1hhjJubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hregnumh]hregnum}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Jubeh}(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)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hjGKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjDKhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_Kjxj_Kjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjiKh]h Parameters}(hjkKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgKubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcKubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjKh]hstruct mii_bus *bus}(hjKhhhNhNubah}(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.chMhjKubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjKh]hint addr}(hjKhhhNhNubah}(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.chMhjKubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjKh]h int devad}(hjKhhhNhNubah}(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.chMhjKubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj3Lh]h u32 regnum}(hj5LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Lubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj-Lubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjLLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHLhMhjILubah}(h]h ]h"]h$]h&]uh1jhj-Lubeh}(h]h ]h"]h$]h&]uh1jhjHLhMhjKubeh}(h]h ]h"]h$]h&]uh1jhjcKubjX)}(h**NOTE**h]j)}(hjnLh]hNOTE}(hjpLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlLubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcKubjX)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhjaJhhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhMubj)}(hmdiobus_c45_read_nestedh]j%)}(hmdiobus_c45_read_nestedh]hmdiobus_c45_read_nested}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jjLsbc.mdiobus_c45_read_nestedasbuh1hhjLubj)}(h h]h }(hj.MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjh]h*}(hjAPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hbush]hbus}(hjNPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(hint addrh](j)}(hinth]hint}(hjgPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcPubj)}(h h]h }(hjuPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcPubj%)}(haddrh]haddr}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j/Pc.mdiobus_write_nestedasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hregnumh]hregnum}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j/Pc.mdiobus_write_nestedasbuh1hhjPubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hvalh]hval}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubeh}(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)}(h,Nested version of the mdiobus_write functionh]h,Nested version of the mdiobus_write function}(hj=QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:Qhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUQjxjUQjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hj_Qh]h Parameters}(hjaQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Qubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYQubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj~Qh]hstruct mii_bus *bus}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Qubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjxQubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjxQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjuQubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjQh]hint addr}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjuQubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjQh]h u32 regnum}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj RhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjuQubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj)Rh]hu16 val}(hj+RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Rubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj#Rubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjBRhhhNhNubj)}(h **regnum**h]hregnum}(hjJRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBRubeh}(h]h ]h"]h$]h&]uh1jWhj>RhMhj?Rubah}(h]h ]h"]h$]h&]uh1jhj#Rubeh}(h]h ]h"]h$]h&]uh1jhj>RhMhjuQubeh}(h]h ]h"]h$]h&]uh1jhjYQubjX)}(h**Description**h]j)}(hjrRh]h Description}(hjtRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpRubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYQubjX)}(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().}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYQubjX)}(h**NOTE**h]j)}(hjRh]hNOTE}(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.chMhjYQubjX)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhjaJhhhNhNubh)}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhjRhMubj)}(h mdiobus_writeh]j%)}(h mdiobus_writeh]h mdiobus_write}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRhhhjRhMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hj(ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj9ShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Subah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;SmodnameN classnameNjj!)}j$]j')}jjSsbc.mdiobus_writeasbuh1hhjSubj)}(h h]h }(hjYShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjgShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hbush]hbus}(hjtShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hint addrh](j)}(hinth]hint}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj%)}(haddrh]haddr}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jUSc.mdiobus_writeasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj%)}(hregnumh]hregnum}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jUSc.mdiobus_writeasbuh1hhjTubj)}(h h]h }(hj+ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hvalh]hval}(hj9ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubeh}(h]h ]h"]h$]h&]j<j=uh1jhjRhhhjRhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjRhhhjRhMubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMhjRhhubjS)}(hhh]jX)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjcThhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj`Thhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjRhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{Tjxj{Tjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjTubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjTh]hstruct mii_bus *bus}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjTubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjTubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjTh]hint addr}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjTubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjTubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjUh]h u32 regnum}(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)}(hregister number to writeh]hregister number to write}(hj/UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+UhMhj,Uubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhj+UhMhjTubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjOUh]hu16 val}(hjQUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMUubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjIUubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjhUhhhNhNubj)}(h **regnum**h]hregnum}(hjpUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhUubeh}(h]h ]h"]h$]h&]uh1jWhjdUhMhjeUubah}(h]h ]h"]h$]h&]uh1jhjIUubeh}(h]h ]h"]h$]h&]uh1jhjdUhMhjTubeh}(h]h ]h"]h$]h&]uh1jhjTubjX)}(h**NOTE**h]j)}(hjUh]hNOTE}(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.chMhjTubjX)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhjaJhhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUhhhjUhMubj)}(hmdiobus_c45_writeh]j%)}(hmdiobus_c45_writeh]hmdiobus_c45_write}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjUhhhjUhMubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hj'VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj8VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Vubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:VmodnameN classnameNjj!)}j$]j')}jjVsbc.mdiobus_c45_writeasbuh1hhjVubj)}(h h]h }(hjXVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjfVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hbush]hbus}(hjsVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(hint addrh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(haddrh]haddr}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h int devadh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hdevadh]hdevad}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jTVc.mdiobus_c45_writeasbuh1hhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hregnumh]hregnum}(hj%WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjAWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>Wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCWmodnameN classnameNjj!)}j$]jTVc.mdiobus_c45_writeasbuh1hhj:Wubj)}(h h]h }(hj_WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:Wubj%)}(hvalh]hval}(hjmWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(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)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjUhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhjaJhNhNubj})}(hXk**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** **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)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjWubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjWh]hstruct mii_bus *bus}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjWubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjWubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjXh]hint addr}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj Xubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj*XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&XhMhj'Xubah}(h]h ]h"]h$]h&]uh1jhj Xubeh}(h]h ]h"]h$]h&]uh1jhj&XhMhjWubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjJXh]h int devad}(hjLXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjDXubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjcXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_XhMhj`Xubah}(h]h ]h"]h$]h&]uh1jhjDXubeh}(h]h ]h"]h$]h&]uh1jhj_XhMhjWubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjXh]h u32 regnum}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj}Xubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhj}Xubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjWubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjXh]hu16 val}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjXubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjXhhhNhNubj)}(h **regnum**h]hregnum}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jWhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjWubeh}(h]h ]h"]h$]h&]uh1jhjWubjX)}(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.chMhjWubjX)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%mdiobus_c45_write_nested (C function)c.mdiobus_c45_write_nestedhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h\int mdiobus_c45_write_nested (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]h)}(h[int mdiobus_c45_write_nested(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjJYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFYhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjYYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFYhhhjXYhMubj)}(hmdiobus_c45_write_nestedh]j%)}(hmdiobus_c45_write_nestedh]hmdiobus_c45_write_nested}(hjkYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFYhhhjXYhMubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j')}jjmYsbc.mdiobus_c45_write_nestedasbuh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hbush]hbus}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(hint addrh](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj%)}(haddrh]haddr}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(h int devadh](j)}(hinth]hint}(hj.ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*Zubj)}(h h]h }(hj\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)}(hjr\h]h Description}(hjt\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp\ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj [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.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)}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj [ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhjaJhhhNhNubh)}(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}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhj\hMBubj)}(hmdiobus_modifyh]j%)}(hmdiobus_modifyh]hmdiobus_modify}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhj\hMBubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)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}(hj9]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;]modnameN classnameNjj!)}j$]j')}jj]sbc.mdiobus_modifyasbuh1hhj]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]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$]jU]c.mdiobus_modifyasbuh1hhj]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 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$]jU]c.mdiobus_modifyasbuh1hhj^ubj)}(h h]h }(hj+^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hmaskh]hmask}(hj9^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjU^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjW^modnameN classnameNjj!)}j$]jU]c.mdiobus_modifyasbuh1hhjN^ubj)}(h h]h }(hjs^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN^ubj%)}(hseth]hset}(hj^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=uh1jhj\hhhj\hMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhj\hMBubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMBhj\hhubjS)}(hhh]jX)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhj^hhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhj\hMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjaJhNhNubj})}(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)}(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.chMFhj^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.chMDhj^ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(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``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.chMEhj_ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj>_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:_hMEhj;_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj:_hMEhj^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.chMFhjX_ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjw_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjs_hMFhjt_ubah}(h]h ]h"]h$]h&]uh1jhjX_ubeh}(h]h ]h"]h$]h&]uh1jhjs_hMFhj^ubj)}(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:134: ./drivers/net/phy/mdio_bus.chMGhj_ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMGhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMGhj^ubj)}(h#``u16 set`` bit mask of bits to seth](j)}(h ``u16 set``h]j)}(hj_h]hu16 set}(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.chMIhj_ubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMHhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMIhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_modify (C function)c.mdiobus_c45_modifyhNtauh1hhjaJhhhNhNubh)}(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}(hj*`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&`hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMWubj)}(h h]h }(hj9`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&`hhhj8`hMWubj)}(hmdiobus_c45_modifyh]j%)}(hmdiobus_c45_modifyh]hmdiobus_c45_modify}(hjK`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&`hhhj8`hMWubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](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%)}(hmii_bush]hmii_bus}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j')}jjM`sbc.mdiobus_c45_modifyasbuh1hhjc`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%)}(hbush]hbus}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjc`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 int devadh](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj aubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj aubj%)}(hdevadh]hdevad}(hj*ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_`ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjFahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHamodnameN classnameNjj!)}j$]j`c.mdiobus_c45_modifyasbuh1hhj?aubj)}(h h]h }(hjdahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?aubj%)}(hregnumh]hregnum}(hjrahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_`ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j`c.mdiobus_c45_modifyasbuh1hhjaubj)}(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=uh1jhj_`ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j`c.mdiobus_c45_modifyasbuh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hseth]hset}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&`hhhj8`hMWubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"`hhhj8`hMWubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8`hMWhj`hhubjS)}(hhh]jX)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hj,bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMWhj)bhhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhj8`hMWubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDbjxjDbjyjzj{uh1hhhhjaJhNhNubj})}(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 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to seth](jX)}(h**Parameters**h]j)}(hjNbh]h Parameters}(hjPbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLbubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hjHbubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjmbh]hstruct mii_bus *bus}(hjobhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkbubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjgbubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMYhjbubah}(h]h ]h"]h$]h&]uh1jhjgbubeh}(h]h ]h"]h$]h&]uh1jhjbhMYhjdbubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjbh]hint addr}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMZhjbubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMZhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMZhjdbubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjbh]h int devad}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hjbubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhM[hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM[hjdbubj)}(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.chM\hjcubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj1chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-chM\hj.cubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj-chM\hjdbubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjQch]hu16 mask}(hjSchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hjKcubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfchM]hjgcubah}(h]h ]h"]h$]h&]uh1jhjKcubeh}(h]h ]h"]h$]h&]uh1jhjfchM]hjdbubj)}(h#``u16 set`` bit mask of bits to seth](j)}(h ``u16 set``h]j)}(hjch]hu16 set}(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.chM_hjcubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM^hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM_hjdbubeh}(h]h ]h"]h$]h&]uh1jhjHbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#mdiobus_modify_changed (C function)c.mdiobus_modify_changedhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hYint mdiobus_modify_changed (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]h)}(hXint mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMoubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjchMoubj)}(hmdiobus_modify_changedh]j%)}(hmdiobus_modify_changedh]hmdiobus_modify_changed}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjchMoubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj!dhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hj.dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj?dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjmdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hbush]hbus}(hjzdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(hint addrh](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(haddrh]haddr}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j[dc.mdiobus_modify_changedasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hregnumh]hregnum}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j[dc.mdiobus_modify_changedasbuh1hhj eubj)}(h h]h }(hj1ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj eubj%)}(hmaskh]hmask}(hj?ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj eubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hj[ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]emodnameN classnameNjj!)}j$]j[dc.mdiobus_modify_changedasbuh1hhjTeubj)}(h h]h }(hjyehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTeubj%)}(hseth]hset}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubeh}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjchMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjchMoubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchMohjchhubjS)}(hhh]jX)}(h[Convenience function for modifying a given mdio device register and returning if it changedh]h[Convenience function for modifying a given mdio device register and returning if it changed}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMohjehhubah}(h]h ]h"]h$]h&]uh1jRhjchhhjchMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMshjeubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjeh]hstruct mii_bus *bus}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMqhjeubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMqhjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhMqhjeubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj+fh]hint addr}(hj-fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)fubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhj%fubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjDfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@fhMrhjAfubah}(h]h ]h"]h$]h&]uh1jhj%fubeh}(h]h ]h"]h$]h&]uh1jhj@fhMrhjeubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjdfh]h u32 regnum}(hjffhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbfubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMshj^fubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj}fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyfhMshjzfubah}(h]h ]h"]h$]h&]uh1jhj^fubeh}(h]h ]h"]h$]h&]uh1jhjyfhMshjeubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjfh]hu16 mask}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjfubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMthjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMthjeubj)}(h#``u16 set`` bit mask of bits to seth](j)}(h ``u16 set``h]j)}(hjfh]hu16 set}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMvhjfubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMuhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMvhjeubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'mdiobus_c45_modify_changed (C function)c.mdiobus_c45_modify_changedhNtauh1hhjaJhhhNhNubh)}(hhh](h)}(hhint mdiobus_c45_modify_changed (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h]h)}(hgint mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hj0ghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ghhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj?ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ghhhj>ghMubj)}(hmdiobus_c45_modify_changedh]j%)}(hmdiobus_c45_modify_changedh]hmdiobus_c45_modify_changed}(hjQghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,ghhhj>ghMubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjmghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjigubj)}(h h]h }(hjzghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjigubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jjSgsbc.mdiobus_c45_modify_changedasbuh1hhjigubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjigubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjigubj%)}(hbush]hbus}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjigubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjegubj)}(hint addrh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(haddrh]haddr}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjegubj)}(h int devadh](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hj"hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hdevadh]hdevad}(hj0hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjegubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjLhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNhmodnameN classnameNjj!)}j$]jgc.mdiobus_c45_modify_changedasbuh1hhjEhubj)}(h h]h }(hjjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhubj%)}(hregnumh]hregnum}(hjxhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjegubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jgc.mdiobus_c45_modify_changedasbuh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hmaskh]hmask}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjegubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jgc.mdiobus_c45_modify_changedasbuh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hseth]hset}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjegubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,ghhhj>ghMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(ghhhj>ghMubah}(h]j#gah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>ghMhj%ghhubjS)}(hhh]jX)}(h[Convenience function for modifying a given mdio device register and returning if it changedh]h[Convenience function for modifying a given mdio device register and returning if it changed}(hj2ihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj/ihhubah}(h]h ]h"]h$]h&]uh1jRhj%ghhhj>ghMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJijxjJijyjzj{uh1hhhhjaJhNhNubj})}(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 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to seth](jX)}(h**Parameters**h]j)}(hjTih]h Parameters}(hjVihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRiubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjNiubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjsih]hstruct mii_bus *bus}(hjuihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqiubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjmiubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjmiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjjiubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hji h]hint addr}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjiubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjjiubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjih]h int devad}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjiubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjjiubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjjh]h u32 regnum}(hj jhhhNhNubah}(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.chMhjjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj7jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3jhMhj4jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj3jhMhjjiubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjWjh]hu16 mask}(hjYjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjpjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjljhMhjmjubah}(h]h ]h"]h$]h&]uh1jhjQjubeh}(h]h ]h"]h$]h&]uh1jhjljhMhjjiubj)}(h#``u16 set`` bit mask of bits to seth](j)}(h ``u16 set``h]j)}(hjjh]hu16 set}(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.chMhjjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjiubeh}(h]h ]h"]h$]h&]uh1jhjNiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_release (C function)c.mdiobus_releasehNtauh1hhjaJhhhNhNubh)}(hhh](h)}(h'void mdiobus_release (struct device *d)h]h)}(h&void mdiobus_release(struct device *d)h](j)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhjjhKubj)}(hmdiobus_releaseh]j%)}(hmdiobus_releaseh]hmdiobus_release}(hj khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhjjhKubj)}(h(struct device *d)h]j)}(hstruct device *dh](h)}(hjh]hstruct}(hj'khhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#kubj)}(h h]h }(hj4khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#kubh)}(hhh]j%)}(hdeviceh]hdevice}(hjEkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGkmodnameN classnameNjj!)}j$]j')}jj ksbc.mdiobus_releaseasbuh1hhj#kubj)}(h h]h }(hjekhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#kubj;)}(hj>h]h*}(hjskhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#kubj%)}(hjNh]hd}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(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)}(hmii_bus device release callbackh]hmii_bus device release callback}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjkubj)}(hhh]j)}(hH``struct device *d`` the target struct device that contains the mii_bus h](j)}(h``struct device *d``h]j)}(hjkh]hstruct device *d}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjkubj)}(hhh]jX)}(h2the target struct device that contains the mii_bush]h2the target struct device that contains the mii_bus}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhKhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjkubah}(h]h ]h"]h$]h&]uh1jhjkubjX)}(h**Description**h]j)}(hj%lh]h Description}(hj'lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#lubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjkubjX)}(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.}(hj;lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhjaJhhhNhNubh)}(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}(hjjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjflhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMFubj)}(h h]h }(hjylhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjflhhhjxlhMFubj)}(h__mdiobus_c45_modify_changedh]j%)}(h__mdiobus_c45_modify_changedh]h__mdiobus_c45_modify_changed}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjflhhhjxlhMFubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jjlsbc.__mdiobus_c45_modify_changedasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hbush]hbus}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hint addrh](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hj'mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(haddrh]haddr}(hj5mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(h int devadh](j)}(hinth]hint}(hjNmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJmubj)}(h h]h }(hj\mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJmubj%)}(hdevadh]hdevad}(hjjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jlc.__mdiobus_c45_modify_changedasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(hregnumh]hregnum}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jlc.__mdiobus_c45_modify_changedasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(hmaskh]hmask}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]jlc.__mdiobus_c45_modify_changedasbuh1hhjnubj)}(h h]h }(hj4nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hseth]hset}(hjBnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhjflhhhjxlhMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjblhhhjxlhMFubah}(h]j]lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxlhMFhj_lhhubjS)}(hhh]jX)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjlnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMFhjinhhubah}(h]h ]h"]h$]h&]uh1jRhj_lhhhjxlhMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMJhjnubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjnh]hstruct mii_bus *bus}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMGhjnubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMGhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMGhjnubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjnh]hint addr}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMHhjnubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMHhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMHhjnubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjoh]h int devad}(hj!ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMIhjoubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hj8ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4ohMIhj5oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj4ohMIhjnubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjXoh]h u32 regnum}(hjZohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVoubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMJhjRoubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjqohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmohMJhjnoubah}(h]h ]h"]h$]h&]uh1jhjRoubeh}(h]h ]h"]h$]h&]uh1jhjmohMJhjnubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjoh]hu16 mask}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMKhjoubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMKhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMKhjnubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjoh]hu16 set}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMLhjoubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMLhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMLhjnubeh}(h]h ]h"]h$]h&]uh1jhjnubjX)}(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.chMNhjnubjX)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMNhjnubjX)}(h**NOTE**h]j)}(hj,ph]hNOTE}(hj.phhhNhNubah}(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.chMQhjnubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjBphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMQhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_match (C function)c.mdio_bus_matchhNtauh1hhjaJhhhNhNubh)}(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}(hjqphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmphhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmphhhjphMubj)}(hmdio_bus_matchh]j%)}(hmdio_bus_matchh]hmdio_bus_match}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmphhhjphMubj)}(h5(struct device *dev, const struct device_driver *drv)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hdeviceh]hdevice}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjpsbc.mdio_bus_matchasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hdevh]hdev}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hconst struct device_driver *drvh](h)}(hjh]hconst}(hj qhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hj-qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hjh]hstruct}(hj;qhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjHqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(h device_driverh]h device_driver}(hjYqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[qmodnameN classnameNjj!)}j$]jpc.mdio_bus_matchasbuh1hhjqubj)}(h h]h }(hjwqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hdrvh]hdrv}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmphhhjphMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjiphhhjphMubah}(h]jdpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMhjfphhubjS)}(hhh]jX)}(h=determine if given MDIO driver supports the given MDIO deviceh]h=determine if given MDIO driver supports the given MDIO device}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jRhjfphhhjphMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhjaJhNhNubj})}(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)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjqubj)}(hhh](j)}(h*``struct device *dev`` target MDIO device h](j)}(h``struct device *dev``h]j)}(hjqh]hstruct device *dev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjqubj)}(hhh]jX)}(htarget MDIO deviceh]htarget MDIO device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjqubj)}(h6``const struct device_driver *drv`` given MDIO driver h](j)}(h#``const struct device_driver *drv``h]j)}(hj6rh]hconst struct device_driver *drv}(hj8rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4rubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhj0rubj)}(hhh]jX)}(hgiven MDIO driverh]hgiven MDIO driver}(hjOrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKrhMhjLrubah}(h]h ]h"]h$]h&]uh1jhj0rubeh}(h]h ]h"]h$]h&]uh1jhjKrhMhjqubeh}(h]h ]h"]h$]h&]uh1jhjqubjX)}(h**Description**h]j)}(hjqrh]h Description}(hjsrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjorubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjqubj)}(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}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjrubj)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjaJhhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhjhhhhhKoubh)}(hhh](h)}(hPHYLINKh]hPHYLINK}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhhhhhKubj )}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhhhKhjrubah}(h]h ]h"]h$]h&]uh1j hhhKhjrhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_link_state (C struct)c.phylink_link_statehNtauh1hhjrhhhNhNubh)}(hhh](h)}(hphylink_link_stateh]h)}(hstruct phylink_link_stateh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjshhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hj shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjshKubj)}(hphylink_link_stateh]j%)}(hj sh]hphylink_link_state}(hj2shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.subah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjshKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj shhhjshKubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshKhjshhubjS)}(hhh]jX)}(hlink state structureh]hlink state structure}(hjTshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhhjQshhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjshKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjlsjxjlsjyjzj{uh1hhhhjrhNhNubj})}(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}(hjxshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtsubh:}(hjtshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhjpsubjU)}(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; };}hjssbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKnhjpsubjX)}(h **Members**h]j)}(hjsh]hMembers}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKzhjpsubj)}(hhh](j)}(hA``advertising`` ethtool bitmask containing advertised link modes h](j)}(h``advertising``h]j)}(hjsh]h advertising}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKjhjsubj)}(hhh]jX)}(h0ethtool bitmask containing advertised link modesh]h0ethtool bitmask containing advertised link modes}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshKjhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshKjhjsubj)}(hQ``lp_advertising`` ethtool bitmask containing link partner advertised link modes h](j)}(h``lp_advertising``h]j)}(hjsh]hlp_advertising}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhjsubj)}(hhh]jX)}(h=ethtool bitmask containing link partner advertised link modesh]h=ethtool bitmask containing link partner advertised link modes}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKkhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthKlhjsubj)}(hL``interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h ``interface``h]j)}(hj4th]h interface}(hj6thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2tubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKmhj.tubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjMthhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjWth]htypedef phy_interface_t}(hjYthhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjUtubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjIthKmhjMtubh mode}(hjMthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjIthKmhjJtubah}(h]h ]h"]h$]h&]uh1jhj.tubeh}(h]h ]h"]h$]h&]uh1jhjIthKmhjsubj)}(h4``speed`` link speed, one of the SPEED_* constants. h](j)}(h ``speed``h]j)}(hjth]hspeed}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKnhjtubj)}(hhh]jX)}(h)link speed, one of the SPEED_* constants.h]h)link speed, one of the SPEED_* constants.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKnhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKnhjsubj)}(h8``duplex`` link duplex mode, one of DUPLEX_* constants. h](j)}(h ``duplex``h]j)}(hjth]hduplex}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKohjtubj)}(hhh]jX)}(h,link duplex mode, one of DUPLEX_* constants.h]h,link duplex mode, one of DUPLEX_* constants.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKohjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKohjsubj)}(h@``pause`` link pause state, described by MLO_PAUSE_* constants. h](j)}(h ``pause``h]j)}(hjuh]hpause}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKphjtubj)}(hhh]jX)}(h5link pause state, described by MLO_PAUSE_* constants.h]h5link pause state, described by MLO_PAUSE_* constants.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhKphjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhKphjsubj)}(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)}(hj;uh]h rate_matching}(hj=uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9uubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKthj5uubj)}(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 (}(hjTuhhhNhNubj)}(h **speed**h]hspeed}(hj\uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTuubh and }(hjTuhhhNhNubj)}(h **duplex**h]hduplex}(hjnuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTuubh2) and the speed/duplex of the phy interface mode (}(hjTuhhhNhNubj)}(h **interface**h]h interface}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTuubh) are different.}(hjTuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKqhjQuubah}(h]h ]h"]h$]h&]uh1jhj5uubeh}(h]h ]h"]h$]h&]uh1jhjPuhKthjsubj)}(h!``link`` true if the link is up. h](j)}(h``link``h]j)}(hjuh]hlink}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKuhjuubj)}(hhh]jX)}(htrue if the link is up.h]htrue if the link is up.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhKuhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKuhjsubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hjuh]h an_complete}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKuhjuubj)}(hhh]jX)}(h&true if autonegotiation has completed.h]h&true if autonegotiation has completed.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKvhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKuhjsubeh}(h]h ]h"]h$]h&]uh1jhjpsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_config (C struct)c.phylink_confighNtauh1hhjrhhhNhNubh)}(hhh](h)}(hphylink_configh]h)}(hstruct phylink_configh](h)}(hjh]hstruct}(hj>vhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:vhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK|ubj)}(h h]h }(hjLvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:vhhhjKvhK|ubj)}(hphylink_configh]j%)}(hj8vh]hphylink_config}(hj^vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:vhhhjKvhK|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6vhhhjKvhK|ubah}(h]j1vah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKvhK|hj3vhhubjS)}(hhh]jX)}(hPHYLINK configuration structureh]hPHYLINK configuration structure}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj}vhhubah}(h]h ]h"]h$]h&]uh1jRhj3vhhhjKvhK|ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhjrhNhNubj})}(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}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh:}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjvubjU)}(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; };}hjvsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjvubjX)}(h **Members**h]j)}(hjvh]hMembers}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjvubj)}(hhh](j)}(h=``dev`` a pointer to a struct device associated with the MAC h](j)}(h``dev``h]j)}(hjvh]hdev}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjvubj)}(hhh]jX)}(h4a pointer to a struct device associated with the MACh]h4a pointer to a struct device associated with the MAC}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhKhjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjwhKhjvubj)}(h,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hj&wh]htype}(hj(whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$wubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj wubj)}(hhh]jX)}(h"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hj?whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;whKhj{h]hmac_select_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.hhKhj8{ubj)}(hhh]jX)}(h$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hjW{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjS{hKhjT{ubah}(h]h ]h"]h$]h&]uh1jhj8{ubeh}(h]h ]h"]h$]h&]uh1jhjS{hKhjzubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjw{h]h mac_prepare}(hjy{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju{ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjq{ubj)}(hhh]jX)}(h5prepare for a major reconfiguration of the interface.h]h5prepare for a major reconfiguration of the interface.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhjq{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjzubj)}(hB``mac_config`` configure the MAC for the selected mode and state. h](j)}(h``mac_config``h]j)}(hj{h]h mac_config}(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)}(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{hKhjzubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hj{h]h mac_finish}(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)}(h0finish a major reconfiguration of the interface.h]h0finish a major reconfiguration of the interface.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjzubj)}(h&``mac_link_down`` take the link down. h](j)}(h``mac_link_down``h]j)}(hj"|h]h mac_link_down}(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)}(htake the link down.h]htake the link down.}(hj;|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7|hKhj8|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj7|hKhjzubj)}(h+``mac_link_up`` allow the link to come up. h](j)}(h``mac_link_up``h]j)}(hj[|h]h mac_link_up}(hj]|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY|ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjU|ubj)}(hhh]jX)}(hallow the link to come up.h]hallow the link to come up.}(hjt|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjp|hKhjq|ubah}(h]h ]h"]h$]h&]uh1jhjU|ubeh}(h]h ]h"]h$]h&]uh1jhjp|hKhjzubj)}(h$``mac_disable_tx_lpi`` disable LPI. h](j)}(h``mac_disable_tx_lpi``h]j)}(hj|h]hmac_disable_tx_lpi}(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 disable LPI.h]h disable LPI.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjzubj)}(h/``mac_enable_tx_lpi`` enable and configure LPI.h](j)}(h``mac_enable_tx_lpi``h]j)}(hj|h]hmac_enable_tx_lpi}(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)}(henable and configure LPI.h]henable and configure LPI.}(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|hKhjzubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubjX)}(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.hhKhjrhhubjX)}(h6The individual methods are described more fully below.h]h6The individual methods are described more fully below.}(hj&}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjrhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_get_caps (C function)c.mac_get_capshNtauh1hhjrhhhNhNubh)}(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}(hjN}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ}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 hjJ}hhhj\}hKubj)}(hlongh]hlong}(hjk}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ}hhhj\}hKubj)}(h h]h }(hjy}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ}hhhj\}hKubj)}(h mac_get_capsh]j%)}(h mac_get_capsh]h mac_get_caps}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJ}hhhj\}hKubj)}(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&]uh1hhj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(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')}jj}sbc.mac_get_capsasbuh1hhj}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%)}(hconfigh]hconfig}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}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$]j}c.mac_get_capsasbuh1hhj~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}ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJ}hhhj\}hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjF}hhhj\}hKubah}(h]jA}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\}hKhjC}hhubjS)}(hhh]jX)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjr~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjo~hhubah}(h]h ]h"]h$]h&]uh1jRhjC}hhhj\}hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhjrhNhNubj})}(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)}(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.hhKhj~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)}(hj~h]hstruct phylink_config *config}(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@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj~hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj~h]hstruct phylink_config}(hj~hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj~ubah}(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&]uh1jhj~ubeh}(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)}(hjh]hphy_interface_t interface}(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.hhKhj ubj)}(hhh]jX)}(hPHY interface mode.h]hPHY interface mode.}(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)}(hjJh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj~ubjX)}(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.hhKhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_select_pcs (C function)c.mac_select_pcshNtauh1hhjrhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKubj)}(hmac_select_pcsh]j%)}(hjh]hmac_select_pcs}(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$]jc.mac_select_pcsasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(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=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]jc.mac_select_pcsasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(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$Select a PCS for the interface mode.h]h$Select a PCS for the 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{uh1hhhhjrhNhNubj})}(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)}(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.hhKhj 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)}(hj6h]hstruct phylink_config}(hj8hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj4ubah}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhj ubj)}(h9``phy_interface_t interface`` PHY interface mode for PCS h](j)}(h``phy_interface_t interface``h]j)}(hjoh]hphy_interface_t interface}(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.hhKhjiubj)}(hhh]jX)}(hPHY interface mode for PCSh]hPHY interface mode for PCS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(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)}(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 }(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_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubh] for the specified interface mode, or NULL if none is required, or an error pointer on error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubjX)}(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.}(hjhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_prepare (C function) c.mac_preparehNtauh1hhjrhhhNhNubh)}(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}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/hKubj)}(h mac_prepareh]j%)}(h mac_prepareh]h mac_prepare}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/hKubj)}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jjDsb c.mac_prepareasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hjЂhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhĵubj)}(h h]h }(hjނhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hĵubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhĵubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hĵubj%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hĵubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(hphy_interface_t ifaceh](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 c.mac_prepareasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifaceh]hiface}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(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)}(h(prepare to change the PHY interface modeh]h(prepare to change the PHY interface mode}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj/hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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}(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)}(hjރh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj܃ubah}(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ЃhKhjubj)}(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}(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;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hj0hhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh, }(hj0hhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh, }hj0sbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj,hKhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hKhjubj)}(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)}(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.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()}(hjhhhNhNubah}(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.}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_config (C function) c.mac_confighNtauh1hhjrhhhNhNubh)}(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}(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 }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj2hMubj)}(h mac_configh]j%)}(h mac_configh]h mac_config}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj2hMubj)}(hZ(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](j)}(hstruct phylink_config *configh](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%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjGsb c.mac_configasbuh1hhj]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%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(hunsigned int modeh](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%)}(hmodeh]hmode}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjυubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(h&const struct phylink_link_state *stateh](h)}(hjh]hconst}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(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%)}(hphylink_link_stateh]hphylink_link_state}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j c.mac_configasbuh1hhj 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%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj2hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj2hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hMhjhhubjS)}(hhh]jX)}(h1configure the MAC for the selected mode and stateh]h1configure the MAC for the selected mode and state}(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&]uh1jRhjhhhj2hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj؆jxj؆jyjzj{uh1hhhhjrhNhNubj})}(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)}(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.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)}(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)}(hj$h]hstruct phylink_config}(hj&hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj"ubah}(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)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hj]h]hunsigned int mode}(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.hhMhjWubj)}(hhh]jX)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjvhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh, }(hjvhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh, }hjvsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(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}(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)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha 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_stateuh1hhjhMhjubh.}(hjhhhNhNubeh}(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**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.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 }(hj@hhhNhNubj)}(h **state**h]hstate}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh are valid. In particular, }(hj@hhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh, }(hj@hhhNhNubj)}(h**state->link**h]h state->link}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh, }hj@sbj)}(h**state->an_complete**h]hstate->an_complete}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhn are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.}(hj@hhhNhNubeh}(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 }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE indicates the pause settings which should be applied as follows. If }(hjhhhNhNubj)}(h``MLO_PAUSE_AN``h]h MLO_PAUSE_AN}(hj҈hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not set, }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(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}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh, }(hj%hhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hj;hhhNhNubah}(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.hhM4hj!ubj)}(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 }(hjWhhhNhNubj)}(h**state->interface**h]hstate->interface}(hj_hhhNhNubah}(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.hhM'hjTubjX)}(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&]uh1jhjxubh" may be used, but is not required.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM+hjTubjX)}(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}(hjhhhNhNubah}(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-hjTubjX)}(h+Other members of **state** must be ignored.h](hOther members of }(hjډhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(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.hhM1hjTubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM3hjTubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhjShM4hjubj)}(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&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMNhjubj)}(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 }(hj:hhhNhNubj)}(h**state->interface**h]hstate->interface}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh 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().}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM7hj7ubjX)}(h4Interface mode specific details are mentioned below.h]h4Interface mode specific details are mentioned below.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM>hj7ubjX)}(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 }(hjjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh|. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to the }(hjjhhhNhNubj)}(h**state->an_enabled**h]hstate->an_enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh and }(hjjhhhNhNubj)}(h**state->advertising**h]hstate->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubhS flags. Beware of MACs which only support full duplex at gigabit and higher speeds.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM@hj7ubjX)}(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.hhMGhj7ubjX)}(h?Valid state members: interface, an_enabled, pause, advertising.h]h?Valid state members: interface, an_enabled, pause, advertising.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMNhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMNhjubeh}(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 }(hjފhhhNhNubj j)}(h *without*h]hwithout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j jhjފubhe taking the link down. This “update” behaviour is critical to avoid bouncing the link up status.}(hjފhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhj܆ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_finish (C function) c.mac_finishhNtauh1hhjrhhhNhNubh)}(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&]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 mac_finishh]j%)}(h mac_finishh]h mac_finish}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj-hM[ubj)}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jjBsb c.mac_finishasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(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=uh1jhjTubj)}(hphy_interface_t ifaceh](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_finishasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifaceh]hiface}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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)finish a to change the PHY interface modeh]h)finish a to change the PHY interface mode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hjuhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj-hM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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 }(hjҌhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj܌h]hstruct phylink_config}(hjތhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjڌubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjΌhM\hjҌubh.}(hjҌhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjΌhM\hjόubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΌhM\hjubj)}(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}(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;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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh, }(hj.hhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh, }hj.sbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj*hM]hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM]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^hj~ubj)}(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&]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&]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 }(hjՍhhhNhNubj)}(h**mode**h]hmode}(hjݍhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՍubh and }(hjՍhhhNhNubj)}(h **iface**h]hiface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՍubhm. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().}(hjՍhhhNhNubeh}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_down (C function)c.mac_link_downhNtauh1hhjrhhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMlubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjEhMlubj)}(h mac_link_downh]j%)}(h mac_link_downh]h mac_link_down}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjEhMlubj)}(hM(struct phylink_config *config, unsigned int mode, phy_interface_t interface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjZsbc.mac_link_downasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hconfigh]hconfig}(hj͎hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hunsigned int modeh](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%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]jc.mac_link_downasbuh1hhj3ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj%)}(h interfaceh]h interface}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhjEhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjEhMlubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMlhj,hhubjS)}(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&]uh1jRhj,hhhjEhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(hjяh]hstruct phylink_config *config}(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.hhMmhjˏubj)}(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_configuh1hhjhMmhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjˏubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjȏubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hj-h]hunsigned int mode}(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)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMnhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMnhjȏubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjfh]hphy_interface_t interface}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(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.hhMqhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMthjubjX)}(hYIf **mode** is ``MLO_AN_INBAND``, then this function must not prevent the link coming up.h](hIf }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is }(hjhhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9, then this function must not prevent the link coming up.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMyhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_up (C function) c.mac_link_uphNtauh1hhjrhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjYhMubj)}(h mac_link_uph]j%)}(h mac_link_uph]h mac_link_up}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjYhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjnsb c.mac_link_upasbuh1hhjubj)}(h h]h }(hjƑhhhNhNubah}(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)}(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‘ c.mac_link_upasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(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.mac_link_upasbuh1hhjubj)}(h h]h }(hjܒhhhNhNubah}(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=uh1jhjubj)}(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)}(h int duplexh](j)}(hinth]hint}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj%)}(hduplexh]hduplex}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool tx_pauseh](j)}(hjTh]hbool}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj%)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(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=uh1jhjGhhhjYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhjYhMubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhMhj@hhubjS)}(hhh]jX)}(h¬ification that the link has come uph]h¬ification that the link has come up}(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@hhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(hjh]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)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj'h]hstruct phylink_config *config}(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@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj@hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjJh]hstruct phylink_config}(hjLhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj<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<hMhjubj)}(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.hhMhj}ubj)}(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&]uh1jhj}ubeh}(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}(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)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjՔhhhNhNubah}(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`` link :c:type:`typedef phy_interface_t ` mode 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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(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 hMhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjQh]h int speed}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjKubj)}(hhh]jX)}(h link speedh]h link speed}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjؕhMhjubj)}(h7``bool rx_pause`` link receive pause enablement status h](j)}(h``bool rx_pause``h]j)}(hjh]h bool rx_pause}(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 receive pause enablement statush]h$link receive pause enablement status}(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)}(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.hhMhjubjX)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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&]uh1jhj\ubh, }(hj\hhhNhNubj)}(h **duplex**h]hduplex}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh, }hj\sbj)}(h **tx_pause**h]htx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh and }(hj\hhhNhNubj)}(h **rx_pause**h]hrx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh 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(}(hj\hhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh)) is disabled.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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.}(hjЖhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(h6Interface type selection must be done in mac_config().h]h6Interface type selection must be done in mac_config().}(hjߖhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_disable_tx_lpi (C function)c.mac_disable_tx_lpihNtauh1hhjrhhhNhNubh)}(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}(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)}(hmac_disable_tx_lpih]j%)}(hmac_disable_tx_lpih]hmac_disable_tx_lpi}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h(struct phylink_config *config)h]j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jj1sbc.mac_disable_tx_lpiasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hconfigh]hconfig}(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)}(h!disable LPI generation at the MACh]h!disable LPI generation at the MAC}(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{uh1hhhhjrhNhNubj})}(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)}(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)}(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&]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@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj(hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj2h]hstruct phylink_config}(hj4hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj$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$hMhjubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_enable_tx_lpi (C function)c.mac_enable_tx_lpihNtauh1hhjrhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hmac_enable_tx_lpih]j%)}(hmac_enable_tx_lpih]hmac_enable_tx_lpi}(hjӘhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϘubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h<(struct phylink_config *config, u32 timer, bool tx_clk_stop)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 reftargetjmodnameN classnameNjj!)}j$]j')}jj՘sbc.mac_enable_tx_lpiasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 timerh](h)}(hhh]j%)}(hu32h]hu32}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j)c.mac_enable_tx_lpiasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj%)}(htimerh]htimer}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool tx_clk_stoph](j)}(hjTh]hbool}(hjhhhNhNubah}(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=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.configure and enable LPI generation at the MACh]h.configure and enable LPI generation at the MAC}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.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)}(hj/h]hstruct phylink_config *config}(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)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjHhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjRh]hstruct phylink_config}(hjThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjDhMhjHubh.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(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&]uh1jhjhMhj&ubj)}(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.hhMhjubj)}(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&]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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjX)}(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.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjX)}(h **Return**h]j)}(hj5h]hReturn}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjX)}(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.}(hjKhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs (C struct) c.phylink_pcshNtauh1hhjrhhhNhNubh)}(hhh](h)}(h phylink_pcsh]h)}(hstruct phylink_pcsh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMubj)}(h phylink_pcsh]j%)}(hjth]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjohhubjS)}(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&]uh1jRhjohhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjԛjxjԛjyjzj{uh1hhhhjrhNhNubj})}(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}(hjhhhNhNubah}(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; };}hjsbah}(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)}(hj h]hMembers}(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.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)}(hj)h]hsupported_interfaces}(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)}(hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.h]hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.}(hjBhhhNhNubah}(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&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubj)}(hV``ops`` a pointer to the :c:type:`struct phylink_pcs_ops ` structure h](j)}(h``ops``h]j)}(hjch]hops}(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.hhMhj]ubj)}(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_opsuh1hhjxhMhj|ubh structure}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj ubj)}(hH``phylink`` pointer to :c:type:`struct phylink_config ` h](j)}(h ``phylink``h]j)}(hjh]hphylink}(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;pointer to :c:type:`struct phylink_config `h](h pointer to }(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_configuh1hhjԜ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'``poll`` poll the PCS for link changes h](j)}(h``poll``h]j)}(hjh]hpoll}(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)}(hpoll the PCS for link changesh]hpoll the PCS for link changes}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj ubj)}(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)}(hjPh]h rxc_always_on}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubj)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhj ubeh}(h]h ]h"]h$]h&]uh1jhj؛ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubjX)}(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.hhMhjrhhubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjrhhubjX)}(hWThe **phylink** member is private to phylink and must not be touched by the PCS driver.h](hThe }(hjhhhNhNubj)}(h **phylink**h]hphylink}(hjhhhNhNubah}(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.hhMhjrhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_ops (C struct)c.phylink_pcs_opshNtauh1hhjrhhhNhNubh)}(hhh](h)}(hphylink_pcs_opsh]h)}(hstruct phylink_pcs_opsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_pcs_opsh]j%)}(hjh]hphylink_pcs_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hMAC PCS operations structure.h]hMAC PCS operations structure.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhjrhNhNubj})}(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}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh:}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjPubjU)}(hX@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); };h]hX@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); };}hjqsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjPubjX)}(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.hhMhjPubj)}(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.hhMhjԞubj)}(hhh]jX)}(h(query inband support for interface mode.h]h(query inband support for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԞubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``pcs_enable`` enable the PCS. h](j)}(h``pcs_enable``h]j)}(hjh]h pcs_enable}(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.hhMhj ubj)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(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!``pcs_disable`` disable the PCS. h](j)}(h``pcs_disable``h]j)}(hjLh]h pcs_disable}(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.hhMhjFubj)}(hhh]jX)}(hdisable the PCS.h]hdisable the PCS.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(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)}(hjh]hpcs_post_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#post-mac_config method (for arrata)h]h#post-mac_config method (for arrata)}(hjןhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjӟhMhjԟubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӟhMhjubj)}(hI``pcs_get_state`` read the current MAC PCS link state from the hardware. h](j)}(h``pcs_get_state``h]j)}(hjh]h pcs_get_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.hhMhjubj)}(hhh]jX)}(h6read the current MAC PCS link state from the hardware.h]h6read the current MAC PCS link state from the hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hF``pcs_config`` configure the MAC PCS for the selected mode and state. h](j)}(h``pcs_config``h]j)}(hj0h]h pcs_config}(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.hhMhj*ubj)}(hhh]jX)}(h6configure the MAC PCS for the selected mode and state.h]h6configure the MAC PCS for the selected mode and state.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(h9``pcs_an_restart`` restart 802.3z BaseX autonegotiation. h](j)}(h``pcs_an_restart``h]j)}(hjih]hpcs_an_restart}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjcubj)}(hhh]jX)}(h%restart 802.3z BaseX autonegotiation.h]h%restart 802.3z BaseX autonegotiation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubj)}(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}(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)}(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.}(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&]uh1jhj֠ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. h](j)}(h``pcs_enable_eee``h]j)}(hjh]hpcs_enable_eee}(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)}(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.}(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+hMhjubj)}(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)}(hjPh]h pcs_pre_init}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjJubj)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubeh}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_validate (C function)c.pcs_validatehNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(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}(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')}jj̡sbc.pcs_validateasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjޡubj)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(hlongh]hlong}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjޡubj)}(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}(hjѢhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.pcs_validateasbuh1hhjubj)}(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}(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)}(h validate the link configuration.h]h validate the link configuration.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjOhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhjrhNhNubj})}(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)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjnubj)}(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_pcsuh1hhjhM hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubj)}(hhh]jX)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hj(h]h&const struct phylink_link_state *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.hhM hj"ubj)}(hhh]jX)}(hNa const pointer to a :c:type:`struct phylink_link_state `.h](ha const pointer to a }(hjAhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjKh]hstruct phylink_link_state}(hjMhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhj=hM hjAubh.}(hjAhhhNhNubeh}(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&]uh1jhjnubjX)}(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.hhMhjnubjX)}(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)}(hjh]hstruct phylink_mac_ops}(hjhhhNhNubah}(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.hhMhjubh validate() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjähMhjnubjX)}(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.}(hjΤhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_inband_caps (C function)c.pcs_inband_capshNtauh1hhjrhhhNhNubh)}(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}(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)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(hpcs_inband_capsh]j%)}(hpcs_inband_capsh]hpcs_inband_caps}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h4(struct phylink_pcs *pcs, phy_interface_t interface)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.pcs_inband_capsasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(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$]jc.pcs_inband_capsasbuh1hhjĥ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=uh1jhjNubeh}(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)}(h2query PCS in-band capabilities for interface mode.h]h2query PCS in-band capabilities for interface mode.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjrhNhNubj})}(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)}(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.hhMhj=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)}(hjbh]hstruct phylink_pcs *pcs}(hjdhhhNhNubah}(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: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_pcsuh1hhjwhMhj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(h;``phy_interface_t interface`` interface mode to be queried 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&]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&]uh1jWhjӦhMhjԦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӦhMhjYubeh}(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)}(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 }(hjhhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjh]henum link_inband_signalling}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjlink_inband_signallinguh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubhF to describe which inband modes are supported for this interface mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6hMhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable (C function) c.pcs_enablehNtauh1hhjrhhhNhNubh)}(hhh](h)}(h(int pcs_enable (struct phylink_pcs *pcs)h]h)}(h'int pcs_enable(struct phylink_pcs *pcs)h](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohM(ubj)}(h pcs_enableh]j%)}(h pcs_enableh]h pcs_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhjohM(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.pcs_enableasbuh1hhjubj)}(h h]h }(hjܧhhhNhNubah}(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=uh1jhj]hhhjohM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjohM(ubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohM(hjVhhubjS)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(hj!hhhNhNubah}(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&]uh1jRhjVhhhjohM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjrhNhNubj})}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.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.hhM,hj=ubj)}(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)}(hjbh]hstruct phylink_pcs *pcs}(hjdhhhNhNubah}(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: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)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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable (C function) c.pcs_disablehNtauh1hhjrhhhNhNubh)}(hhh](h)}(h*void pcs_disable (struct phylink_pcs *pcs)h]h)}(h)void pcs_disable(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.hhM.ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjۨhhhjhM.ubj)}(h pcs_disableh]j%)}(h pcs_disableh]h pcs_disable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjۨhhhjhM.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 }(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$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jjsb c.pcs_disableasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjuhhhNhNubah}(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=jDuh1hjEjFhjרhhhjhM.ubah}(h]jҨah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM.hjԨhhubjS)}(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&]uh1jRhjԨhhhjhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jX)}(h**Parameters**h]j)}(hjh]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.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)}(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.hhM4hjک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_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM/hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM/hjubah}(h]h ]h"]h$]h&]uh1jhjکubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjשubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_get_state (C function)c.pcs_get_statehNtauh1hhjrhhhNhNubh)}(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}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM4ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhM4ubj)}(h pcs_get_stateh]j%)}(h pcs_get_stateh]h pcs_get_state}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhM4ubj)}(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 }(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.pcs_get_stateasbuh1hhjubj)}(h h]h }(hjتhhhNhNubah}(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}(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%)}(hneg_modeh]hneg_mode}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jԪc.pcs_get_stateasbuh1hhjYubj)}(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=uh1jhjYhhhjkhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhM4ubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhM4hjRhhubjS)}(hhh]jX)}(h4Read the current inband link state from the hardwareh]h4Read the current inband link state from the hardware}(hjޫhhhNhNubah}(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&]uh1jRhjRhhhjkhM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.hhM8hjubj)}(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}(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.hhM5hjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj8hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjBh]hstruct phylink_pcs}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhj4hM5hj8ubh.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hM5hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM5hjubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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 }(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ɬhM7hjͬubh.}(hjͬhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjɬhM7hjʬubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɬhM7hjubeh}(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.hhM9hjubjX)}(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 }(hj(hhhNhNubj)}(h**state->speed**h]h state->speed}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh, duplex mode in }(hj(hhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh, pause mode in }(hj(hhhNhNubj)}(h**state->pause**h]h state->pause}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh using the }(hj(hhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh and }(hj(hhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh' bits, negotiation completion state in }(hj(hhhNhNubj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh, and link up state in }(hj(hhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh. If possible, }(hj(hhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh should also be populated.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM9hjubjX)}(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}(hjϭhhhNhNubah}(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@hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_config (C function) c.pcs_confighNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMGubj)}(h pcs_configh]j%)}(h pcs_configh]h pcs_config}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMGubj)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jj+sb c.pcs_configasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(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}(hjӮhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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$]j c.pcs_configasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(h advertisingh]h advertising}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(hbool permit_pause_to_mach](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%)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(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=uh1jhjhhhjhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMGubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMGhjhhubjS)}(hhh]jX)}(h(Configure the PCS mode and advertisementh]h(Configure the PCS mode and advertisement}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMGhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj0h]h Parameters}(hj2hhhNhNubah}(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.hhMKhj*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)}(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.hhMHhjIubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjrh]hstruct phylink_pcs}(hjthhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjdhMHhjhubh.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMHhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMHhjFubj)}(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.hhMIhjubj)}(hhh]jX)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjİhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjFubj)}(h8``phy_interface_t interface`` interface mode to be used 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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhjްubj)}(hhh]jX)}(hinterface mode to be usedh]hinterface mode to be used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjްubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjFubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMKhjubj)}(hhh]jX)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMKhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMKhjFubj)}(hG``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC h](j)}(h``bool permit_pause_to_mac``h]j)}(hjVh]hbool permit_pause_to_mac}(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.hhMLhjPubj)}(hhh]jX)}(h)permit forwarding pause resolution to MACh]h)permit forwarding pause resolution to MAC}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMLhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMLhjFubeh}(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.hhMNhj*ubjX)}(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. }(hjhhhNhNubj)}(h**permit_pause_to_mac**h]hpermit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ indicates whether the hardware may forward the pause mode resolution to the MAC.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMNhj*ubjX)}(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}(hjбhhhNhNubah}(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.hhMRhj*ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMUhj*ubjX)}(hDFor 1000BASE-X, the advertisement should be programmed into the PCS.h]hDFor 1000BASE-X, the advertisement should be programmed into the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMXhj*ubjX)}(h.For most 10GBASE-R, there is no advertisement.h]h.For most 10GBASE-R, there is no advertisement.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMZhj*ubjX)}(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 }(hjhhhNhNubj)}(h ``neg_mode``h]hneg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM\hj*ubjX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM`hj*ubjX)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMdhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_an_restart (C function)c.pcs_an_restarthNtauh1hhjrhhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhjhMmubj)}(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=uh1jhjqhhhjhMmubj)}(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_an_restartasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjhMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjhMmubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMmhjjhhubjS)}(hhh]jX)}(h$restart 802.3z BaseX autonegotiationh]h$restart 802.3z BaseX autonegotiation}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmhj2hhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjhMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.hhMqhjQubj)}(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)}(hjvh]hstruct phylink_pcs *pcs}(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.hhMnhjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjmubah}(h]h ]h"]h$]h&]uh1jhjQubjX)}(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.hhMphjQubjX)}(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 }(hjhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjh]hstruct phylink_mac_ops}(hjhhhNhNubah}(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.hhMphjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMphjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_link_up (C function) c.pcs_link_uphNtauh1hhjrhhhNhNubh)}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMvubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhMvubj)}(h pcs_link_uph]j%)}(h pcs_link_uph]h pcs_link_up}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjJhMvubj)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(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_upasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjŴhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hpcsh]hpcs}(hjҴhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hunsigned int neg_modeh](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%)}(hneg_modeh]hneg_mode}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(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 reftargetjAmodnameN classnameNjj!)}j$]j c.pcs_link_upasbuh1hhj8ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(h interfaceh]h interface}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(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=uh1jhjqubj)}(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}(hjյhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhjJhMvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhjJhMvubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMvhj1hhubjS)}(hhh]jX)}(h3program the PCS for the resolved link configurationh]h3program the PCS for the resolved link configuration}(hjhhhNhNubah}(h]h ]h":]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMvhjhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjJhMvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.hhMzhjubj)}(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}(hjBhhhNhNubah}(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.hhMwhj:ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjYhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjch]hstruct phylink_pcs}(hjehhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjUhMwhjYubh.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjUhMwhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMwhj7ubj)}(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&]uh1jhjhMxhj7ubj)}(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.hhMyhj϶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_tuh1hhjhMyhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhj϶ubeh}(h]h ]h"]h$]h&]uh1jhjhMyhj7ubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hj1h]h int speed}(hj3hhhNhNubah}(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.hhMzhj+ubj)}(hhh]jX)}(h link speedh]h link speed}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMzhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMzhj7ubj)}(h``int duplex`` link duplex h](j)}(h``int duplex``h]j)}(hjjh]h int duplex}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM{hjdubj)}(hhh]jX)}(h link duplexh]h link duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM{hj7ubeh}(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.hhM}hjubjX)}(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}hjubjX)}(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}(hjҷhhhNhNubah}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable_eee (C function)c.pcs_disable_eeehNtauh1hhjrhhhNhNubh)}(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}(hj hhhNhNubah}(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)}(hpcs_disable_eeeh]j%)}(hpcs_disable_eeeh]hpcs_disable_eee}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sbc.pcs_disable_eeeasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(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)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hj h]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.hhMhjubj)}(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)}(hj/h]hstruct phylink_pcs}(hj1hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable_eee (C function)c.pcs_enable_eeehNtauh1hhjrhhhNhNubh)}(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&]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)}(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=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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjιsbc.pcs_enable_eeeasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjAhhhNhNubah}(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)}(hEnable EEE at the PCSh]hEnable EEE at the PCS}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(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)}(hjϺh]hstruct phylink_pcs}(hjѺhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjͺubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjźubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjºubah}(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&]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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_pre_init (C function)c.pcs_pre_inithNtauh1hhjrhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjYhMubj)}(h pcs_pre_inith]j%)}(h pcs_pre_inith]h pcs_pre_init}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjYhMubj)}(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjnsbc.pcs_pre_initasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(h9Configure PCS components necessary for MAC initializationh]h9Configure PCS components necessary for MAC initialization}(hj hhhNhNubah}(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@hhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#jxj#jyjzj{uh1hhhhjrhNhNubj})}(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)}(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.hhMhj'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)}(hjLh]hstruct phylink_pcs *pcs}(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.hhMhjFubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjehhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjoh]hstruct phylink_pcs}(hjqhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjahMhjeubh.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubah}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj'ubjX)}(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.}(hjϼhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj'ubjX)}(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.}(hj޼hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj'ubjX)}(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.}(hjhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_get_link_timer_ns (C function)c.phylink_get_link_timer_nshNtauh1hhjrhhhNhNubh)}(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&]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)}(hphylink_get_link_timer_nsh]j%)}(hphylink_get_link_timer_nsh]hphylink_get_link_timer_ns}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMubj)}(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$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj?sbc.phylink_get_link_timer_nsasbuh1hhjUubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(h interfaceh]h interface}(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)}(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&]uh1jRhjhhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj̽jxj̽jyjzj{uh1hhhhjrhNhNubj})}(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)}(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.hhMhjнubj)}(hhh]j)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode 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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(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 hMhjubh mode}(hjhhhNhNubeh}(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&]uh1jhjнubjX)}(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.hhMhjнubjX)}(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 }(hjihhhNhNubj)}(h **interface**h]h interface}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh% mode, or -EINVAL if not appropriate.}(hjihhhNhNubeh}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mac_implements_lpi (C function)c.phylink_mac_implements_lpihNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(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)}(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=uh1jhjhhhjhM ubj)}(h#(const struct phylink_mac_ops *ops)h]j)}(h!const struct phylink_mac_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%)}(hphylink_mac_opsh]hphylink_mac_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jj̾sbc.phylink_mac_implements_lpiasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopsh]hops}(hjZhhhNhNubah}(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#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{uh1hhhhjrhNhNubj})}(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)}(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)}(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.hhMhjubj)}(hhh]jX)}(hphylink_mac_ops structureh]hphylink_mac_ops structure}(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&]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.}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink (C struct) c.phylinkhNtauh1hhjrhhhNhNubh)}(hhh](h)}(hphylinkh]h)}(hstruct phylinkh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjRhKubj)}(hphylinkh]j%)}(hj?h]hphylink}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjRhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjRhKubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhKhj:hhubjS)}(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&]uh1jRhj:hhhjRhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(h6**Definition**:: struct phylink { }; **Members**h](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:150: ./drivers/net/phy/phylink.chK*hjubjU)}(hstruct phylink { };h]hstruct phylink { };}hjsbah}(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)}(hjh]hMembers}(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.chK/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_port_modes (C function)c.phylink_set_port_modeshNtauh1hhjrhhhNhNubh)}(hhh](h)}(h1void phylink_set_port_modes (unsigned long *mask)h]h)}(h0void phylink_set_port_modes(unsigned long *mask)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(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_set_port_modesh]j%)}(hphylink_set_port_modesh]hphylink_set_port_modes}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(unsigned long *mask)h]j)}(hunsigned long *maskh](j)}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hlongh]hlong}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(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+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&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(h/``unsigned long *mask`` ethtool link mode mask h](j)}(h``unsigned long *mask``h]j)}(hjh]hunsigned long *mask}(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)}(hethtool link mode maskh]hethtool link mode mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(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.}(hjIhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_interface_max_speed (C function)c.phylink_interface_max_speedhNtauh1hhjrhhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhKubj)}(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=uh1jhjthhhjhKubj)}(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 }(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=uh1jhjthhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhKubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjmhhubjS)}(hhh]jX)}(h(get the maximum speed of a phy interfaceh]h(get the maximum speed of a phy interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj hhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(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.chKhj,ubj)}(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)}(hjQh]hphy_interface_t interface}(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.chKhjKubj)}(hhh]jX)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hjjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjth]htypedef phy_interface_t}(hjvhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjfhKhjjubeh}(h]h ]h"]h$]h&]uh1jWhjfhKhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjHubah}(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.chKhj,ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj,ubjX)}(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.chKhj,ubjX)}(h"The maximum speed of **interface**h](hThe maximum speed of }(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_link_caps (C function)c.phylink_caps_to_link_capshNtauh1hhjrhhhNhNubh)}(hhh](h)}(hhjubjX)}(h;The corresponding set of LINK_CAPA as defined in phy-caps.hh]h;The corresponding set of LINK_CAPA as defined in phy-caps.h}(hjrhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_linkmodes (C function)c.phylink_caps_to_linkmodeshNtauh1hhjrhhhNhNubh)}(hhh](h)}(hMvoid phylink_caps_to_linkmodes (unsigned long *linkmodes, unsigned long caps)h]h)}(hLvoid phylink_caps_to_linkmodes(unsigned long *linkmodes, unsigned long caps)h](j)}(hvoidh]hvoid}(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_caps_to_linkmodesh]j%)}(hphylink_caps_to_linkmodesh]hphylink_caps_to_linkmodes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMYubj)}(h.(unsigned long *linkmodes, unsigned long caps)h](j)}(hunsigned long *linkmodesh](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 linkmodesh]h linkmodes}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long capsh](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%)}(hcapsh]hcaps}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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*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.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMYubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hQ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) h](j)}(h``unsigned long *linkmodes``h]j)}(hjh]hunsigned long *linkmodes}(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)}(h3ethtool linkmode mask (must be already initialised)h]h3ethtool linkmode mask (must be already initialised)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h3``unsigned long caps`` bitmask of MAC capabilities h](j)}(h``unsigned long caps``h]j)}(hjh]hunsigned long caps}(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)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hj1hhhNhNubah}(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)}(hjSh]h Description}(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]hjubjX)}(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 }(hjihhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh that are supported by the }(hjihhhNhNubj)}(h**caps**h]hcaps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh. }(hjihhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh' must have been initialised previously.}(hjihhhNhNubeh}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_limit_mac_speed (C function)c.phylink_limit_mac_speedhNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMoubj)}(hphylink_limit_mac_speedh]j%)}(hphylink_limit_mac_speedh]hphylink_limit_mac_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMoubj)}(h.(struct phylink_config *config, u32 max_speed)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.phylink_limit_mac_speedasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(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)}(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$]jEc.phylink_limit_mac_speedasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj%)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMoubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMohjhhubjS)}(hhh]jX)}(h+limit the phylink_config to a maximum speedh]h+limit the phylink_config to a maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMohjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.chMshjubj)}(hhh](j)}(h```struct phylink_config *config`` 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMphjubj)}(hhh]jX)}(h=pointer to a :c:type:`struct phylink_config `h](h pointer to a }(hj0hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj:h]hstruct phylink_config}(hj<hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj,hMphj0ubeh}(h]h ]h"]h$]h&]uh1jWhj,hMphj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMphjubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMqhjiubj)}(hhh]jX)}(h maximum speedh]h maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMshjubjX)}(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 }(hjhhhNhNubj)}(h **max_speed**h]h max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhT parameter. Any further motifications of config.mac_capabilities will override this.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMshjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_cap_from_speed_duplex (C function)c.phylink_cap_from_speed_duplexhNtauh1hhjrhhhNhNubh)}(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)Ah](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 }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_cap_from_speed_duplexh]j%)}(hphylink_cap_from_speed_duplexh]hphylink_cap_from_speed_duplex}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h (int speed, unsigned int duplex)h](j)}(h int speedh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hspeedh]hspeed}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubeh}(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 mac capability from speed/duplexh]h$Get mac capability from speed/duplex}(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&]jvjqjwj jxj jyjzj{uh1hhhhjrhNhNubj})}(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)}(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.chMhj ubj)}(hhh](j)}(h&``int speed`` the speed to search for h](j)}(h ``int speed``h]j)}(hj2h]h int speed}(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)}(hthe speed to search forh]hthe speed to search for}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(h1``unsigned int duplex`` the duplex to search for h](j)}(h``unsigned int duplex``h]j)}(hjkh]hunsigned int duplex}(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.chMhjeubj)}(hhh]jX)}(hthe duplex to search forh]hthe duplex to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubjX)}(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.chMhj ubjX)}(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.chMhj ubj)}(hhh]j)}(h`A mask with the mac capability patching **speed** and **duplex**, or 0 if there were no matches.h](j)}(hIA mask with the mac capability patching **speed** and **duplex**, or 0 ifh](h(A mask with the mac capability patching }(hjhhhNhNubj)}(h **speed**h]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh , or 0 if}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hthere were no matches.h]hthere were no matches.}(hj hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phylink_get_capabilities (C function)c.phylink_get_capabilitieshNtauh1hhjrhhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohMubj)}(hlongh]hlong}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhjohMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjohMubj)}(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=uh1jhj]hhhjohMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long mac_capabilitiesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_capabilitiesh]hmac_capabilities}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint rate_matchingh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(h rate_matchingh]h rate_matching}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhjohMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjohMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohMhjVhhubjS)}(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&]uh1jRhjVhhhjohMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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 }(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)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hj4h]hunsigned long mac_capabilities}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj.ubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(h<``int rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hjmh]hint rate_matching}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjgubj)}(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&]uh1jhjgubeh}(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)}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_validate_mask_caps (C function)c.phylink_validate_mask_capshNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(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 hhhjhMubj)}(hphylink_validate_mask_capsh]j%)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hlongh]hlong}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(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')}jj4sbc.phylink_validate_mask_capsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjFubj)}(hunsigned long mac_capabilitiesh](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 }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_capabilitiesh]hmac_capabilities}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubeh}(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!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.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(hjh]h 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)}(hFpointer to a :c:type:`struct phylink_link_state `.h](h 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_stateuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjVh]hunsigned long mac_capabilities}(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)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubeh}(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}(hjhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phylink_pcs_neg_mode (C function)c.phylink_pcs_neg_modehNtauh1hhjrhhhNhNubh)}(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}(hj hhhNhNubah}(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_pcs_neg_modeh]j%)}(hphylink_pcs_neg_modeh]hphylink_pcs_neg_mode}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hj(struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hphylinkh]hphylink}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj/sbc.phylink_pcs_neg_modeasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(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 }(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=uh1jhjAubj)}(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.phylink_pcs_neg_modeasbuh1hhj'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=uh1jhjAubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(hlongh]hlong}(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%)}(h advertisingh]h advertising}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(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#helper to determine PCS inband modeh]h#helper to determine PCS inband 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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: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.chMhj8ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjWhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjah]hstruct phylink}(hjchhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjShMhjWubh returned from phylink_create()}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubj)}(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&]uh1jhjhMhj5ubj)}(h8``phy_interface_t interface`` interface mode to be used 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)}(hinterface mode to be usedh]hinterface mode to be used}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode 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)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj5ubeh}(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:150: ./drivers/net/phy/phylink.chMhjubjX)}(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:}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj1")}(hhh](j6")}(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&]uh1j5"hjubj6")}(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&]uh1j5"hjubj6")}(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&]uh1j5"hjubj6")}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh*: inband mode selected and autoneg enabled}(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&]uh1j5"hjubeh}(h]h ]h"]h$]h&]j#jy uh1j0"hjhMhjubjX)}(h**Note**h]j)}(hj1h]hNote}(hj3hhhNhNubah}(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)}(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.}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_fixed_link (C function)c.phylink_set_fixed_linkhNtauh1hhjrhhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhMubj)}(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=uh1jhjrhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_set_fixed_linkasbuh1hhjubj)}(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&const struct phylink_link_state *stateh](h)}(hjh]hconst}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(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%)}(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$]jc.phylink_set_fixed_linkasbuh1hhj!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%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhMubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjkhhubjS)}(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&]uh1jRhjkhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hj%h]hstruct phylink}(hj'hhhNhNubah}(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)}(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)}(hj^h]h&const 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.chMhjXubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(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&]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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_create (C function)c.phylink_createhNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(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')}jphylink_createsbc.phylink_createasbuh1hhjhhhjhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hphylink_createh]j%)}(hjBh]hphylink_create}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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&]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@c.phylink_createasbuh1hhj{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%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(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 }(hjhhhNhNubah}(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 reftargetj*modnameN classnameNjj!)}j$]j@c.phylink_createasbuh1hhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j@c.phylink_createasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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@c.phylink_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmac_opsh]hmac_ops}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubeh}(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)}(hcreate a phylink instanceh]hcreate a phylink instance}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhjrhNhNubj})}(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. 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. **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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzubj)}(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)}(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 ` describing the network interfaceh](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_handleuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubh! describing the network interface}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj7hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(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)}(hjTh]hphy_interface_t iface}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjNubj)}(hhh]jX)}(hTthe desired link mode defined by :c:type:`typedef phy_interface_t `h](h!the desired link mode defined by }(hjmhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjwh]htypedef phy_interface_t}(hjyhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjihMhjmubeh}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(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}(hjhhhNhNubah}(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&]uh1jhjzubjX)}(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.chMhjzubjX)}(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 }(hj hhhNhNubj)}(h**np**h]hnp}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzubjX)}(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 }(hjAhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjKh]hstruct phylink}(hjMhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjAubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhhMhjzubjX)}(h**Note**h]j)}(hjuh]hNote}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjzubjX)}(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.chMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_destroy (C function)c.phylink_destroyhNtauh1hhjrhhhNhNubh)}(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.chMWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMWubj)}(hphylink_destroyh]j%)}(hphylink_destroyh]hphylink_destroy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMWubj)}(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_destroyasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMWhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMWubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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.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.chMXhjubj)}(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 refexplicitrefwarnjjjphylinkuh1hhjhMXhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubah}(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.chMZhjubjX)}(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. }(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZhjubjX)}(h**Note**h]j)}(hj@h]hNote}(hjBhhhNhNubah}(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:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjVhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_expects_phy (C function)c.phylink_expects_phyhNtauh1hhjrhhhNhNubh)}(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.chMkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMkubj)}(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=uh1jhjhhhjhMkubj)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(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=uh1jhjhhhjhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhMkubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMkhjzhhubjS)}(hhh]jX)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMkhjAhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhjrhNhNubj})}(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)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMohj`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.chMlhjubj)}(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 refexplicitrefwarnjjjphylinkuh1hhjhMlhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj|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:150: ./drivers/net/phy/phylink.chMnhj`ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMnhj`ubjX)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMqhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_connect_phy (C function)c.phylink_connect_phyhNtauh1hhjrhhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMsubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjEhMsubj)}(hphylink_connect_phyh]j%)}(hphylink_connect_phyh]hphylink_connect_phy}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjEhMsubj)}(h,(struct phylink *pl, struct phy_device *phy)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjZsbc.phylink_connect_phyasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(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$]jc.phylink_connect_phyasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhjEhMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjEhMsubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMshj,hhubjS)}(hhh]jX)}(h%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMshjdhhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhjEhMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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.chMwhjubj)}(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.chMthjubj)}(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 refexplicitrefwarnjjjphylinkuh1hhjhMthjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(hT``struct phy_device *phy`` a pointer to a :c:type:`struct 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMuhjubj)}(hhh]jX)}(h8a 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_deviceuh1hhjhMuhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubeh}(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.chMwhjubjX)}(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 }(hjxhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh& to the phylink instance specified by }(hjxhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh/ by calling phy_attach_direct(). Configure the }(hjxhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh~ according to the MAC driver’s capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMwhjubjX)}(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.chM|hjubjX)}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_of_phy_connect (C function)c.phylink_of_phy_connecthNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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 hjhhhj hMubj)}(hphylink_of_phy_connecth]j%)}(hphylink_of_phy_connecth]hphylink_of_phy_connect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h7(struct phylink *pl, struct device_node *dn, u32 flags)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_of_phy_connectasbuh1hhj4ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(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$]jrc.phylink_of_phy_connectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdnh]hdn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(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$]jrc.phylink_of_phy_connectasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(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)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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&]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)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hjh]hstruct device_node *dn}(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.chMhj ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct device_node `.h](ha pointer to a }(hj)hhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hj3h]hstruct device_node}(hj5hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj device_nodeuh1hhj%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%hMhjubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hjlh]h u32 flags}(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)}(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&]uh1jhjfubeh}(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.}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_fwnode_phy_connect (C function)c.phylink_fwnode_phy_connecthNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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 hjhhhj-hMubj)}(hphylink_fwnode_phy_connecth]j%)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj-hMubj)}(hC(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hphylinkh]hphylink}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jjBsbc.phylink_fwnode_phy_connectasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(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 reftargetj modnameN classnameNjj!)}j$]jc.phylink_fwnode_phy_connectasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]jc.phylink_fwnode_phy_connectasbuh1hhjUubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(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(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&]uh1jRhjhhhj-hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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 }(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 refexplicitrefwarnjjjphylinkuh1hhjhMhj ubh returned from phylink_create()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjOh]h"const struct fwnode_handle *fwnode}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjIubj)}(hhh]jX)}(h>a pointer to a :c:type:`struct fwnode_handle `.h](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_handleuh1hhjdhMhjhubh.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjubj)}(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)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hjhhhNhNubj)}(h **fwnode**h]hfwnode}(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.}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_disconnect_phy (C function)c.phylink_disconnect_phyhNtauh1hhjrhhhNhNubh)}(hhh](h)}(h0void phylink_disconnect_phy (struct phylink *pl)h]h)}(h/void phylink_disconnect_phy(struct phylink *pl)h](j)}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjlhMubj)}(hphylink_disconnect_phyh]j%)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjlhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjlhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjlhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMhjShhubjS)}(hhh]jX)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached 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&]uh1jRhjShhhjlhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj@h]h Parameters}(hjBhhhNhNubah}(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)}(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}(hjahhhNhNubah}(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.chMhjYubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjxhhhNhNubh)}(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 refexplicitrefwarnjjjphylinkuh1hhjthMhjxubh returned from phylink_create()}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubah}(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.chMhj:ubjX)}(hIDisconnect any current PHY from the phylink instance described by **pl**.h](hBDisconnect any current PHY from the phylink instance described by }(hjhhhNhNubj)}(h**pl**h]hpl}(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.chMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_change (C function)c.phylink_mac_changehNtauh1hhjrhhhNhNubh)}(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}(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 }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hM ubj)}(hphylink_mac_changeh]j%)}(hphylink_mac_changeh]hphylink_mac_change}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hM ubj)}(h(struct phylink *pl, bool up)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hphylinkh]hphylink}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sbc.phylink_mac_changeasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(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=uh1jhjIubeh}(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'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(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 hhhj"hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hjIh]hstruct phylink *pl}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjCubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjbhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjlh]hstruct phylink}(hjnhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj^hM hjbubh returned from phylink_create()}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^hM hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM hj@ubj)}(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 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&]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.)}(hjhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_change (C function)c.phylink_pcs_changehNtauh1hhjrhhhNhNubh)}(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&]uh1jhj!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hM ubj)}(hphylink_pcs_changeh]j%)}(hphylink_pcs_changeh]hphylink_pcs_change}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hM ubj)}(h"(struct phylink_pcs *pcs, bool up)h](j)}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsbc.phylink_pcs_changeasbuh1hhj^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%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(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=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,notify phylink of a change to PCS link stateh]h,notify phylink of a change to PCS link state}(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&]uh1jRhjhhhj3hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj5ubj)}(hhh](j)}(hR``struct phylink_pcs *pcs`` pointer to :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjZh]hstruct phylink_pcs *pcs}(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)}(h5pointer to :c:type:`struct phylink_pcs `h](h pointer to }(hjshhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj}h]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjohM hjsubeh}(h]h ]h"]h$]h&]uh1jWhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM hjQubj)}(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 hjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(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 hj5ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_start (C function)c.phylink_starthNtauh1hhjrhhhNhNubh)}(hhh](h)}(h'void phylink_start (struct phylink *pl)h]h)}(h&void phylink_start(struct phylink *pl)h](j)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM8 ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj@hM8 ubj)}(h phylink_starth]j%)}(h phylink_starth]h phylink_start}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj@hM8 ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsbc.phylink_startasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj@hM8 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*hhhj@hM8 ubah}(h]j%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hM8 hj'hhubjS)}(hhh]jX)}(hstart a phylink instanceh]hstart a phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM8 hjhhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj@hM8 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hj3h]hstruct phylink *pl}(hj5hhhNhNubah}(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.chM9 hj-ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjLhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjVh]hstruct phylink}(hjXhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjHhM9 hjLubh returned from phylink_create()}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjHhM9 hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM9 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)}(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.chM; hjubh ndo_open() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM; hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_stop (C function)c.phylink_stophNtauh1hhjrhhhNhNubh)}(hhh](h)}(h&void phylink_stop (struct phylink *pl)h]h)}(h%void phylink_stop(struct phylink *pl)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMz ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMz ubj)}(h phylink_stoph]j%)}(h phylink_stoph]h phylink_stop}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMz 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}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sbc.phylink_stopasbuh1hhjDubj)}(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=uh1jhjhhhjhMz ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMz ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMz hjhhubjS)}(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.chMz hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMz ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.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)}(hj/h]hstruct phylink}(hj1hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(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)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_rx_clk_stop_block (C function)c.phylink_rx_clk_stop_blockhNtauh1hhjrhhhNhNubh)}(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}(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_blockh]j%)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(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_rx_clk_stop_blockasbuh1hhj,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)}(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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(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().}(hjhhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_rx_clk_stop_unblock (C function)c.phylink_rx_clk_stop_unblockhNtauh1hhjrhhhNhNubh)}(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}(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_rx_clk_stop_unblockasbuh1hhjubj)}(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}(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)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjThhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhjrhNhNubj})}(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)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjsubj)}(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&]uh1jhjsubjX)}(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 hjsubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_suspend (C function)c.phylink_suspendhNtauh1hhjrhhhNhNubh)}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhjIhM ubj)}(hphylink_suspendh]j%)}(hphylink_suspendh]hphylink_suspend}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhjIhM ubj)}(h"(struct phylink *pl, bool mac_wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj^sbc.phylink_suspendasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(h bool mac_wolh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_wolh]hmac_wol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhjIhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhjIhM ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhM hj0hhubjS)}(hhh]jX)}(h%handle a network device suspend eventh]h%handle a network device suspend event}(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&]uh1jRhj0hhhjIhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhjrhNhNubj})}(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)}(hjQh]h Parameters}(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.chM hjKubj)}(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)}(hjph]hstruct phylink *pl}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjjubj)}(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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjgubj)}(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 hjgubeh}(h]h ]h"]h$]h&]uh1jhjKubjX)}(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.chM hjKubjX)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjKubj1")}(hhh](j6")}(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().}(hj3hhhNhNubah}(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&]uh1j5"hj,ubj6")}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjHubah}(h]h ]h"]h$]h&]uh1j5"hj,ubj6")}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjaubah}(h]h ]h"]h$]h&]uh1j5"hj,ubeh}(h]h ]h"]h$]h&]j#jy uh1j0"hjAhM hjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_prepare_resume (C function)c.phylink_prepare_resumehNtauh1hhjrhhhNhNubh)}(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 }(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_prepare_resumeasbuh1hhjubj)}(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}(hj6hhhNhNubah}(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"prepare to resume a network deviceh]h"prepare to resume a network device}(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&]jvjqjwjxjxjxjyjzj{uh1hhhhjrhNhNubj})}(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 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 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&]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)}(hAOptional, but if called must be called prior to phylink_resume().h]hAOptional, but if called must be called prior to phylink_resume().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj|ubjX)}(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 hj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_resume (C function)c.phylink_resumehNtauh1hhjrhhhNhNubh)}(hhh](h)}(h(void phylink_resume (struct phylink *pl)h]h)}(h'void phylink_resume(struct phylink *pl)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 }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjahM ubj)}(hphylink_resumeh]j%)}(hphylink_resumeh]hphylink_resume}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjahM 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')}jjvsbc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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$handle a network device resume eventh]h$handle a network device resume event}(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&]uh1jRhjHhhhjahM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj5h]h Parameters}(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.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)}(hjTh]hstruct phylink *pl}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjNubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjmhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjwh]hstruct phylink}(hjyhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjihM hjmubh returned from phylink_create()}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjihM hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM hjKubah}(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)}(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 hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_wol (C function)c.phylink_ethtool_get_wolhNtauh1hhjrhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chME ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhME ubj)}(hphylink_ethtool_get_wolh]j%)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhME ubj)}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_ethtool_get_wolasbuh1hhj0ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(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$]jnc.phylink_ethtool_get_wolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hwolh]hwol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhME ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhME ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhME hjhhubjS)}(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.chME hj$hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhME ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhjrhNhNubj})}(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)}(hjIh]h Parameters}(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.chMI hjCubj)}(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)}(hjhh]hstruct phylink *pl}(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.chMF hjbubj)}(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}hMF hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj}hMF hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMF hj_ubj)}(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.chMG 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}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_wolinfouh1hhjhMG hjubh to hold the read parameters}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMG hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMG hj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(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.chMI hjCubjX)}(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 }(hj8hhhNhNubj)}(h**pl**h]hpl}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhE. If no PHY is currently attached, report no support for wake on lan.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMI hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_wol (C function)c.phylink_ethtool_set_wolhNtauh1hhjrhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMZ 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=uh1jhjuhhhjhMZ 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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_ethtool_set_wolasbuh1hhjubj)}(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_wolinfo *wolh](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%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jc.phylink_ethtool_set_wolasbuh1hhj$ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hjrhhhNhNubah}(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=uh1jhjuhhhjhMZ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMZ ubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMZ hjnhhubjS)}(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.chMZ hjhhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhMZ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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.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)}(hj h]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(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_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjFh]hstruct ethtool_wolinfo *wol}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM\ hj@ubj)}(hhh]jX)}(hZa pointer to :c:type:`struct ethtool_wolinfo ` for the desired parametersh](h a pointer to }(hj_hhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjih]hstruct ethtool_wolinfo}(hjkhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_wolinfouh1hhj[hM\ hj_ubh for the desired parameters}(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\ 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)}(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}(hjhhhNhNubah}(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.chM^ hjubjX)}(h/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMb hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_get (C function)c.phylink_ethtool_ksettings_gethNtauh1hhjrhhhNhNubh)}(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}(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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hM ubj)}(hphylink_ethtool_ksettings_geth]j%)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hM ubj)}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hphylinkh]hphylink}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jj?sbc.phylink_ethtool_ksettings_getasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.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%)}(hkseth]hkset}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(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 the current link settingsh]hget the current link settings}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.chM hjhubj)}(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)}(hjh]h#struct ethtool_link_ksettings *kset}(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)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hjhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hj h]hstruct ethtool_link_ksettings}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhjhM hjubh to hold link settings}(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&]uh1jhjhubjX)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubjX)}(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 }(hj]hhhNhNubj)}(h**pl**h]hpl}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubhy. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_set (C function)c.phylink_ethtool_ksettings_sethNtauh1hhjrhhhNhNubh)}(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}(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_ksettings_setasbuh1hhjubj)}(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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h)const struct ethtool_link_ksettings *kseth](h)}(hjh]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_ethtool_ksettings_setasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hkseth]hkset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(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 the link settingsh]hset the 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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(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 }(hjChhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjMh]hstruct phylink}(hjOhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj?hM hjCubh returned from phylink_create()}(hjChhhNhNubeh}(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``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)}(hjh]h)const struct ethtool_link_ksettings *kset}(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)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](ha pointer to a }(hjhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjh]hstruct ethtool_link_ksettings}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubh for the desired modes}(hjhhhNhNubeh}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_ethtool_nway_reset (C function)c.phylink_ethtool_nway_resethNtauh1hhjrhhhNhNubh)}(hhh](h)}(h3int phylink_ethtool_nway_reset (struct phylink *pl)h]h)}(h2int phylink_ethtool_nway_reset(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_ethtool_nway_reseth]j%)}(hphylink_ethtool_nway_reseth]hphylink_ethtool_nway_reset}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(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&]uh1hhj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<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_resetasbuh1hhj<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%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubah}(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 negotiationh]hrestart negotiation}(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{uh1hhhhjrhNhNubj})}(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)}(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)}(hj'h]hstruct phylink}(hj)hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj%ubah}(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)}(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.chM hjubjX)}(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 }(hjxhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh. 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.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(h0Returns zero on success, or negative error code.h]h0Returns 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 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_get_pauseparam (C function) c.phylink_ethtool_get_pauseparamhNtauh1hhjrhhhNhNubh)}(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}(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_get_pauseparamh]j%)}(hphylink_ethtool_get_pauseparamh]hphylink_ethtool_get_pauseparam}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)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}(hj# hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj% modnameN classnameNjj!)}j$]j')}jjsb c.phylink_ethtool_get_pauseparamasbuh1hhj 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%)}(hplh]hpl}(hj^ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h struct ethtool_pauseparam *pauseh](h)}(hjh]hstruct}(hjw hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjs ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs 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.phylink_ethtool_get_pauseparamasbuh1hhjs ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjs ubj%)}(hpauseh]hpause}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs 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)}(h get the current pause parametersh]h get the current pause parameters}(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&]jvjqjwj jxj jyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hj9 h]hstruct phylink *pl}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj3 ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjR hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj\ h]hstruct phylink}(hj^ hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjZ ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjN hM hjR ubh returned from phylink_create()}(hjR hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjN hM hjO ubah}(h]h ]h"]h$]h&]uh1jhj3 ubeh}(h]h ]h"]h$]h&]uh1jhjN hM hj0 ubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hj h]h struct ethtool_pauseparam *pause}(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)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hj hhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hj h]hstruct ethtool_pauseparam}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(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&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj0 ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_set_pauseparam (C function) c.phylink_ethtool_set_pauseparamhNtauh1hhjrhhhNhNubh)}(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}(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_set_pauseparamh]j%)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_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}(hjK hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjG ubj)}(h h]h }(hjX hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG ubh)}(hhh]j%)}(hphylinkh]hphylink}(hji hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjk modnameN classnameNjj!)}j$]j')}jj1 sb c.phylink_ethtool_set_pauseparamasbuh1hhjG 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%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjC 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$]j  c.phylink_ethtool_set_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}(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)}(h set the current pause parametersh]h set the current pause parameters}(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&]uh1jRhj hhhj hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjV jxjV jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj` h]h Parameters}(hjb 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 hjZ 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 hjy 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 refexplicitrefwarnjjjphylinkuh1hhj hM hj ubh returned from phylink_create()}(hj hhhNhNubeh}(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)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hj h]h struct ethtool_pauseparam *pause}(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)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hj hhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hj h]hstruct ethtool_pauseparam}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(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&]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 ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_get_eee_err (C function)c.phylink_get_eee_errhNtauh1hhjrhhhNhNubh)}(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}(hjT hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjc hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP hhhjb hM ubj)}(hphylink_get_eee_errh]j%)}(hphylink_get_eee_errh]hphylink_get_eee_err}(hju hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjq ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjP hhhjb hM ubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjw sbc.phylink_get_eee_errasbuh1hhj 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%)}(hplh]hpl}(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=uh1jhjP hhhjb hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjL hhhjb hM ubah}(h]jG ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjb hM hjI hhubjS)}(hhh]jX)}(h0read the energy efficient ethernet error counterh]h0read the energy efficient ethernet error counter}(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&]uh1jRhjI hhhjb hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj0ubj)}(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)}(hjUh]hstruct phylink *pl}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjOubj)}(hhh]jX)}(hQa pointer to a :c:type:`struct phylink ` returned from phylink_create().h](ha pointer to a }(hjnhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjxh]hstruct phylink}(hjzhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjjhM hjnubh returned from phylink_create().}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjjhM hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjLubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj0ubjX)}(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}(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.chM hj0ubjX)}(h=Returns positive error counter value, or negative error code.h]h=Returns positive error counter value, 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 hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_eee (C function)c.phylink_ethtool_get_eeehNtauh1hhjrhhhNhNubh)}(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}(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 }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hM) ubj)}(hphylink_ethtool_get_eeeh]j%)}(hphylink_ethtool_get_eeeh]hphylink_ethtool_get_eee}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hM) ubj)}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hphylinkh]hphylink}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.phylink_ethtool_get_eeeasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hstruct ethtool_keee *eeeh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(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 reftargetjmodnameN classnameNjj!)}j$]jc.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%)}(heeeh]heee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(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) hjhhubjS)}(hhh]jX)}(h-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM) hjFhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj'hM) ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjrhNhNubj})}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM- hjeubj)}(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}(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)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hjhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hj h]hstruct ethtool_keee}(hj hhhNhNubah}(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.chM+ hjubh for the read parameters}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj&hM+ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM, hjubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_eee (C function)c.phylink_ethtool_set_eeehNtauh1hhjrhhhNhNubh)}(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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMC ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjqhMC 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=uh1jhj_hhhjqhMC 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*}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jc.phylink_ethtool_set_eeeasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(heeeh]heee}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhjqhMC ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjqhMC ubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMC hjXhhubjS)}(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.chMC hjhhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhjqhMC ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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.chMG 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.chMD 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 refexplicitrefwarnjjjphylinkuh1hhjhMD hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMD hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMD 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)}(hj0h]hstruct ethtool_keee *eee}(hj2hhhNhNubah}(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.chMF hj*ubj)}(hhh]jX)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hjIhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjSh]hstruct ethtool_keee}(hjUhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chME hjIubh for the desired parameters}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjphME hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMF hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mii_ioctl (C function)c.phylink_mii_ioctlhNtauh1hhjrhhhNhNubh)}(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.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM 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=uh1jhjhhhjhM ubj)}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)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 reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phylink_mii_ioctlasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hifreqh]hifreq}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j$c.phylink_mii_ioctlasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(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}(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)}(hgeneric mii ioctl interfaceh]hgeneric mii ioctl interface}(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&]jvjqjwj*jxj*jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hjSh]hstruct phylink *pl}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjMubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjlhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjvh]hstruct phylink}(hjxhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhhM hjlubh returned from phylink_create()}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhhM hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjJubj)}(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.chM 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)}(hjh]h struct ifreq}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjhM hjubh for socket ioctls}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjJubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjJubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj.ubjX)}(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 }(hj\hhhNhNubj)}(h**pl**h]hpl}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh9. If no PHY is attached, emulate the presence of the PHY.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj.ubj)}(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 hj}ubj)}(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 hj}ubj)}(h6``SIOCSMIIREG``: set a register on the specified PHY. h](j)}(h``SIOCSMIIREG``:h](j)}(h``SIOCSMIIREG``h]h SIOCSMIIREG}(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$set a register on the specified PHY.h]h$set a register on the specified PHY.}(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&]uh1jhj.ubjX)}(h **Return**h]j)}(hjDh]hReturn}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj.ubjX)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjZhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_down (C function)c.phylink_speed_downhNtauh1hhjrhhhNhNubh)}(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.chMN ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMN 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=uh1jhjhhhjhMN 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 }(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_speed_downasbuh1hhjubj)}(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 bool synch](j)}(hjTh]hbool}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj%)}(hsynch]hsync}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMN ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMN ubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMN hj~hhubjS)}(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}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMN hjzhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhjhMN ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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.chMR 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.chMP 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 refexplicitrefwarnjjjphylinkuh1hhjhMP hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMP hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMP hjubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjh]h bool sync}(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.chMQ hjubj)}(hhh]jX)}(hperform action synchronouslyh]hperform action synchronously}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMQ hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMQ hjubeh}(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:150: ./drivers/net/phy/phylink.chMS 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 }(hjkhhhNhNubj)}(h**sync**h]hsync}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh parameter.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMS 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.chMW hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_up (C function)c.phylink_speed_uphNtauh1hhjrhhhNhNubh)}(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.chMg ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMg 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=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_speed_upasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjQhhhNhNubah}(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)}(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()}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMg hjxhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMg ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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.chMk 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.chMi 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 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&]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.chMk 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().}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMk 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().}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMn hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_decode_usxgmii_word (C function)c.phylink_decode_usxgmii_wordhNtauh1hhjrhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhZ/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 hjjhhhj|hM ubj)}(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=uh1jhjjhhhj|hM ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_decode_usxgmii_wordasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]jc.phylink_decode_usxgmii_wordasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlpah]hlpa}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhj|hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhj|hM ubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hM hjchhubjS)}(hhh]jX)}(h&decode the USXGMII word from a MAC PCSh]h&decode the USXGMII word from a MAC PCS}(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&]uh1jRhjchhhj|hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hO``struct phylink_link_state *state`` a pointer to a 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(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&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hO``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjh]h uint16_t lpa}(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=a 16 bit value which stores the USXGMII auto-negotiation wordh]h=a 16 bit value which stores the USXGMII auto-negotiation word}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(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.}(hjAhhhNhNubah}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_decode_usgmii_word (C function)c.phylink_decode_usgmii_wordhNtauh1hhjrhhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhj~hM5ubj)}(hphylink_decode_usgmii_wordh]j%)}(hphylink_decode_usgmii_wordh]hphylink_decode_usgmii_word}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhj~hM5ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_decode_usgmii_wordasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]jc.phylink_decode_usgmii_wordasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlpah]hlpa}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhj~hM5ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhj~hM5ubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hM5hjehhubjS)}(hhh]jX)}(h%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5hjuhhubah}(h]h ]h"]h$]h&]uh1jRhjehhhj~hM5ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjrhNhNubj})}(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)}(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.chM9hjubj)}(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)}(hjh]h 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.chM6hjubj)}(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&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(hN``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjh]h uint16_t lpa}(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.chM7hjubj)}(hhh]jX)}(hh]h*}(hjhhhNhNubah}(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)}(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 }(hjK hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hneg_modeh]hneg_mode}(hjY hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 bmsrh](h)}(hhh]j%)}(hu16h]hu16}(hju hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjw modnameN classnameNjj!)}j$]j"c.phylink_mii_c22_pcs_decode_stateasbuh1hhjn ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn ubj%)}(hbmsrh]hbmsr}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjhMXubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMXhjghhubjS)}(hhh]jX)}(h'Decode MAC PCS state from MII registersh]h'Decode MAC PCS state from MII registers}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMXhj!hhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjhMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+!jxj+!jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj5!h]h Parameters}(hj7!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3!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)}(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)}(hjT!h]h struct phylink_link_state *state}(hjV!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMYhjN!ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjm!hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjw!h]hstruct phylink_link_state}(hjy!hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhju!ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhji!hMYhjm!ubh.}(hjm!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhji!hMYhjj!ubah}(h]h ]h"]h$]h&]uh1jhjN!ubeh}(h]h ]h"]h$]h&]uh1jhji!hMYhjK!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.chMZhj!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!hMZhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMZhjK!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.chM[hj!ubj)}(hhh]jX)}(h&The value of the ``MII_BMSR`` registerh](hThe value of the }(hj"hhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh register}(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[hjK!ubj)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hj4"h]hu16 lpa}(hj6"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2"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)}(h%The value of the ``MII_LPA`` registerh](hThe value of the }(hjM"hhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hjU"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM"ubh register}(hjM"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjI"hM\hjJ"ubah}(h]h ]h"]h$]h&]uh1jhj."ubeh}(h]h ]h"]h$]h&]uh1jhjI"hM\hjK!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.chM^hj/!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.chM^hj/!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.chMahj/!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_mii_c22_pcs_get_state (C function)c.phylink_mii_c22_pcs_get_statehNtauh1hhjrhhhNhNubh)}(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}(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_get_stateh]j%)}(hphylink_mii_c22_pcs_get_stateh]hphylink_mii_c22_pcs_get_state}(hj,#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj#hMubj)}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hstruct mdio_device *pcsh](h)}(hjh]hstruct}(hjH#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjD#ubj)}(h h]h }(hjU#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD#ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hjf#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjc#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjh#modnameN classnameNjj!)}j$]j')}jj.#sbc.phylink_mii_c22_pcs_get_stateasbuh1hhjD#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%)}(hpcsh]hpcs}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@#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=uh1jhj@#ubj)}(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#c.phylink_mii_c22_pcs_get_stateasbuh1hhj$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%)}(hstateh]hstate}(hjb$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)}(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&]uh1jRhj#hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhjrhNhNubj})}(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)}(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)}(hjB%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 phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjb%h]h struct phylink_link_state *state}(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.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_stateuh1hhjw%hMhj{%ubh.}(hj{%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjw%hMhjx%ubah}(h]h ]h"]h$]h&]uh1jhj\%ubeh}(h]h ]h"]h$]h&]uh1jhjw%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}(hj%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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5phylink_mii_c22_pcs_encode_advertisement (C function)*c.phylink_mii_c22_pcs_encode_advertisementhNtauh1hhjrhhhNhNubh)}(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}(hj8&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4&hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjG&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4&hhhjF&hMubj)}(h(phylink_mii_c22_pcs_encode_advertisementh]j%)}(h(phylink_mii_c22_pcs_encode_advertisementh]h(phylink_mii_c22_pcs_encode_advertisement}(hjY&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4&hhhjF&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}(hjx&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjz&modnameN classnameNjj!)}j$]j')}jj[&sb*c.phylink_mii_c22_pcs_encode_advertisementasbuh1hhjq&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq&ubj%)}(h interfaceh]h interface}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjq&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjm&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*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(h advertisingh]h advertising}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjm&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4&hhhjF&hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0&hhhjF&hMubah}(h]j+&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjF&hMhj-&hhubjS)}(hhh]jX)}(h)configure the clause 37 PCS advertisementh]h)configure the clause 37 PCS advertisement}(hjI'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjF'hhubah}(h]h ]h"]h$]h&]uh1jRhj-&hhhjF&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwja'jxja'jyjzj{uh1hhhhjrhNhNubj})}(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)}(hjk'h]h Parameters}(hjm'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhje'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&]uh1jhje'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.chMhje'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.chMhje'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}(hj+(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#(ubh and }(hj#(hhhNhNubj)}(h**advertising**h]h advertising}(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:150: ./drivers/net/phy/phylink.chMhje'ubjX)}(h **Return**h]j)}(hjX(h]hReturn}(hjZ(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV(ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhje'ubjX)}(hFThe new value for **adv**, or ``-EINVAL`` if it should not be changed.h](hThe new value for }(hjn(hhhNhNubj)}(h**adv**h]hadv}(hjv(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn(ubh, or }(hjn(hhhNhNubj)}(h ``-EINVAL``h]h-EINVAL}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn(ubh if it should not be changed.}(hjn(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhje'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mii_c22_pcs_config (C function)c.phylink_mii_c22_pcs_confighNtauh1hhjrhhhNhNubh)}(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}(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')}jj(sbc.phylink_mii_c22_pcs_configasbuh1hhj(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%)}(hpcsh]hpcs}(hjW)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjs)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetju)modnameN classnameNjj!)}j$]j8)c.phylink_mii_c22_pcs_configasbuh1hhjl)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjl)ubj%)}(h interfaceh]h interface}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl)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*}(hj *hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(h advertisingh]h advertising}(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}(hj1*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-*ubj)}(h h]h }(hj?*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-*ubj)}(hinth]hint}(hjM*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}(hji*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)}(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{uh1hhhhjrhNhNubj})}(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.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``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hj0+h]hphy_interface_t interface}(hj2+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}(hjI+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjE+hMhjF+ubah}(h]h ]h"]h$]h&]uh1jhj*+ubeh}(h]h ]h"]h$]h&]uh1jhjE+hMhj*ubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hji+h]h const unsigned long *advertising}(hjk+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjc+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&]uh1jhjc+ubeh}(h]h ]h"]h$]h&]uh1jhj~+hMhj*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.chMhj+ubj)}(hhh]jX)}(hPCS negotiation modeh]hPCS negotiation mode}(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:150: ./drivers/net/phy/phylink.chMhj*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+hhhNhNubj)}(h**mode**h]hmode}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh, }(hj+hhhNhNubj)}(h **interface**h]h interface}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh and }(hj+hhhNhNubj)}(h**advertising**h]h advertising}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(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|hjrhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_mii_c22_pcs_an_restart (C function) c.phylink_mii_c22_pcs_an_restarthNtauh1hhjrhhhNhNubh)}(hhh](h)}(h=void phylink_mii_c22_pcs_an_restart (struct mdio_device *pcs)h]h)}(hh]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=uh1jhj,ubah}(h]h ]h"]h$]h&]j<j=uh1jhjT,hhhjf,hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjP,hhhjf,hM ubah}(h]jK,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjf,hM hjM,hhubjS)}(hhh]jX)}(hrestart 802.3z autonegotiationh]hrestart 802.3z autonegotiation}(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&]uh1jRhjM,hhhjf,hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0-jxj0-jyjzj{uh1hhhhjrhNhNubj})}(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)}(hj:-h]h Parameters}(hj<-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8-ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4-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)}(hjY-h]hstruct mdio_device *pcs}(hj[-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjS-ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjr-hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj|-h]hstruct mdio_device}(hj~-hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjz-ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhjn-hM hjr-ubh.}(hjr-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjn-hM hjo-ubah}(h]h ]h"]h$]h&]uh1jhjS-ubeh}(h]h ]h"]h$]h&]uh1jhjn-hM hjP-ubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4-ubjX)}(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.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4-ubjX)}(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.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj4-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjrhhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhj-hhhNhNubh)}(hhh](h)}(hsfp_bush]h)}(hstruct sfp_bush](h)}(hjh]hstruct}(hj$.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj .hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj)}(h h]h }(hj2.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj .hhhj1.hKubj)}(hsfp_bush]j%)}(hj.h]hsfp_bus}(hjD.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@.ubah}(h]h ](j7j8eh"]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)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hjf.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjc.hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj1.hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj~.jxj~.jyjzj{uh1hhhhj-hNhNubj})}(h6**Definition**:: struct sfp_bus { }; **Members**h](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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj.ubjU)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hj.sbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj.ubjX)}(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:155: ./drivers/net/phy/sfp-bus.chKhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhj-hhhNhNubh)}(hhh](h)}(h sfp_eeprom_idh]h)}(hstruct sfp_eeprom_idh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hKubj)}(h sfp_eeprom_idh]j%)}(hj.h]h sfp_eeprom_id}(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)}(h)raw SFP module identification informationh]h)raw SFP module identification information}(hj,/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj)/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjD/jxjD/jyjzj{uh1hhhhj-hNhNubj})}(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}(hjP/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL/ubh:}(hjL/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjH/ubjU)}(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; };}hji/sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjH/ubjX)}(h **Members**h]j)}(hjz/h]hMembers}(hj|/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx/ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjH/ubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hj/h]hbase}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj/ubj)}(hhh]jX)}(h(base SFP module identification structureh]h(base SFP module identification structure}(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)}(h4``ext`` extended SFP module identification structureh](j)}(h``ext``h]j)}(hj/h]hext}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj/ubj)}(hhh]jX)}(h,extended SFP module identification structureh]h,extended SFP module identification structure}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hKhj/ubeh}(h]h ]h"]h$]h&]uh1jhjH/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubjX)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj-hhubjX)}(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 }(hj+0hhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hj50hhhNhNubah}(h]h ]h"]h$]h&]refurij70uh1j30hj+0ubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj-hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhj-hhhNhNubh)}(hhh](h)}(hsfp_upstream_opsh]h)}(hstruct sfp_upstream_opsh](h)}(hjh]hstruct}(hjd0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`0hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hjr0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`0hhhjq0hKubj)}(hsfp_upstream_opsh]j%)}(hj^0h]hsfp_upstream_ops}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`0hhhjq0hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\0hhhjq0hKubah}(h]jW0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjq0hKhjY0hhubjS)}(hhh]jX)}(hupstream operations structureh]hupstream operations structure}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhjY0hhhjq0hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj-hNhNubj})}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh:}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj0ubjU)}(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 *); };}hj0sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj0ubjX)}(h **Members**h]j)}(hj0h]hMembers}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hj0ubj)}(hhh](j)}(hS``attach`` called when the sfp socket driver is bound to the upstream (mandatory). h](j)}(h ``attach``h]j)}(hj1h]hattach}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj 1ubj)}(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).}(hj,1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj)1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj(1hMhj 1ubj)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hjM1h]hdetach}(hjO1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjG1ubj)}(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).}(hjf1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjc1ubah}(h]h ]h"]h$]h&]uh1jhjG1ubeh}(h]h ]h"]h$]h&]uh1jhjb1hMhj 1ubj)}(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)}(hj1h]h module_insert}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj1ubj)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj 1ubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hj1h]h module_remove}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj1ubj)}(hhh]jX)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj 1ubj)}(h1``module_start`` called after the PHY probe step h](j)}(h``module_start``h]j)}(hj1h]h module_start}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj1ubj)}(hhh]jX)}(hcalled after the PHY probe steph]hcalled after the PHY probe step}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj 1ubj)}(h1``module_stop`` called before the PHY is removed h](j)}(h``module_stop``h]j)}(hj32h]h module_stop}(hj52hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj12ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj-2ubj)}(hhh]jX)}(h called before the PHY is removedh]h called before the PHY is removed}(hjL2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjH2hMhjI2ubah}(h]h ]h"]h$]h&]uh1jhj-2ubeh}(h]h ]h"]h$]h&]uh1jhjH2hMhj 1ubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hjl2h]h link_down}(hjn2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj2ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjf2ubj)}(hhh]jX)}(hh]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hbush]hbus}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(hconst struct sfp_eeprom_id *idh](h)}(hjh]hconst}(hj!4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj.4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hjh]hstruct}(hj<4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hjI4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h sfp_eeprom_idh]h sfp_eeprom_id}(hjZ4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\4modnameN classnameNjj!)}j$]j3c.sfp_parse_portasbuh1hhj4ubj)}(h h]h }(hjx4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hidh]hid}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(hunsigned long *supporth](j)}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(hlongh]hlong}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hsupporth]hsupport}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjn3hhhj3hK$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjj3hhhj3hK$ubah}(h]je3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hK$hjg3hhubjS)}(hhh]jX)}(h/Parse the EEPROM base ID, setting the port typeh]h/Parse the EEPROM base ID, setting the port type}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK$hj5hhubah}(h]h ]h"]h$]h&]uh1jRhjg3hhhj3hK$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj35jxj35jyjzj{uh1hhhhj-hNhNubj})}(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)}(hj=5h]h Parameters}(hj?5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK(hj75ubj)}(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\5h]hstruct sfp_bus *bus}(hj^5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK%hjV5ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hju5hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj5h]hstruct sfp_bus}(hj5hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}5ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjq5hK%hju5ubh structure for the sfp module}(hju5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjq5hK%hjr5ubah}(h]h ]h"]h$]h&]uh1jhjV5ubeh}(h]h ]h"]h$]h&]uh1jhjq5hK%hjS5ubj)}(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)}(hj5h]hconst struct sfp_eeprom_id *id}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK&hj5ubj)}(hhh]jX)}(hHa pointer to the module's :c:type:`struct sfp_eeprom_id `h](ha pointer to the module’s }(hj5hhhNhNubh)}(h.:c:type:`struct sfp_eeprom_id `h]j)}(hj5h]hstruct sfp_eeprom_id}(hj5hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj sfp_eeprom_iduh1hhj5hK&hj5ubeh}(h]h ]h"]h$]h&]uh1jWhj5hK&hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hK&hjS5ubj)}(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)}(hj6h]hunsigned long *support}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK(hj 6ubj)}(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}(hj)6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK'hj&6ubah}(h]h ]h"]h$]h&]uh1jhj 6ubeh}(h]h ]h"]h$]h&]uh1jhj%6hK(hjS5ubeh}(h]h ]h"]h$]h&]uh1jhj75ubjX)}(h**Description**h]j)}(hjL6h]h Description}(hjN6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK*hj75ubjX)}(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 }(hjb6hhhNhNubj)}(h**id**h]hid}(hjj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb6ubh, and return one of }(hjb6hhhNhNubj)}(h ``PORT_TP``h]hPORT_TP}(hj|6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb6ubh, }(hjb6hhhNhNubj)}(h``PORT_FIBRE``h]h PORT_FIBRE}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb6ubh or }(hjb6hhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb6ubh. If }(hjb6hhhNhNubj)}(h **support**h]hsupport}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb6ubh is non-}(hjb6hhhNhNubj)}(h``NULL``h]hNULL}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb6ubh, also set the ethtool }(hjb6hhhNhNubj)}(h``ETHTOOL_LINK_MODE_xxx_BIT``h]hETHTOOL_LINK_MODE_xxx_BIT}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb6ubh' corresponding with the connector type.}(hjb6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK*hj75ubjX)}(h6If the port type is not known, returns ``PORT_OTHER``.h](h'If the port type is not known, returns }(hj6hhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chK/hj75ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_may_have_phy (C function)c.sfp_may_have_phyhNtauh1hhj-hhhNhNubh)}(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}(hj07hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKoubj)}(h h]h }(hj>7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,7hhhj=7hKoubj)}(hsfp_may_have_phyh]j%)}(hsfp_may_have_phyh]hsfp_may_have_phy}(hjP7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,7hhhj=7hKoubj)}(h5(struct sfp_bus *bus, const struct sfp_eeprom_id *id)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjl7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh7ubj)}(h h]h }(hjy7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh7ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjR7sbc.sfp_may_have_phyasbuh1hhjh7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh7ubj%)}(hbush]hbus}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjd7ubj)}(hconst struct sfp_eeprom_id *idh](h)}(hjh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(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$]j7c.sfp_may_have_phyasbuh1hhj7ubj)}(h h]h }(hj58hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjC8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hidh]hid}(hjP8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjd7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,7hhhj=7hKoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(7hhhj=7hKoubah}(h]j#7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=7hKohj%7hhubjS)}(hhh]jX)}(h*indicate whether the module may have a PHYh]h*indicate whether the module may have a PHY}(hjz8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKohjw8hhubah}(h]h ]h"]h$]h&]uh1jRhj%7hhhj=7hKoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhj-hNhNubj})}(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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKshj8ubj)}(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)}(hj8h]hstruct sfp_bus *bus}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKphj8ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj8hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj8h]hstruct sfp_bus}(hj8hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj8hKphj8ubh structure for the sfp module}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj8hKphj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKphj8ubj)}(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.chKqhj9ubj)}(hhh]jX)}(hHa pointer to the module's :c:type:`struct sfp_eeprom_id `h](ha pointer to the module’s }(hj09hhhNhNubh)}(h.:c:type:`struct sfp_eeprom_id `h]j)}(hj:9h]hstruct sfp_eeprom_id}(hj<9hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj89ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj sfp_eeprom_iduh1hhj,9hKqhj09ubeh}(h]h ]h"]h$]h&]uh1jWhj,9hKqhj-9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj,9hKqhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjq9h]h Description}(hjs9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKshj8ubjX)}(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 }(hj9hhhNhNubj)}(h**id**h]hid}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh0, and return whether this module may have a PHY.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKshj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_parse_support (C function)c.sfp_parse_supporthNtauh1hhj-hhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhj9hKubj)}(hsfp_parse_supporth]j%)}(hsfp_parse_supporth]hsfp_parse_support}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhj9hKubj)}(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&]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')}jj9sbc.sfp_parse_supportasbuh1hhj: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%)}(hbush]hbus}(hj^:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hconst struct sfp_eeprom_id *idh](h)}(hjh]hconst}(hjw:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjs:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs:ubh)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjs:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs: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$]j?:c.sfp_parse_supportasbuh1hhjs:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs:ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjs:ubj%)}(hidh]hid}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hunsigned long *supporth](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%)}(hsupporth]hsupport}(hjG;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hunsigned long *interfacesh](j)}(hunsignedh]hunsigned}(hj`;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\;ubj)}(h h]h }(hjn;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=uh1jhj9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhj9hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhj9hKubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hKhj9hhubjS)}(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&]uh1jRhj9hhhj9hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj-hNhNubj})}(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)}(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.chKhj <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)}(hj3<h]hstruct sfp_bus}(hj5<hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj1<ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj%<hKhj)<ubh structure for the sfp module}(hj)<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj%<hKhj&<ubah}(h]h ]h"]h$]h&]uh1jhj <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)}(hjl<h]hconst struct sfp_eeprom_id *id}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhjf<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&]uh1jhjf<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}(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```unsigned long *interfaces`` pointer to an array of unsigned long for phy interface modes mask h](j)}(h``unsigned long *interfaces``h]j)}(hj<h]hunsigned long *interfaces}(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 phy interface modes maskh]hApointer to an array of unsigned long for phy interface modes mask}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chKhj=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)}(hj9=h]h Description}(hj;=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7=ubah}(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.}(hjO=hhhNhNubah}(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|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_select_interface (C function)c.sfp_select_interfacehNtauh1hhj-hhhNhNubh)}(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}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jsfp_select_interfacesbc.sfp_select_interfaceasbuh1hhjz=hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM^ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz=hhhj=hM^ubj)}(hsfp_select_interfaceh]j%)}(hj=h]hsfp_select_interface}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjz=hhhj=hM^ubj)}(h6(struct sfp_bus *bus, const unsigned long *link_modes)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=c.sfp_select_interfaceasbuh1hhj=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 unsigned long *link_modesh](h)}(hjh]hconst}(hj@>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<>ubj)}(h h]h }(hjM>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<>ubj)}(hunsignedh]hunsigned}(hj[>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<>ubj)}(h h]h }(hji>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<>ubj)}(hlongh]hlong}(hjw>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 link_modesh]h link_modes}(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=uh1jhjz=hhhj=hM^ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjv=hhhj=hM^ubah}(h]jq=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hM^hjs=hhubjS)}(hhh]jX)}(h'Select appropriate phy_interface_t modeh]h'Select appropriate phy_interface_t mode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM^hj>hhubah}(h]h ]h"]h$]h&]uh1jRhjs=hhhj=hM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj-hNhNubj})}(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>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.chMbhj>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.chM_hj?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}(hj0?hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj,?ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj ?hM_hj$?ubh structure for the sfp module}(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_hj?ubj)}(h<``const unsigned long *link_modes`` ethtool link modes mask h](j)}(h#``const unsigned long *link_modes``h]j)}(hjg?h]hconst unsigned long *link_modes}(hji?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM`hja?ubj)}(hhh]jX)}(hethtool link modes maskh]hethtool link modes mask}(hj?hhhNhNubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbhj>ubjX)}(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.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhj-hhhNhNubh)}(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}(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)}(h sfp_bus_puth]j%)}(h sfp_bus_puth]h sfp_bus_put}(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 }(hj1@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj @ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjB@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjD@modnameN classnameNjj!)}j$]j')}jj @sb c.sfp_bus_putasbuh1hhj @ubj)}(h h]h }(hjb@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj @ubj;)}(hj>h]h*}(hjp@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@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)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on 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 refexplicitrefwarnjj!)}j$]j^@ c.sfp_bus_putasbjsfp_busuh1hhj3hK$hj@ubeh}(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{uh1hhhhj-hNhNubj})}(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@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)}(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)}(hj Ah]hstruct sfp_bus *bus}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Aubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjAubj)}(hhh]jX)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hj%AhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj/Ah]hstruct sfp_bus}(hj1AhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-Aubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj!AhMhj%Aubh found via sfp_bus_find_fwnode()}(hj%AhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj!AhMhj"Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj!AhMhjAubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjjAh]h Description}(hjlAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhAubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj@ubjX)}(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 }(hjAhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjAh]hstruct sfp_bus}(hjAhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjAubhB and free the underlying structure if this was the last reference.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjAhMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhj-hhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhMubj)}(hsfp_get_module_infoh]j%)}(hsfp_get_module_infoh]hsfp_get_module_info}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhMubj)}(h6(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](j)}(hstruct sfp_bus *bush](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%)}(hsfp_bush]hsfp_bus}(hj-BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*Bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/BmodnameN classnameNjj!)}j$]j')}jjAsbc.sfp_get_module_infoasbuh1hhj Bubj)}(h h]h }(hjMBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Bubj;)}(hj>h]h*}(hj[BhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj Bubj%)}(hbush]hbus}(hjhBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hstruct ethtool_modinfo *modinfoh](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%)}(hethtool_modinfoh]hethtool_modinfo}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]jIBc.sfp_get_module_infoasbuh1hhj}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%)}(hmodinfoh]hmodinfo}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}Bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(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(Get the ethtool_modinfo for a SFP moduleh]h(Get the ethtool_modinfo for a SFP module}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhj-hNhNubj})}(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$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.chMhjCubj)}(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.chMhj=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_busuh1hhjXChMhj\Cubh structure for the sfp module}(hj\ChhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjXChMhjYCubah}(h]h ]h"]h$]h&]uh1jhj=Cubeh}(h]h ]h"]h$]h&]uh1jhjXChMhj:Cubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hjCh]hstruct ethtool_modinfo *modinfo}(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.chMhjCubj)}(hhh]jX)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hjChhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hjCh]hstruct ethtool_modinfo}(hjChhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_modinfouh1hhjChMhjCubeh}(h]h ]h"]h$]h&]uh1jWhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhj: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.chMhjCubjX)}(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 }(hjDhhhNhNubj)}(h **modinfo**h]hmodinfo}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh* for a module on the sfp bus specified by }(hjDhhhNhNubj)}(h**bus**h]hbus}(hj)DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjCubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjBDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhj-hhhNhNubh)}(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}(hjqDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmDhhhjDhMubj)}(hsfp_get_module_eepromh]j%)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmDhhhjDhMubj)}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j)}(hstruct sfp_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%)}(hsfp_bush]hsfp_bus}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jjDsbc.sfp_get_module_eepromasbuh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hbush]hbus}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hstruct ethtool_eeprom *eeh](h)}(hjh]hstruct}(hj EhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hj-EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hethtool_eepromh]hethtool_eeprom}(hj>EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;Eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@EmodnameN classnameNjj!)}j$]jDc.sfp_get_module_eepromasbuh1hhjEubj)}(h h]h }(hj\EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(heeh]hee}(hjwEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hu8 *datah](h)}(hhh]j%)}(hu8h]hu8}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jDc.sfp_get_module_eepromasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hdatah]hdata}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmDhhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjiDhhhjDhMubah}(h]jdDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhjfDhhubjS)}(hhh]jX)}(hRead the SFP module EEPROMh]hRead the SFP module EEPROM}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jRhjfDhhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhj-hNhNubj})}(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)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjFubj)}(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)}(hj7Fh]hstruct sfp_bus *bus}(hj9FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Fubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj1Fubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjPFhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjZFh]hstruct sfp_bus}(hj\FhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjXFubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjLFhMhjPFubh structure for the sfp module}(hjPFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjLFhMhjMFubah}(h]h ]h"]h$]h&]uh1jhj1Fubeh}(h]h ]h"]h$]h&]uh1jhjLFhMhj.Fubj)}(hQ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` h](j)}(h``struct ethtool_eeprom *ee``h]j)}(hjFh]hstruct ethtool_eeprom *ee}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjFubj)}(hhh]jX)}(h2a :c:type:`struct ethtool_eeprom `h](ha }(hjFhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjFh]hstruct ethtool_eeprom}(hjFhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhjFhMhjFubeh}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj.Fubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hjFh]hu8 *data}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjFubj)}(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 }(hjGhhhNhNubj)}(h **ee->len**h]hee->len}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh bytes)}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj.Fubeh}(h]h ]h"]h$]h&]uh1jhjFubjX)}(h**Description**h]j)}(hj8Gh]h Description}(hj:GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Gubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjFubjX)}(hRead the EEPROM as specified by the supplied **ee**. See the documentation for :c:type:`struct ethtool_eeprom ` for the region to be read.h](h-Read the EEPROM as specified by the supplied }(hjNGhhhNhNubj)}(h**ee**h]hee}(hjVGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNGubh. See the documentation for }(hjNGhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjjGh]hstruct ethtool_eeprom}(hjlGhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjhGubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjNGubh for the region to be read.}(hjNGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjGhMhjFubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhj-hhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjGhMubj)}(hsfp_get_module_eeprom_by_pageh]j%)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjGhMubj)}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjGsbc.sfp_get_module_eeprom_by_pageasbuh1hhjGubj)}(h h]h }(hjh]h*}(hjJHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hbush]hbus}(hjWHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h(const struct ethtool_module_eeprom *pageh](h)}(hjh]hconst}(hjpHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlHubj)}(h h]h }(hj}HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlHubh)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlHubh)}(hhh]j%)}(hethtool_module_eepromh]hethtool_module_eeprom}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j8Hc.sfp_get_module_eeprom_by_pageasbuh1hhjlHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlHubj%)}(hpageh]hpage}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j8Hc.sfp_get_module_eeprom_by_pageasbuh1hhjHubj)}(h h]h }(hj7IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjEIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hextackh]hextack}(hjRIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhjGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhjGhMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMhjGhhubjS)}(hhh]jX)}(h&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hj|IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjyIhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj-hNhNubj})}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjIubj)}(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)}(hjIh]hstruct sfp_bus *bus}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjIubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjIhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjIh]hstruct sfp_bus}(hjIhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjIhMhjIubh structure for the sfp module}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubj)}(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)}(hjJh]h(const struct ethtool_module_eeprom *page}(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)}(h@a :c:type:`struct ethtool_module_eeprom `h](ha }(hj2JhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjJhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj:Jubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhj.JhMhj2Jubeh}(h]h ]h"]h$]h&]uh1jWhj.JhMhj/Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj.JhMhjIubj)}(hA``struct netlink_ext_ack *extack`` extack for reporting problems h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjqJh]hstruct netlink_ext_ack *extack}(hjsJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjkJubj)}(hhh]jX)}(hextack for reporting problemsh]hextack for reporting problems}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjkJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubeh}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjIubjX)}(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 }(hjJhhhNhNubj)}(h**page**h]hpage}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh. See the documentation for }(hjJhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjJh]hstruct ethtool_module_eeprom}(hjJhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjJubh for the page to be read.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhMhjIubjX)}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhj-hhhNhNubh)}(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}(hj5KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1KhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&ubj)}(h h]h }(hjDKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1KhhhjCKhM&ubj)}(hsfp_upstream_starth]j%)}(hsfp_upstream_starth]hsfp_upstream_start}(hjVKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1KhhhjCKhM&ubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjrKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnKubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjXKsbc.sfp_upstream_startasbuh1hhjnKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnKubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnKubj%)}(hbush]hbus}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjKubah}(h]h ]h"]h$]h&]j<j=uh1jhj1KhhhjCKhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-KhhhjCKhM&ubah}(h]j(Kah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjCKhM&hj*KhhubjS)}(hhh]jX)}(h,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&hjKhhubah}(h]h ]h"]h$]h&]uh1jRhj*KhhhjCKhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj Ljxj Ljyjzj{uh1hhhhj-hNhNubj})}(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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM*hjLubj)}(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)}(hj6Lh]hstruct sfp_bus *bus}(hj8LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Lubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM'hj0Lubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjOLhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjYLh]hstruct sfp_bus}(hj[LhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjWLubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjKLhM'hjOLubh structure for the sfp module}(hjOLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjKLhM'hjLLubah}(h]h ]h"]h$]h&]uh1jhj0Lubeh}(h]h ]h"]h$]h&]uh1jhjKLhM'hj-Lubah}(h]h ]h"]h$]h&]uh1jhjLubjX)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM)hjLubjX)}(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 }(hjLhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjLh]hstruct net_device_ops}(hjLhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjLubah}(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)hjLubh ndo_open() method.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjLhM)hjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhj-hhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM7ubj)}(h h]h }(hj MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj MhM7ubj)}(hsfp_upstream_stoph]j%)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj MhM7ubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj9MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5Mubj)}(h h]h }(hjFMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5Mubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjWMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYMmodnameN classnameNjj!)}j$]j')}jjMsbc.sfp_upstream_stopasbuh1hhj5Mubj)}(h h]h }(hjwMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5Mubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5Mubj%)}(hbush]hbus}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1Mubah}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhj MhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhj MhM7ubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj MhM7hjLhhubjS)}(hhh]jX)}(h.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM7hjMhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhj MhM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj-hNhNubj})}(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)}(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.chM;hjMubj)}(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.chM8hjMubj)}(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)}(hj Nh]hstruct sfp_bus}(hj"NhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjNhM8hjNubh structure for the sfp module}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjNhM8hjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjNhM8hjMubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hj[Nh]h Description}(hj]NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM:hjMubjX)}(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 }(hjqNhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj{Nh]hstruct net_device_ops}(hj}NhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjyNubah}(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:hjqNubh ndo_stop() method.}(hjqNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjNhM:hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhj-hhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhjNhMNubj)}(hsfp_upstream_set_signal_rateh]j%)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhjNhMNubj)}(h,(struct sfp_bus *bus, unsigned int rate_kbd)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj OmodnameN classnameNjj!)}j$]j')}jjNsbc.sfp_upstream_set_signal_rateasbuh1hhjNubj)}(h h]h }(hj>OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjLOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hbush]hbus}(hjYOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hunsigned int rate_kbdh](j)}(hunsignedh]hunsigned}(hjrOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnOubj)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnOubj%)}(hrate_kbdh]hrate_kbd}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhjNhMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjNhMNubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhMNhjNhhubjS)}(hhh]jX)}(hset data signalling rateh]hset data signalling rate}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNhjOhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjNhMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhj-hNhNubj})}(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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjOubj)}(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)}(hjPh]hstruct sfp_bus *bus}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhjPubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj.PhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj8Ph]hstruct sfp_bus}(hj:PhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj6Pubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj*PhMOhj.Pubh structure for the sfp module}(hj.PhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj*PhMOhj+Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj*PhMOhj Pubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(hjqPh]hunsigned int rate_kbd}(hjsPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMPhjkPubj)}(hhh]jX)}(h%signalling rate in units of 1000 baudh]h%signalling rate in units of 1000 baud}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMPhjPubah}(h]h ]h"]h$]h&]uh1jhjkPubeh}(h]h ]h"]h$]h&]uh1jhjPhMPhj Pubeh}(h]h ]h"]h$]h&]uh1jhjOubjX)}(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.chMRhjOubjX)}(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).}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjOubj)}(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:}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMWhjPubj)}(hhh]jX)}(h.Phylink's state_mutex rtnl lock SFP's sm_mutexh]h2Phylink’s state_mutex rtnl lock SFP’s sm_mutex}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMVhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMWhjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_bus_find_fwnode (C function)c.sfp_bus_find_fwnodehNtauh1hhj-hhhNhNubh)}(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}(hj+QhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'QhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbubj)}(h h]h }(hj9QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Qhhhj8QhMbubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjJQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLQmodnameN classnameNjj!)}j$]j')}jsfp_bus_find_fwnodesbc.sfp_bus_find_fwnodeasbuh1hhj'Qhhhj8QhMbubj)}(h h]h }(hjkQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Qhhhj8QhMbubj;)}(hj>h]h*}(hjyQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'Qhhhj8QhMbubj)}(hsfp_bus_find_fwnodeh]j%)}(hjhQh]hsfp_bus_find_fwnode}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'Qhhhj8QhMbubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jfQc.sfp_bus_find_fwnodeasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hj RhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hfwnodeh]hfwnode}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubah}(h]h ]h"]h$]h&]j<j=uh1jhj'Qhhhj8QhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#Qhhhj8QhMbubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8QhMbhj QhhubjS)}(hhh]jX)}(h(parse and locate the SFP bus from fwnodeh]h(parse and locate the SFP bus from fwnode}(hjARhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMbhj>Rhhubah}(h]h ]h"]h$]h&]uh1jRhj Qhhhj8QhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYRjxjYRjyjzj{uh1hhhhj-hNhNubj})}(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. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value: - 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](jX)}(h**Parameters**h]j)}(hjcRh]h Parameters}(hjeRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaRubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMfhj]Rubj)}(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)}(hjRh]h"const struct fwnode_handle *fwnode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMchj|Rubj)}(hhh]jX)}(h0firmware node for the parent device (MAC or PHY)h]h0firmware node for the parent device (MAC or PHY)}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMchjRubah}(h]h ]h"]h$]h&]uh1jhj|Rubeh}(h]h ]h"]h$]h&]uh1jhjRhMchjyRubah}(h]h ]h"]h$]h&]uh1jhj]RubjX)}(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.chMehj]RubjX)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMehj]RubjX)}(h **Return**h]j)}(hjRh]hReturn}(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.chMihj]Rubj )}(hX3- on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value: - 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]j1")}(hhh](j6")}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hjSh]h/on success, a pointer to the sfp_bus structure,}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMihjSubah}(h]h ]h"]h$]h&]uh1j5"hjRubj6")}(h ``NULL`` if no SFP is specified,h]jX)}(hjSh](j)}(h``NULL``h]hNULL}(hj ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh if no SFP is specified,}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMjhjSubah}(h]h ]h"]h$]h&]uh1j5"hjRubj6")}(h$on failure, an error pointer value: h]jX)}(h#on failure, an error pointer value:h]h#on failure, an error pointer value:}(hjCShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMkhj?Subah}(h]h ]h"]h$]h&]uh1j5"hjRubj6")}(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\ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMmhjXSubah}(h]h ]h"]h$]h&]uh1j5"hjRubj6")}(h-``-ENOMEM`` if we failed to allocate the bus.h]jX)}(hjsSh](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjxShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuSubh" if we failed to allocate the bus.}(hjuShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMohjqSubah}(h]h ]h"]h$]h&]uh1j5"hjRubj6")}(h2an error from the upstream's connect_phy() method.h]jX)}(hjSh]h4an error from the upstream’s connect_phy() method.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMphjSubah}(h]h ]h"]h$]h&]uh1j5"hjRubeh}(h]h ]h"]h$]h&]j#jy uh1j0"hjShMihjRubah}(h]h ]h"]h$]h&]uh1j hjShMihj]Rubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhj-hhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjShMubj)}(hsfp_bus_add_upstreamh]j%)}(hsfp_bus_add_upstreamh]hsfp_bus_add_upstream}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjShMubj)}(hI(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hj%ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj6ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3Tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8TmodnameN classnameNjj!)}j$]j')}jjSsbc.sfp_bus_add_upstreamasbuh1hhjTubj)}(h h]h }(hjVThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjdThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hbush]hbus}(hjqThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hupstreamh]hupstream}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h"const struct sfp_upstream_ops *opsh](h)}(hjh]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jRTc.sfp_bus_add_upstreamasbuh1hhjTubj)}(h h]h }(hj#UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hj1UhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hopsh]hops}(hj>UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(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)}(h*parse and register the neighbouring deviceh]h*parse and register the neighbouring device}(hjhUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjeUhhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj-hNhNubj})}(hXK**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. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value: - 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](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUubj)}(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)}(hjUh]hstruct sfp_bus *bus}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUubj)}(hhh]jX)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hjUhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjUh]hstruct sfp_bus}(hjUhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjUhMhjUubh found via sfp_bus_find_fwnode()}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjUubj)}(h-``void *upstream`` the upstream private data h](j)}(h``void *upstream``h]j)}(hjVh]hvoid *upstream}(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.chMhjUubj)}(hhh]jX)}(hthe upstream private datah]hthe upstream private data}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjUubj)}(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)}(hj>Vh]h"const struct sfp_upstream_ops *ops}(hj@VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`h](hthe upstream’s }(hjWVhhhNhNubh)}(h4:c:type:`struct sfp_upstream_ops `h]j)}(hjaVh]hstruct sfp_upstream_ops}(hjcVhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj_Vubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_upstream_opsuh1hhjSVhMhjWVubeh}(h]h ]h"]h$]h&]uh1jWhjSVhMhjTVubah}(h]h ]h"]h$]h&]uh1jhj8Vubeh}(h]h ]h"]h$]h&]uh1jhjSVhMhjUubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUubjX)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUubjX)}(h **Return**h]j)}(hjVh]hReturn}(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.chMhjUubj )}(hX3- on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value: - 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]j1")}(hhh](j6")}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hjVh]h/on success, a pointer to the sfp_bus structure,}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjVubah}(h]h ]h"]h$]h&]uh1j5"hjVubj6")}(h ``NULL`` if no SFP is specified,h]jX)}(hjVh](j)}(h``NULL``h]hNULL}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh if no SFP is specified,}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjVubah}(h]h ]h"]h$]h&]uh1j5"hjVubj6")}(h$on failure, an error pointer value: h]jX)}(h#on failure, an error pointer value:h]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.chMhjWubah}(h]h ]h"]h$]h&]uh1j5"hjVubj6")}(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().}(hj7WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj3Wubah}(h]h ]h"]h$]h&]uh1j5"hjVubj6")}(h-``-ENOMEM`` if we failed to allocate the bus.h]jX)}(hjNWh](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjSWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPWubh" if we failed to allocate the bus.}(hjPWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjLWubah}(h]h ]h"]h$]h&]uh1j5"hjVubj6")}(h2an error from the upstream's connect_phy() method.h]jX)}(hjtWh]h4an error from the upstream’s connect_phy() method.}(hjvWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjrWubah}(h]h ]h"]h$]h&]uh1j5"hjVubeh}(h]h ]h"]h$]h&]j#jy uh1j0"hjVhMhjVubah}(h]h ]h"]h$]h&]uh1j hjVhMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhj-hhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhMubj)}(hsfp_bus_del_upstreamh]j%)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjWsbc.sfp_bus_del_upstreamasbuh1hhjWubj)}(h h]h }(hj1XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hj?XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hbush]hbus}(hjLXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubah}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjWhMubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMhjWhhubjS)}(hhh]jX)}(hDelete a sfp bush]hDelete a sfp bus}(hjvXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjsXhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj-hNhNubj})}(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)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjXubj)}(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)}(hjXh]hstruct sfp_bus *bus}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjXubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjXhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjXh]hstruct sfp_bus}(hjXhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjXhMhjXubh structure for the sfp module}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjXubjX)}(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. }(hj+YhhhNhNubj)}(h**bus**h]hbus}(hj3YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Yubh2 should have been added by sfp_bus_add_upstream().}(hj+YhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhj-hhhNhNubh)}(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}(hjlYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhYhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjzYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhYhhhjyYhMubj)}(hcharh]hchar}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhYhhhjyYhMubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhYhhhjyYhMubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhYhhhjyYhMubj)}(h sfp_get_nameh]j%)}(h sfp_get_nameh]h sfp_get_name}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhYhhhjyYhMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j')}jjYsbc.sfp_get_nameasbuh1hhjYubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hbush]hbus}(hj*ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubah}(h]h ]h"]h$]h&]j<j=uh1jhjhYhhhjyYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdYhhhjyYhMubah}(h]j_Yah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyYhMhjaYhhubjS)}(hhh]jX)}(hGet the SFP device nameh]hGet the SFP device name}(hjTZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjQZhhubah}(h]h ]h"]h$]h&]uh1jRhjaYhhhjyYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjlZjxjlZjyjzj{uh1hhhhj-hNhNubj})}(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)}(hjvZh]h Parameters}(hjxZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtZubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjpZubj)}(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)}(hjZh]hstruct sfp_bus *bus}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjZubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjZhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjZh]hstruct sfp_bus}(hjZhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjZhMhjZubh structure for the sfp module}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjpZubjX)}(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.chMhjpZubjX)}(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 }(hj [hhhNhNubj)}(h**bus**h]hbus}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj [ubhm has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.}(hj [hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjpZubjX)}(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:161: ./drivers/net/phy/sfp-bus.chMhjpZubj )}(ht- The name of the SFP device registered with sfp_register_socket() - ``NULL`` if no device was registered on **bus**h]j1")}(hhh](j6")}(h@The name of the SFP device registered with sfp_register_socket()h]jX)}(hjK[h]h@The name of the SFP device registered with sfp_register_socket()}(hjM[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjI[ubah}(h]h ]h"]h$]h&]uh1j5"hjF[ubj6")}(h/``NULL`` if no device was registered on **bus**h]jX)}(hjc[h](j)}(h``NULL``h]hNULL}(hjh[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje[ubh if no device was registered on }(hje[hhhNhNubj)}(h**bus**h]hbus}(hjz[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje[ubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhja[ubah}(h]h ]h"]h$]h&]uh1j5"hjF[ubeh}(h]h ]h"]h$]h&]j#jy uh1j0"hjZ[hMhjB[ubah}(h]h ]h"]h$]h&]uh1j hjZ[hMhjpZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj-hhhNhNubeh}(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.confa)file_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[jjjXjUjm;jj;jEjEjtjtj߅j܅j[j[j^Jj[Jjrjrj-j-j[j[u nametypes}(j[jjXjm;jEjtj߅j[j^Jjrj-j[uh}(j[hjhjUhhhjxj}jjjj;j[jxj}j j j j j j jEjJjjjjjjj!-j&-j.j.jm0jr0j2j2j4j4j66j;6j7j7jH9jM9j:j:j<j<j ?j%?j>AjCAj%Cj*CjDjDj-Fj2FjHjHjJjJjMjMj/Pj4PjQjQjXSj]SjTjTj]VjbVjWjWjZjZjy\j~\j^j^j`j`jcjcj(ej-ejfjfjhjhjjj jj&lj+ljKnjPnjjpjopjrjrjYuj^uj{wjwjyjyjT{jY{j }j}j~j~jjjjj7j<jjjjjj jjj|jjpjujjjטjܘjjjmjrj۞jjjjǢj̢jjjjjj$j۩jjjjjjjjpjuj9j>jٴj޴jjjtjyjjjjjjjjjjjjjjj`jejjjdjijjjwj|jxj}jljqjVj[jjjjjjjhjmj0j5jjjjjpjuj jjijnjjjqjvjjjjjQjVjjjjjjj7j<jjj j j]#jb#ja%jf%j(j(j*j+je.jj.jV0j[0jJ2jO2j3j3j#5j(5jg7jl7jZ;j_;j >j>jGBjLBj>EjCEj^IjcIjLj#LjOjOj QjQjHRjMRjTjTjVjVjaYjfYjt\jy\j^j^j`j`jbjbj?djDdjPfjUfjgjgjjjjj5mj:mjojojrjrjujujxjxjyjyjU|jZ|j}j}j(j-jjÀjj j5j:jjj{jjԍjٍjljqjΓjӓjOjTjjjxj}jyj~jzjj{jjsjxjgjljjjj jjj[j`jjjɵjεjjj7j<j|jjjjZj_jjj8j=jjjEjJjjj jj jj1j6j j%jjjjjojtj7j<jjjjjjjmjrjjjjjjjjj}jjjjjjj jVj[j,j1jG jL jb jg jjjjjCjHjjjjjjjjj5#j:#j%j&j)j)j,j,j/j/j1j1j4j4j7j7j9j9jEjp;j;j;j`>je>j@j@jCjCjtjEjEjFjAGjFGjHjHjIjIjKjKjLjLjQjQj$Uj)UjXjXj\j\j^j^jjbjobjdjdjqfjvfjkjkjmjmjyrj~rj܅jtj1tj6tjvjwjyjyj{j{j~j~jnjsjijnjjjjjjj{jj jj`jejɕjΕjjjיjܙjƛj˛jCjHj}jjjƥjj!j>jCjjjjjj¯jjjXj]jɺjκjTjYj_jdjljqjjjj!jjjOjTjjjKjPjjj'j,jjjjjjj2j7jjjjjjjjjjj2j7jjj<jAjjjjj jjwj|jjjjjjjj#j j j j j\jajjj]jbjjjjjjjjjjjHjMjjjJjOj9 j> j!j!j;#j@#j$j$j,&j1&j'j'j)j)j;+j@+j,j,j.j.jV0j[0j1j1j3j3j16j66j8j8jz<j<j=j>jV?j[?jAjAjDjDjJGjOGj)Lj.LjMjMjuOjzOj1Qj6QjnSjsSjkVjpVjZj Zj0^j5^j1aj6ajbjbjoejtej;ij@ijljljojojqjqjtjtjLvjQvjwjwjNyjSyjzjzj}j}jKjPj[jj[JjjjjjjPjUjjjojtjjjϐjԐj3j8jjjjjٚjޚjjjjŠjjjjjjjjjajfjj jjj7j<jDZj̱jjj9j>j,j1jjj:j?j.j3jjjjjjjj j,j1jjj.j3jjjjjjjjjjj jjjjjjjj6j;jjj.j3jjj<jAjjj jjjjjjjj^jcjjjjjjjjjXj]jjjjjujzj>jCjhjmj j jv j{ jjjjjjj j%jjjjj jjvj{jjj7!jEjFGjKGj JjJjMjMjNjNjaPjfPj6Rj;Rj@TjETjUjUjfXjkXjZjZj\j\j^j^j`j`j+bj0bjcjcj-ej2ejfjfj{hjhjijjj{kjkj"mj'mjnjnjXpj]pjqjqj=sjBsjtjtj vjvjwjwjyj#yj-{j2{jW}j\}jjjjjjj8j=j jjjj_jdjjjߎjjjj;j@jWj\j jjbjgjjjjjŸjǟjhjmjjjjjjjjj]jbjejjjjjkjpjjjIjNjjjFjKjjjjjjjj j#j(jjj%j*j=jBjUjZjjjtjyjkjpjjj j jU jZ jW j\ jYj^jujzjjjjjVj[jjjjj j jW"j\"j#j#jY%j^%j&j&ju(jz(j*j *j+j+j!-j&-j.j.j20j70j1j1jh3jm3j5j5j6j6j:j:j=j=jAjAjDjDj!Gj&GjrjaJj~JjJjKjKjNjNj:Pj?PjQjQjTjTjVjVj]YjbYj\j\jo]jt]jX_j]_j`j`jEcjJcjIejNejhjhjqjjvjjljljynj~nj%pj*pj"rj'rjsjsjOujTujvjvj{xjxj'zj,zj{j{j.}j3}j~j~j2j7jjjȄj̈́jjj7j<jsjxjjjjjjjjjjjjjejjjjj<jAj!j&jjjj#jHjMj6j;j$j)jNjSjϯjԯjzjjղjڲjjjj jjjpjuj˺jкjjjVj[jjjjj1j6j3j8jjj5j:jjjjjjjjjCjHjjj;j@jMjRj_jdjjjjjjjjj5j:jCjHj4j9jjjjjdjijjjPjUjjjj ja jf j j j j jjjjjjjj$jjj jjhjmjjjj#jyj~jjj{jjj j}!j!j(#j-#jA%jF%j'j'j*j *jY,j^,jq.jv.j0j0j2j2j[;j`;j<j=jj>jo>jw@j|@jFjFjGjGjJjKjzLjLj^j^j`j`j'bj,bjdjdjejejgjgjwjwjzjzj}j}jh~jm~jDjIjFjKjHjMjنjކjjjojjj~jjjjjjjj>jCj/j4j j%jjjjj6j;jjjjjDjIjjjjjjjjjNjSjŲjʲjj$jyj~jjjj jrjwjjjTjYjjjzjjjjjjjjjjjjjjjjjjjjkjpjijnjjjjjOjTjjjjjjj\jajj jjjAjFjjj4j9jjjjjjjj jjj'j,jjj)j.jjjrjwjjjjjm jr jj j}jjCjHjjjjjjjjj[j`j!j!j|$j$jS'jX'j)j)j+j+j1.j6.j/j/j^1jc1j3j 3j4j4ji7jn7j:j:j(>j->j-Aj2AjDjDjXGj]GjIjIjLjLjOjOjRjRjUjUj=YjBYj\j\j`j"`jcjcj#gj(gjjjjj]ljbljdpjipj-jrjsj sj1vj6vjIzjNzjA}jF}jjjjjjjjj*j/j>jCjjjjjmjrjjjjjjjTjYjҨjרjPjUjjjhjmj/j4jjjjj>jCjjjjj8j=jjjkjpjjjjjjjjjTjYjj jjjijnjjjjjxj}j*j/jjjjjQjVjj jjj%j*jjjjjjj.j3jjjFjKjjjljqjjjjjjjjj j jG jL j jjVj[jjj|jjjjajfjcjhjejjj"j#j+&j0&j(j(jK,jP,j[j-j.j.j.j.jW0j\0je3jj3j#7j(7j9j9jq=jv=j?j?jAjAjdDjiDjGjGj(Kj-KjLjLjNjNjQj#QjSjSjWjWj_YjdYu 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)}(hjJ\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjG\ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1jE\hj"ubatransform_messages] transformerN include_log] decorationNhhub.